@hhgtech/hhg-components 1.27.52 → 1.27.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/babyGrowth.js +5 -5
- package/build/cache.js +1 -1
- package/build/care/api/paths.d.ts +3 -0
- package/build/care.js +1 -1
- package/build/components/atoms/bookingBtn/index.d.ts +11 -0
- package/build/components/atoms/index.d.ts +2 -0
- package/build/components/ui/cardAuthor/element/index.d.ts +1 -1
- package/build/components/ui/cardAuthor/index.d.ts +1 -1
- package/build/components.js +1 -1
- package/build/constants.js +1 -1
- package/build/{core-7736c906.js → core-43a074ed.js} +1 -1
- package/build/{dataTransform-3122f5b4.js → dataTransform-15adba5b.js} +1 -1
- package/build/ecom.js +1 -1
- package/build/esm/babyGrowth.js +7 -7
- package/build/esm/cache.js +1 -1
- package/build/esm/care/api/paths.d.ts +3 -0
- package/build/esm/care.js +1 -1
- package/build/esm/components/atoms/bookingBtn/index.d.ts +11 -0
- package/build/esm/components/atoms/index.d.ts +2 -0
- package/build/esm/components/ui/cardAuthor/element/index.d.ts +1 -1
- package/build/esm/components/ui/cardAuthor/index.d.ts +1 -1
- package/build/esm/components.js +1 -1
- package/build/esm/constants.js +1 -1
- package/build/esm/{core-2c3fddf5.js → core-d815f08a.js} +1 -1
- package/build/esm/{dataTransform-513c6b63.js → dataTransform-32d92304.js} +1 -1
- package/build/esm/ecom.js +1 -1
- package/build/esm/fixedBottomAdBlock-c790da45.js +1 -0
- package/build/esm/footer.js +1 -1
- package/build/esm/gAssets.js +1 -1
- package/build/esm/getDynamicHealthTool-05592076.js +1 -0
- package/build/esm/{getSocialList-74c674b1.js → getSocialList-316f63d9.js} +1 -1
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/i18nV2.js +1 -1
- package/build/esm/{index-7c0d507b.js → index-05baeb78.js} +33 -33
- package/build/esm/{index-586459b9.js → index-299bf66d.js} +1 -1
- package/build/esm/{index-3cd5b6a6.js → index-301c2369.js} +1 -1
- package/build/esm/{index-fead378d.js → index-461b0cae.js} +1 -1
- package/build/esm/index-5df3a6dc.js +177 -0
- package/build/esm/index-613bf6dd.js +1 -0
- package/build/esm/index-7e706ea2.js +1 -0
- package/build/esm/index-8e4a4391.js +53 -0
- package/build/esm/index-9153e272.js +1 -0
- package/build/esm/{index-dc8eb595.js → index-9407cc2b.js} +1 -1
- package/build/esm/{index-dd9507d1.js → index-9efc85fc.js} +1 -1
- package/build/esm/{index-1e381703.js → index-a5e056f0.js} +1 -1
- package/build/esm/index-c1dfe9e5.js +75 -0
- package/build/esm/index-c1fceba7.js +1 -0
- package/build/esm/index-c3ae4cb2.js +1 -0
- package/build/esm/{index-ec428b00.js → index-c476d01d.js} +1 -1
- package/build/esm/index-c73bd94c.js +1 -0
- package/build/esm/index-cbc910b7.js +1 -0
- package/build/esm/index-d144811e.js +1 -0
- package/build/esm/index-d42fb136.js +1 -0
- package/build/esm/{index-02ce7fe6.js → index-ef612812.js} +1 -1
- package/build/esm/{index-54ac4800.js → index-f94bd6ec.js} +1 -1
- package/build/esm/index.css +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-c8e5fb8f.js → index.styled-14b8d9f3.js} +4 -4
- package/build/esm/{index.styled-505b5dc1.js → index.styled-28e1a576.js} +90 -96
- package/build/esm/index.styled-9f8e530d.js +50 -0
- 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/onboardingV2.js +7 -7
- package/build/esm/paths-4967ea36.js +1 -0
- package/build/esm/pwg.js +2 -2
- package/build/esm/{routing-77363cb8.js → routing-6ad68cdf.js} +1 -1
- package/build/esm/{screenSizeContext-8ff1435d.js → screenSizeContext-814791d7.js} +3 -3
- package/build/esm/together/components/molecules/cardAuthor/index.d.ts +5 -6
- package/build/esm/together.js +1 -1
- package/build/esm/{types-e3b60f4d.js → types-3dd5ccb2.js} +129 -129
- package/build/esm/{types-23debdba.js → types-f2356d16.js} +47 -47
- package/build/esm/types.js +1 -1
- package/build/esm/useHealthToolCache-d1e9ec95.js +1 -0
- package/build/esm/{useRafState-8f42d734.js → useRafState-d9b5a7b5.js} +1 -1
- package/build/esm/useTranslations-d55b34ca.js +1 -0
- package/build/esm/{utils-2390aba6.js → utils-202633d1.js} +1 -1
- package/build/esm/utils-9303f951.js +1433 -0
- package/build/esm/vaccination.js +49 -49
- package/build/fixedBottomAdBlock-a3eb8fdb.js +1 -0
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/{getDynamicHealthTool-602c4525.js → getDynamicHealthTool-885e516b.js} +1 -1
- package/build/{getSocialList-3933ff91.js → getSocialList-ddafd859.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-b0530424.js → index-030c517e.js} +1 -1
- package/build/{index-c1601ffd.js → index-0e23b5c8.js} +1 -1
- package/build/{index-dbd1bebd.js → index-0f7473a3.js} +1 -1
- package/build/{index-c5ef9665.js → index-1edee1e5.js} +181 -181
- package/build/index-2ecdb356.js +1 -0
- package/build/{index-438b0e18.js → index-3186b4c2.js} +1 -1
- package/build/index-35024e12.js +53 -0
- package/build/{index-af337eae.js → index-38dd49fe.js} +1 -1
- package/build/{index-fdcfc142.js → index-432890af.js} +1 -1
- package/build/index-43a0c8cb.js +1 -0
- package/build/{index-ce974d0a.js → index-4d09020c.js} +3 -3
- package/build/{index-851d50cc.js → index-513477b0.js} +1 -1
- package/build/{index-f2b91297.js → index-5b3e0182.js} +1 -1
- package/build/index-7106b9da.js +75 -0
- package/build/{index-83d99cb6.js → index-772e6d28.js} +1 -1
- package/build/index-87cd21dc.js +1 -0
- package/build/{index-61b362c4.js → index-9133d78b.js} +1 -1
- package/build/{index-9c114d7c.js → index-bfaf26cf.js} +1 -1
- package/build/index-ddf9a6a7.js +1 -0
- package/build/index-e2f3db73.js +1 -0
- package/build/{index-84ee7459.js → index-eaa40717.js} +1 -1
- package/build/index-f5809050.js +1 -0
- package/build/index.css +1 -1
- package/build/index.js +1 -1
- package/build/index.styled-0cdae0c8.js +50 -0
- package/build/{index.styled-97248e02.js → index.styled-a1114294.js} +1 -1
- package/build/index.styled-fce8e2f7.js +1866 -0
- package/build/lead.js +1 -1
- package/build/mantine.js +1 -1
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/onboarding.js +1 -1
- package/build/onboardingV2.js +30 -30
- package/build/paths-bb2c80ec.js +1 -0
- package/build/pwg.js +3 -3
- package/build/{routing-fc70bd58.js → routing-7ba54726.js} +1 -1
- package/build/{screenSizeContext-025f5981.js → screenSizeContext-01da8252.js} +3 -3
- package/build/together/components/molecules/cardAuthor/index.d.ts +5 -6
- package/build/together.js +1 -1
- package/build/{types-33be2992.js → types-be7180f3.js} +119 -119
- package/build/{types-6ad1427a.js → types-e8b2fa8d.js} +35 -35
- package/build/types.js +1 -1
- package/build/{useHealthToolCache-cbb217d7.js → useHealthToolCache-030fcde3.js} +1 -1
- package/build/{useRafState-516207de.js → useRafState-e17ab4ed.js} +1 -1
- package/build/{useTranslations-0fb1a549.js → useTranslations-1f9f0574.js} +1 -1
- package/build/{utils-ccaa298b.js → utils-a6015bf8.js} +1 -1
- package/build/utils-c3a382bb.js +1433 -0
- package/build/vaccination.js +12 -12
- package/package.json +1 -1
- package/build/esm/fixedBottomAdBlock-3116e268.js +0 -1
- package/build/esm/getDynamicHealthTool-a4362952.js +0 -1
- package/build/esm/index-0209a09f.js +0 -1
- package/build/esm/index-1717ed07.js +0 -1
- package/build/esm/index-5442c3d8.js +0 -1
- package/build/esm/index-612e83d1.js +0 -1
- package/build/esm/index-82e57601.js +0 -53
- package/build/esm/index-990c05f9.js +0 -1
- package/build/esm/index-9dff8754.js +0 -177
- package/build/esm/index-9f1a2f37.js +0 -1
- package/build/esm/index-c94cfe70.js +0 -112
- package/build/esm/index-ca34ee48.js +0 -1
- package/build/esm/index-df2609fe.js +0 -1315
- package/build/esm/index-e6e3f8e6.js +0 -1
- package/build/esm/index-ee741450.js +0 -1
- package/build/esm/index-f0a2d4c0.js +0 -1
- package/build/esm/index-f5432777.js +0 -75
- package/build/esm/index.styled-3958836b.js +0 -50
- package/build/esm/useHealthToolCache-5ed8b7d1.js +0 -1
- package/build/esm/useTranslations-550903e9.js +0 -1
- package/build/fixedBottomAdBlock-e2aad49d.js +0 -1
- package/build/index-0fa0b2f8.js +0 -1
- package/build/index-59dade5b.js +0 -75
- package/build/index-66929598.js +0 -112
- package/build/index-6851c2a4.js +0 -1
- package/build/index-6d86f715.js +0 -53
- package/build/index-77c63233.js +0 -1
- package/build/index-94dbd09f.js +0 -1315
- package/build/index-a131f638.js +0 -1
- package/build/index-a4df66e8.js +0 -1
- package/build/index-b4d01f89.js +0 -1
- package/build/index-d42bfbe5.js +0 -1
- package/build/index.styled-948e9bc3.js +0 -1872
- package/build/index.styled-e7cfa541.js +0 -50
- /package/build/{BMI_BOYS.percentile.monthly-498fe153.js → BMI_BOYS.percentile.monthly-022dcc0f.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-ecd189ac.js → BMI_BOYS.percentile.weekly-f29ea650.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-a3e40e76.js → BMI_BOYS.percentile.yearly-93cedf40.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-d11155e2.js → BMI_BOYS.zscore.monthly-41f99977.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-2646110c.js → BMI_BOYS.zscore.weekly-787cd444.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-080708d4.js → BMI_BOYS.zscore.yearly-0b362dce.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-1e2e2ef4.js → BMI_GIRLS.percentile.monthly-55bbbe4c.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-80b60b92.js → BMI_GIRLS.percentile.weekly-5aeb3f7f.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-9a084238.js → BMI_GIRLS.percentile.yearly-a6e9394f.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-8dabb33f.js → BMI_GIRLS.zscore.monthly-6eb2d1eb.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-8722df89.js → BMI_GIRLS.zscore.weekly-a078109a.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-565c2f5d.js → BMI_GIRLS.zscore.yearly-f651558b.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-f9518412.js → HEAD CIRCUM_BOYS.percentile.monthly-ad1453af.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-b6f1d55e.js → HEAD CIRCUM_BOYS.percentile.weekly-7c10679b.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-8bbd6cee.js → HEAD CIRCUM_BOYS.percentile.yearly-6c595d89.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-7304ca0f.js → HEAD CIRCUM_BOYS.zscore.monthly-2d9dc4d0.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-1a93ac5c.js → HEAD CIRCUM_BOYS.zscore.weekly-f2b39380.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-23d8427c.js → HEAD CIRCUM_BOYS.zscore.yearly-9c40e964.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-b5eec4e0.js → HEAD CIRCUM_GIRLS.percentile.monthly-7c9d1aff.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-f551ab09.js → HEAD CIRCUM_GIRLS.percentile.weekly-1ef90aa8.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-642af68f.js → HEAD CIRCUM_GIRLS.percentile.yearly-5788ea6b.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-e936152b.js → HEAD CIRCUM_GIRLS.zscore.monthly-aa366018.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-a08fa15c.js → HEAD CIRCUM_GIRLS.zscore.weekly-1c4710d9.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-7d81cf53.js → HEAD CIRCUM_GIRLS.zscore.yearly-692f0943.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-a75c8362.js → HEIGHT_BOYS.percentile.monthly-72d8eaf2.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-1e39465a.js → HEIGHT_BOYS.percentile.weekly-af39a4d2.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-b58a0825.js → HEIGHT_BOYS.percentile.yearly-50383571.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-88402806.js → HEIGHT_BOYS.zscore.monthly-d01130b7.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-e2105da0.js → HEIGHT_BOYS.zscore.weekly-bf32324a.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-04d5aaf1.js → HEIGHT_BOYS.zscore.yearly-efdcd6d1.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-d643ebf2.js → HEIGHT_GIRLS.percentile.monthly-ebd6eb7e.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-78415a57.js → HEIGHT_GIRLS.percentile.weekly-47e25433.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-de74df85.js → HEIGHT_GIRLS.percentile.yearly-232743ce.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-317aecb9.js → HEIGHT_GIRLS.zscore.monthly-18eed153.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-d7e508b2.js → HEIGHT_GIRLS.zscore.weekly-b8485b1f.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-7d621a50.js → HEIGHT_GIRLS.zscore.yearly-f3eb47f4.js} +0 -0
- /package/build/{Onboarding-ad34b7e8.js → Onboarding-882daaf4.js} +0 -0
- /package/build/{Visible-33d9ca24.js → Visible-994227de.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-70c62db6.js → WEIGHT_BOYS.percentile.monthly-41cbf014.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-7798be45.js → WEIGHT_BOYS.percentile.weekly-04e22fec.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-869fb083.js → WEIGHT_BOYS.percentile.yearly-fe7a528f.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-811aac33.js → WEIGHT_BOYS.zscore.monthly-577cf78d.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-5831495f.js → WEIGHT_BOYS.zscore.weekly-f37e6906.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-a2a6cc8a.js → WEIGHT_BOYS.zscore.yearly-06808cf6.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-c82122b6.js → WEIGHT_GIRLS.percentile.monthly-3b5e1451.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-555ccf32.js → WEIGHT_GIRLS.percentile.weekly-73753918.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-d70ad393.js → WEIGHT_GIRLS.percentile.yearly-2af663ed.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-a3e90ae8.js → WEIGHT_GIRLS.zscore.monthly-f876f3dd.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-a8708b96.js → WEIGHT_GIRLS.zscore.weekly-d129915c.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-dd81f4a0.js → WEIGHT_GIRLS.zscore.yearly-9c5e3ed7.js} +0 -0
- /package/build/{constants-c4aa5b9c.js → constants-c7034fd7.js} +0 -0
- /package/build/{cookieHelper-b8e43647.js → cookieHelper-75bc00af.js} +0 -0
- /package/build/{dataTransform-5ab0f573.js → dataTransform-1319f542.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-08aa9e17.js → BMI_BOYS.percentile.monthly-07860692.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-80ac55e4.js → BMI_BOYS.percentile.weekly-14b4de20.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-25cad6f2.js → BMI_BOYS.percentile.yearly-9d5fbfa6.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-0dde6e18.js → BMI_BOYS.zscore.monthly-bbfe9cef.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-21cef262.js → BMI_BOYS.zscore.weekly-7c5dbf0f.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-5387c80f.js → BMI_BOYS.zscore.yearly-50f55f62.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-da9b07c9.js → BMI_GIRLS.percentile.monthly-9856356b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-09a90324.js → BMI_GIRLS.percentile.weekly-e7abc17a.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-6c31648a.js → BMI_GIRLS.percentile.yearly-22fb201e.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-14ba0f35.js → BMI_GIRLS.zscore.monthly-a13cafc4.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-926deb7e.js → BMI_GIRLS.zscore.weekly-34a1d1f4.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-d1d40013.js → BMI_GIRLS.zscore.yearly-7b5c36d3.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-ec21a661.js → HEAD CIRCUM_BOYS.percentile.monthly-6477cca5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-3c55778c.js → HEAD CIRCUM_BOYS.percentile.weekly-27c2d1af.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-6b21ca13.js → HEAD CIRCUM_BOYS.percentile.yearly-8ca780c6.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-29221858.js → HEAD CIRCUM_BOYS.zscore.monthly-982f3004.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-98737449.js → HEAD CIRCUM_BOYS.zscore.weekly-d693e3d4.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-4db95570.js → HEAD CIRCUM_BOYS.zscore.yearly-18152314.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-90e18bd6.js → HEAD CIRCUM_GIRLS.percentile.monthly-4962431c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-79509352.js → HEAD CIRCUM_GIRLS.percentile.weekly-15dfb0f3.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-f4742e08.js → HEAD CIRCUM_GIRLS.percentile.yearly-d2418e09.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-cde4b65d.js → HEAD CIRCUM_GIRLS.zscore.monthly-836dbfcd.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-4daefd69.js → HEAD CIRCUM_GIRLS.zscore.weekly-9a14cdec.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-30d30216.js → HEAD CIRCUM_GIRLS.zscore.yearly-6b98b42f.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-add85954.js → HEIGHT_BOYS.percentile.monthly-eab89f46.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-fd979e63.js → HEIGHT_BOYS.percentile.weekly-8462a03c.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-c211be0d.js → HEIGHT_BOYS.percentile.yearly-71880888.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-671718ce.js → HEIGHT_BOYS.zscore.monthly-8751db5a.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-875e45b7.js → HEIGHT_BOYS.zscore.weekly-23f11635.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-cabd1ae8.js → HEIGHT_BOYS.zscore.yearly-03cc033f.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-e791a1eb.js → HEIGHT_GIRLS.percentile.monthly-73f1bb63.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-13778d1b.js → HEIGHT_GIRLS.percentile.weekly-9144b832.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-4b7349c5.js → HEIGHT_GIRLS.percentile.yearly-e28a966c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-c5f22753.js → HEIGHT_GIRLS.zscore.monthly-2dfcf882.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-e731dc75.js → HEIGHT_GIRLS.zscore.weekly-128db0bf.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-f70e7497.js → HEIGHT_GIRLS.zscore.yearly-108f1bcf.js} +0 -0
- /package/build/esm/{Onboarding-c2b062bc.js → Onboarding-2891aea6.js} +0 -0
- /package/build/esm/{Visible-650f139a.js → Visible-303b70eb.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-aeadb3b4.js → WEIGHT_BOYS.percentile.monthly-79e6d964.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-160e5bbc.js → WEIGHT_BOYS.percentile.weekly-fb63286d.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-28ec4690.js → WEIGHT_BOYS.percentile.yearly-9a853631.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-86cb8b3f.js → WEIGHT_BOYS.zscore.monthly-f6c09849.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-f5fde817.js → WEIGHT_BOYS.zscore.weekly-7e124abe.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-87c02ce9.js → WEIGHT_BOYS.zscore.yearly-6fc394d8.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-c146664e.js → WEIGHT_GIRLS.percentile.monthly-8a105b20.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-2d9fd489.js → WEIGHT_GIRLS.percentile.weekly-092e711a.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-0b5eb494.js → WEIGHT_GIRLS.percentile.yearly-929c84fe.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-fcb9fdfa.js → WEIGHT_GIRLS.zscore.monthly-9b96ddb0.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-2986d60d.js → WEIGHT_GIRLS.zscore.weekly-a7aea7a8.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-eef31f2d.js → WEIGHT_GIRLS.zscore.yearly-ee514f8c.js} +0 -0
- /package/build/esm/{constants-90681c54.js → constants-52e7c5a1.js} +0 -0
- /package/build/esm/{cookieHelper-dde56e7e.js → cookieHelper-8e2d3e89.js} +0 -0
- /package/build/esm/{dataTransform-a5ab9819.js → dataTransform-23bb2f75.js} +0 -0
- /package/build/esm/{index-3e865989.js → index-642272ad.js} +0 -0
- /package/build/esm/{isProduction-f5811f03.js → isProduction-382e134a.js} +0 -0
- /package/build/esm/{localizeNumberFormat-e702d224.js → localizeNumberFormat-93b69e17.js} +0 -0
- /package/build/esm/{normalizeLink-96165876.js → normalizeLink-31fc90ab.js} +0 -0
- /package/build/esm/{theme-fff35c1b.js → theme-f836e461.js} +0 -0
- /package/build/esm/{translationsContext-282b1dc1.js → translationsContext-fcee0ae6.js} +0 -0
- /package/build/esm/{tslib.es6-4051c568.js → tslib.es6-c405de5e.js} +0 -0
- /package/build/esm/{types-013115f6.js → types-030542d3.js} +0 -0
- /package/build/esm/{useIsInit-ee1ee601.js → useIsInit-dd3e0d5a.js} +0 -0
- /package/build/esm/{useOutsideClick-8a163413.js → useOutsideClick-348963f5.js} +0 -0
- /package/build/esm/{useScrollbarSize-98badeb4.js → useScrollbarSize-21588734.js} +0 -0
- /package/build/esm/{useUniqueId-e1fa0919.js → useUniqueId-dac8de59.js} +0 -0
- /package/build/esm/{utils-02f75338.js → utils-ce604344.js} +0 -0
- /package/build/{index-cb527fea.js → index-2abe345d.js} +0 -0
- /package/build/{isProduction-6c9232ec.js → isProduction-6f046dc2.js} +0 -0
- /package/build/{localizeNumberFormat-335ccb11.js → localizeNumberFormat-bdddbe5b.js} +0 -0
- /package/build/{normalizeLink-ca0030d4.js → normalizeLink-12494d60.js} +0 -0
- /package/build/{theme-a804bd66.js → theme-007b209f.js} +0 -0
- /package/build/{translationsContext-254b3e56.js → translationsContext-5bbe301a.js} +0 -0
- /package/build/{tslib.es6-c1567555.js → tslib.es6-6ee1dc31.js} +0 -0
- /package/build/{types-b5e56f20.js → types-94fc41fc.js} +0 -0
- /package/build/{useIsInit-37df1e49.js → useIsInit-b4d4f4a1.js} +0 -0
- /package/build/{useOutsideClick-28695d70.js → useOutsideClick-c7d73ad8.js} +0 -0
- /package/build/{useScrollbarSize-2af71757.js → useScrollbarSize-74481873.js} +0 -0
- /package/build/{useUniqueId-a5f1b1c9.js → useUniqueId-08ead9f0.js} +0 -0
- /package/build/{utils-4b60d0ca.js → utils-7af126d6.js} +0 -0
|
@@ -1,1872 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("./utils-4b60d0ca.js"),t=require("styled-components"),i=require("./theme-a804bd66.js"),o=require("./index-94dbd09f.js"),a=require("react"),r=require("./useTranslations-0fb1a549.js"),l=require("./gAssets.js"),n=require("./tslib.es6-c1567555.js"),s=require("./index-438b0e18.js"),d=require("./cookieHelper-b8e43647.js"),p=require("slugify"),u=require("string-format"),c=require("./isProduction-6c9232ec.js"),m=require("./routing-fc70bd58.js"),g=require("dayjs"),h=require("dayjs/plugin/relativeTime");function x(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var f=x(t),b=x(a),y=x(p),_=x(u),v=x(g),w=x(h);const E=f.default.div`
|
|
2
|
-
position: fixed;
|
|
3
|
-
left: 50%;
|
|
4
|
-
|
|
5
|
-
padding: 0 16px 32px;
|
|
6
|
-
background-color: ${e=>e.theme.colors.white};
|
|
7
|
-
border-radius: ${e=>e.theme.borderRadius};
|
|
8
|
-
box-shadow: 0px 4px 8px ${e=>e.theme.colors.gray200};
|
|
9
|
-
transform: translate(-50%, -50%);
|
|
10
|
-
transition: all 0.5s ease-in-out;
|
|
11
|
-
visibility: hidden;
|
|
12
|
-
|
|
13
|
-
&[data-open='true'] {
|
|
14
|
-
z-index: 400;
|
|
15
|
-
top: 50%;
|
|
16
|
-
opacity: 1;
|
|
17
|
-
visibility: visible;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
&[data-open='false'] {
|
|
21
|
-
top: -50%;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
&[data-type='lead'] {
|
|
25
|
-
width: 332px;
|
|
26
|
-
height: 460px;
|
|
27
|
-
|
|
28
|
-
div {
|
|
29
|
-
top: -15px;
|
|
30
|
-
right: -15px;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
&[data-type='form'] {
|
|
35
|
-
width: 496px;
|
|
36
|
-
height: 548px;
|
|
37
|
-
${e.MediaQueries.mbDown} {
|
|
38
|
-
width: 340px;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
&[data-type='confirm'] {
|
|
43
|
-
${e.MediaQueries.mbDown} {
|
|
44
|
-
width: calc(100% - 32px);
|
|
45
|
-
}
|
|
46
|
-
${e.MediaQueries.mbUp} {
|
|
47
|
-
width: 100%;
|
|
48
|
-
max-width: 407px;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.popup-content {
|
|
53
|
-
position: relative;
|
|
54
|
-
z-index: 111;
|
|
55
|
-
height: 100%;
|
|
56
|
-
padding: 16px;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.close-button {
|
|
60
|
-
position: absolute;
|
|
61
|
-
top: 16px;
|
|
62
|
-
right: 0;
|
|
63
|
-
cursor: pointer;
|
|
64
|
-
|
|
65
|
-
img {
|
|
66
|
-
width: 100%;
|
|
67
|
-
height: 100%;
|
|
68
|
-
border-radius: 50%;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
`,T=f.default.div`
|
|
72
|
-
position: fixed;
|
|
73
|
-
z-index: 110;
|
|
74
|
-
top: 0;
|
|
75
|
-
left: 0;
|
|
76
|
-
width: 100%;
|
|
77
|
-
height: 100%;
|
|
78
|
-
align-items: center;
|
|
79
|
-
background: rgba(38, 38, 38, 0.3);
|
|
80
|
-
|
|
81
|
-
&[data-open='false'] {
|
|
82
|
-
display: none;
|
|
83
|
-
}
|
|
84
|
-
`,A="DD/MM/YYYY",O="/images/avatar.jpg",S="/images/default-image.jpg",I={DUE_DATE:"DUE_DATE",BMI:"BMI",BMR:"BMR",OVULATION:"OVULATION",IFRAME:"IFRAME",PWG:"PWG",THR:"THR",BGC:"BGC"},L={"id-ID":{"kalkulator-bmi":I.BMI,"kebutuhan-kalori":I.BMR,"kalkulator-hari-perkiraan-lahir":I.DUE_DATE,"kalkulator-masa-subur-2":I.OVULATION,"kalkulator-kenaikan-berat-badan-ibu-hamil":I.PWG,"kalkulator-detak-jantung-saat-olahraga":I.THR},"ms-MY":{"kalkulator-bmi":I.BMI,"kalkulator-bmr":I.BMR,"kalkulator-tarikh-bersalin":I.DUE_DATE,"kalkulator-kesuburan":I.OVULATION,"kalkulator-tambah-berat-badan-hamil":I.PWG,"target-heart-rate-calculator":I.THR},"vi-VN":{"cach-tinh-chi-so-bmi":I.BMI,"tinh-chi-so-bmr":I.BMR,"cong-cu-tinh-ngay-du-sinh":I.DUE_DATE,"tinh-ngay-rung-trung":I.OVULATION,"cong-cu-tinh-can-nang-khi-mang-thai":I.PWG,"cong-cu-do-nhip-tim":I.THR},"zh-TW":{"bmi-calculator":I.BMI,"bmr-calculator":I.BMR,"due-date-calculator":I.DUE_DATE,"ovulation-calculator":I.OVULATION,"pregnancy-weight-gain-calculator":I.PWG,"target-heart-rate-calculator":I.THR},"en-PH":{"bmi-calculator":I.BMI,"bmr-calculator":I.BMR,"due-date-calculator":I.DUE_DATE,"ovulation-calculator":I.OVULATION,"pregnancy-weight-gain-calculator":I.PWG,"target-heart-rate-calculator":I.THR},"th-TH":{"เครื่องคำนวณหา-ค่าดัชนี":I.BMI,"เครื่องคำนวณอัตราการเผาผลาญพลังงาน-bmr":I.BMR,"เครื่องมือคำนวณกำหนดคลอด":I.DUE_DATE,"เครื่องคำนวณการตกไข่-ovulation-calculat":I.OVULATION,"เครื่องคำนวณน้ำหนักตัว":I.PWG,"เครื่องวัดอัตราการเต้น":I.THR},"hi-IN":{"bmi-calculator-en":I.BMI,"bmi-calculator":I.BMI,"bmr-calculator":I.BMR,"delivery-date-calculator":I.DUE_DATE,"ovulation-calculator":I.OVULATION,"pregnancy-weight-gain-calculator":I.PWG,"target-heart-rate-calculator":I.THR},"km-KH":{"គណនា-bmi":I.BMI,"គណនា-bmr":I.BMR,"គណនាថ្ងៃសម្រាលកូន":I.DUE_DATE,"គណនាថ្ងៃមេជីវិតញីទុំធ្លាក់":I.OVULATION,"គណនាទម្ងន់ស្ត្រីពពោះ":I.PWG,"គណនារកចង្វាក់បេះដូងល្អ":I.THR},"my-MM":{"bmi-calculator":I.BMI,"bmr-calculator":I.BMR,"due-date-calendar":I.DUE_DATE,"ovulation-calculator":I.OVULATION,"pregnaancy-weight-calculator":I.PWG,"target-heartrate":I.THR,"pregnancy-weight-calculator":I.PWG,"target-heart-rate":I.THR}},$="hhg_user_token",C="together_admin_token",D={adBlock:48,articleAdContainer:47,headerContainerHome:99,headerContainerPopup:200,headerContainerPopupSUbLevel:300,menuSearchInputPopup:5,menuSearchInputDisplayIcon:6,menuSearchPopup:200},M={report_scam:{label:"morePopover.report.scam",reportReasonText:"morePopover.report.scam"},report_sex:{label:"morePopover.report.sex",reportReasonText:"morePopover.report.sex"},report_offensive:{label:"morePopover.report.offensive",reportReasonText:"morePopover.report.offensive"},report_violence:{label:"morePopover.report.violence",reportReasonText:"morePopover.report.violence"},report_prohibited:{label:"morePopover.report.prohibited",reportReasonText:"morePopover.report.prohibited"},report_spam:{label:"morePopover.report.spam",reportReasonText:"morePopover.report.spam"},report_falseNews:{label:"morePopover.report.falseNews",reportReasonText:"morePopover.report.falseNews"},report_other:{label:"morePopover.report.other",reportReasonText:"morePopover.report.other"}},R={"en-PH":{ALL:"all",HOSPITAL:"hospital",SERVICE:"service",DOCTOR:"doctor",SEARCH:"search",SPECIALTIES:"specialties",CURRENT:"current-location"},"vi-VN":{ALL:"tat-ca",HOSPITAL:"benh-vien",SERVICE:"dich-vu",DOCTOR:"bac-si",SEARCH:"tim-kiem",SPECIALTIES:"chuyen-khoa",CURRENT:"vi-tri-hien-tai"},"id-ID":{ALL:"semua",HOSPITAL:"rumah-sakit",SERVICE:"layanan",DOCTOR:"dokter",SEARCH:"cari",SPECIALTIES:"spesialisasi",CURRENT:"posisi-saya-saat-ini"}};var k=Object.freeze({__proto__:null,POST_DATE_FORMAT:"dd/MM/yyyy",NORMAL_DATE_FORMAT:"YYYY-MM-DD",DUE_DATE_FORMAT:A,DEFAULT_AVATAR_IMG:O,DEFAULT_RESULT_IMG:"/images/default.png",DEFAULT_IMG:S,BMI_LEVELS:["underweight","healthy","overweight","obese_level_1","obese_level_2"],BMR_LEVELS:["low","normal","high"],CORAL_TOKEN_COOKE:"coral_together_user_token",HEALTH_TOOL_TYPE:I,LOCALE_HEALTH_TOOLS:L,BEARER_TOKEN_COOKIE:$,TOGETHER_DISCLAIMER_COOKIE:"hhg_together_disclaimer",BEARER_ADMIN_TOKEN_COOKIE:C,Z_INDEX:D,BmrActiveLevels:[{value:"sedentary",icon:"bmr-sedentary",name:"bmr.activeLevel.sedentary",description:"bmr.activeLevel.sedentary.description"},{value:"lightly-active",icon:"bmr-light",name:"bmr.activeLevel.lightlyActive",description:"bmr.activeLevel.lightlyActive.description"},{value:"moderately-active",icon:"bmr-moderately",name:"bmr.activeLevel.moderatelyActive",description:"bmr.activeLevel.moderatelyActive.description"},{value:"intensely-active",icon:"bmr-intensively",name:"bmr.activeLevel.intenselyActive",description:"bmr.activeLevel.intenselyActive.description"},{value:"extremely-active",icon:"bmr-extremely",name:"bmr.activeLevel.extremelyActive",description:"bmr.activeLevel.extremelyActive.description"}],LEAD_CAMPAIGN_CODE:"lmoct7xfr5sv4fv",LEAD_TOKEN_COOKIE:"hhg-id",GA_TOKEN_COOKIE:"_ga",GOOGLE_CALENDAR_AUTH_CLIENT_ID:"1038242799566-esoq4ij201ve5qfp266nbca44scpo3c6.apps.googleusercontent.com",FIND_CARE_IFRAME_URL:"https://www.appsheet.com/start/4ba34ebe-3cb6-4c16-8dd4-d074025a5bb6#appName=DependentDropdowns-2711103&group=%5B%5D&page=card&sort=%5B%5D&table=Menu&view=Menu",REPORT_REASON_MAP:M,MB_SOCIAL_LINKS:{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/marry.baby.vn",INSTAGRAM:"https://www.instagram.com/marrybaby.vn/",TWITTER:"",YOUTUBE:"https://www.youtube.com/channel/UCeZybTkY1VzJ3N7LvPGdKbg",ZALO:"http://zalo.me/806483414530291942"},INTERNAL_ROLES:["admin","moderator","local-admin"],EXTERNAL_ROLES:["ambassador","expert","sponsor","guide","influencer"],INTERNAL_PROFILE_ROLES:["moderator","local-admin"],EXTERNAL_PROFILE_ROLES:["expert","ambassador","sponsor"],RoleDataMap:{moderator:{text:"Moderator",fid:"cardAuthor.moderator",background:"#fe921d"},admin:{text:"Admin",fid:"cardAuthor.admin",background:"#2b62cd"},"local-admin":{text:"Local admin",fid:"cardAuthor.localAdmin",background:"#2b62cd"},expert:{text:"Expert",fid:"cardAuthor.expert",background:"#ff6f4d"},sponsor:{text:"Sponsor",fid:"cardAuthor.sponsor",background:"#00c7e6"},ambassador:{text:"Ambassador",fid:"cardAuthor.ambassador",background:"#00CB8A"}},MAX_IMAGE_UPLOADS:20,LOCALISED_SLUGS:R});const P=f.default.a`
|
|
85
|
-
display: inline-flex;
|
|
86
|
-
position: relative;
|
|
87
|
-
flex-direction: row;
|
|
88
|
-
align-items: center;
|
|
89
|
-
padding: 7px 11px;
|
|
90
|
-
gap: 2px;
|
|
91
|
-
|
|
92
|
-
background: ${e=>e.theme.colors.white};
|
|
93
|
-
border: 1px solid ${e=>e.theme.colors.neutral100};
|
|
94
|
-
border-radius: 20px;
|
|
95
|
-
|
|
96
|
-
color: ${e=>e.theme.colors.gray600};
|
|
97
|
-
font-weight: 600;
|
|
98
|
-
font-size: 12px;
|
|
99
|
-
line-height: 18px;
|
|
100
|
-
text-decoration: none;
|
|
101
|
-
|
|
102
|
-
cursor: pointer;
|
|
103
|
-
`,G=f.default.div`
|
|
104
|
-
position: relative;
|
|
105
|
-
display: inline-block;
|
|
106
|
-
`,N=f.default.div`
|
|
107
|
-
position: relative;
|
|
108
|
-
`,B=f.default.div`
|
|
109
|
-
position: absolute;
|
|
110
|
-
z-index: 21;
|
|
111
|
-
top: 100%;
|
|
112
|
-
right: 0;
|
|
113
|
-
width: 327px;
|
|
114
|
-
padding: 8px;
|
|
115
|
-
background: white;
|
|
116
|
-
border-radius: 4px;
|
|
117
|
-
filter: drop-shadow(0px 8px 40px rgba(0, 0, 0, 0.1));
|
|
118
|
-
|
|
119
|
-
&[data-is-open='false'] {
|
|
120
|
-
display: none;
|
|
121
|
-
}
|
|
122
|
-
&[data-show-indicator='true'] {
|
|
123
|
-
&:before {
|
|
124
|
-
position: absolute;
|
|
125
|
-
right: 11px;
|
|
126
|
-
bottom: 100%;
|
|
127
|
-
width: 0;
|
|
128
|
-
height: 0;
|
|
129
|
-
border: 0.5rem solid transparent;
|
|
130
|
-
border-top: none;
|
|
131
|
-
border-bottom-color: #fff;
|
|
132
|
-
content: '';
|
|
133
|
-
filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
`,U=f.default.div`
|
|
137
|
-
display: flex;
|
|
138
|
-
height: 40px;
|
|
139
|
-
align-items: center;
|
|
140
|
-
justify-content: space-between;
|
|
141
|
-
|
|
142
|
-
padding: 0 16px;
|
|
143
|
-
border-radius: ${e=>e.theme.borderRadius};
|
|
144
|
-
cursor: pointer;
|
|
145
|
-
|
|
146
|
-
.check-icon {
|
|
147
|
-
width: 16px;
|
|
148
|
-
height: 16px;
|
|
149
|
-
}
|
|
150
|
-
&[data-selected='false'] {
|
|
151
|
-
background-color: ${e=>e.theme.colors.gray100};
|
|
152
|
-
}
|
|
153
|
-
`,H=f.default.div`
|
|
154
|
-
position: fixed;
|
|
155
|
-
z-index: 20;
|
|
156
|
-
top: 0;
|
|
157
|
-
left: 0;
|
|
158
|
-
width: 100%;
|
|
159
|
-
height: 100%;
|
|
160
|
-
cursor: default;
|
|
161
|
-
`,z=f.default.div`
|
|
162
|
-
${e=>`\n ${0!==e.lowerBound?`@media (max-width: ${e.lowerBound-1}px) { display: none; }`:""}\n ${0!==e.upperBound?`@media (min-width: ${e.upperBound}px) { display: none; }`:""}\n `}
|
|
163
|
-
`,Q=f.default.div`
|
|
164
|
-
position: absolute;
|
|
165
|
-
right: 0;
|
|
166
|
-
background-color: ${e=>e.theme.colors.white};
|
|
167
|
-
|
|
168
|
-
&[data-animation='true'] {
|
|
169
|
-
transition: all 0.5s ease-in-out;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
&[data-open='true'] {
|
|
173
|
-
z-index: 200;
|
|
174
|
-
top: 120%;
|
|
175
|
-
opacity: 1;
|
|
176
|
-
visibility: visible;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
&[data-open='false'] {
|
|
180
|
-
display: none;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
&[data-type='lead'] {
|
|
184
|
-
width: 332px;
|
|
185
|
-
height: 460px;
|
|
186
|
-
|
|
187
|
-
div {
|
|
188
|
-
top: -15px;
|
|
189
|
-
right: -15px;
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
&[data-type='welcome'] {
|
|
194
|
-
position: fixed;
|
|
195
|
-
${e.MediaQueries.mbDown} {
|
|
196
|
-
width: 100%;
|
|
197
|
-
height: 424px;
|
|
198
|
-
bottom: 0;
|
|
199
|
-
top: unset;
|
|
200
|
-
}
|
|
201
|
-
${e.MediaQueries.mbUp} {
|
|
202
|
-
top: 50%;
|
|
203
|
-
left: 50%;
|
|
204
|
-
transform: translate(-50%, -50%);
|
|
205
|
-
width: 100%;
|
|
206
|
-
min-height: 445px;
|
|
207
|
-
max-width: 407px;
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
&[data-type='due-date'] {
|
|
212
|
-
position: fixed;
|
|
213
|
-
${e.MediaQueries.mbDown} {
|
|
214
|
-
width: 100%;
|
|
215
|
-
height: 100%;
|
|
216
|
-
overflow-y: scroll;
|
|
217
|
-
bottom: 0;
|
|
218
|
-
top: unset;
|
|
219
|
-
}
|
|
220
|
-
${e.MediaQueries.mbUp} {
|
|
221
|
-
top: 50%;
|
|
222
|
-
left: 50%;
|
|
223
|
-
transform: translate(-50%, -50%);
|
|
224
|
-
width: 100vw;
|
|
225
|
-
height: 55vw;
|
|
226
|
-
max-height: 598px;
|
|
227
|
-
max-width: 1080px;
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
.popup-content {
|
|
232
|
-
z-index: 111;
|
|
233
|
-
height: 100%;
|
|
234
|
-
${e.MediaQueries.mbDown} {
|
|
235
|
-
max-height: calc(100vh - var(--header-bottom, 64px));
|
|
236
|
-
}
|
|
237
|
-
overflow: auto;
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
&[data-type='form'] {
|
|
241
|
-
width: 496px;
|
|
242
|
-
height: 548px;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
&[data-type='confirm'] {
|
|
246
|
-
width: 380px;
|
|
247
|
-
height: 252px;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
&[data-type='profile'] {
|
|
251
|
-
/* min-height: 415px; */
|
|
252
|
-
${e.MediaQueries.mbUp} {
|
|
253
|
-
border-radius: ${e=>e.theme.borderRadius};
|
|
254
|
-
box-shadow: 0px 4px 8px
|
|
255
|
-
${e=>e.theme.colors.gray200};
|
|
256
|
-
&:before {
|
|
257
|
-
position: absolute;
|
|
258
|
-
right: 11px;
|
|
259
|
-
bottom: 100%;
|
|
260
|
-
width: 0;
|
|
261
|
-
height: 0;
|
|
262
|
-
border: 0.5rem solid transparent;
|
|
263
|
-
border-top: none;
|
|
264
|
-
border-bottom-color: #fff;
|
|
265
|
-
content: '';
|
|
266
|
-
filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
${e.MediaQueries.mbDown} {
|
|
270
|
-
position: fixed;
|
|
271
|
-
left: 0;
|
|
272
|
-
width: 100%;
|
|
273
|
-
border-top: 1px solid ${i.theme.colors.neutral100};
|
|
274
|
-
}
|
|
275
|
-
${e.MediaQueries.mbUp} {
|
|
276
|
-
width: 368px;
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
.close-button {
|
|
281
|
-
position: absolute;
|
|
282
|
-
top: 0;
|
|
283
|
-
right: 0;
|
|
284
|
-
width: 32px;
|
|
285
|
-
height: 32px;
|
|
286
|
-
cursor: pointer;
|
|
287
|
-
|
|
288
|
-
img {
|
|
289
|
-
width: 100%;
|
|
290
|
-
height: 100%;
|
|
291
|
-
border-radius: 50%;
|
|
292
|
-
}
|
|
293
|
-
}
|
|
294
|
-
`,j="hhgcomp-navprofilebutton-popup",F=o.getDefaultClassWrapper(Q,j),V=f.default.div`
|
|
295
|
-
position: fixed;
|
|
296
|
-
z-index: 150;
|
|
297
|
-
top: var(--header-bottom, 69px);
|
|
298
|
-
left: 0;
|
|
299
|
-
width: 100%;
|
|
300
|
-
height: 100%;
|
|
301
|
-
align-items: center;
|
|
302
|
-
|
|
303
|
-
${e.MediaQueries.mbUp} {
|
|
304
|
-
background-color: transparent;
|
|
305
|
-
&[data-type='welcome'] {
|
|
306
|
-
background: rgba(38, 38, 38, 0.3);
|
|
307
|
-
}
|
|
308
|
-
&[data-type='due-date'] {
|
|
309
|
-
background: rgba(38, 38, 38, 0.3);
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
${e.MediaQueries.mbDown} {
|
|
314
|
-
background: rgba(38, 38, 38, 0.3);
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
&[data-type='welcome'] {
|
|
318
|
-
top: 0;
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
&[data-open='false'] {
|
|
322
|
-
display: none;
|
|
323
|
-
}
|
|
324
|
-
`,W="hhgcomp-navprofilebutton-popupwrapper";o.getDefaultClassWrapper(V,W);const Y=f.default.div`
|
|
325
|
-
width: 40px;
|
|
326
|
-
height: 40px;
|
|
327
|
-
cursor: pointer;
|
|
328
|
-
|
|
329
|
-
img {
|
|
330
|
-
border-radius: 50%;
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
.avatar {
|
|
334
|
-
width: 40px;
|
|
335
|
-
height: 40px;
|
|
336
|
-
object-fit: cover;
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
.avatar-default {
|
|
340
|
-
display: flex;
|
|
341
|
-
align-items: center;
|
|
342
|
-
justify-content: center;
|
|
343
|
-
background-color: ${e=>e.theme.colors.secondaryBase};
|
|
344
|
-
border-radius: 50%;
|
|
345
|
-
color: white;
|
|
346
|
-
font-size: 20px;
|
|
347
|
-
font-weight: bold;
|
|
348
|
-
}
|
|
349
|
-
`,K=f.default.a`
|
|
350
|
-
display: inline-flex;
|
|
351
|
-
position: relative;
|
|
352
|
-
width: 40px;
|
|
353
|
-
height: 40px;
|
|
354
|
-
display: flex;
|
|
355
|
-
align-items: center;
|
|
356
|
-
justify-content: center;
|
|
357
|
-
text-decoration: none;
|
|
358
|
-
flex-shrink: 0;
|
|
359
|
-
cursor: pointer;
|
|
360
|
-
|
|
361
|
-
.user-close-icon {
|
|
362
|
-
display: none;
|
|
363
|
-
}
|
|
364
|
-
&:focus-within {
|
|
365
|
-
.user-close-icon {
|
|
366
|
-
display: block;
|
|
367
|
-
}
|
|
368
|
-
.user-avatar {
|
|
369
|
-
display: none;
|
|
370
|
-
}
|
|
371
|
-
.${j} {
|
|
372
|
-
z-index: 200;
|
|
373
|
-
top: 120%;
|
|
374
|
-
opacity: 1;
|
|
375
|
-
visibility: visible;
|
|
376
|
-
display: initial;
|
|
377
|
-
&[data-type='profile'] {
|
|
378
|
-
${e.MediaQueries.mbDown} {
|
|
379
|
-
top: 100%;
|
|
380
|
-
}
|
|
381
|
-
}
|
|
382
|
-
}
|
|
383
|
-
.${W} {
|
|
384
|
-
display: initial;
|
|
385
|
-
}
|
|
386
|
-
}
|
|
387
|
-
`,q=f.default.a`
|
|
388
|
-
display: inline-flex;
|
|
389
|
-
.login-btn[data-color='tertiary'][data-size='md'] {
|
|
390
|
-
padding-left: 12px;
|
|
391
|
-
padding-right: 12px;
|
|
392
|
-
}
|
|
393
|
-
.mobile-only {
|
|
394
|
-
${e.MediaQueries.mbUp} {
|
|
395
|
-
display: none;
|
|
396
|
-
}
|
|
397
|
-
}
|
|
398
|
-
.login-btn {
|
|
399
|
-
display: none;
|
|
400
|
-
${e.MediaQueries.mbUp} {
|
|
401
|
-
display: block;
|
|
402
|
-
}
|
|
403
|
-
}
|
|
404
|
-
`;var X="fVk18fq",Z="v8TCvUb",J="mx7T4V3";const ee={myHealth:i.theme.mbColors.toneYellow,myCommunity:i.theme.mbColors.toneBlue,mySaved:i.theme.mbColors.toneGreen},te={helloSites:{myBooking:()=>l.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-myBooking.svg"),myCommunity:()=>l.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-myCommunity.svg"),myFamily:()=>l.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-myFamily.svg"),myHealth:()=>l.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-myHealth.svg"),mySaved:()=>l.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-mySaved.svg"),eCom:()=>l.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-eCom.svg")},marryBaby:{mySaved:()=>l.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-mySaved.svg"),myCommunity:()=>l.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-myCommunity.svg"),myHealth:()=>l.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-myHealth.svg")}},ie=99,oe=300,ae=400,re=210,le=f.default.div`
|
|
405
|
-
background-color: white;
|
|
406
|
-
text-align: center;
|
|
407
|
-
.cancle-img {
|
|
408
|
-
margin-top: 24px;
|
|
409
|
-
${e.MediaQueries.mbDown} {
|
|
410
|
-
width: 80px;
|
|
411
|
-
height: 80px;
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
${e.MediaQueries.mbUp} {
|
|
415
|
-
width: 100px;
|
|
416
|
-
height: 100px;
|
|
417
|
-
}
|
|
418
|
-
}
|
|
419
|
-
|
|
420
|
-
h2 {
|
|
421
|
-
margin-top: 32px;
|
|
422
|
-
color: ${e=>e.theme.colors.gray800};
|
|
423
|
-
font-style: normal;
|
|
424
|
-
font-weight: bold;
|
|
425
|
-
${e.MediaQueries.mbDown} {
|
|
426
|
-
font-size: 24px;
|
|
427
|
-
line-height: 32px;
|
|
428
|
-
}
|
|
429
|
-
|
|
430
|
-
${e.MediaQueries.mbUp} {
|
|
431
|
-
font-size: 32px;
|
|
432
|
-
line-height: 42px;
|
|
433
|
-
}
|
|
434
|
-
}
|
|
435
|
-
|
|
436
|
-
p {
|
|
437
|
-
margin-top: 8px;
|
|
438
|
-
color: ${e=>e.theme.colors.gray600};
|
|
439
|
-
font-style: normal;
|
|
440
|
-
font-weight: normal;
|
|
441
|
-
${e.MediaQueries.mbDown} {
|
|
442
|
-
font-size: 16px;
|
|
443
|
-
line-height: 24px;
|
|
444
|
-
}
|
|
445
|
-
|
|
446
|
-
${e.MediaQueries.mbUp} {
|
|
447
|
-
font-size: 16px;
|
|
448
|
-
line-height: 24px;
|
|
449
|
-
}
|
|
450
|
-
}
|
|
451
|
-
`,ne=f.default.div`
|
|
452
|
-
display: flex;
|
|
453
|
-
|
|
454
|
-
${e.MediaQueries.mbDown} {
|
|
455
|
-
margin-top: 24px;
|
|
456
|
-
}
|
|
457
|
-
|
|
458
|
-
${e.MediaQueries.mbUp} {
|
|
459
|
-
margin-top: 32px;
|
|
460
|
-
}
|
|
461
|
-
justify-content: space-around;
|
|
462
|
-
button {
|
|
463
|
-
flex: 1;
|
|
464
|
-
margin: 4px;
|
|
465
|
-
}
|
|
466
|
-
|
|
467
|
-
${e=>"marryBaby"===e.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 ":""}
|
|
468
|
-
`
|
|
469
|
-
/*!
|
|
470
|
-
* cookie
|
|
471
|
-
* Copyright(c) 2012-2014 Roman Shtylman
|
|
472
|
-
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
473
|
-
* MIT Licensed
|
|
474
|
-
*/;var se=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");var i={},o=(t||{}).decode||ce,a=0;for(;a<e.length;){var r=e.indexOf("=",a);if(-1===r)break;var l=e.indexOf(";",a);if(-1===l)l=e.length;else if(l<r){a=e.lastIndexOf(";",r-1)+1;continue}var n=e.slice(a,r).trim();if(void 0===i[n]){var s=e.slice(r+1,l).trim();34===s.charCodeAt(0)&&(s=s.slice(1,-1)),i[n]=ge(s,o)}a=l+1}return i},de=function(e,t,i){var o=i||{},a=o.encode||me;if("function"!=typeof a)throw new TypeError("option encode is invalid");if(!ue.test(e))throw new TypeError("argument name is invalid");var r=a(t);if(r&&!ue.test(r))throw new TypeError("argument val is invalid");var l=e+"="+r;if(null!=o.maxAge){var n=o.maxAge-0;if(isNaN(n)||!isFinite(n))throw new TypeError("option maxAge is invalid");l+="; Max-Age="+Math.floor(n)}if(o.domain){if(!ue.test(o.domain))throw new TypeError("option domain is invalid");l+="; Domain="+o.domain}if(o.path){if(!ue.test(o.path))throw new TypeError("option path is invalid");l+="; Path="+o.path}if(o.expires){var s=o.expires;if(!function(e){return"[object Date]"===pe.call(e)||e instanceof Date}(s)||isNaN(s.valueOf()))throw new TypeError("option expires is invalid");l+="; Expires="+s.toUTCString()}o.httpOnly&&(l+="; HttpOnly");o.secure&&(l+="; Secure");if(o.priority){switch("string"==typeof o.priority?o.priority.toLowerCase():o.priority){case"low":l+="; Priority=Low";break;case"medium":l+="; Priority=Medium";break;case"high":l+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(o.sameSite){switch("string"==typeof o.sameSite?o.sameSite.toLowerCase():o.sameSite){case!0:l+="; SameSite=Strict";break;case"lax":l+="; SameSite=Lax";break;case"strict":l+="; SameSite=Strict";break;case"none":l+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return l},pe=Object.prototype.toString,ue=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function ce(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function me(e){return encodeURIComponent(e)}function ge(e,t){try{return t(e)}catch(t){return e}}var he={parse:se,serialize:de};const xe={BASE_API_PATH:"/",PROFILE:"profile?website_url={website_url}",SEARCH_USER:"profile/search?website_url={website_url}&name={name}",FETCH_PREVIEW:"fetch/preview?website_url={website_url}",FETCH_POST_OR_TOPIC:"fetch/{slug}?website_url={website_url}&community_slug={communitySlug}",POST:{LIST:"post?website_url={website_url}&slug={slug}&pin={pin}&page={page}&community_id={communityId}&topic_id={topicId}&sort_by={sort}&id={id}",DETAIL_BY_ID_OR_SLUG:"post/{idSlug}?website_url={website_url}",CREATE:"post/create?website_url={website_url}",LIKE:"post/{id}/like?website_url={website_url}",DELETE:"post/{id}/delete?website_url={website_url}",REPORT:"post/{id}/report?website_url={website_url}",UPDATE:"post/{id}/update?website_url={website_url}",FOLLOW:"post/{id}/follow?website_url={website_url}",CREATE_ARTICLE_COMMENT:"article-comment/create?website_url={website_url}"},COMMENT:{LIST:"comment?website_url={website_url}&post_id={postId}&page={page}&sort_by={sort}&items_per_page={perPage}&_without_reply={withoutReply}",CREATE:"comment/create?website_url={website_url}",REPLY:"comment/reply?website_url={website_url}",DELETE:"comment/{id}/delete?website_url={website_url}",LIKE:"comment/{id}/like?website_url={website_url}",UNLIKE:"comment/{id}/unlike?website_url={website_url}",IMAGE_UPLOAD:"comment/image/upload?website_url={website_url}"},COMMUNITY:{LIST:"community?website_url={website_url}&page={page}",DETAIL_BY_ID_OR_SLUG:"community/{idSlug}?website_url={website_url}",JOIN:"community/join?website_url={website_url}",LEAVE:"community/leave?website_url={website_url}"},TOPIC:{LIST:"topic?website_url={website_url}&community_slug={communitySlug}&community_id={communityId}&page={page}",DETAIL_BY_ID_OR_SLUG:"topic/{idSlug}?website_url={website_url}&community_slug={communitySlug}&community_id={communityId}",HEALTH_TOOLS:"tools?topic_id={topicId}&website_url={website_url}",SUBOTS:"subots?topic_id={topicId}&website_url={website_url}",SUGGESTED_POSTS:"suggested-posts?topic_id={topicId}&website_url={website_url}&page={page}",JOIN:"topic/join?website_url={website_url}",LEAVE:"topic/leave?website_url={website_url}"},BOOKMARK:{LIST:"bookmark?user_id={userId}&website_url={website_url}",CREATE:"bookmark/create?website_url={website_url}",DELETE:"bookmark/delete?website_url={website_url}"},UPLOAD_IMAGE:"auth/comment/image/upload?website_url={website_url}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info",USER:{DETAIL:"profile/user/detail?website_url={website_url}&user_id={id}",COUNT_TABS:"profile/user/counting?website_url={website_url}&user_id={id}&total_post={post}&total_comment={comment}&total_community={community}&total_reply={reply}&total_question={question}",LIST_POST:"profile/user/posts?website_url={website_url}&user_id={id}&is_anonymous={isAnonymous}&paging=none",LIST_QUESTION_NEED_REPLY:"questions/no-reply?website_url={website_url}",LIST_QUESTION:"question/{id}?website_url={website_url}&is_reply={isReply}&is_question={isQuestion}&is_ignore={isIgnore}&group_by={groupBy}",SKIP_QUESTION:"questions/ignore?website_url={website_url}&question_id={id}",LIST_ANSWERS:"replied/{id}?website_url={website_url}&paging=1&items_per_page={pageSize}"}},fe={locale:"vi-VN",env:{isMarryBaby:!1,togetherBasePath:"/community"},router:{basePath:"",asPath:"/"}},be=a.createContext({data:fe,action:{pushNotifications:e=>e,sanitizeFunction:e=>e}});exports.GlobalData=fe;const ye={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com"},_e={"vi-VN":"marrybaby.vn"},ve=process.env.NEXT_PUBLIC_DEPLOY_LOCALE||"vi-VN",we=e=>{const{env:{isMarryBaby:t}}=exports.GlobalData;return`https://${t?_e[e]:ye[e]}`},Ee=e=>{const t=e.indexOf("?");return t>=0?e.slice(0,t+1)+e.slice(t+1).replace(/[^=&]+=(&|$)/g,"").replace(/&$/,""):e},Te=(e,t,i)=>{let o="";i&&(o=Object.keys(i).map((e=>e+"="+i[e])).join("&"));const{togetherBaseApiUrl:a=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};let r=_.default(e,Object.assign(Object.assign({},(null==t?void 0:t._locale)?{website_url:we(String(t._locale))}:{}),t));return r+=`${r.includes("?")?"&":"?"}${o}`,a+"api/v1/"+Ee(r)},Ae=e=>((null==e?void 0:e.data)&&(e.data instanceof FormData?e.body=e.data:"object"==typeof e.data&&(e.body=JSON.stringify(e.data)),delete e.data),e),Oe=(e,t,i,o=!1)=>n.__awaiter(void 0,void 0,void 0,(function*(){var a,r,l,n;try{const a=yield fetch(o?e:(n=e,encodeURI(n).replace(/%5B/g,"[").replace(/%5D/g,"]")),Object.assign(Object.assign({method:t},Ae(i)),{headers:Object.assign({},null==i?void 0:i.headers)})).then((e=>e.json()));if(a)return a}catch(t){return console.log(t),console.log({url:e,status:null===(a=null==t?void 0:t.response)||void 0===a?void 0:a.status,statusText:null===(r=null==t?void 0:t.response)||void 0===r?void 0:r.statusText}),(null===(l=null==t?void 0:t.response)||void 0===l?void 0:l.data)||null}return null})),Se=(e,t,i,o)=>n.__awaiter(void 0,void 0,void 0,(function*(){try{const a=he.parse(o||""),r=a[$]||d.getCookie($);if(r&&r.length){const o=yield fetch(e,Object.assign(Object.assign({method:t},Ae(i)),{headers:Object.assign({Authorization:"Bearer "+r},null==i?void 0:i.headers)})).then((e=>e.json()));if(o)return o}}catch(e){return null}return null}));function Ie(e,t,i){const o=new RegExp("([?&])"+t+"=.*?(&|$)","i"),a=-1!==e.indexOf("?")?"&":"?";return e.match(o)?e.replace(o,"$1"+t+"="+i+"$2"):e+a+t+"="+i}const Le=(e,t,i,o)=>i&&t?`${i}-${t}`:`${y.default(e||"",{lower:!0,locale:o||ve})}-${t}`,$e=b.default.createContext({}),Ce=f.default.div`
|
|
475
|
-
position: fixed;
|
|
476
|
-
z-index: 201;
|
|
477
|
-
top: calc(100% + 1px); // border 1px
|
|
478
|
-
width: 100%;
|
|
479
|
-
height: calc(100vh - var(--header-bottom));
|
|
480
|
-
overflow-x: hidden;
|
|
481
|
-
overflow-y: auto;
|
|
482
|
-
background: white;
|
|
483
|
-
display: flex;
|
|
484
|
-
flex-direction: column;
|
|
485
|
-
padding-bottom: 0;
|
|
486
|
-
left: 0;
|
|
487
|
-
.hhgcomp-navigation-popupwrapper-menuwrapper {
|
|
488
|
-
position: unset;
|
|
489
|
-
}
|
|
490
|
-
`;f.default.div`
|
|
491
|
-
position: fixed;
|
|
492
|
-
bottom: 0;
|
|
493
|
-
left: 0;
|
|
494
|
-
display: flex;
|
|
495
|
-
width: 100%;
|
|
496
|
-
height: 72px;
|
|
497
|
-
align-items: flex-start;
|
|
498
|
-
justify-content: center;
|
|
499
|
-
|
|
500
|
-
background: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
|
|
501
|
-
|
|
502
|
-
.button-image {
|
|
503
|
-
stroke-color: blue;
|
|
504
|
-
}
|
|
505
|
-
|
|
506
|
-
&[data-site-type='marryBaby'] {
|
|
507
|
-
padding: 0 16px;
|
|
508
|
-
.category-button {
|
|
509
|
-
width: 100%;
|
|
510
|
-
height: 48px;
|
|
511
|
-
}
|
|
512
|
-
}
|
|
513
|
-
`,f.default.div`
|
|
514
|
-
display: flex;
|
|
515
|
-
|
|
516
|
-
&[data-card-array-no-margin-style='true'] {
|
|
517
|
-
margin: 8px 0;
|
|
518
|
-
|
|
519
|
-
& > div {
|
|
520
|
-
width: 0;
|
|
521
|
-
flex: 1;
|
|
522
|
-
margin: 0 -1px;
|
|
523
|
-
}
|
|
524
|
-
}
|
|
525
|
-
|
|
526
|
-
&[data-card-array-no-margin-style='false'] {
|
|
527
|
-
margin: 8px -4px;
|
|
528
|
-
|
|
529
|
-
& > div {
|
|
530
|
-
flex: 1;
|
|
531
|
-
margin: 0 4px;
|
|
532
|
-
}
|
|
533
|
-
}
|
|
534
|
-
`,f.default.div`
|
|
535
|
-
margin-top: 64px;
|
|
536
|
-
`,f.default.div`
|
|
537
|
-
padding: 24px 0;
|
|
538
|
-
`,f.default.div`
|
|
539
|
-
display: flex;
|
|
540
|
-
width: 100%;
|
|
541
|
-
align-items: center;
|
|
542
|
-
justify-content: center;
|
|
543
|
-
|
|
544
|
-
& > div:first-child {
|
|
545
|
-
margin-right: 8px;
|
|
546
|
-
}
|
|
547
|
-
`,f.default.div`
|
|
548
|
-
z-index: ${re};
|
|
549
|
-
align-items: center;
|
|
550
|
-
|
|
551
|
-
border: 1px solid ${e=>e.theme.colors.neutral50};
|
|
552
|
-
background-color: ${e=>e.theme.colors.white};
|
|
553
|
-
box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),
|
|
554
|
-
0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),
|
|
555
|
-
0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
556
|
-
`,f.default.div`
|
|
557
|
-
position: relative;
|
|
558
|
-
display: flex;
|
|
559
|
-
flex-wrap: wrap;
|
|
560
|
-
align-items: flex-start;
|
|
561
|
-
justify-content: flex-start;
|
|
562
|
-
padding: 48px 0;
|
|
563
|
-
`,f.default.div`
|
|
564
|
-
position: relative;
|
|
565
|
-
display: flex;
|
|
566
|
-
flex-wrap: wrap;
|
|
567
|
-
align-items: flex-start;
|
|
568
|
-
justify-content: flex-start;
|
|
569
|
-
&[data-disabled-divider='false'] {
|
|
570
|
-
border-right: 1px solid #e4e8ec;
|
|
571
|
-
}
|
|
572
|
-
`,f.default.div`
|
|
573
|
-
width: 20%;
|
|
574
|
-
padding-right: 16px;
|
|
575
|
-
margin-bottom: 12px;
|
|
576
|
-
|
|
577
|
-
& > a {
|
|
578
|
-
color: ${e=>e.theme.colors.gray800};
|
|
579
|
-
font-size: ${e=>e.theme.sizes.fsParagraph4};
|
|
580
|
-
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
581
|
-
line-height: 22px;
|
|
582
|
-
}
|
|
583
|
-
|
|
584
|
-
& > a:hover {
|
|
585
|
-
color: ${e=>e.theme.colors.primaryBase};
|
|
586
|
-
}
|
|
587
|
-
|
|
588
|
-
.iconMenu {
|
|
589
|
-
display: flex;
|
|
590
|
-
align-items: center;
|
|
591
|
-
|
|
592
|
-
> .imageContainer {
|
|
593
|
-
display: flex;
|
|
594
|
-
width: 32px;
|
|
595
|
-
min-width: 32px;
|
|
596
|
-
align-items: center;
|
|
597
|
-
margin-right: 16px;
|
|
598
|
-
}
|
|
599
|
-
}
|
|
600
|
-
`,f.default.div`
|
|
601
|
-
display: none;
|
|
602
|
-
`,f.default.div`
|
|
603
|
-
width: 33%;
|
|
604
|
-
height: 48px;
|
|
605
|
-
padding-right: 16px;
|
|
606
|
-
margin-bottom: 12px;
|
|
607
|
-
|
|
608
|
-
& > a {
|
|
609
|
-
display: flex;
|
|
610
|
-
align-items: center;
|
|
611
|
-
color: ${e=>e.theme.colors.gray800};
|
|
612
|
-
font-size: ${e=>e.theme.sizes.fsParagraph4};
|
|
613
|
-
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
614
|
-
line-height: 22px;
|
|
615
|
-
|
|
616
|
-
& > :first-child {
|
|
617
|
-
margin-right: 16px;
|
|
618
|
-
}
|
|
619
|
-
}
|
|
620
|
-
|
|
621
|
-
& > a > p:hover {
|
|
622
|
-
color: ${e=>e.theme.colors.primaryBase};
|
|
623
|
-
}
|
|
624
|
-
`,f.default.div`
|
|
625
|
-
display: flex;
|
|
626
|
-
align-items: center;
|
|
627
|
-
|
|
628
|
-
padding-right: 16px;
|
|
629
|
-
margin-bottom: 12px;
|
|
630
|
-
color: ${e=>e.theme.colors.primaryBase};
|
|
631
|
-
font-size: ${e=>e.theme.sizes.fsParagraph4};
|
|
632
|
-
font-weight: ${e=>e.theme.sizes.fwBold};
|
|
633
|
-
line-height: 24px;
|
|
634
|
-
|
|
635
|
-
&[data-theme='marryBaby'] {
|
|
636
|
-
color: ${e=>e.theme.mbColors.pink};
|
|
637
|
-
}
|
|
638
|
-
`,f.default.div`
|
|
639
|
-
display: flex;
|
|
640
|
-
align-items: center;
|
|
641
|
-
|
|
642
|
-
margin-left: 10px;
|
|
643
|
-
`,f.default.div`
|
|
644
|
-
position: absolute;
|
|
645
|
-
top: 16px;
|
|
646
|
-
right: 0;
|
|
647
|
-
display: flex;
|
|
648
|
-
align-items: center;
|
|
649
|
-
cursor: pointer;
|
|
650
|
-
`,f.default.div`
|
|
651
|
-
display: block;
|
|
652
|
-
`,f.default.div`
|
|
653
|
-
.categories__spotlight {
|
|
654
|
-
display: grid;
|
|
655
|
-
margin: 16px;
|
|
656
|
-
margin-bottom: 32px;
|
|
657
|
-
grid-gap: 8px;
|
|
658
|
-
grid-template-columns: 1fr 1fr;
|
|
659
|
-
|
|
660
|
-
a {
|
|
661
|
-
text-decoration: none;
|
|
662
|
-
}
|
|
663
|
-
}
|
|
664
|
-
|
|
665
|
-
.categoryCard {
|
|
666
|
-
display: flex;
|
|
667
|
-
width: 100%;
|
|
668
|
-
flex-direction: column;
|
|
669
|
-
align-items: center;
|
|
670
|
-
padding: 16px;
|
|
671
|
-
border-radius: ${e=>e.theme.borderRadius};
|
|
672
|
-
color: ${e=>e.theme.colors.primaryBase};
|
|
673
|
-
|
|
674
|
-
svg {
|
|
675
|
-
margin-bottom: 4px;
|
|
676
|
-
}
|
|
677
|
-
|
|
678
|
-
&.active {
|
|
679
|
-
background: ${e=>e.theme.colors.primaryBase};
|
|
680
|
-
box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),
|
|
681
|
-
0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
682
|
-
color: white;
|
|
683
|
-
}
|
|
684
|
-
|
|
685
|
-
&:not(.active) {
|
|
686
|
-
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04),
|
|
687
|
-
0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
688
|
-
}
|
|
689
|
-
}
|
|
690
|
-
|
|
691
|
-
.amp__menu-header {
|
|
692
|
-
display: grid;
|
|
693
|
-
grid-template-columns: 1fr 1fr 1fr;
|
|
694
|
-
|
|
695
|
-
svg {
|
|
696
|
-
margin-left: 16px;
|
|
697
|
-
}
|
|
698
|
-
|
|
699
|
-
> div {
|
|
700
|
-
align-self: center;
|
|
701
|
-
|
|
702
|
-
&:nth-child(2) {
|
|
703
|
-
justify-self: center;
|
|
704
|
-
}
|
|
705
|
-
}
|
|
706
|
-
}
|
|
707
|
-
|
|
708
|
-
.logo {
|
|
709
|
-
margin: 22px 0;
|
|
710
|
-
}
|
|
711
|
-
|
|
712
|
-
.categories {
|
|
713
|
-
margin: 0 16px;
|
|
714
|
-
|
|
715
|
-
li {
|
|
716
|
-
display: block;
|
|
717
|
-
width: 100%;
|
|
718
|
-
|
|
719
|
-
+ li {
|
|
720
|
-
border-top: 1px solid
|
|
721
|
-
${e=>e.theme.colors.neutral100};
|
|
722
|
-
}
|
|
723
|
-
|
|
724
|
-
a {
|
|
725
|
-
display: block;
|
|
726
|
-
margin: 12px 0;
|
|
727
|
-
color: ${e=>e.theme.colors.gray800};
|
|
728
|
-
text-decoration: none;
|
|
729
|
-
}
|
|
730
|
-
}
|
|
731
|
-
}
|
|
732
|
-
`,f.default.div`
|
|
733
|
-
width: 20%;
|
|
734
|
-
height: 2px;
|
|
735
|
-
|
|
736
|
-
background-color: ${e=>e.theme.mbColors.pink};
|
|
737
|
-
border-radius: 2px;
|
|
738
|
-
`;const De=f.default.div`
|
|
739
|
-
padding: 16px;
|
|
740
|
-
padding-bottom: 12px;
|
|
741
|
-
.fake-search-input {
|
|
742
|
-
pointer-events: none;
|
|
743
|
-
input {
|
|
744
|
-
line-height: 20px;
|
|
745
|
-
padding-top: 10px;
|
|
746
|
-
padding-bottom: 10px;
|
|
747
|
-
}
|
|
748
|
-
}
|
|
749
|
-
&[data-theme='marryBaby'] {
|
|
750
|
-
input {
|
|
751
|
-
background: ${e=>e.theme.mbColors.lightGray};
|
|
752
|
-
border-radius: 16px;
|
|
753
|
-
border: none;
|
|
754
|
-
}
|
|
755
|
-
}
|
|
756
|
-
`,Me=f.default.div`
|
|
757
|
-
display: block;
|
|
758
|
-
overflow-y: auto;
|
|
759
|
-
flex: 1;
|
|
760
|
-
padding-bottom: 16px;
|
|
761
|
-
&::-webkit-scrollbar {
|
|
762
|
-
width: 0;
|
|
763
|
-
display: none;
|
|
764
|
-
}
|
|
765
|
-
`,Re=a.memo((()=>b.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b.default.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"})))),ke=f.default.div`
|
|
766
|
-
padding-right: 1rem;
|
|
767
|
-
margin-top: 10px;
|
|
768
|
-
background: #ffffff;
|
|
769
|
-
padding: 5px 15px;
|
|
770
|
-
${e.MediaQueries.mbUp} {
|
|
771
|
-
border-right: 1px solid #e4e8ec;
|
|
772
|
-
}
|
|
773
|
-
`,Pe=f.default.a`
|
|
774
|
-
padding: 10px 0;
|
|
775
|
-
position: relative;
|
|
776
|
-
|
|
777
|
-
display: flex;
|
|
778
|
-
align-items: center;
|
|
779
|
-
text-decoration: none;
|
|
780
|
-
color: ${e=>e.theme.colors.gray800};
|
|
781
|
-
* {
|
|
782
|
-
pointer-events: none;
|
|
783
|
-
}
|
|
784
|
-
p {
|
|
785
|
-
font-size: 16px;
|
|
786
|
-
font-weight: 400;
|
|
787
|
-
padding: 0 0.4rem;
|
|
788
|
-
}
|
|
789
|
-
|
|
790
|
-
&[data-theme='marryBaby']:hover {
|
|
791
|
-
p {
|
|
792
|
-
color: ${e=>e.theme.mbColors.pink};
|
|
793
|
-
}
|
|
794
|
-
.icon {
|
|
795
|
-
background-color: ${e=>e.theme.mbColors.lightPink};
|
|
796
|
-
}
|
|
797
|
-
}
|
|
798
|
-
&[data-theme='helloSite']:hover {
|
|
799
|
-
p {
|
|
800
|
-
color: ${e=>e.theme.colors.primaryActive};
|
|
801
|
-
}
|
|
802
|
-
}
|
|
803
|
-
a {
|
|
804
|
-
}
|
|
805
|
-
|
|
806
|
-
&[data-theme='marryBaby'] {
|
|
807
|
-
.icon {
|
|
808
|
-
display: flex;
|
|
809
|
-
align-items: center;
|
|
810
|
-
justify-content: center;
|
|
811
|
-
max-width: 40px;
|
|
812
|
-
width: 100%;
|
|
813
|
-
height: 40px;
|
|
814
|
-
border-radius: 50%;
|
|
815
|
-
background-color: ${e=>e.theme.mbColors.lightGray};
|
|
816
|
-
img {
|
|
817
|
-
border-radius: 50%;
|
|
818
|
-
}
|
|
819
|
-
}
|
|
820
|
-
}
|
|
821
|
-
`,Ge=f.default.div`
|
|
822
|
-
margin: 15px 0;
|
|
823
|
-
${e.MediaQueries.mbDown} {
|
|
824
|
-
display: none;
|
|
825
|
-
}
|
|
826
|
-
`,Ne=f.default.div`
|
|
827
|
-
display: flex;
|
|
828
|
-
position: absolute;
|
|
829
|
-
right: 0;
|
|
830
|
-
${e.MediaQueries.mbUp} {
|
|
831
|
-
display: none;
|
|
832
|
-
}
|
|
833
|
-
`,Be=f.default.div`
|
|
834
|
-
display: flex;
|
|
835
|
-
align-items: center;
|
|
836
|
-
color: ${e=>e.theme.colors.primaryBase};
|
|
837
|
-
font-size: ${e=>e.theme.sizes.fsParagraph4};
|
|
838
|
-
font-weight: ${e=>e.theme.sizes.fwBold};
|
|
839
|
-
line-height: 24px;
|
|
840
|
-
font-size: 14px;
|
|
841
|
-
font-weight: 600;
|
|
842
|
-
&[data-event-category] * {
|
|
843
|
-
pointer-events: none;
|
|
844
|
-
}
|
|
845
|
-
&[data-theme='marryBaby'] {
|
|
846
|
-
color: ${e=>e.theme.mbColors.pink};
|
|
847
|
-
}
|
|
848
|
-
`,Ue=f.default.div`
|
|
849
|
-
display: flex;
|
|
850
|
-
align-items: center;
|
|
851
|
-
margin-left: 10px;
|
|
852
|
-
`,He=f.default.a`
|
|
853
|
-
border: 1px solid ${e=>e.theme.colors.primaryBase};
|
|
854
|
-
&[data-theme='marryBaby'] {
|
|
855
|
-
border: 1px solid ${e=>e.theme.mbColors.pink};
|
|
856
|
-
|
|
857
|
-
svg path {
|
|
858
|
-
stroke: ${e=>e.theme.mbColors.pink};
|
|
859
|
-
}
|
|
860
|
-
}
|
|
861
|
-
position: relative;
|
|
862
|
-
display: flex;
|
|
863
|
-
align-items: center;
|
|
864
|
-
justify-content: center;
|
|
865
|
-
padding: 6px;
|
|
866
|
-
border-radius: 5px;
|
|
867
|
-
margin-top: 20px;
|
|
868
|
-
${e.MediaQueries.mbDown} {
|
|
869
|
-
display: none;
|
|
870
|
-
}
|
|
871
|
-
`;f.default.div`
|
|
872
|
-
& > a:not(:last-child) > div {
|
|
873
|
-
border-bottom: 1px solid
|
|
874
|
-
${e=>e.theme.colors.neutral100};
|
|
875
|
-
}
|
|
876
|
-
|
|
877
|
-
&[data-category-list-type='sub'] {
|
|
878
|
-
padding-bottom: 72px;
|
|
879
|
-
}
|
|
880
|
-
|
|
881
|
-
&[data-is-displayed='false'] {
|
|
882
|
-
display: none;
|
|
883
|
-
}
|
|
884
|
-
`;const ze=f.default.div`
|
|
885
|
-
display: grid;
|
|
886
|
-
|
|
887
|
-
grid-template-columns: repeat(3, 1fr);
|
|
888
|
-
gap: 24px;
|
|
889
|
-
|
|
890
|
-
${e.MediaQueries.tdDown} {
|
|
891
|
-
grid-template-columns: repeat(1, 1fr);
|
|
892
|
-
}
|
|
893
|
-
`,Qe=f.default.div`
|
|
894
|
-
height: 152px; // 120 + 16 * 2
|
|
895
|
-
position: absolute;
|
|
896
|
-
top: 0;
|
|
897
|
-
left: 0;
|
|
898
|
-
z-index: 3;
|
|
899
|
-
overflow: hidden;
|
|
900
|
-
border-radius: 4px;
|
|
901
|
-
padding: 16px;
|
|
902
|
-
width: 100%;
|
|
903
|
-
|
|
904
|
-
.img-container {
|
|
905
|
-
width: 100%;
|
|
906
|
-
height: 100%;
|
|
907
|
-
}
|
|
908
|
-
img {
|
|
909
|
-
width: 100%;
|
|
910
|
-
height: 100%;
|
|
911
|
-
display: block;
|
|
912
|
-
object-fit: contain;
|
|
913
|
-
}
|
|
914
|
-
${e.MediaQueries.tdDown} {
|
|
915
|
-
margin-bottom: 0;
|
|
916
|
-
padding: 0;
|
|
917
|
-
height: 100%;
|
|
918
|
-
position: unset;
|
|
919
|
-
width: 150px;
|
|
920
|
-
}
|
|
921
|
-
${e.MediaQueries.mbDown} {
|
|
922
|
-
width: 80px;
|
|
923
|
-
}
|
|
924
|
-
`,je=f.default.div`
|
|
925
|
-
background-color: #ffffff;
|
|
926
|
-
border-radius: 4px;
|
|
927
|
-
width: 100%;
|
|
928
|
-
height: 100%;
|
|
929
|
-
`,Fe=f.default.div`
|
|
930
|
-
display: flex;
|
|
931
|
-
margin-top: 1rem;
|
|
932
|
-
align-items: center;
|
|
933
|
-
color: ${e=>e.theme.colors.primaryBase};
|
|
934
|
-
font-weight: 400;
|
|
935
|
-
font-size: 14px;
|
|
936
|
-
text-decoration: none;
|
|
937
|
-
${e.MediaQueries.tdDown} {
|
|
938
|
-
display: none;
|
|
939
|
-
}
|
|
940
|
-
`,Ve=f.default.p`
|
|
941
|
-
font-size: 16px;
|
|
942
|
-
font-weight: 600;
|
|
943
|
-
line-height: 1.6;
|
|
944
|
-
color: ${e=>e.theme.colors.gray800};
|
|
945
|
-
${e.MediaQueries.tdDown} {
|
|
946
|
-
padding: 0;
|
|
947
|
-
}
|
|
948
|
-
`,We=f.default.p`
|
|
949
|
-
font-size: 14px;
|
|
950
|
-
line-height: 1.6;
|
|
951
|
-
font-weight: 400;
|
|
952
|
-
color: ${e=>e.theme.colors.gray600};
|
|
953
|
-
height: 40px;
|
|
954
|
-
text-overflow: ellipsis;
|
|
955
|
-
overflow: hidden;
|
|
956
|
-
display: -webkit-box;
|
|
957
|
-
-webkit-line-clamp: 2;
|
|
958
|
-
-webkit-box-orient: vertical;
|
|
959
|
-
margin-bottom: auto;
|
|
960
|
-
${e.MediaQueries.tdDown} {
|
|
961
|
-
height: unset;
|
|
962
|
-
padding: 0;
|
|
963
|
-
}
|
|
964
|
-
`,Ye=f.default.div`
|
|
965
|
-
display: flex;
|
|
966
|
-
flex-direction: column;
|
|
967
|
-
gap: 8px;
|
|
968
|
-
flex: 1;
|
|
969
|
-
z-index: 1;
|
|
970
|
-
${e.MediaQueries.tdDown} {
|
|
971
|
-
gap: 4px;
|
|
972
|
-
}
|
|
973
|
-
`,Ke="hhgcomp-navigation-menucareitem-contentwrapper",qe=o.getDefaultClassWrapper(Ye,Ke),Xe=f.default.a`
|
|
974
|
-
text-decoration: none;
|
|
975
|
-
border-radius: 4px;
|
|
976
|
-
background: ${i.theme.colors.white};
|
|
977
|
-
position: relative;
|
|
978
|
-
overflow: hidden;
|
|
979
|
-
padding: 16px;
|
|
980
|
-
display: flex;
|
|
981
|
-
padding-top: 166px;
|
|
982
|
-
* {
|
|
983
|
-
pointer-events: none;
|
|
984
|
-
}
|
|
985
|
-
${e.MediaQueries.tdUp} {
|
|
986
|
-
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06),
|
|
987
|
-
0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
988
|
-
gap: 30px;
|
|
989
|
-
flex-direction: column;
|
|
990
|
-
a {
|
|
991
|
-
display: flex;
|
|
992
|
-
width: 100%;
|
|
993
|
-
}
|
|
994
|
-
}
|
|
995
|
-
${e.MediaQueries.tdDown} {
|
|
996
|
-
padding-top: 16px;
|
|
997
|
-
a {
|
|
998
|
-
display: none;
|
|
999
|
-
}
|
|
1000
|
-
grid-template-columns: 2fr 1fr;
|
|
1001
|
-
gap: 10px;
|
|
1002
|
-
display: grid;
|
|
1003
|
-
max-height: 110px;
|
|
1004
|
-
display: flex;
|
|
1005
|
-
flex-direction: row-reverse;
|
|
1006
|
-
> .${Ke} {
|
|
1007
|
-
flex: 1;
|
|
1008
|
-
}
|
|
1009
|
-
img {
|
|
1010
|
-
width: 150px;
|
|
1011
|
-
}
|
|
1012
|
-
}
|
|
1013
|
-
${e.MediaQueries.mbDown} {
|
|
1014
|
-
box-shadow: 0px 10px 16px rgba(0, 0, 0, 0.04),
|
|
1015
|
-
0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
1016
|
-
display: flex;
|
|
1017
|
-
flex-direction: row-reverse;
|
|
1018
|
-
img {
|
|
1019
|
-
width: 80px;
|
|
1020
|
-
height: 80px;
|
|
1021
|
-
}
|
|
1022
|
-
}
|
|
1023
|
-
${e.MediaQueries.tdOnly} {
|
|
1024
|
-
border: 1px solid ${i.theme.colors.neutral100};
|
|
1025
|
-
}
|
|
1026
|
-
.bg-svg {
|
|
1027
|
-
width: 100%;
|
|
1028
|
-
max-width: 245px;
|
|
1029
|
-
height: 100%;
|
|
1030
|
-
top: 0;
|
|
1031
|
-
right: -40px;
|
|
1032
|
-
position: absolute;
|
|
1033
|
-
display: inline-block;
|
|
1034
|
-
}
|
|
1035
|
-
`,Ze=f.default.div`
|
|
1036
|
-
padding: 16px;
|
|
1037
|
-
border-radius: 8px;
|
|
1038
|
-
position: relative;
|
|
1039
|
-
z-index: 1;
|
|
1040
|
-
overflow: hidden;
|
|
1041
|
-
a {
|
|
1042
|
-
text-decoration: none;
|
|
1043
|
-
}
|
|
1044
|
-
|
|
1045
|
-
.bg-svg {
|
|
1046
|
-
height: 100%;
|
|
1047
|
-
position: absolute;
|
|
1048
|
-
top: 0;
|
|
1049
|
-
left: 0;
|
|
1050
|
-
z-index: -1;
|
|
1051
|
-
}
|
|
1052
|
-
${e.MediaQueries.mbDown} {
|
|
1053
|
-
display: block;
|
|
1054
|
-
.bg-svg {
|
|
1055
|
-
right: -24px;
|
|
1056
|
-
left: unset;
|
|
1057
|
-
top: 0;
|
|
1058
|
-
transform: rotateY(180deg);
|
|
1059
|
-
}
|
|
1060
|
-
}
|
|
1061
|
-
|
|
1062
|
-
${e.MediaQueries.mbUp} {
|
|
1063
|
-
display: grid;
|
|
1064
|
-
grid-gap: 10px;
|
|
1065
|
-
grid-template-columns: 1fr 3fr;
|
|
1066
|
-
}
|
|
1067
|
-
`,Je=f.default.div`
|
|
1068
|
-
font-weight: 400;
|
|
1069
|
-
font-size: 14px;
|
|
1070
|
-
line-height: 24px;
|
|
1071
|
-
color: ${e=>e.theme.colors.gray600};
|
|
1072
|
-
margin-bottom: 15px;
|
|
1073
|
-
`,et=f.default.div`
|
|
1074
|
-
font-weight: 600;
|
|
1075
|
-
font-size: 16px;
|
|
1076
|
-
line-height: 26px;
|
|
1077
|
-
color: #000000;
|
|
1078
|
-
margin-bottom: 4px;
|
|
1079
|
-
`,tt=f.default.div`
|
|
1080
|
-
background: #fff;
|
|
1081
|
-
padding: 5px;
|
|
1082
|
-
display: flex;
|
|
1083
|
-
align-items: center;
|
|
1084
|
-
justify-content: center;
|
|
1085
|
-
border-radius: 50px;
|
|
1086
|
-
`,it=f.default.div`
|
|
1087
|
-
display: flex;
|
|
1088
|
-
justify-content: center;
|
|
1089
|
-
align-items: center;
|
|
1090
|
-
position: relative;
|
|
1091
|
-
${e.MediaQueries.mbDown} {
|
|
1092
|
-
justify-content: end;
|
|
1093
|
-
min-height: 100px;
|
|
1094
|
-
}
|
|
1095
|
-
`,ot=f.default.div`
|
|
1096
|
-
margin-top: 10px;
|
|
1097
|
-
background: #ffffff;
|
|
1098
|
-
padding: 5px 15px;
|
|
1099
|
-
position: relative;
|
|
1100
|
-
${e.MediaQueries.mbDown} {
|
|
1101
|
-
&:after {
|
|
1102
|
-
position: absolute;
|
|
1103
|
-
top: 0;
|
|
1104
|
-
left: 0;
|
|
1105
|
-
width: 100%;
|
|
1106
|
-
height: 4px;
|
|
1107
|
-
background-color: ${e=>e.theme.colors.neutral100};
|
|
1108
|
-
content: '';
|
|
1109
|
-
}
|
|
1110
|
-
}
|
|
1111
|
-
`,at=f.default.div`
|
|
1112
|
-
margin: 15px 0;
|
|
1113
|
-
display: flex;
|
|
1114
|
-
`,rt=f.default.a`
|
|
1115
|
-
padding-left: 10px;
|
|
1116
|
-
display: flex;
|
|
1117
|
-
align-items: center;
|
|
1118
|
-
text-decoration: none;
|
|
1119
|
-
font-weight: 400;
|
|
1120
|
-
font-size: 14px;
|
|
1121
|
-
color: ${e=>e.theme.colors.primaryBase};
|
|
1122
|
-
&[data-theme='marryBaby'] {
|
|
1123
|
-
color: ${e=>e.theme.mbColors.pink};
|
|
1124
|
-
}
|
|
1125
|
-
img {
|
|
1126
|
-
padding-left: 5px;
|
|
1127
|
-
}
|
|
1128
|
-
${e.MediaQueries.mbDown} {
|
|
1129
|
-
margin-left: auto;
|
|
1130
|
-
}
|
|
1131
|
-
`;f.default.div`
|
|
1132
|
-
&[data-category-list-type='sub'] {
|
|
1133
|
-
padding-bottom: 72px;
|
|
1134
|
-
}
|
|
1135
|
-
|
|
1136
|
-
&[data-is-displayed='false'] {
|
|
1137
|
-
display: none;
|
|
1138
|
-
}
|
|
1139
|
-
`,f.default.div`
|
|
1140
|
-
& > div {
|
|
1141
|
-
width: 100%;
|
|
1142
|
-
margin-bottom: 8px;
|
|
1143
|
-
}
|
|
1144
|
-
`;const lt=f.default.div`
|
|
1145
|
-
display: grid;
|
|
1146
|
-
|
|
1147
|
-
grid-template-columns: repeat(4, 1fr);
|
|
1148
|
-
gap: 24px;
|
|
1149
|
-
${e.MediaQueries.tdDown} {
|
|
1150
|
-
gap: 12px;
|
|
1151
|
-
grid-template-columns: 1fr;
|
|
1152
|
-
}
|
|
1153
|
-
`,nt=f.default.a`
|
|
1154
|
-
width: 100%;
|
|
1155
|
-
display: flex;
|
|
1156
|
-
align-items: center;
|
|
1157
|
-
text-decoration: none;
|
|
1158
|
-
* {
|
|
1159
|
-
pointer-events: none;
|
|
1160
|
-
}
|
|
1161
|
-
`,st=f.default.div`
|
|
1162
|
-
border-radius: 5px;
|
|
1163
|
-
display: block;
|
|
1164
|
-
overflow: hidden;
|
|
1165
|
-
padding-top: 140%;
|
|
1166
|
-
width: 100%;
|
|
1167
|
-
position: relative;
|
|
1168
|
-
height: 0;
|
|
1169
|
-
img {
|
|
1170
|
-
position: absolute;
|
|
1171
|
-
width: 100%;
|
|
1172
|
-
height: 100%;
|
|
1173
|
-
display: block;
|
|
1174
|
-
object-fit: cover;
|
|
1175
|
-
top: 0;
|
|
1176
|
-
left: 0;
|
|
1177
|
-
}
|
|
1178
|
-
${e.MediaQueries.tdDown} {
|
|
1179
|
-
width: 72px;
|
|
1180
|
-
padding-top: 100px;
|
|
1181
|
-
}
|
|
1182
|
-
`,dt=f.default.p`
|
|
1183
|
-
font-size: 16px;
|
|
1184
|
-
font-weight: 400;
|
|
1185
|
-
padding: 4px 15px;
|
|
1186
|
-
line-height: 1.4;
|
|
1187
|
-
color: ${e=>e.theme.colors.gray800};
|
|
1188
|
-
flex: 1;
|
|
1189
|
-
${e.MediaQueries.tdUp} {
|
|
1190
|
-
display: none;
|
|
1191
|
-
}
|
|
1192
|
-
`;f.default.div`
|
|
1193
|
-
& > :not(:last-child) {
|
|
1194
|
-
border-bottom: 1px solid
|
|
1195
|
-
${e=>e.theme.colors.neutral100};
|
|
1196
|
-
}
|
|
1197
|
-
|
|
1198
|
-
& > div > :not(:last-child) {
|
|
1199
|
-
border-bottom: 1px solid
|
|
1200
|
-
${e=>e.theme.colors.neutral100};
|
|
1201
|
-
}
|
|
1202
|
-
|
|
1203
|
-
&[data-category-list-type='sub'] {
|
|
1204
|
-
padding-bottom: 72px;
|
|
1205
|
-
}
|
|
1206
|
-
|
|
1207
|
-
&[data-is-displayed='false'] {
|
|
1208
|
-
display: none;
|
|
1209
|
-
}
|
|
1210
|
-
`,f.default.div`
|
|
1211
|
-
& > div {
|
|
1212
|
-
width: 100%;
|
|
1213
|
-
margin-bottom: 8px;
|
|
1214
|
-
}
|
|
1215
|
-
`;const pt=f.default.div`
|
|
1216
|
-
display: grid;
|
|
1217
|
-
grid-template-columns: repeat(2, 1fr);
|
|
1218
|
-
grid-gap: 48px;
|
|
1219
|
-
${e.MediaQueries.tdDown} {
|
|
1220
|
-
grid-template-columns: 1fr;
|
|
1221
|
-
grid-gap: 32px;
|
|
1222
|
-
}
|
|
1223
|
-
${e.MediaQueries.mbDown} {
|
|
1224
|
-
grid-gap: 24px;
|
|
1225
|
-
}
|
|
1226
|
-
`,ut=f.default.div`
|
|
1227
|
-
width: ${e=>e.size||40}px;
|
|
1228
|
-
height: ${e=>e.size||40}px;
|
|
1229
|
-
flex-shrink: 0;
|
|
1230
|
-
cursor: pointer;
|
|
1231
|
-
|
|
1232
|
-
img {
|
|
1233
|
-
border-radius: 50%;
|
|
1234
|
-
}
|
|
1235
|
-
|
|
1236
|
-
.avatar {
|
|
1237
|
-
width: 100%;
|
|
1238
|
-
height: 100%;
|
|
1239
|
-
object-fit: cover;
|
|
1240
|
-
}
|
|
1241
|
-
|
|
1242
|
-
.avatar-default {
|
|
1243
|
-
display: flex;
|
|
1244
|
-
align-items: center;
|
|
1245
|
-
justify-content: center;
|
|
1246
|
-
background-color: ${e=>e.theme.colors.secondaryBase};
|
|
1247
|
-
border-radius: 50%;
|
|
1248
|
-
color: white;
|
|
1249
|
-
font-size: 1em;
|
|
1250
|
-
font-weight: bold;
|
|
1251
|
-
line-height: 1;
|
|
1252
|
-
}
|
|
1253
|
-
|
|
1254
|
-
&[data-is-marrybaby='true'] {
|
|
1255
|
-
.avatar-default {
|
|
1256
|
-
background-color: ${e=>e.theme.mbColors.pink};
|
|
1257
|
-
}
|
|
1258
|
-
}
|
|
1259
|
-
`,ct=e=>{var{className:t,isMarryBaby:i,style:o,avatar:r,username:l,size:s}=e,d=n.__rest(e,["className","isMarryBaby","style","avatar","username","size"]);const{data:{env:{isMarryBaby:p}}}=a.useContext(be),u="boolean"==typeof i?i:p,[c,m]=a.useState(!1);return a.useEffect((()=>{const e=new Image;e.onerror=()=>{m(!0)},e.src=r}),[]),b.default.createElement(ut,Object.assign({"data-is-marrybaby":u,className:t,style:o,size:s},d),r&&!c?b.default.createElement("img",{loading:"lazy",src:r,className:"avatar",alt:"avatar",onError:()=>{m(!0)}}):b.default.createElement("div",{className:"avatar avatar-default"},l&&(null==l?void 0:l.length)>0?l[0].toUpperCase():"A"))},mt=f.default.div`
|
|
1260
|
-
padding: 5px;
|
|
1261
|
-
flex: 1;
|
|
1262
|
-
`,gt=f.default.img`
|
|
1263
|
-
width: 88px;
|
|
1264
|
-
height: 88px;
|
|
1265
|
-
border-radius: 4px;
|
|
1266
|
-
object-fit: cover;
|
|
1267
|
-
`,ht=f.default.div`
|
|
1268
|
-
font-size: 12px;
|
|
1269
|
-
font-weight: 600;
|
|
1270
|
-
color: ${e=>e.theme.colors.gray800};
|
|
1271
|
-
text-decoration: none;
|
|
1272
|
-
&[data-theme='marryBaby'] {
|
|
1273
|
-
font-weight: 400;
|
|
1274
|
-
letter-spacing: -0.2px;
|
|
1275
|
-
}
|
|
1276
|
-
`,xt=f.default.div`
|
|
1277
|
-
text-decoration: none;
|
|
1278
|
-
font-size: 12px;
|
|
1279
|
-
font-weight: 400;
|
|
1280
|
-
color: ${e=>e.theme.colors.primaryBase};
|
|
1281
|
-
&[data-theme='marryBaby'] {
|
|
1282
|
-
font-weight: 400;
|
|
1283
|
-
letter-spacing: -0.2px;
|
|
1284
|
-
}
|
|
1285
|
-
`,ft=f.default.div`
|
|
1286
|
-
font-size: 12px;
|
|
1287
|
-
font-weight: 400;
|
|
1288
|
-
color: ${e=>e.theme.colors.gray600};
|
|
1289
|
-
`,bt=f.default.div`
|
|
1290
|
-
font-size: 12px;
|
|
1291
|
-
font-weight: 400;
|
|
1292
|
-
color: ${e=>e.theme.colors.gray600};
|
|
1293
|
-
`,yt=f.default.a`
|
|
1294
|
-
display: flex;
|
|
1295
|
-
gap: 10px;
|
|
1296
|
-
text-decoration: none;
|
|
1297
|
-
position: relative;
|
|
1298
|
-
&::after {
|
|
1299
|
-
content: '';
|
|
1300
|
-
display: block;
|
|
1301
|
-
width: 100%;
|
|
1302
|
-
height: 1px;
|
|
1303
|
-
border-top: 1px dashed
|
|
1304
|
-
${e=>e.theme.colors.neutral100};
|
|
1305
|
-
position: absolute;
|
|
1306
|
-
bottom: -24px;
|
|
1307
|
-
${e.MediaQueries.tdOnly} {
|
|
1308
|
-
bottom: -16px;
|
|
1309
|
-
}
|
|
1310
|
-
${e.MediaQueries.mbDown} {
|
|
1311
|
-
bottom: -12px;
|
|
1312
|
-
}
|
|
1313
|
-
}
|
|
1314
|
-
&:last-child {
|
|
1315
|
-
&::after {
|
|
1316
|
-
display: none;
|
|
1317
|
-
}
|
|
1318
|
-
}
|
|
1319
|
-
${e.MediaQueries.tdUp} {
|
|
1320
|
-
&:nth-last-child(2) {
|
|
1321
|
-
&::after {
|
|
1322
|
-
display: none;
|
|
1323
|
-
}
|
|
1324
|
-
}
|
|
1325
|
-
}
|
|
1326
|
-
`,_t=f.default.div`
|
|
1327
|
-
display: flex;
|
|
1328
|
-
gap: 10px;
|
|
1329
|
-
vertical-align: middle;
|
|
1330
|
-
align-items: center;
|
|
1331
|
-
`,vt=f.default.div`
|
|
1332
|
-
margin-top: 8px;
|
|
1333
|
-
font-size: 16px;
|
|
1334
|
-
font-weight: 600;
|
|
1335
|
-
color: ${e=>e.theme.colors.gray800};
|
|
1336
|
-
&[data-theme='marryBaby'] {
|
|
1337
|
-
margin-top: 12px;
|
|
1338
|
-
font-weight: 400;
|
|
1339
|
-
font-size: 14px;
|
|
1340
|
-
line-height: 24px;
|
|
1341
|
-
letter-spacing: -0.2px;
|
|
1342
|
-
}
|
|
1343
|
-
`,wt=f.default.div`
|
|
1344
|
-
display: flex;
|
|
1345
|
-
flex-wrap: wrap;
|
|
1346
|
-
align-items: center;
|
|
1347
|
-
column-gap: 5px;
|
|
1348
|
-
`,Et=f.default.div`
|
|
1349
|
-
display: flex;
|
|
1350
|
-
gap: 4px;
|
|
1351
|
-
flex-direction: column;
|
|
1352
|
-
`;v.default.extend(w.default);f.default.div`
|
|
1353
|
-
&[data-is-display='false'] {
|
|
1354
|
-
display: none;
|
|
1355
|
-
}
|
|
1356
|
-
`;const Tt=f.default.div`
|
|
1357
|
-
display: grid;
|
|
1358
|
-
|
|
1359
|
-
grid-template-columns: repeat(3, 1fr);
|
|
1360
|
-
gap: 24px;
|
|
1361
|
-
${e.MediaQueries.tdDown} {
|
|
1362
|
-
grid-template-columns: 1fr;
|
|
1363
|
-
gap: 12px;
|
|
1364
|
-
}
|
|
1365
|
-
`,At=f.default.a`
|
|
1366
|
-
text-decoration: none;
|
|
1367
|
-
border-radius: 4px;
|
|
1368
|
-
background: ${e=>e.theme.colors.primary50};
|
|
1369
|
-
position: relative;
|
|
1370
|
-
overflow: hidden;
|
|
1371
|
-
display: flex;
|
|
1372
|
-
* {
|
|
1373
|
-
pointer-events: none;
|
|
1374
|
-
}
|
|
1375
|
-
.bg-svg {
|
|
1376
|
-
width: 245px;
|
|
1377
|
-
top: 0;
|
|
1378
|
-
right: 0;
|
|
1379
|
-
height: 100%;
|
|
1380
|
-
position: absolute;
|
|
1381
|
-
${e.MediaQueries.tdDown} {
|
|
1382
|
-
top: calc(51% - 68px);
|
|
1383
|
-
right: -8px;
|
|
1384
|
-
}
|
|
1385
|
-
}
|
|
1386
|
-
padding: 180px 24px 16px;
|
|
1387
|
-
a {
|
|
1388
|
-
display: flex;
|
|
1389
|
-
width: 100%;
|
|
1390
|
-
}
|
|
1391
|
-
${e.MediaQueries.tdDown} {
|
|
1392
|
-
padding-top: 16px;
|
|
1393
|
-
display: flex;
|
|
1394
|
-
align-items: center;
|
|
1395
|
-
}
|
|
1396
|
-
`,Ot=f.default.div`
|
|
1397
|
-
width: 64px;
|
|
1398
|
-
height: 64px;
|
|
1399
|
-
background: white;
|
|
1400
|
-
position: absolute;
|
|
1401
|
-
right: 25px;
|
|
1402
|
-
top: 35px;
|
|
1403
|
-
z-index: 3;
|
|
1404
|
-
border-radius: 50%;
|
|
1405
|
-
img {
|
|
1406
|
-
position: absolute;
|
|
1407
|
-
width: 64px;
|
|
1408
|
-
height: 64px;
|
|
1409
|
-
top: 50%;
|
|
1410
|
-
left: 50%;
|
|
1411
|
-
display: block;
|
|
1412
|
-
transform: translate(-50%, -50%);
|
|
1413
|
-
}
|
|
1414
|
-
${e.MediaQueries.tdDown} {
|
|
1415
|
-
position: relative;
|
|
1416
|
-
top: unset;
|
|
1417
|
-
right: unset;
|
|
1418
|
-
}
|
|
1419
|
-
`,St=f.default.div`
|
|
1420
|
-
display: flex;
|
|
1421
|
-
align-items: center;
|
|
1422
|
-
color: ${e=>e.theme.colors.primaryBase};
|
|
1423
|
-
font-weight: 400;
|
|
1424
|
-
font-size: 14px;
|
|
1425
|
-
text-decoration: none;
|
|
1426
|
-
`,It=f.default.p`
|
|
1427
|
-
font-size: 16px;
|
|
1428
|
-
font-weight: 600;
|
|
1429
|
-
line-height: 1.4;
|
|
1430
|
-
color: ${e=>e.theme.colors.gray800};
|
|
1431
|
-
`,Lt=f.default.p`
|
|
1432
|
-
font-size: 14px;
|
|
1433
|
-
line-height: 1.4;
|
|
1434
|
-
font-weight: 400;
|
|
1435
|
-
color: ${e=>e.theme.colors.gray600};
|
|
1436
|
-
height: 40px;
|
|
1437
|
-
text-overflow: ellipsis;
|
|
1438
|
-
overflow: hidden;
|
|
1439
|
-
display: -webkit-box;
|
|
1440
|
-
-webkit-line-clamp: 2;
|
|
1441
|
-
-webkit-box-orient: vertical;
|
|
1442
|
-
margin-bottom: auto;
|
|
1443
|
-
${e.MediaQueries.tdDown} {
|
|
1444
|
-
display: none;
|
|
1445
|
-
}
|
|
1446
|
-
`,$t=f.default.div`
|
|
1447
|
-
display: flex;
|
|
1448
|
-
flex-direction: column;
|
|
1449
|
-
flex: 1;
|
|
1450
|
-
z-index: 1;
|
|
1451
|
-
${e.MediaQueries.tdUp} {
|
|
1452
|
-
gap: 8px;
|
|
1453
|
-
}
|
|
1454
|
-
${e.MediaQueries.tdDown} {
|
|
1455
|
-
gap: 4px;
|
|
1456
|
-
flex: 1;
|
|
1457
|
-
}
|
|
1458
|
-
`,Ct=f.default.a`
|
|
1459
|
-
text-decoration: none;
|
|
1460
|
-
border-radius: 12px;
|
|
1461
|
-
|
|
1462
|
-
position: relative;
|
|
1463
|
-
overflow: hidden;
|
|
1464
|
-
display: flex;
|
|
1465
|
-
* {
|
|
1466
|
-
pointer-events: none;
|
|
1467
|
-
}
|
|
1468
|
-
.bg-svg {
|
|
1469
|
-
top: 0;
|
|
1470
|
-
left: 0;
|
|
1471
|
-
position: absolute;
|
|
1472
|
-
}
|
|
1473
|
-
|
|
1474
|
-
.dot-svg {
|
|
1475
|
-
width: 40px;
|
|
1476
|
-
height: 30px;
|
|
1477
|
-
top: 36px;
|
|
1478
|
-
left: 16px;
|
|
1479
|
-
position: absolute;
|
|
1480
|
-
stroke-width: 0;
|
|
1481
|
-
}
|
|
1482
|
-
|
|
1483
|
-
&[data-color='pink'] {
|
|
1484
|
-
background: ${e=>e.theme.mbColors.tonePink};
|
|
1485
|
-
.bg-svg {
|
|
1486
|
-
fill: ${e=>e.theme.mbColors.peach};
|
|
1487
|
-
}
|
|
1488
|
-
}
|
|
1489
|
-
&[data-color='orange'] {
|
|
1490
|
-
background: ${e=>e.theme.mbColors.toneYellow};
|
|
1491
|
-
.bg-svg {
|
|
1492
|
-
fill: ${e=>e.theme.mbColors.orange};
|
|
1493
|
-
}
|
|
1494
|
-
}
|
|
1495
|
-
&[data-color='green'] {
|
|
1496
|
-
background: ${e=>e.theme.mbColors.toneGreen};
|
|
1497
|
-
.bg-svg {
|
|
1498
|
-
fill: ${e=>e.theme.mbColors.mint};
|
|
1499
|
-
}
|
|
1500
|
-
}
|
|
1501
|
-
|
|
1502
|
-
padding: 180px 24px 16px;
|
|
1503
|
-
a {
|
|
1504
|
-
display: flex;
|
|
1505
|
-
width: 100%;
|
|
1506
|
-
}
|
|
1507
|
-
${e.MediaQueries.tdDown} {
|
|
1508
|
-
padding-top: 16px;
|
|
1509
|
-
display: flex;
|
|
1510
|
-
align-items: flex-start;
|
|
1511
|
-
justify-content: flex-start;
|
|
1512
|
-
}
|
|
1513
|
-
${e.MediaQueries.mbDown} {
|
|
1514
|
-
padding-top: 0;
|
|
1515
|
-
padding-left: 80px;
|
|
1516
|
-
height: 96px;
|
|
1517
|
-
align-items: flex-start;
|
|
1518
|
-
justify-content: center;
|
|
1519
|
-
flex-direction: column;
|
|
1520
|
-
.dot-svg {
|
|
1521
|
-
top: 22px;
|
|
1522
|
-
left: 16px;
|
|
1523
|
-
}
|
|
1524
|
-
}
|
|
1525
|
-
${e.MediaQueries.tdUp} {
|
|
1526
|
-
min-height: 296px;
|
|
1527
|
-
}
|
|
1528
|
-
.mobile-only {
|
|
1529
|
-
${e.MediaQueries.tdUp} {
|
|
1530
|
-
display: none;
|
|
1531
|
-
}
|
|
1532
|
-
}
|
|
1533
|
-
.desktop-only {
|
|
1534
|
-
${e.MediaQueries.tdDown} {
|
|
1535
|
-
display: none;
|
|
1536
|
-
}
|
|
1537
|
-
}
|
|
1538
|
-
`,Dt=f.default.div`
|
|
1539
|
-
width: 48px;
|
|
1540
|
-
height: 48px;
|
|
1541
|
-
background: white;
|
|
1542
|
-
position: absolute;
|
|
1543
|
-
right: 25px;
|
|
1544
|
-
top: 35px;
|
|
1545
|
-
z-index: 3;
|
|
1546
|
-
border-radius: 50%;
|
|
1547
|
-
img {
|
|
1548
|
-
position: absolute;
|
|
1549
|
-
width: 36px;
|
|
1550
|
-
height: 36px;
|
|
1551
|
-
top: 50%;
|
|
1552
|
-
left: 50%;
|
|
1553
|
-
display: block;
|
|
1554
|
-
transform: translate(-50%, -50%);
|
|
1555
|
-
}
|
|
1556
|
-
${e.MediaQueries.tdDown} {
|
|
1557
|
-
position: relative;
|
|
1558
|
-
top: unset;
|
|
1559
|
-
right: unset;
|
|
1560
|
-
}
|
|
1561
|
-
${e.MediaQueries.mbDown} {
|
|
1562
|
-
position: absolute;
|
|
1563
|
-
left: 32px;
|
|
1564
|
-
top: 28px;
|
|
1565
|
-
}
|
|
1566
|
-
`,Mt=f.default.div`
|
|
1567
|
-
display: flex;
|
|
1568
|
-
align-items: center;
|
|
1569
|
-
background: white;
|
|
1570
|
-
font-weight: 400;
|
|
1571
|
-
font-size: 14px;
|
|
1572
|
-
text-decoration: none;
|
|
1573
|
-
border-radius: 50%;
|
|
1574
|
-
width: 20px;
|
|
1575
|
-
height: 20px;
|
|
1576
|
-
|
|
1577
|
-
svg path {
|
|
1578
|
-
fill: ${e=>e.theme.mbColors.gray};
|
|
1579
|
-
}
|
|
1580
|
-
|
|
1581
|
-
${e.MediaQueries.tdDown} {
|
|
1582
|
-
background: none;
|
|
1583
|
-
width: 100%;
|
|
1584
|
-
font-weight: 400;
|
|
1585
|
-
font-size: 12px;
|
|
1586
|
-
line-height: 18px;
|
|
1587
|
-
color: ${e=>e.theme.mbColors.pink};
|
|
1588
|
-
padding-left: 16px;
|
|
1589
|
-
}
|
|
1590
|
-
`,Rt=f.default.p`
|
|
1591
|
-
font-weight: 600;
|
|
1592
|
-
font-size: 14px;
|
|
1593
|
-
line-height: 24px;
|
|
1594
|
-
letter-spacing: -0.2px;
|
|
1595
|
-
color: ${e=>e.theme.colors.gray800};
|
|
1596
|
-
`,kt=f.default.p`
|
|
1597
|
-
font-weight: 400;
|
|
1598
|
-
font-size: 12px;
|
|
1599
|
-
line-height: 18px;
|
|
1600
|
-
letter-spacing: -0.2px;
|
|
1601
|
-
color: ${e=>e.theme.colors.gray600};
|
|
1602
|
-
height: 54px;
|
|
1603
|
-
text-overflow: ellipsis;
|
|
1604
|
-
overflow: hidden;
|
|
1605
|
-
display: -webkit-box;
|
|
1606
|
-
-webkit-line-clamp: 3;
|
|
1607
|
-
-webkit-box-orient: vertical;
|
|
1608
|
-
margin-bottom: auto;
|
|
1609
|
-
${e.MediaQueries.tdDown} {
|
|
1610
|
-
display: none;
|
|
1611
|
-
}
|
|
1612
|
-
`,Pt=f.default.div`
|
|
1613
|
-
display: flex;
|
|
1614
|
-
flex: 1;
|
|
1615
|
-
z-index: 1;
|
|
1616
|
-
align-items: flex-end;
|
|
1617
|
-
justify-content: flex-end;
|
|
1618
|
-
${e.MediaQueries.tdUp} {
|
|
1619
|
-
gap: 8px;
|
|
1620
|
-
flex-direction: row;
|
|
1621
|
-
}
|
|
1622
|
-
|
|
1623
|
-
${e.MediaQueries.tdDown} {
|
|
1624
|
-
align-items: flex-start;
|
|
1625
|
-
justify-content: flex-start;
|
|
1626
|
-
gap: 4px;
|
|
1627
|
-
}
|
|
1628
|
-
`,Gt=f.default.div`
|
|
1629
|
-
display: flex;
|
|
1630
|
-
flex-direction: column;
|
|
1631
|
-
flex: 1;
|
|
1632
|
-
z-index: 1;
|
|
1633
|
-
${e.MediaQueries.tdUp} {
|
|
1634
|
-
gap: 8px;
|
|
1635
|
-
}
|
|
1636
|
-
${e.MediaQueries.tdDown} {
|
|
1637
|
-
gap: 4px;
|
|
1638
|
-
flex: 1;
|
|
1639
|
-
padding-left: 16px;
|
|
1640
|
-
}
|
|
1641
|
-
`,Nt=f.default.div`
|
|
1642
|
-
display: flex;
|
|
1643
|
-
flex-direction: row;
|
|
1644
|
-
flex: 1;
|
|
1645
|
-
z-index: 1;
|
|
1646
|
-
${e.MediaQueries.tdUp} {
|
|
1647
|
-
gap: 8px;
|
|
1648
|
-
justify-content: flex-end;
|
|
1649
|
-
align-items: flex-end;
|
|
1650
|
-
}
|
|
1651
|
-
${e.MediaQueries.tdDown} {
|
|
1652
|
-
flex-direction: column;
|
|
1653
|
-
justify-content: flex-start;
|
|
1654
|
-
align-items: flex-start;
|
|
1655
|
-
}
|
|
1656
|
-
`,Bt=f.default.div`
|
|
1657
|
-
z-index: 201;
|
|
1658
|
-
width: 100%;
|
|
1659
|
-
align-items: center;
|
|
1660
|
-
|
|
1661
|
-
background-color: ${e=>e.theme.colors.white};
|
|
1662
|
-
|
|
1663
|
-
transition: height 0.3s, transform 0.3s;
|
|
1664
|
-
|
|
1665
|
-
&[data-site-type='helloSites'] {
|
|
1666
|
-
border-bottom: 1px solid
|
|
1667
|
-
${e=>e.theme.colors.neutral100};
|
|
1668
|
-
}
|
|
1669
|
-
&[data-sponsored='true'] {
|
|
1670
|
-
border-bottom: none;
|
|
1671
|
-
}
|
|
1672
|
-
&[data-marry-baby-tone='pink'] {
|
|
1673
|
-
background-color: ${e=>e.theme.mbColors.lightPink};
|
|
1674
|
-
}
|
|
1675
|
-
|
|
1676
|
-
${e.MediaQueries.mbUp} {
|
|
1677
|
-
&[data-sitewide-banner-shown='true'][data-collapsed='true'] {
|
|
1678
|
-
transform: translateY(-64px);
|
|
1679
|
-
}
|
|
1680
|
-
}
|
|
1681
|
-
${e.MediaQueries.mbDown} {
|
|
1682
|
-
&[data-site-type='marryBaby'] {
|
|
1683
|
-
border-bottom: none;
|
|
1684
|
-
}
|
|
1685
|
-
|
|
1686
|
-
&[data-fixed-bar='true'] {
|
|
1687
|
-
position: fixed;
|
|
1688
|
-
transform: translateY(0);
|
|
1689
|
-
}
|
|
1690
|
-
|
|
1691
|
-
&[data-fixed-bar='false'] {
|
|
1692
|
-
position: absolute;
|
|
1693
|
-
}
|
|
1694
|
-
|
|
1695
|
-
&[data-collapsed='true'] {
|
|
1696
|
-
transform: translateY(-100%);
|
|
1697
|
-
transition: transform 0.5s;
|
|
1698
|
-
}
|
|
1699
|
-
&[data-collapsed='false'] {
|
|
1700
|
-
transform: translateY(0);
|
|
1701
|
-
transition: transform 0.5s;
|
|
1702
|
-
}
|
|
1703
|
-
|
|
1704
|
-
.top-bar-header {
|
|
1705
|
-
line-height: normal;
|
|
1706
|
-
}
|
|
1707
|
-
|
|
1708
|
-
&[data-header-type='home'] {
|
|
1709
|
-
z-index: ${ie};
|
|
1710
|
-
}
|
|
1711
|
-
|
|
1712
|
-
&[data-header-type='popup'] {
|
|
1713
|
-
position: absolute;
|
|
1714
|
-
z-index: ${oe};
|
|
1715
|
-
}
|
|
1716
|
-
|
|
1717
|
-
&[data-header-type='popup-sub-level'] {
|
|
1718
|
-
position: absolute;
|
|
1719
|
-
z-index: ${ae};
|
|
1720
|
-
}
|
|
1721
|
-
|
|
1722
|
-
&[data-is-displayed='false'] {
|
|
1723
|
-
//display: none;
|
|
1724
|
-
visibility: hidden;
|
|
1725
|
-
}
|
|
1726
|
-
}
|
|
1727
|
-
|
|
1728
|
-
.marry-baby {
|
|
1729
|
-
input {
|
|
1730
|
-
background: ${e=>e.theme.mbColors.lightGray};
|
|
1731
|
-
border-radius: 16px;
|
|
1732
|
-
border: none;
|
|
1733
|
-
}
|
|
1734
|
-
max-width: 172px;
|
|
1735
|
-
}
|
|
1736
|
-
&[data-site-type='marryBaby'] {
|
|
1737
|
-
.close-btn {
|
|
1738
|
-
top: 16px;
|
|
1739
|
-
right: 16px;
|
|
1740
|
-
}
|
|
1741
|
-
}
|
|
1742
|
-
`,Ut=f.default.div`
|
|
1743
|
-
display: flex;
|
|
1744
|
-
height: 100%;
|
|
1745
|
-
align-items: center;
|
|
1746
|
-
|
|
1747
|
-
justify-content: space-between;
|
|
1748
|
-
padding: 0 2rem;
|
|
1749
|
-
height: 69px;
|
|
1750
|
-
${e.MediaQueries.pcDown} {
|
|
1751
|
-
padding: 0 1rem;
|
|
1752
|
-
}
|
|
1753
|
-
|
|
1754
|
-
${e.MediaQueries.mbDown} {
|
|
1755
|
-
position: relative;
|
|
1756
|
-
height: 64px;
|
|
1757
|
-
background: white;
|
|
1758
|
-
gap: 1rem;
|
|
1759
|
-
}
|
|
1760
|
-
|
|
1761
|
-
&[data-site-type='marryBaby'] {
|
|
1762
|
-
width: 100%;
|
|
1763
|
-
margin: 0 auto;
|
|
1764
|
-
padding: 0 16px;
|
|
1765
|
-
${e.MediaQueries.tdUp} {
|
|
1766
|
-
max-width: 1064px;
|
|
1767
|
-
}
|
|
1768
|
-
}
|
|
1769
|
-
`,Ht=f.default.div`
|
|
1770
|
-
display: flex;
|
|
1771
|
-
align-items: center;
|
|
1772
|
-
height: 100%;
|
|
1773
|
-
gap: 24px;
|
|
1774
|
-
${e.MediaQueries.pcDown} {
|
|
1775
|
-
flex-shrink: 0;
|
|
1776
|
-
gap: 16px;
|
|
1777
|
-
}
|
|
1778
|
-
&[data-site-type='marryBaby'] {
|
|
1779
|
-
gap: 26px;
|
|
1780
|
-
}
|
|
1781
|
-
`,zt=f.default.div``,Qt=f.default.div`
|
|
1782
|
-
display: flex;
|
|
1783
|
-
align-items: center;
|
|
1784
|
-
height: 100%;
|
|
1785
|
-
flex-shrink: 0;
|
|
1786
|
-
gap: 26px;
|
|
1787
|
-
${e.MediaQueries.tdDown} {
|
|
1788
|
-
flex-shrink: 0.6;
|
|
1789
|
-
}
|
|
1790
|
-
.hhgcomp-navigation-itemnav-headeritem {
|
|
1791
|
-
gap: 2px;
|
|
1792
|
-
${e.MediaQueries.pcUp} {
|
|
1793
|
-
padding: 0 10px;
|
|
1794
|
-
}
|
|
1795
|
-
${e.MediaQueries.pcDown} {
|
|
1796
|
-
padding: 0 6px;
|
|
1797
|
-
}
|
|
1798
|
-
${e.MediaQueries.mbDown} {
|
|
1799
|
-
display: none;
|
|
1800
|
-
}
|
|
1801
|
-
a {
|
|
1802
|
-
text-decoration: none;
|
|
1803
|
-
}
|
|
1804
|
-
}
|
|
1805
|
-
`;f.default.div`
|
|
1806
|
-
.fake-search-input {
|
|
1807
|
-
pointer-events: none;
|
|
1808
|
-
input {
|
|
1809
|
-
line-height: 20px;
|
|
1810
|
-
padding-top: 10px;
|
|
1811
|
-
padding-bottom: 10px;
|
|
1812
|
-
}
|
|
1813
|
-
}
|
|
1814
|
-
`;const jt=f.default.div`
|
|
1815
|
-
margin-left: 16px;
|
|
1816
|
-
display: flex;
|
|
1817
|
-
gap: 12px;
|
|
1818
|
-
align-items: center;
|
|
1819
|
-
flex-shrink: 0;
|
|
1820
|
-
${e.MediaQueries.pcDown} {
|
|
1821
|
-
margin-left: 8px;
|
|
1822
|
-
gap: 8px;
|
|
1823
|
-
}
|
|
1824
|
-
${e.MediaQueries.mbDown} {
|
|
1825
|
-
margin-left: 12px;
|
|
1826
|
-
gap: 10px;
|
|
1827
|
-
}
|
|
1828
|
-
`,Ft=f.default.div`
|
|
1829
|
-
display: flex;
|
|
1830
|
-
align-items: center;
|
|
1831
|
-
height: 100%;
|
|
1832
|
-
&[data-site-type='marryBaby'] {
|
|
1833
|
-
gap: 26px;
|
|
1834
|
-
}
|
|
1835
|
-
`,Vt=f.default.div`
|
|
1836
|
-
--header-z-index: 305;
|
|
1837
|
-
top: 0;
|
|
1838
|
-
z-index: var(--header-z-index);
|
|
1839
|
-
|
|
1840
|
-
${e.MediaQueries.mbDown} {
|
|
1841
|
-
width: 100vw;
|
|
1842
|
-
max-width: 100%;
|
|
1843
|
-
}
|
|
1844
|
-
--amp-site-wide-closed: 2px;
|
|
1845
|
-
|
|
1846
|
-
-webkit-transform: translateZ(0);
|
|
1847
|
-
position: sticky;
|
|
1848
|
-
|
|
1849
|
-
&.nav-open {
|
|
1850
|
-
margin-top: 64px;
|
|
1851
|
-
}
|
|
1852
|
-
|
|
1853
|
-
&:not(.nav-open) {
|
|
1854
|
-
--amp-site-wide-closed: 66px;
|
|
1855
|
-
}
|
|
1856
|
-
pointer-events: none;
|
|
1857
|
-
> section * {
|
|
1858
|
-
pointer-events: auto;
|
|
1859
|
-
}
|
|
1860
|
-
`;f.default.div`
|
|
1861
|
-
display: flex;
|
|
1862
|
-
align-items: center;
|
|
1863
|
-
gap: 8px;
|
|
1864
|
-
`,f.default.a`
|
|
1865
|
-
&[data-is-active='true'] {
|
|
1866
|
-
color: unset;
|
|
1867
|
-
}
|
|
1868
|
-
font-size: 14px;
|
|
1869
|
-
font-weight: 700;
|
|
1870
|
-
line-height: 22px;
|
|
1871
|
-
text-decoration: none;
|
|
1872
|
-
`,exports.ADMIN_PATHS={SEARCH_USER:"admin/profile/search?website_url={website_url}&name={name}",COMMENT:{IMAGE_UPLOAD:"admin/comment/image/upload?website_url={website_url}"}},exports.BEARER_TOKEN_COOKIE=$,exports.CARE_PATHS={GET_DOCTOR_INFO:"api/doctors/{doctorId}?site={website_url}",GET_HOSPITAL_INFO:"api/hospital/branch/{hospital_branch_id}?site={website_url}"},exports.DEFAULT_AVATAR_IMG=O,exports.DEFAULT_IMG=S,exports.DISCOVER_PATHS={BASE_API_PATH:"/",GET_SEARCH_ARTICLES:"search?s={keyword}&page={page}",GET_ALL_CATEGORIES:"categories?type=all",GET_HOMEPAGE_POSTS:"home/trending-post?type={type}",GET_HOMEPAGE_LATEST_POSTS:"articles?page=1&_islatest=1",GET_ARTICLE_DETAIL:"article/{slug}?skip_ids={skipIds}&_isrelated={isRelated}",GET_CATEGORY_DETAIL:"category/{slug}",GET_CATEGORY_OR_ARTICLE_DETAIL:"fetch/{fullSlug}",GET_PREVIEW_ARTICLE:"fetch/{fullSlug}?preview_nonce={nonce}&preview=true",GET_ARTICLE_OF_CATEGORY:"articles?category_id={categoryId}&page={currentPage}",GET_PAGE_STATIC:"page/{slug}",GET_ALL_HEALTH_TOOLS:"healthtools",GET_ALL_MARRYBABY_HEALTH_TOOLS:"health-tools",GET_HEALTH_TOOLS_BY_CATEGORY:"healthtools?_hasgroup=1",GET_AUTHOR:"author/{slug}",GET_ALL_EXPERTS:"experts",GET_ALL_EXPERTS_PAGING:"experts?page={page}",GET_EXPERT:"expert/{slug}",GET_EXPERT_POST:"expert/article?page={page}",POST_ARTICLE_FEEDBACK:"article/feedback/{id}",GET_AZ_DRUGS:"category/a-z/{category}",GET_HOMEPAGE_MEDICAL_REVIEWED:"home/medical-reviewed",GET_ARTICLES_BY_IDS:"articles?ids={ids}",GET_ARTICLE_OF_CATEGORY_NO_EXPLAINERS:"articles?category_id={categoryId}&page={currentPage}&skip_ids={ids}",GET_EXPERT_OF_CATEGORY:"category/expert/?id={id}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info",GET_DUE_DATE_ALL_WEEKS:"health-tools/due-date-calculator/all",GET_DUE_DATE_SUGGESTED_ARTICLES:"health-tools/due-date-calculator/result?from_week={from}&to_week={to}",GET_PROFILE:"user/profile",GET_ADMIN_PROFILE:"GET_ADMIN_PROFILE",GET_FEATURE:"feature",POST_NEW_FEATURE:"feature/update",CREATE_BOOKMARK:"bookmark/create",DELETE_BOOKMARK:"bookmark/delete",DELETE_ALL_BOOKMARK:"bookmark/delete-all",GET_ALL_BOOKMARK:"bookmark",SSO_USER_PROFILE:"user",SSO_USER_BOOKMARKS:"user/bookmarks",SSO_USER_PASSWORD:"user/settings/password",SSO_USER_EMAIL:"user/settings/update-email",SSO_CLOSE_ACCOUNT:"user/settings/close-account",SSO_HELP:"user/settings/help",GET_HEALTH_TOOL_OVULATION_INFO:"health-tools/ovulation-calculator/info",GET_HEALTH_TOOL_OVULATION_SUGGESTED_ARTICLES:"health-tools/ovulation-calculator/result?method={method}",GET_HEALTH_TOOL_BMI_INFO:"health-tools/bmi-calculator/info",GET_HEALTH_TOOL_BMI_RESULT:"health-tools/bmi-calculator/result?gender={gender}&bmi={bmi}&age={age}",GET_HEALTH_TOOL_BMR_INFO:"health-tools/bmr-calculator/info",GET_HEALTH_TOOL_BMR_RESULT:"health-tools/bmr-calculator/result?kcals={kcals}&gender={gender}&age={age}",GET_HEALTH_TOOL_PWG_INFO:"health-tools/preweight-gain-calculator/info",GET_HEALTH_TOOL_THR_INFO:"health-tools/target-heart-rate/info",GET_HEALTH_TOOL_BABY_GROWTH_INFO:"health-tools/baby-growth-tracking/info",POST_UPDATE_LOCATION:"tracking/geo/",GET_SIDIS_DUE_DATE:"frontend/tools/due_date",GET_SIDIS_OVULATION:"frontend/tools/ovulation",GET_SIDIS_BMI:"frontend/tools/bmi",GET_SIDIS_BMR:"frontend/tools/bmr",POST_LOGOUT:"user/logout",OVULATION_CREATE_EVENT:"ovulation/event?method={method}&day={day}&cycle={cycle}&period={period}&token={token}&user_id={user_id}",GET_ALL_SPOTLIGHT:"spotlights?per_page={perPage}&order_by={orderBy}",SSO_UPDATE_FIRST_TIME_BOOKMARK:"bookmark/update-first-time",POST_COMMENT_NOTIFICATION:"comment/notification",GET_ABOUT_US_DATA:"about",POST_LEAD_IMPRESSION:"campaign/{campaignCode}/impression",POST_LEAD_POPUP_EXIT:"campaign/{campaignCode}/popup_exit",POST_LEAD_LEAD:"campaign/{campaignCode}/lead",POST_SSO_VERIFY_TOKEN:"verify-id-token",GET_LANDING_PAGE_FIRST_NODE:"landing_page/bot",GET_LANDING_PAGE_NEXT_NODE:"landing_page/messages",POST_LANDING_PAGE_IMPRESSION:"landing_page/impressions",POST_LANDING_PAGE_CLICK:"landing_page/clicks",FETCH_URL_DATA:"preview",GET_SPOTLIGHT_LANDING:"spotlight/{slug}",GET_FOOTER_INFO:"footer",CHECK_SSO_EMAIL:"member/check-email",GET_HOMEPAGE_SITEWIDE_BANNER:"home/sitewide-banner",GET_DYNAMIC_FOOTER:"menu/footer",GET_EXPERTS:"experts?page={page}&number={perPage}&s={search}",GET_EXPERT_BY_ID:"expert/{id}"},exports.DUE_DATE_FORMAT=A,exports.DefaultComponentGlobalContextData=fe,exports.HEALTH_TOOL_TYPE=I,exports.Item=({post:e,index:t=0})=>{var i,o,r,l,n,s,d;const{siteType:p,configs:{statics:u}}=a.useContext($e);if(!e)return null;const c=[u.TOGETHER_URL_FE,null===(i=e.community)||void 0===i?void 0:i.slug].join("/"),m=[c,e.slug].join("/"),g=e.createdAt,h=g?isNaN(new Date(g).getTime())?null:new Date(g):null,x=h?v.default(h).toNow(!0):g;return b.default.createElement(yt,{href:m,"data-event-category":"Hamburger Navigation","data-event-action":`Together Click ${t+1}`,"data-event-label":m},b.default.createElement(mt,null,b.default.createElement(_t,null,b.default.createElement(ct,{avatar:null===(o=e.author)||void 0===o?void 0:o.avatar,username:(null===(r=e.author)||void 0===r?void 0:r.name)||(null===(l=e.author)||void 0===l?void 0:l.username)}),b.default.createElement(Et,null,b.default.createElement(ht,{"data-theme":p},null===(n=e.author)||void 0===n?void 0:n.name),b.default.createElement(wt,null,b.default.createElement(xt,{"data-event-category":"Hamburger Navigation","data-event-action":`Topic Click ${t+1}`,"data-event-label":c,onClick:e=>{e.preventDefault(),location.href=c},"data-theme":p},null===(s=e.community)||void 0===s?void 0:s.name),b.default.createElement(bt,null,"•"),b.default.createElement(ft,{"data-theme":p},x)))),b.default.createElement(vt,null,e.title)),!!(null===(d=e.photos)||void 0===d?void 0:d.length)&&b.default.createElement(gt,{loading:"lazy",src:e.photos[0]}))},exports.MAX_IMAGE_UPLOADS=20,exports.NavigationCard=({type:e,themeName:t,className:i,onClick:o=(()=>{})})=>{const{t:l}=r.useTranslations(),n=a.useMemo((()=>{var i,o;return(null===(o=null===(i=te[t])||void 0===i?void 0:i[e])||void 0===o?void 0:o.call(i))||""}),[e,t]),s=a.useMemo((()=>"marryBaby"!==t?"transparent":ee[e]),[e,t]);return b.default.createElement("div",{onClick:function(){o(e)},className:`${X} ${i}`},b.default.createElement("div",{className:J,style:{backgroundColor:s,backgroundImage:`url("${n}")`}}),b.default.createElement("h3",{className:Z},l(`userProfile.nav.card.${e}`)))},exports.NavigationContext=$e,exports.NavigationProvider=e=>{var{children:t}=e,i=n.__rest(e,["children"]);const[o,r]=b.default.useState((()=>i.currentUrl||`https://${"marryBaby"===i.siteType?_e[i.locale||"en-PH"]:s.domainLocales[i.locale||"en-PH"]}${"together"===i.projectType?"/community":"ecom"===i.projectType?"/ecom":"care"===i.projectType?"/care":""}/`));a.useEffect((()=>{const e=()=>{r(window.location.href)};return window.addEventListener("popstate",e),e(),()=>{window.removeEventListener("popstate",e)}}),[]);const l=(({locale:e,projectType:t,isMobile:i,siteType:o,enableBookingBtn:r})=>a.useMemo((()=>{const a=!(!i&&"profile"===t),l="discover"===t||"marryBaby"===t||"profile"===t&&"marryBaby"===o,n="marryBaby"!==o&&"marryBaby"!==t&&s.CARE_LOCALES.includes(e),d=r&&"marryBaby"!==t&&"discover"===t&&"marryBaby"!==o&&s.CARE_BOOKING_LOCALES.includes(e),p="marryBaby"===t||s.TOGETHER_LOCALES.includes(e),u="marryBaby"!==o&&s.ECOM_LOCALES.includes(e),c="ecom"===t;let g=m.getCurrentBaseUrl(e,"marryBaby"===o);"undefined"!=typeof window&&(g.includes("//id.")&&(g=g.replace("id.","")),g.includes("//staging-id.")&&(g=g.replace("staging-id.","discover.")));return{enableProfileNavigatorMenu:a,enableSearchBar:l,enableNavCare:n,enableNavCareBooking:d,enableNavTogether:p,enableNavEcom:u,enableProfileEcom:c,enableProfileMyHealth:!0,enableNavDiscover:!0,enableNavHealthTools:!0,enableProfileMySaved:!0,statics:{HOME_PAGE_URL:g,CARE_URL_FE:`${g}/care`,TOGETHER_URL_FE:`${g}/community`,SSO_URL:m.getCurrentSsoUrl(e,"marryBaby"===o),TOGETHER_API:m.getTogetherApiDomain(),DISCOVER_API:m.getDiscoverApiDomain(e)}}}),[e,t,i]))({locale:i.locale,projectType:i.projectType,isMobile:i.isMobile,siteType:i.siteType,enableBookingBtn:i.enableBookingBtn});return b.default.createElement($e.Provider,{value:Object.assign(Object.assign({},i),{configs:Object.assign(Object.assign({},l),i.configs),currentUrl:i.currentUrl||o})},t)},exports.PATHS=xe,exports.REPORT_REASON_MAP=M,exports.SearchIcon=Re,exports.StyleSelectionPopup=B,exports.StyledAvatar=Y,exports.StyledBtnView=Fe,exports.StyledBtnView$1=St,exports.StyledBtnView$2=Mt,exports.StyledButtonGroup=ne,exports.StyledContainer=Vt,exports.StyledContainerItems=ze,exports.StyledContainerItems$1=lt,exports.StyledContainerItems$2=pt,exports.StyledContainerItems$3=Tt,exports.StyledContainerNoPosts=Ze,exports.StyledContent=Gt,exports.StyledContentLeft=tt,exports.StyledContentWrapper=qe,exports.StyledContentWrapper$1=$t,exports.StyledContentWrapper$2=Pt,exports.StyledDes=We,exports.StyledDes$1=Lt,exports.StyledDes$2=kt,exports.StyledDescription=Je,exports.StyledDisplayWrapper=z,exports.StyledHeader=Ut,exports.StyledHeaderWrapper=Bt,exports.StyledHeading=Ge,exports.StyledHeading$1=at,exports.StyledIconNav=Ne,exports.StyledImageCard=Qe,exports.StyledImageCard$1=st,exports.StyledImageCard$2=Ot,exports.StyledImageCard$3=Dt,exports.StyledImageCardInner=je,exports.StyledImageWrapper=K,exports.StyledImageWrapper$1=Ue,exports.StyledItem=Pe,exports.StyledItem$1=Xe,exports.StyledItem$2=nt,exports.StyledItem$3=At,exports.StyledItem$4=Ct,exports.StyledItemAll=Be,exports.StyledItemGridLeft=ke,exports.StyledItemGridRight=ot,exports.StyledLanguageChangeLink=P,exports.StyledLeft=it,exports.StyledLeftGroup=Ht,exports.StyledLoggedOutAnchor=q,exports.StyledLogoWrapper=zt,exports.StyledMasterMenuContainer=Ce,exports.StyledOption=U,exports.StyledPopup=F,exports.StyledPopup$1=le,exports.StyledPopup$2=E,exports.StyledPopupBackground=H,exports.StyledPopupWrapper=T,exports.StyledProfileNavGroup=jt,exports.StyledRightGroup=Qt,exports.StyledSelectionContainer=G,exports.StyledSelectionLabel=N,exports.StyledServiceListMenuSearchInputWrapper=De,exports.StyledTitle=Ve,exports.StyledTitle$1=et,exports.StyledTitle$2=dt,exports.StyledTitle$3=It,exports.StyledTitle$4=Rt,exports.StyledViewMore=He,exports.StyledViewMore$1=rt,exports.StyledWrapMenuItems=Ft,exports.StyledWrapName=Nt,exports.StyledWrapper=Me,exports.TOGETHER_PATHS={COMMUNITIES:"community?website_url={websiteUrl}",MENU_TOPIC:"topic?community_id={communityId}&website_url={websiteUrl}",GET_USER_POSTS:"profile/posts?website_url={websiteUrl}"},exports.TogetherComponentGlobalContext=be,exports.TogetherComponentGlobalContextProvider=({locale:e="vi-VN",children:t,userInfo:i,router:o,env:r={isMarryBaby:!1,togetherBasePath:"/community"},sanitizeFunction:l=(e=>e),pushNotifications:n=(()=>!1)})=>{const[s,d]=a.useState();return exports.GlobalData={userInfo:i,locale:e,togetherUserId:s,router:o,env:r},a.useEffect((()=>{(null==i?void 0:i.id)&&Se(Te(xe.PROFILE,{_locale:e}),"GET").then((e=>{var t;d(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.id)}))}),[null==i?void 0:i.id]),b.default.createElement(be.Provider,{value:{data:{userInfo:i,locale:e,togetherUserId:s,router:o,env:r},action:{pushNotifications:n,sanitizeFunction:l}}},t)},exports.UserAvatar=ct,exports.Z_INDEX=D,exports.callApi=Oe,exports.callApiWithAdminAuth=(e,t,i,o)=>n.__awaiter(void 0,void 0,void 0,(function*(){try{const a=he.parse(o||""),r=a[C]||d.getCookie(C);if(r&&r.length){const o=yield fetch(e,Object.assign(Object.assign({method:t},Ae(i)),{headers:Object.assign({Authorization:"Bearer "+r},null==i?void 0:i.headers)})).then((e=>e.json()));if(o)return o}}catch(e){return null}return null})),exports.callApiWithAuth=Se,exports.callApiWithOptionalAuth=(e,t="GET",i,o)=>n.__awaiter(void 0,void 0,void 0,(function*(){var a,r,l,n,s,p;try{const n="string"==typeof e?e:e.url,s="string"==typeof e?e:e.backupUrl,p=he.parse(o||""),u=p[$]||d.getCookie($);if(!u||!u.length)return Oe(s||n,t,i);try{const e=yield fetch(n,Object.assign(Object.assign({method:t},Ae(i)),{headers:Object.assign({Authorization:"Bearer "+u},null==i?void 0:i.headers)})).then((e=>e.json()));if(null===(a=null==e?void 0:e.messages)||void 0===a?void 0:a.find((e=>"Unauthenticated"===(null==e?void 0:e.toLowerCase()))))return Oe(s||n,t,i);if(e)return e}catch(e){return console.log({status:null===(r=null==e?void 0:e.response)||void 0===r?void 0:r.status,statusText:null===(l=null==e?void 0:e.response)||void 0===l?void 0:l.statusText}),Oe(s||n,t,i)}}catch(e){return console.log({status:null===(n=null==e?void 0:e.response)||void 0===n?void 0:n.status,statusText:null===(s=null==e?void 0:e.response)||void 0===s?void 0:s.statusText}),(null===(p=null==e?void 0:e.response)||void 0===p?void 0:p.data)||null}return null})),exports.constants=k,exports.domainLocales=ye,exports.getApiPath=Te,exports.getCareDoctorUrl=({name:e,id:t,locale:i})=>{var o;return`/care/${null===(o=R[i||"vi-VN"])||void 0===o?void 0:o.DOCTOR}/${Le(e,t)}`},exports.getCareHospitalUrl=({name:e,id:t,slug:i,locale:o})=>{var a;return`/care/${null===(a=R[o||"vi-VN"])||void 0===a?void 0:a.HOSPITAL}/${Le(e,t,i)}`},exports.getCarePath=(e,t)=>{const{careBaseApiUrl:i=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};return(i||"https://service-health-care.hellohealthgroup.com/")+Ee(_.default(e,Object.assign({},t)))},exports.getCurrentBaseUrl=e=>{const{env:{isMarryBaby:t}}=exports.GlobalData;if("undefined"!=typeof window)return window.location.origin;const i="staging"===process.env.NEXT_PUBLIC_DEPLOY_ENV;return"development"===process.env.NEXT_PUBLIC_DEPLOY_ENV?"http://localhost:3000":`https://${i?t?"fe.":"discover.":t?"www.":""}${ye[e]}`},exports.getDiscoverApiPath=(e,t,i)=>{const{discoverBaseApiUrl:o="",discoverBaseProdApiUrl:a=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};return(!c.isProduction&&i?a:o)+"wp-json/api/"+Ee(_.default(e,Object.assign({},t)))},exports.getMarryBabyApiPath=(e,t,i)=>{const{marryBabyApiUrl:o="",marryBabyProdApiUrl:a=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};return(i&&!c.isProduction?a:o)+"wp-json/api/"+Ee(_.default(e,Object.assign({},t)))},exports.getUrlToSignUp=(e,t,i="/community")=>{const o=e||("undefined"!=typeof window?window.location.href:"/");let a="undefined"!=typeof window?window.location.origin:"";a||e&&(e.startsWith("http://")||e.startsWith("https://"))&&(a=e.split("/").slice(0,3).join("/"));return((e,t)=>{const{publicSSO:i}=exports.GlobalData.env,o=e||window.location.href;return t&&Object.keys(t).map((e=>{Ie(o,e,t[e])})),Ie(o,"source","communities"),i?`${i}?returnUrl=${encodeURIComponent(o.toString())}`:o})(`${a}${i}/on-boarding?return=${encodeURIComponent(o)}`,t)};
|