@hhgtech/hhg-components 1.28.17 → 1.28.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/babyGrowth.js +2 -2
- package/build/cache.js +1 -1
- package/build/care.js +1 -1
- package/build/components/atoms/cartBadge/index.d.ts +9 -0
- package/build/components/atoms/cartBadge/index.styles.d.ts +10 -0
- package/build/components/atoms/icons/Cart.d.ts +4 -0
- package/build/components/atoms/icons/CartWithAdd.d.ts +4 -0
- package/build/components/atoms/icons/index.d.ts +2 -0
- package/build/components/navigationV2/index.d.ts +1 -0
- package/build/components.js +1 -1
- package/build/constants-29506176.js +1 -0
- package/build/{constants-fadc88b8.js → constants-a4f63c27.js} +1 -1
- package/build/constants.js +1 -1
- package/build/{core-11dbefae.js → core-50dece79.js} +1 -1
- package/build/ecom/utils.d.ts +5 -0
- package/build/ecom.js +1 -1
- package/build/esm/babyGrowth.js +9 -9
- package/build/esm/cache.js +1 -1
- package/build/esm/care.js +1 -1
- package/build/esm/components/atoms/cartBadge/index.d.ts +9 -0
- package/build/esm/components/atoms/cartBadge/index.styles.d.ts +10 -0
- package/build/esm/components/atoms/icons/Cart.d.ts +4 -0
- package/build/esm/components/atoms/icons/CartWithAdd.d.ts +4 -0
- package/build/esm/components/atoms/icons/index.d.ts +2 -0
- package/build/esm/components/navigationV2/index.d.ts +1 -0
- package/build/esm/components.js +1 -1
- package/build/esm/{constants-0bc11754.js → constants-5f53fae4.js} +1 -1
- package/build/esm/constants-dec17c65.js +1 -0
- package/build/esm/constants.js +1 -1
- package/build/esm/{core-2bcdfddc.js → core-d9e70d73.js} +1 -1
- package/build/esm/ecom/utils.d.ts +5 -0
- package/build/esm/ecom.js +1 -1
- package/build/esm/footer.js +1 -1
- package/build/esm/gAssets.js +1 -1
- package/build/esm/getDynamicHealthTool-1af0dc5d.js +1 -0
- package/build/esm/{getSocialList-45efcc83.js → getSocialList-4008aa2d.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-d25ae226.js → index-0b180b4b.js} +1 -1
- package/build/esm/index-10fbdf30.js +1 -0
- package/build/esm/{index-c6823ecf.js → index-12f6fbfa.js} +1 -1
- package/build/esm/{index-5aa081d5.js → index-2fbc327b.js} +1 -1
- package/build/esm/{index-7bf93d94.js → index-3d872054.js} +1 -1
- package/build/esm/{index-7214fdfc.js → index-487aaaae.js} +1 -1
- package/build/esm/index-4ec67571.js +1 -0
- package/build/esm/{index-169a19b1.js → index-56b8f150.js} +1 -1
- package/build/esm/index-5e773c47.js +1 -0
- package/build/esm/{index-8f65f166.js → index-61d8ac31.js} +1 -1
- package/build/esm/{index-d8429636.js → index-7543b0a4.js} +178 -178
- package/build/esm/{index-183df1c4.js → index-76974ad1.js} +1 -1
- package/build/esm/index-78f09877.js +1 -0
- package/build/esm/index-83fbf2ba.js +1 -0
- package/build/esm/{index-aebfb514.js → index-94cfc85c.js} +1 -1
- package/build/esm/{index-a2f7156d.js → index-b0911731.js} +1 -1
- package/build/esm/{index-097e029b.js → index-b0da52cf.js} +3 -3
- package/build/esm/index-d3bb887e.js +1 -0
- package/build/esm/{index-3023d871.js → index-d495acdc.js} +3 -3
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-28b061ba.js → index.styled-bf8831fa.js} +135 -135
- package/build/esm/{index.styled-ec7209a5.js → index.styled-cb0ea240.js} +1 -1
- package/build/esm/{index.styles-a28cb8c9.js → index.styles-69ecb6d8.js} +1 -1
- package/build/esm/lead.js +1 -1
- package/build/esm/mantine.js +1 -1
- package/build/esm/misc.js +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/esm/onboardingV2.js +1 -1
- package/build/esm/pwg.js +1 -1
- package/build/esm/{routing-c7e586e5.js → routing-ae6a4c6c.js} +1 -1
- package/build/esm/together.js +1 -1
- package/build/esm/{types-0d1a0bbe.js → types-ae26d792.js} +1 -1
- package/build/esm/{types-07d69f39.js → types-e58a21f5.js} +1 -1
- package/build/esm/types.js +1 -1
- package/build/esm/{useCategory-c34bffdd.js → useCategory-3418b771.js} +1 -1
- package/build/esm/useHealthToolCache-b1fa01c4.js +1 -0
- package/build/esm/{useRafState-ebea71cd.js → useRafState-33aad447.js} +1 -1
- package/build/esm/{useTranslations-089280e1.js → useTranslations-4d09b34f.js} +1 -1
- package/build/esm/{utils-3689dadd.js → utils-644a4c9d.js} +1 -1
- package/build/esm/{utils-8fcd2211.js → utils-c54fd595.js} +1 -1
- package/build/esm/vaccination.js +1 -1
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/getDynamicHealthTool-06298f9a.js +1 -0
- package/build/{getSocialList-eea4a237.js → getSocialList-4034c5b4.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-2fb2cb2d.js → index-0ba99758.js} +1 -1
- package/build/{index-df95e068.js → index-1154432f.js} +1 -1
- package/build/{index-41ad46e2.js → index-173ab205.js} +1 -1
- package/build/index-1e64454f.js +1 -0
- package/build/index-528442c8.js +1 -0
- package/build/{index-74959406.js → index-53eaaefd.js} +1 -1
- package/build/{index-ce87b8c9.js → index-6891826e.js} +1 -1
- package/build/{index-b11227f1.js → index-69ed6aa8.js} +1 -1
- package/build/index-6b5e86eb.js +1 -0
- package/build/{index-e0b17805.js → index-87580d17.js} +1 -1
- package/build/{index-d5fc96a2.js → index-abe51412.js} +1 -1
- package/build/{index-fdc323ab.js → index-b278c48d.js} +173 -173
- package/build/index-b97d2309.js +1 -0
- package/build/{index-76bef739.js → index-ba1c83f8.js} +1 -1
- package/build/{index-0ccbadf8.js → index-c27038a2.js} +1 -1
- package/build/{index-e43eed10.js → index-c405b631.js} +1 -1
- package/build/{index-31c5209f.js → index-d650de4d.js} +1 -1
- package/build/{index-777e068f.js → index-dc37d90d.js} +1 -1
- package/build/{index-67c740d5.js → index-df8eb439.js} +1 -1
- package/build/index.js +1 -1
- package/build/{index.styled-7ce96813.js → index.styled-0208ce99.js} +135 -135
- package/build/{index.styled-d669374f.js → index.styled-14740a7b.js} +1 -1
- package/build/{index.styles-a3175d03.js → index.styles-48f7c12b.js} +1 -1
- package/build/lead.js +1 -1
- package/build/mantine.js +1 -1
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/onboardingV2.js +1 -1
- package/build/pwg.js +1 -1
- package/build/{routing-41987ce3.js → routing-47a64c4d.js} +1 -1
- package/build/together.js +1 -1
- package/build/{types-018756a3.js → types-818a81c4.js} +1 -1
- package/build/{types-cf2d8c6a.js → types-994595c2.js} +1 -1
- package/build/types.js +1 -1
- package/build/{useCategory-2d82d509.js → useCategory-33c367e6.js} +1 -1
- package/build/{useHealthToolCache-173fd090.js → useHealthToolCache-64fbef13.js} +1 -1
- package/build/{useRafState-24a2aff3.js → useRafState-75f64e6b.js} +1 -1
- package/build/{useTranslations-3cd99701.js → useTranslations-64a291cb.js} +1 -1
- package/build/{utils-651bcd66.js → utils-8e6fc836.js} +2 -2
- package/build/{utils-b234dcc5.js → utils-93e3b590.js} +1 -1
- package/build/vaccination.js +1 -1
- package/package.json +1 -1
- package/build/constants-1e440a87.js +0 -1
- package/build/esm/constants-79067a9e.js +0 -1
- package/build/esm/getDynamicHealthTool-93f1cc2b.js +0 -1
- package/build/esm/index-18cbcbab.js +0 -1
- package/build/esm/index-615c24b2.js +0 -1
- package/build/esm/index-732f3e9b.js +0 -1
- package/build/esm/index-c7bdafbd.js +0 -1
- package/build/esm/index-cb4dc93b.js +0 -1
- package/build/esm/index-ff3bb9f4.js +0 -1
- package/build/esm/useHealthToolCache-93cb5075.js +0 -1
- package/build/getDynamicHealthTool-fe29a569.js +0 -1
- package/build/index-1113167c.js +0 -1
- package/build/index-ae90cbea.js +0 -1
- package/build/index-b27f9a7e.js +0 -1
- package/build/index-fe30cf23.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-e5ed4300.js → BMI_BOYS.percentile.monthly-ccf10f32.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-1509e008.js → BMI_BOYS.percentile.weekly-09cc3a7a.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-7f833864.js → BMI_BOYS.percentile.yearly-2caf8b1d.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-98b9ae60.js → BMI_BOYS.zscore.monthly-4767c8ea.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-3e5f4b11.js → BMI_BOYS.zscore.weekly-ec940129.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-b0667636.js → BMI_BOYS.zscore.yearly-52374521.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-97934208.js → BMI_GIRLS.percentile.monthly-941f070e.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-b849d359.js → BMI_GIRLS.percentile.weekly-31e9e600.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-610a0a7e.js → BMI_GIRLS.percentile.yearly-a22fb85b.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-fb5361ba.js → BMI_GIRLS.zscore.monthly-c846b7d2.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-ab602786.js → BMI_GIRLS.zscore.weekly-d15dae51.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-37e0800a.js → BMI_GIRLS.zscore.yearly-cd2c5a14.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-e80aeba0.js → HEAD CIRCUM_BOYS.percentile.monthly-08311bed.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-4685bece.js → HEAD CIRCUM_BOYS.percentile.weekly-61ae9719.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-c20b8cbc.js → HEAD CIRCUM_BOYS.percentile.yearly-b617ba32.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-77fc2b36.js → HEAD CIRCUM_BOYS.zscore.monthly-03ad3a25.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-5f3a4c93.js → HEAD CIRCUM_BOYS.zscore.weekly-3d1d84ef.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-250c0c36.js → HEAD CIRCUM_BOYS.zscore.yearly-479d818c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-c9f9fce4.js → HEAD CIRCUM_GIRLS.percentile.monthly-0ee73ebe.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-2c424182.js → HEAD CIRCUM_GIRLS.percentile.weekly-64706bd0.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-98a9436b.js → HEAD CIRCUM_GIRLS.percentile.yearly-37f9eccf.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-424f160e.js → HEAD CIRCUM_GIRLS.zscore.monthly-86d84968.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-a9e532d2.js → HEAD CIRCUM_GIRLS.zscore.weekly-c9cd6f16.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-d35cc049.js → HEAD CIRCUM_GIRLS.zscore.yearly-558d23dd.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-0f987d1c.js → HEIGHT_BOYS.percentile.monthly-2525b02b.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-92f4ded3.js → HEIGHT_BOYS.percentile.weekly-5fe68f86.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-ec9b7cb1.js → HEIGHT_BOYS.percentile.yearly-6a0771c8.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-ef856cd6.js → HEIGHT_BOYS.zscore.monthly-004b8a50.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-7b68698b.js → HEIGHT_BOYS.zscore.weekly-ad3bf522.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-cac66ad8.js → HEIGHT_BOYS.zscore.yearly-5c18c9e1.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-ad8acaf5.js → HEIGHT_GIRLS.percentile.monthly-6bafc02a.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-6363153c.js → HEIGHT_GIRLS.percentile.weekly-7cf65af5.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-5f9271c2.js → HEIGHT_GIRLS.percentile.yearly-28565908.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-727397f7.js → HEIGHT_GIRLS.zscore.monthly-c9ac35cc.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-8ffc7a0c.js → HEIGHT_GIRLS.zscore.weekly-05ad3818.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-3df666c8.js → HEIGHT_GIRLS.zscore.yearly-3b0876b8.js} +0 -0
- /package/build/{Onboarding-6f8a168a.js → Onboarding-da969030.js} +0 -0
- /package/build/{Visible-ebd904e0.js → Visible-f7df22db.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-525482d0.js → WEIGHT_BOYS.percentile.monthly-59e99270.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-077622f0.js → WEIGHT_BOYS.percentile.weekly-ea64273e.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-03a231dd.js → WEIGHT_BOYS.percentile.yearly-10b35b8c.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-c6a38f6b.js → WEIGHT_BOYS.zscore.monthly-ac6c3e12.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-0d13e4db.js → WEIGHT_BOYS.zscore.weekly-af87046c.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-bf3fcb75.js → WEIGHT_BOYS.zscore.yearly-46a5e0e3.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-a895ae94.js → WEIGHT_GIRLS.percentile.monthly-1a6de083.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-72cc4a28.js → WEIGHT_GIRLS.percentile.weekly-e8668616.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-6b9f60ba.js → WEIGHT_GIRLS.percentile.yearly-c91b9cb8.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-dd3d8b5f.js → WEIGHT_GIRLS.zscore.monthly-91ff8ebf.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-931622d0.js → WEIGHT_GIRLS.zscore.weekly-691a188f.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-28fb80e4.js → WEIGHT_GIRLS.zscore.yearly-f9d5ecc2.js} +0 -0
- /package/build/{cookieHelper-e578ca01.js → cookieHelper-2eb09400.js} +0 -0
- /package/build/{dataTransform-46dda93a.js → dataTransform-e780f8ca.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-17ac2427.js → BMI_BOYS.percentile.monthly-4827e285.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-496113a7.js → BMI_BOYS.percentile.weekly-d245334a.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-30d8da08.js → BMI_BOYS.percentile.yearly-0a073f46.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-368e9be0.js → BMI_BOYS.zscore.monthly-f52a398c.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-c02cd0af.js → BMI_BOYS.zscore.weekly-f276d929.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-772553f0.js → BMI_BOYS.zscore.yearly-16301da3.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-59c9afde.js → BMI_GIRLS.percentile.monthly-08440eab.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-321b185c.js → BMI_GIRLS.percentile.weekly-f7492dc1.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-da3b4733.js → BMI_GIRLS.percentile.yearly-fa6b8d55.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-0afd0d23.js → BMI_GIRLS.zscore.monthly-65f4efa5.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-9247ea45.js → BMI_GIRLS.zscore.weekly-07308e82.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-0af4fd34.js → BMI_GIRLS.zscore.yearly-dff7b27d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-f393787e.js → HEAD CIRCUM_BOYS.percentile.monthly-40cb6327.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-91e02156.js → HEAD CIRCUM_BOYS.percentile.weekly-144ae280.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-b502c22f.js → HEAD CIRCUM_BOYS.percentile.yearly-57b2467d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-d878f1c3.js → HEAD CIRCUM_BOYS.zscore.monthly-ed66ecf0.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-f9607176.js → HEAD CIRCUM_BOYS.zscore.weekly-e9ebfc90.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-382c6a36.js → HEAD CIRCUM_BOYS.zscore.yearly-b5a5df09.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-e438e937.js → HEAD CIRCUM_GIRLS.percentile.monthly-43a088b4.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-6262b1d5.js → HEAD CIRCUM_GIRLS.percentile.weekly-4be4e078.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-34459769.js → HEAD CIRCUM_GIRLS.percentile.yearly-671330ef.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-742d53bd.js → HEAD CIRCUM_GIRLS.zscore.monthly-44d0a0a6.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-0ef08389.js → HEAD CIRCUM_GIRLS.zscore.weekly-120a0b93.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-a3e58de7.js → HEAD CIRCUM_GIRLS.zscore.yearly-f9001e05.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-9f36b892.js → HEIGHT_BOYS.percentile.monthly-80be191d.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-fa7c1238.js → HEIGHT_BOYS.percentile.weekly-218ac37c.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-1fdee045.js → HEIGHT_BOYS.percentile.yearly-12cf363b.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-81aac17f.js → HEIGHT_BOYS.zscore.monthly-3ed8335f.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-88c5e7db.js → HEIGHT_BOYS.zscore.weekly-20cd4776.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-0112f6a4.js → HEIGHT_BOYS.zscore.yearly-a4c02ba9.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-7d4b00c5.js → HEIGHT_GIRLS.percentile.monthly-c6ae74e4.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-437744ba.js → HEIGHT_GIRLS.percentile.weekly-26ffaf16.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-99ce8aa6.js → HEIGHT_GIRLS.percentile.yearly-13b087c8.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-1214809a.js → HEIGHT_GIRLS.zscore.monthly-05c29610.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-4a6d1189.js → HEIGHT_GIRLS.zscore.weekly-7a92adc3.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-e41d03ca.js → HEIGHT_GIRLS.zscore.yearly-587f030e.js} +0 -0
- /package/build/esm/{Onboarding-8438950b.js → Onboarding-44ac6b1d.js} +0 -0
- /package/build/esm/{Visible-940a9d74.js → Visible-8e491965.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-4d371d94.js → WEIGHT_BOYS.percentile.monthly-c63b5964.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-2b49aa13.js → WEIGHT_BOYS.percentile.weekly-69fcf8b0.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-4808921f.js → WEIGHT_BOYS.percentile.yearly-b06b22c0.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-5c847a83.js → WEIGHT_BOYS.zscore.monthly-5eed9a39.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-0b98ef15.js → WEIGHT_BOYS.zscore.weekly-90d3fd8c.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-229e598d.js → WEIGHT_BOYS.zscore.yearly-8ff504f9.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-31d85631.js → WEIGHT_GIRLS.percentile.monthly-3c7eb1e6.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-391320df.js → WEIGHT_GIRLS.percentile.weekly-0d0960a5.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-e3e088a4.js → WEIGHT_GIRLS.percentile.yearly-6ac2d943.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-07894044.js → WEIGHT_GIRLS.zscore.monthly-ac692ffc.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-cb91ce00.js → WEIGHT_GIRLS.zscore.weekly-78f21c9c.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-60bb4edc.js → WEIGHT_GIRLS.zscore.yearly-b0902a6d.js} +0 -0
- /package/build/esm/{cookieHelper-2849829f.js → cookieHelper-e6a68931.js} +0 -0
- /package/build/esm/{dataTransform-0c4dd979.js → dataTransform-3a1ac627.js} +0 -0
- /package/build/esm/{index-762b682e.js → index-0bc52c1f.js} +0 -0
- /package/build/esm/{index-41ee4396.js → index-a06235f9.js} +0 -0
- /package/build/esm/{index-0cd9819f.js → index-a7b19eb4.js} +0 -0
- /package/build/esm/{isProduction-7b018737.js → isProduction-f9ee3d86.js} +0 -0
- /package/build/esm/{localizeNumberFormat-ff56cb82.js → localizeNumberFormat-b5f773f2.js} +0 -0
- /package/build/esm/{normalizeLink-f0dc4969.js → normalizeLink-65b2e8ac.js} +0 -0
- /package/build/esm/{number-3364a282.js → number-b4c7f6c5.js} +0 -0
- /package/build/esm/{paths-708246a6.js → paths-8db9cf1f.js} +0 -0
- /package/build/esm/{screenSizeContext-0e3ef246.js → screenSizeContext-986f2e23.js} +0 -0
- /package/build/esm/{theme-5521e22b.js → theme-63238906.js} +0 -0
- /package/build/esm/{translationsContext-bbb33dff.js → translationsContext-7b7b8039.js} +0 -0
- /package/build/esm/{tslib.es6-aaf273e4.js → tslib.es6-f1015b61.js} +0 -0
- /package/build/esm/{types-38f6c9ea.js → types-b632389a.js} +0 -0
- /package/build/esm/{useIsInit-3494e1f9.js → useIsInit-a1702165.js} +0 -0
- /package/build/esm/{useOutsideClick-0b0b1440.js → useOutsideClick-731ad68a.js} +0 -0
- /package/build/esm/{useScrollbarSize-95f21af1.js → useScrollbarSize-7b909610.js} +0 -0
- /package/build/{index-bb493155.js → index-09737bfd.js} +0 -0
- /package/build/{index-b23b4287.js → index-2a1bb6b1.js} +0 -0
- /package/build/{index-3d3a0c7d.js → index-f541d6fb.js} +0 -0
- /package/build/{isProduction-34157dfe.js → isProduction-f290019f.js} +0 -0
- /package/build/{localizeNumberFormat-cc1240b6.js → localizeNumberFormat-0ba40f4f.js} +0 -0
- /package/build/{normalizeLink-1037aa91.js → normalizeLink-0cebf56e.js} +0 -0
- /package/build/{number-c1d0ac77.js → number-88797277.js} +0 -0
- /package/build/{paths-2cee4722.js → paths-88fc85ad.js} +0 -0
- /package/build/{screenSizeContext-23044fb1.js → screenSizeContext-49a2f298.js} +0 -0
- /package/build/{theme-114811f2.js → theme-04374604.js} +0 -0
- /package/build/{translationsContext-4e8e9987.js → translationsContext-081e66b8.js} +0 -0
- /package/build/{tslib.es6-5031c004.js → tslib.es6-eb70760c.js} +0 -0
- /package/build/{types-aca1208e.js → types-e380c5d8.js} +0 -0
- /package/build/{useIsInit-bcfb25a8.js → useIsInit-89fb3c1e.js} +0 -0
- /package/build/{useOutsideClick-715ca679.js → useOutsideClick-09a2d7f3.js} +0 -0
- /package/build/{useScrollbarSize-11c1e093.js → useScrollbarSize-fc352747.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useCallback as r,createContext as n,useContext as l,useRef as s}from"react";import{K as d,L as c,M as p,N as m,b as u,O as g,Q as h,R as v,H as b,U as f,V as x,W as w,X as y,Y as E,_ as C,A as k,$ as A,B as N,a0 as z,z as T,w as S,a1 as L}from"./index.styles-
|
|
1
|
+
import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useCallback as r,createContext as n,useContext as l,useRef as s}from"react";import{K as d,L as c,M as p,N as m,b as u,O as g,Q as h,R as v,H as b,U as f,V as x,W as w,X as y,Y as E,_ as C,A as k,$ as A,B as N,a0 as z,z as T,w as S,a1 as L}from"./index.styles-69ecb6d8.js";import{B as V,I as P,u as j,A as F,f as B,T as O}from"./index-12f6fbfa.js";import{useMantineTheme as R,createStyles as M,Flex as I,Box as U,rem as D,Portal as W,Anchor as H,Accordion as Z}from"@mantine/core";import{_ as q,a as G}from"./tslib.es6-f1015b61.js";import{u as X,b as Q}from"./useTranslations-4d09b34f.js";import{T as K,H as Y,I as $,P as J}from"./index-5e773c47.js";import"@mantine/dates";import{d as _,D as ee}from"./index-0b180b4b.js";import{L as te}from"./Onboarding-44ac6b1d.js";import{CommonGAssets as ae}from"./gAssets.js";import oe from"dayjs";import{M as ie,t as re}from"./screenSizeContext-986f2e23.js";import ne,{keyframes as le,css as se}from"styled-components";import{t as de}from"./theme-63238906.js";import{a as ce}from"./number-b4c7f6c5.js";import{i as pe}from"./isProduction-f9ee3d86.js";import"@mantine/hooks";import{format as me}from"date-fns";import"./translationsContext-7b7b8039.js";import"string-format";import{B as ue}from"./index-76974ad1.js";import{I as ge}from"./index-2fbc327b.js";import{U as he,P as ve,b as be,a as fe,c as xe,e as we}from"./index-487aaaae.js";import{g as ye}from"./routing-ae6a4c6c.js";import Ee from"dayjs/plugin/relativeTime";import{P as Ce}from"./paths-8db9cf1f.js";import{a as ke}from"./constants-5f53fae4.js";import Ae from"lodash/debounce";import"./useCategory-3418b771.js";import{M as Ne}from"./index-56b8f150.js";import"innertext";import{d as ze,g as Te}from"./cookieHelper-e6a68931.js";import"react-contenteditable";import"react-dom";import"./utils-c54fd595.js";import"./index.styled-cb0ea240.js";import"./index-a7b19eb4.js";const Se=({type:e="solid",className:a,style:o})=>t.createElement(d,{style:o,className:a,"data-diver-type":e,dividerType:e}),Le=t=>e.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor"},t),e.createElement("path",{d:"M3.99403 3.32695C3.86141 3.32698 3.73181 3.36657 3.62181 3.44065C3.5118 3.51472 3.42638 3.61992 3.37648 3.7428C3.32658 3.86567 3.31445 4.00064 3.34165 4.13044C3.36885 4.26024 3.43415 4.37898 3.52919 4.47148L7.05784 8.00013L3.52919 11.5288C3.46521 11.5902 3.41413 11.6638 3.37894 11.7452C3.34375 11.8266 3.32516 11.9142 3.32425 12.0029C3.32335 12.0916 3.34015 12.1796 3.37368 12.2617C3.40721 12.3438 3.45678 12.4185 3.5195 12.4812C3.58222 12.5439 3.65682 12.5935 3.73894 12.627C3.82106 12.6605 3.90904 12.6773 3.99774 12.6764C4.08643 12.6755 4.17405 12.6569 4.25547 12.6217C4.33689 12.5865 4.41047 12.5355 4.4719 12.4715L8.00054 8.94283L11.5292 12.4715C11.5906 12.5355 11.6642 12.5865 11.7456 12.6217C11.827 12.6569 11.9147 12.6755 12.0034 12.6764C12.092 12.6773 12.18 12.6605 12.2621 12.627C12.3443 12.5935 12.4189 12.5439 12.4816 12.4812C12.5443 12.4185 12.5939 12.3439 12.6274 12.2617C12.6609 12.1796 12.6777 12.0916 12.6768 12.0029C12.6759 11.9142 12.6573 11.8266 12.6222 11.7452C12.587 11.6638 12.5359 11.5902 12.4719 11.5288L8.94325 8.00013L12.4719 4.47148C12.5682 4.37784 12.634 4.25728 12.6607 4.1256C12.6873 3.99392 12.6735 3.85726 12.6212 3.73354C12.5688 3.60982 12.4803 3.5048 12.3672 3.43224C12.2542 3.35969 12.1218 3.32299 11.9875 3.32695C11.8143 3.33211 11.6499 3.4045 11.5292 3.52877L8.00054 7.05742L4.4719 3.52877C4.40977 3.46491 4.33548 3.41415 4.2534 3.37948C4.17132 3.34482 4.08313 3.32696 3.99403 3.32695Z"})),Ve={admin:"cardAuthor.admin",moderator:"cardAuthor.moderator",ambassador:"cardAuthor.ambassador",expert:"cardAuthor.expert",sponsor:"cardAuthor.sponsor",guide:"cardAuthor.guide",influencer:"cardAuthor.influencer"},Pe=e=>{var{siteType:a,role:o,title:i,styles:r,className:n}=e,l=q(e,["siteType","role","title","styles","className"]);const{t:s}=X(),d=o?(e=>["admin","moderator","ambassador","expert","sponsor","guide","influencer"].find((t=>t===e)))(o):"",{classes:p,cx:m}=c(void 0,{name:"AuthorBadge",styles:r});return d&&Ve[d]?t.createElement("div",Object.assign({className:m(p.root,n),"data-label-type":d,"data-is-marrybaby":"marryBaby"===a},l),i||s(Ve[d])):null};var je="Dudns9-";const Fe=({value:e,choices:i,onChange:r})=>{const[n,l]=a(e);return o((()=>{l(e)}),[e]),t.createElement("div",{className:je},i.map(((e,a)=>t.createElement(V,{dataEventCategory:e.dataEventCategory,dataEventAction:e.dataEventAction,dataEventLabel:e.dataEventLabel,size:"sm",variant:e.value===n?"primary":"tertiary",key:a,onClick:()=>{l(e.value),null==r||r(e.value)}},e.label||""))))},Be=e=>{var{label:o,bookingId:n,bookingType:l="doctor",locale:s="vi-VN"}=e,d=q(e,["label","bookingId","bookingType","locale"]);const{t:c}=X(),[u,g]=a(!1),h=i((()=>"undefined"!=typeof window?window.location.href:""),[]),v=r((()=>G(void 0,void 0,void 0,(function*(){var e,t,a,o,i,r,d,c,u,h,v,b,f,x,w;const y="doctor"===l?Ce.GET_DOCTOR_DETAIL:"hospital"===l?Ce.GET_HOSPITAL_DETAIL:"service"===l?Ce.GET_SERVICE_DETAIL:"";try{g(!0);const E=yield p(m(y,{id:n,site:_[s]}),"get");if(1===(null==E?void 0:E._status)){const n="doctor"===l?{id:null===(t=null===(e=null==E?void 0:E._data)||void 0===e?void 0:e.doctor)||void 0===t?void 0:t.id,slug:null===(o=null===(a=null==E?void 0:E._data)||void 0===a?void 0:a.doctor)||void 0===o?void 0:o.slug,localSlug:null===(i=ke[s])||void 0===i?void 0:i.DOCTOR}:"hospital"===l?{id:null===(d=null===(r=null==E?void 0:E._data)||void 0===r?void 0:r.branch)||void 0===d?void 0:d.id,slug:null===(u=null===(c=null==E?void 0:E._data)||void 0===c?void 0:c.branch)||void 0===u?void 0:u.slug,localSlug:null===(h=ke[s])||void 0===h?void 0:h.HOSPITAL}:{id:null===(b=null===(v=null==E?void 0:E._data)||void 0===v?void 0:v.service)||void 0===b?void 0:b.id,slug:null===(x=null===(f=null==E?void 0:E._data)||void 0===f?void 0:f.service)||void 0===x?void 0:x.slug,localSlug:null===(w=ke[s])||void 0===w?void 0:w.SERVICE};window.location.href=`https://${pe?"":"discover."}${_[s]}/care/${n.localSlug}/${n.slug}-${n.id}/`}else g(!1)}catch(e){console.log(e),g(!1)}}))),[]);return n&&l?t.createElement(V,Object.assign({dataEventCategory:"Care",dataEventAction:"Comment - Quick Booking",dataEventLabel:h,onClick:v,loading:u},d),o||c("careBooking.bookAnAppointment")):null},Oe=ne.div`
|
|
2
2
|
--dropdown-padding: 12px 18px 12px 16px;
|
|
3
3
|
position: relative;
|
|
4
4
|
box-sizing: border-box;
|
|
@@ -78,7 +78,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
78
78
|
box-shadow: 0px 0px 2px 2px ${e=>e.shadowColor};
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
|
-
`,
|
|
81
|
+
`,Re=ne.div`
|
|
82
82
|
padding: var(--dropdown-padding);
|
|
83
83
|
cursor: pointer;
|
|
84
84
|
|
|
@@ -92,7 +92,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
92
92
|
border-radius: ${e=>e.theme.borderRadius};
|
|
93
93
|
box-shadow: 0 0 2px 2px ${e=>e.shadowColor};
|
|
94
94
|
}
|
|
95
|
-
`,
|
|
95
|
+
`,Me=ne.ul`
|
|
96
96
|
position: absolute;
|
|
97
97
|
top: 100%;
|
|
98
98
|
/* right: 0; */
|
|
@@ -112,7 +112,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
112
112
|
box-shadow: none;
|
|
113
113
|
filter: drop-shadow(0px 10px 16px rgba(0, 0, 0, 0.04));
|
|
114
114
|
}
|
|
115
|
-
`,
|
|
115
|
+
`,Ie=ne.li`
|
|
116
116
|
display: flex;
|
|
117
117
|
padding: 12px 18px 12px 16px;
|
|
118
118
|
&[data-disabled='true'] {
|
|
@@ -126,15 +126,15 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
126
126
|
:active {
|
|
127
127
|
background: ${e=>e.theme.colors.gray100};
|
|
128
128
|
}
|
|
129
|
-
`,
|
|
129
|
+
`,Ue=ne.div`
|
|
130
130
|
max-width: 16px;
|
|
131
131
|
margin-right: 8px;
|
|
132
|
-
`,
|
|
132
|
+
`,De=ne.div`
|
|
133
133
|
position: absolute;
|
|
134
134
|
top: 12px;
|
|
135
135
|
left: 16px;
|
|
136
136
|
pointer-events: none;
|
|
137
|
-
`,
|
|
137
|
+
`,We=({className:e,value:a,options:o,onChange:i=(()=>{}),id:r,placeholderIcon:n,placeholder:l,style:s,size:d="lg",groupedWithLabel:c,disabled:p,dropdownLabelTrackingAttributes:m={},isNativeSelect:u=!1})=>{const g=R(),[h,v]=t.useState(!1),b=()=>!p&&v(!h);return u?t.createElement(Oe,{color:g.fn.primaryColor(),shadowColor:g.colors[g.primaryColor][2],as:"select","data-is-native":"true",value:(null==a?void 0:a.value)||void 0,disabled:p,onChange:e=>{if("string"==typeof e.target.value){const t=o.find((t=>t.value===e.target.value));t&&i(t)}}},l&&t.createElement("option",{value:l,disabled:!0,selected:!0},l),o.map((e=>t.createElement("option",{key:`${r}-${e.value}`,value:e.value,disabled:!!e.disabled&&e.disabled},e.label)))):t.createElement(Oe,{color:g.fn.primaryColor(),shadowColor:g.colors[g.primaryColor][2],className:e,"data-dropdown-open":h||void 0,"data-size":d,id:r,"data-has-icons":!!n,style:s,onBlur:()=>v(!1),tabIndex:0,"data-disabled":p},!!c&&t.createElement(De,null,c),t.createElement(Re,Object.assign({color:g.fn.primaryColor(),shadowColor:g.colors[g.primaryColor][2],onClick:b,className:c&&"with-label"},m),n," ",t.createElement("span",null,a&&a.value?a.label:l)),h&&t.createElement(Me,{onClick:b,"data-has-icons":!!n},o.map((e=>t.createElement(Ie,{key:`${r}-${e.value}`,"data-selected":a&&a.value===e.value||void 0,onClick:()=>!e.disabled&&!p&&(null==i?void 0:i(e)),"data-disabled":!!e.disabled&&e.disabled},e.icon&&t.createElement(Ue,null,e.icon),e.label)))))},He=n({}),Ze=({children:e,defaultParams:a})=>t.createElement(He.Provider,{value:{defaultParams:a}},e),qe=e=>{const{data:{userInfo:t,env:{togetherBasePath:a}}}=l(u),{defaultParams:o}=l(He)||{},i=null==t?void 0:t.id,r=t&&"number"==typeof t.communities_interacted&&0===t.communities_interacted;return{authActionWrapper:(t,n)=>{const l=Object.assign(Object.assign(Object.assign({},o),e),n);if(!i||r){i||ze(g),(null==l?void 0:l._joinCommunityIds)&&(localStorage.setItem("to_join_community_ids",JSON.stringify(Array.from(new Set((JSON.parse(localStorage.getItem("to_join_community_ids")||"[]")||[]).concat(l._joinCommunityIds).filter(Boolean))))),null==l||delete l._joinCommunityIds),(null==l?void 0:l._joinTopicIds)&&(localStorage.setItem("to_join_topic_ids",JSON.stringify(Array.from(new Set((JSON.parse(localStorage.getItem("to_join_topic_ids")||"[]")||[]).concat(l._joinTopicIds).filter(Boolean))))),null==l||delete l._joinTopicIds);const e=(null==l?void 0:l._location)||window.location.href;return null==l||delete l._location,window.location.href=h(e,l,a),null}return t&&t()},params:Object.assign(Object.assign({},o),e)}},Ge=ne.div`
|
|
138
138
|
.link-info-container {
|
|
139
139
|
padding: 0.5rem 1rem;
|
|
140
140
|
background: ${e=>e.color||"#f4faff"};
|
|
@@ -194,7 +194,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
194
194
|
}
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
|
-
`,
|
|
197
|
+
`,Xe=n({});var Qe="vvR-m49";const Ke=({children:e,className:a=""})=>{const{isReplied:o,trackingCategory:i,trackingLabel:r,onLikeClick:n}=l(Xe);return t.createElement("div",{className:`${Qe} ${a}`,"data-event-category":i,"data-event-action":o?"Like Comment Click":"Like Post Click","data-event-label":r,onClick:()=>{null==n||n()}},e)},Ye=({children:e,className:a=""})=>{const{trackingCategory:o,trackingLabel:i,onShareClick:r}=l(Xe);return t.createElement("div",{className:`${Qe} ${a}`,onClick:()=>{null==r||r()},"data-event-category":o,"data-event-action":"Share Icon Click","data-event-label":i},e)},$e=({children:e,className:a=""})=>{const{isReplied:o,trackingCategory:i,trackingLabel:r,onCommentClick:n}=l(Xe);return t.createElement("div",{className:`${Qe} ${a}`,"data-event-category":i,"data-event-action":o?"Reply Comment Click":"Comment Text Click","data-event-label":r,onClick:e=>{e.preventDefault(),e.stopPropagation(),null==n||n()}},e)};var Je,_e="UhiT4m5",et="oEfeTkV",tt="OlbikxJ",at="_9GXHCn3",ot="HCsrR0N",it="MV3lNuh";!function(e){e[e.post=1]="post",e[e.reply=2]="reply"}(Je||(Je={}));const rt=e=>{var{type:a,viewCount:o,loveCount:i=0,replyCount:r=0,replyPadding:n,liked:s,isReplied:d,onCommentClick:c,onLikeClick:p,onShareClick:m,className:g,style:h,hideCommentIcon:v,showingMostEngaging:b,isMarryBaby:f,hasShare:x=!0,hasCountLike:w=!0,trackingCategory:y="Together",trackingLabel:E="",children:C}=e,k=q(e,["type","viewCount","loveCount","replyCount","replyPadding","liked","isReplied","onCommentClick","onLikeClick","onShareClick","className","style","hideCommentIcon","showingMostEngaging","isMarryBaby","hasShare","hasCountLike","trackingCategory","trackingLabel","children"]);const{data:{env:{isMarryBaby:A}}}=l(u),N=Boolean(f)?f:A,{t:z}=X();return t.createElement(Xe.Provider,{value:{liked:s,loveCount:i,trackingCategory:y,trackingLabel:E,isReplied:d,onLikeClick:p,onShareClick:m,onCommentClick:c}},C||t.createElement("div",Object.assign({className:`${_e} ${g}`,"data-show-most-engaging":b,"data-type":a===Je.post?"post":"reply","data-reply-padding":a===Je.reply&&n,"data-is-marrybaby":N,style:h},k),t.createElement("div",{className:et},t.createElement("div",{className:tt},t.createElement(Ke,{className:ot},t.createElement(K,{className:at,size:"p3",as:"div"},t.createElement(Y,{className:"txt-icon",isMarryBaby:N,isSolid:s,color:s?N?de.mbColors.pink:de.colors.red800:"#737373"}),w&&t.createElement("div",{className:it},i))),x&&t.createElement(Ye,{className:ot},t.createElement(K,{size:"p3",className:at,as:"div"},t.createElement($.Share,{isMarryBaby:N}))),void 0!==o&&t.createElement(K,{size:"p3",className:at,as:"div"},t.createElement($.Eye,{isMarryBaby:N}),t.createElement("div",{className:it},ce(o)))),!v&&t.createElement($e,{className:ot},t.createElement(K,{size:"p3",className:at,as:"div"},d?t.createElement($.Reply,{className:"txt-icon"}):t.createElement($.Comment,{className:"txt-icon",isMarryBaby:N}),d?z("cardReactions.reply"):t.createElement("div",{className:it},z("post.commentCount",{count:r})))))))};rt.LikeWrapper=Ke,rt.ShareWrapper=Ye,rt.CommentWrapper=$e;const nt=M((e=>({wrapper:{display:"flex",flexWrap:"wrap",width:"100%",padding:"0.5rem 0",gap:"0.5rem"},item:{position:"relative",whiteSpace:"nowrap",padding:"5px 12px",background:e.colors.gray[0],borderRadius:"2rem",cursor:"pointer","-webkit-user-drag":"none",userSelect:"none",textDecoration:"none","*":{pointerEvents:"none"},"&:first-child":{marginLeft:0}},text:{}}))),lt=e=>{var{topics:o=[],onClick:i,className:r,style:n,trackingCategory:s="Together",locale:d="vi-VN",classNames:c,styles:p,unstyled:m,shortenedNumber:g=3,shortenedStyle:h}=e,b=q(e,["topics","onClick","className","style","trackingCategory","locale","classNames","styles","unstyled","shortenedNumber","shortenedStyle"]);const{t:f}=X(),{classes:x}=nt(void 0,{name:"TagTopic",classNames:c,styles:p,unstyled:m}),{data:{env:{togetherBasePath:w}},action:{sanitizeFunction:y}}=l(u),[E,C]=a(!h);return t.createElement("div",Object.assign({onClick:i,className:`${x.wrapper} ${r}`,style:n},b),(E?o:o.slice(0,g)).map(((e,a)=>{const o=(null==e?void 0:e.dueDateMonth)&&0!==(null==e?void 0:e.dueDateMonth)&&(null==e?void 0:e.dueDateYear)&&0!==(null==e?void 0:e.dueDateYear);return t.createElement("a",{className:x.item,key:a,"data-event-category":s,"data-event-action":"Topic in Post Click","data-event-label":`${v(d)}${w}${e.url}`,href:e.isActive&&!e.isHidden?`${w}${e.url}/`:void 0},t.createElement(K,{size:"p4"},t.createElement("span",{style:Object.assign({},o&&{textTransform:"capitalize"}),dangerouslySetInnerHTML:{__html:o?`${me(new Date(2020,Number(e.dueDateMonth)-1,1),"MMMM",{locale:ee[d]})}${d===te.Vietnam?"/":" "}${null==e?void 0:e.dueDateYear}`:(null==y?void 0:y(e.name))||e.name}})))})),!E&&o.length>g&&t.createElement("a",{className:x.item,href:"#",onClick:e=>{e.preventDefault(),C(!0)}},t.createElement(K,{size:"p4"},"+",f("tagTopic.moreTopics",{number:o.length-g}))))},st=ne.div`
|
|
198
198
|
display: flex;
|
|
199
199
|
align-items: center;
|
|
200
200
|
justify-content: space-between;
|
|
@@ -261,13 +261,13 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
261
261
|
}
|
|
262
262
|
}
|
|
263
263
|
&.label-sorting {
|
|
264
|
-
${
|
|
264
|
+
${ie.tdUp} {
|
|
265
265
|
padding-bottom: 1.5rem;
|
|
266
266
|
margin-bottom: -0.75rem;
|
|
267
267
|
}
|
|
268
268
|
}
|
|
269
269
|
}
|
|
270
|
-
`,
|
|
270
|
+
`,dt=({label:e,rightLabel:a,onClick:o,color:i,className:r,style:n})=>{const{data:{env:{isMarryBaby:s}}}=l(u);return t.createElement(st,{"data-is-marrybaby":s,"data-color":i,onClick:o,className:r,style:n},t.createElement(K,{className:"label-sort-pin-heading",size:s?"p4":"p3",weight:"bold"},e),a)};const ct=ne.div`
|
|
271
271
|
position: relative;
|
|
272
272
|
display: content;
|
|
273
273
|
|
|
@@ -433,7 +433,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
433
433
|
} */
|
|
434
434
|
}
|
|
435
435
|
}
|
|
436
|
-
`,
|
|
436
|
+
`,pt=ne.div`
|
|
437
437
|
display: flex;
|
|
438
438
|
/* max-height: 300px; */
|
|
439
439
|
flex-direction: column;
|
|
@@ -573,7 +573,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
573
573
|
}
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
|
-
`,
|
|
576
|
+
`,mt=({className:e,style:i,toggleButtonContent:r,position:n="bottom",align:d="end",children:c,buttonProps:p})=>{const{data:{env:{isMarryBaby:m}}}=l(u),[g,h]=a(!1),v=s(null),b=s(g);return o((()=>{var e;b.current=g,g&&(null===(e=v.current)||void 0===e||e.focus())}),[g]),o((()=>{const e=e=>{var t;!(null===(t=v.current)||void 0===t?void 0:t.contains(e.target))&&b.current&&h(!1)};return window.addEventListener("click",e,{passive:!0}),()=>{window.removeEventListener("click",e)}}),[]),t.createElement(ct,{"data-is-marrybaby":m,className:e,style:i},t.createElement(ue,Object.assign({theme:m?"marryBaby":"helloSites",className:"popover-menu__btn",size:"md",color:"transparent",onClick:()=>h((e=>!e))},p),r),g?t.createElement("div",{ref:v,className:`popover-menu__content --position-${n} --align-${d}`,tabIndex:0,onClick:e=>e.stopPropagation()},"function"==typeof c?c({setShow:h}):c):null)};const ut=e=>{var{data:a}=e,o=q(e,["data"]);return t.createElement(mt,Object.assign({},o),(({setShow:e})=>t.createElement(gt,{data:a,setShow:e})))},gt=({data:e,setShow:o})=>{var r;const[n,l]=a(""),s=i((()=>e&&((e,t)=>{const a=t.split(".");let o=e;return a.forEach((e=>{var t,a;e&&o&&"list"===(null==o?void 0:o.type)&&(o=null===(a=null===(t=null==o?void 0:o.list)||void 0===t?void 0:t[Number(e)])||void 0===a?void 0:a.subTree)})),o})(e,n)),[e,n]);if(!e)return null;if(!s)return null;return t.createElement(pt,null,s.isShowheader?t.createElement("div",{className:"__header"},n?t.createElement("img",{className:"__back-btn",src:"data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M15 18L9 12L15 6' stroke='%23262626' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",onClick:()=>l((e=>e.split(".").slice(0,-1).join("."))),loading:"lazy"}):null,s.title?t.createElement(b,{className:"__title",tag:"h6"},s.title):null):null,s.description?t.createElement(K,{className:"tree-text-description",color:de.colors.gray600,size:"p3",weight:"regular"},s.description):null,t.createElement("div",{className:"__content"},"jsx"===s.type?null===(r=null==s?void 0:s.jsxRenderer)||void 0===r?void 0:r.call(s,o):null,"list"===s.type?t.createElement("ul",{className:"__list"},Array.isArray(s.list)?s.list.map(((e,a)=>t.createElement("li",{key:a,style:e.style,className:`__item ${e.className}`}," ",t.createElement("div",{className:"__btn "+(e.selected?"--checked":""),onClick:()=>((e,{subTree:t,onClick:a=(()=>null)})=>{a&&a(),t?l((t=>t.split(".").concat(String(e)).join("."))):o&&o(!1)})(a,e),"data-event-category":e.dataEventCategory,"data-event-action":e.dataEventAction,"data-event-label":e.dataEventLabel},e.icon&&t.createElement("img",{className:"__icon",src:e.icon,loading:"lazy"}),t.createElement("span",null,e.label)),e.subTree?t.createElement("img",{className:"__toggle",src:"data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M6 12L10 8L6 4' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",loading:"lazy"}):null,e.selected?t.createElement("img",{className:"__toggle",src:"data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M13.3334 4L6.00002 11.3333L2.66669 8' stroke='%238C8C8C' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",loading:"lazy"}):null))):null):null))};var ht;!function(e){e.latest="latest",e.oldest="oldest",e.popular="popular"}(ht||(ht={}));const vt=({onChange:e,className:a,style:o,leftLabel:i,rightLabel:r,color:n,value:s,choices:d})=>{const{data:{env:{isMarryBaby:c}}}=l(u);return t.createElement(dt,{label:i,rightLabel:t.createElement(ut,{position:"bottom",align:"end",data:{isShowheader:!1,type:"list",list:d.map((t=>({label:t.label,onClick:()=>e&&e(String(t.value)),selected:t.value===s,className:"bold-item"})))},toggleButtonContent:t.createElement("div",{style:{display:"flex"}},t.createElement(K,{style:{display:"flex",alignItems:"center",fontWeight:"normal",marginRight:12},size:"p4"},r),t.createElement("img",{src:c?"data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cpath d='M8 14L12 18L16 14' stroke='%233E3F58' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e %3cpath d='M16 10L12 6L8 10' stroke='%233E3F58' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e %3c/svg%3e":"data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M4.49992 7H11.4998C11.6352 7 11.7525 6.94506 11.8514 6.83509C11.9502 6.72515 11.9999 6.59496 11.9999 6.44449C11.9999 6.29402 11.9503 6.16389 11.8514 6.0538L8.35141 2.16491C8.25252 2.05509 8.13538 2 7.99988 2C7.86437 2 7.74723 2.05509 7.64826 2.16491L4.1483 6.0538C4.04932 6.16377 3.99988 6.29402 3.99988 6.44449C3.99988 6.59493 4.04932 6.72515 4.1483 6.83509C4.24738 6.94506 4.36452 7 4.49992 7Z' fill='%238C8C8C'/%3e%3cpath d='M11.4998 9H4.49992C4.36441 9 4.24727 9.05497 4.1483 9.16482C4.04932 9.2748 3.99988 9.40496 3.99988 9.55543C3.99988 9.7059 4.04932 9.83616 4.1483 9.94607L7.64826 13.835C7.74734 13.9449 7.86448 14 7.99988 14C8.13527 14 8.25252 13.9449 8.35141 13.835L11.8514 9.94604C11.9502 9.83616 11.9999 9.7059 11.9999 9.5554C11.9999 9.40496 11.9503 9.2748 11.8514 9.16479C11.7525 9.05485 11.6352 9 11.4998 9Z' fill='%238C8C8C'/%3e%3c/svg%3e",style:{width:16,height:16,alignSelf:"center"},loading:"lazy"}))}),color:"gray",className:a,style:o})},bt=e=>{var{size:a=15}=e,o=q(e,["size"]);return t.createElement("svg",Object.assign({width:a,height:a,viewBox:"0 0 15 15",fill:"none"},o),t.createElement("path",{d:"M7.43701 14C11.0614 14 13.9995 11.0619 13.9995 7.4375C13.9995 3.81313 11.0614 0.875 7.43701 0.875C3.81264 0.875 0.874512 3.81313 0.874512 7.4375C0.874512 11.0619 3.81264 14 7.43701 14Z",fill:"white",stroke:"#E4E8EC",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M8.53125 6.34375V4.15625H6.34375V6.34375H4.15625V8.53125H6.34375V10.7188H8.53125V8.53125H10.7188V6.34375H8.53125Z",fill:"#FF5331"}))},ft=e=>{var{size:a,color:o}=e,i=q(e,["size","color"]);return t.createElement("svg",Object.assign({width:a,height:a,viewBox:"0 0 16 16",fill:"none"},i),t.createElement("path",{d:"M7.29998 8.71005L6.24868 7.64851C6.14527 7.54509 6.02647 7.49338 5.89228 7.49338C5.75811 7.49338 5.63931 7.54509 5.53588 7.64851C5.43247 7.75192 5.38012 7.87179 5.37883 8.00811C5.37756 8.14444 5.42649 8.26217 5.52563 8.36131L6.8782 9.71386C6.99871 9.83437 7.13931 9.89463 7.29998 9.89463C7.46066 9.89463 7.60126 9.83437 7.72177 9.71386L10.4846 6.95105C10.588 6.84764 10.6397 6.72884 10.6397 6.59465C10.6397 6.46047 10.588 6.34167 10.4846 6.23825C10.3812 6.13484 10.2613 6.0842 10.125 6.08633C9.98866 6.08846 9.87093 6.1391 9.77178 6.23825L7.29998 8.71005ZM7.99998 14.2703H7.84293C7.79379 14.2703 7.74913 14.2592 7.70897 14.2369C6.34743 13.7857 5.22222 12.9235 4.33333 11.6504C3.44444 10.3773 3 8.96046 3 7.39978V4.39723C3 4.1451 3.07308 3.91754 3.21923 3.71455C3.36539 3.51155 3.55342 3.36432 3.78333 3.27288L7.5782 1.85621C7.72093 1.80494 7.86153 1.7793 7.99998 1.7793C8.13844 1.7793 8.27903 1.80494 8.42177 1.85621L12.2166 3.27288C12.4465 3.36432 12.6346 3.51155 12.7807 3.71455C12.9269 3.91754 13 4.1451 13 4.39723V7.39978C13 8.96046 12.5555 10.3773 11.6666 11.6504C10.7777 12.9235 9.65253 13.7857 8.291 14.2369C8.23972 14.2592 8.14272 14.2703 7.99998 14.2703Z",fill:o}))};ft.defaultProps={size:24,color:de.colors.gray600,activeColor:de.colors.primaryBase,isActive:!1};var xt="dZWeHns",wt="tMiOKib",yt="uDcqD-2",Et="pDlsows",Ct="m-HVXw1";const kt=({children:e,className:a=""})=>t.createElement("div",{className:`${wt} ${a}`},e),At=({children:e,className:a=""})=>t.createElement("div",{className:`${yt} ${a}`},e);var Nt="sTU4T4I",zt="tCql9Je",Tt="_3j7uYhH",St="PHABgoT";const Lt=({avatarProps:e,title:a,subTitle:o,children:i,className:r="",style:n,onAvatarClick:l,avatarIcon:s,dataEventCategory:d,dataEventAction:c,dataEventLabel:p})=>t.createElement("div",{className:`${Nt} ${r}`,style:n},t.createElement("div",{className:Tt,onClick:l,"data-event-category":d,"data-event-action":c,"data-event-label":p},t.createElement(he,Object.assign({},e)),s&&t.createElement("div",{className:St},s)),t.createElement("div",{className:`${zt} ${r}`,style:{minHeight:`${(null==e?void 0:e.size)||40}px`}},i||t.createElement(t.Fragment,null,a&&t.createElement(kt,null,a),o&&t.createElement(At,null,o))));Lt.MainText=kt,Lt.SubText=At,Lt.SubDivider=({className:e=""})=>t.createElement("span",{className:`${Ct} ${e}`}),Lt.Row=({children:e,className:a=""})=>t.createElement("div",{className:`${xt} ${a} row`},e),Lt.ColLeft=({children:e,className:a=""})=>t.createElement("div",{className:`${a} col-left`},e),Lt.ColRight=({children:e,className:a=""})=>t.createElement("div",{className:`${a} col-right`},e),Lt.SubTextRow=e=>{var{children:a,className:o=""}=e,i=q(e,["children","className"]);return t.createElement("div",Object.assign({className:`${Et} ${o}`},i),a)};var Vt=M((()=>({root:{},authorBadge:{background:"yellow"}})));const Pt=ne.div`
|
|
577
577
|
position: fixed;
|
|
578
578
|
left: 50%;
|
|
579
579
|
width: 343px;
|
|
@@ -583,7 +583,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
583
583
|
transform: translate(-50%, -50%);
|
|
584
584
|
transition: all 0.5s ease-in-out;
|
|
585
585
|
|
|
586
|
-
${
|
|
586
|
+
${ie.tdUp} {
|
|
587
587
|
width: 750px;
|
|
588
588
|
}
|
|
589
589
|
|
|
@@ -603,7 +603,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
603
603
|
}
|
|
604
604
|
|
|
605
605
|
.popup-content {
|
|
606
|
-
${
|
|
606
|
+
${ie.mbDown} {
|
|
607
607
|
display: block;
|
|
608
608
|
}
|
|
609
609
|
display: flex;
|
|
@@ -648,7 +648,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
648
648
|
text-align: center;
|
|
649
649
|
}
|
|
650
650
|
}
|
|
651
|
-
`,
|
|
651
|
+
`,jt=ne.div`
|
|
652
652
|
position: fixed;
|
|
653
653
|
z-index: 110;
|
|
654
654
|
top: 0;
|
|
@@ -661,7 +661,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
661
661
|
&[data-open='false'] {
|
|
662
662
|
display: none;
|
|
663
663
|
}
|
|
664
|
-
`,
|
|
664
|
+
`,Ft=ne.div`
|
|
665
665
|
.image-container {
|
|
666
666
|
.badge-avatar {
|
|
667
667
|
position: absolute;
|
|
@@ -686,7 +686,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
686
686
|
width: 24px;
|
|
687
687
|
height: 24px;
|
|
688
688
|
}
|
|
689
|
-
`,
|
|
689
|
+
`,Bt=ne.div`
|
|
690
690
|
position: relative;
|
|
691
691
|
z-index: 9;
|
|
692
692
|
.specialty {
|
|
@@ -715,20 +715,20 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
715
715
|
text-overflow: ellipsis;
|
|
716
716
|
overflow: hidden;
|
|
717
717
|
}
|
|
718
|
-
`;
|
|
718
|
+
`;ne.span`
|
|
719
719
|
display: flex;
|
|
720
720
|
flex-direction: column;
|
|
721
721
|
justify-content: center;
|
|
722
722
|
margin: 0 0.4em;
|
|
723
723
|
color: ${e=>e.theme.colors.neutral300};
|
|
724
|
-
`,
|
|
724
|
+
`,ne.div`
|
|
725
725
|
display: inline-block;
|
|
726
726
|
width: 3px;
|
|
727
727
|
height: 3px;
|
|
728
728
|
margin: 0;
|
|
729
729
|
background-color: ${e=>e.theme.colors.gray400};
|
|
730
730
|
border-radius: 50%;
|
|
731
|
-
`,
|
|
731
|
+
`,ne.div`
|
|
732
732
|
display: flex;
|
|
733
733
|
margin-top: 8px;
|
|
734
734
|
|
|
@@ -736,12 +736,12 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
736
736
|
width: 24px;
|
|
737
737
|
height: 24px;
|
|
738
738
|
}
|
|
739
|
-
`;const
|
|
739
|
+
`;const Ot=ne.ul`
|
|
740
740
|
padding-left: 18px;
|
|
741
741
|
li {
|
|
742
742
|
list-style-type: disc;
|
|
743
743
|
}
|
|
744
|
-
`;var
|
|
744
|
+
`;var Rt="data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M18 6L6 18' stroke='%23262626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M6 6L18 18' stroke='%23262626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",Mt="data:image/svg+xml,%3csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M9 16.9998C13.4183 16.9998 17 13.418 17 8.99976C17 4.58148 13.4183 0.999756 9 0.999756C4.58172 0.999756 1 4.58148 1 8.99976C1 13.418 4.58172 16.9998 9 16.9998Z' fill='white' stroke='%23E4E8EC' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M10.3333 7.66679V5.00012H7.66667V7.66679H5V10.3335H7.66667V13.0001H10.3333V10.3335H13V7.66679H10.3333Z' fill='%23FF5331'/%3e%3c/svg%3e";const It=ne.div`
|
|
745
745
|
display: flex;
|
|
746
746
|
align-items: center;
|
|
747
747
|
justify-content: center;
|
|
@@ -749,14 +749,14 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
749
749
|
button {
|
|
750
750
|
position: relative;
|
|
751
751
|
}
|
|
752
|
-
`,
|
|
752
|
+
`,Ut=le`
|
|
753
753
|
0% {
|
|
754
754
|
transform: rotate(0deg);
|
|
755
755
|
}
|
|
756
756
|
100% {
|
|
757
757
|
transform: rotate(360deg);
|
|
758
758
|
}
|
|
759
|
-
`;
|
|
759
|
+
`;ne.div`
|
|
760
760
|
display: flex;
|
|
761
761
|
width: fit-content;
|
|
762
762
|
width: -moz-fit-content;
|
|
@@ -772,12 +772,12 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
772
772
|
width: 24px;
|
|
773
773
|
height: 24px;
|
|
774
774
|
margin-bottom: 0.5rem;
|
|
775
|
-
animation: ${
|
|
775
|
+
animation: ${Ut} 1.2s linear infinite;
|
|
776
776
|
}
|
|
777
777
|
&[data-is-marrybaby='true'] {
|
|
778
778
|
box-shadow: none;
|
|
779
779
|
}
|
|
780
|
-
`;const
|
|
780
|
+
`;const Dt=({className:e,size:a="md"})=>{const{t:o}=X();return t.createElement(It,{className:e},t.createElement(ue,{size:a,color:"transparent",isLoading:!0},o("loading")))},Wt=({isOpen:e=!0,onClose:i,enableAnimation:r=!0,doctorId:n,locale:l,isMobile:s,overwriteProfileProps:d,avatarFallback:c=ae.getAssetPath("avatar.jpg"),trackingCategory:u="Together"})=>{var g,h,b;const{t:E}=X(),[C,k]=a(null),[A,N]=a(!1);o((()=>{if(e&&n&&String(null==C?void 0:C.id)!==String(n)){N(!0);try{k(null),p(m(f.GET_DOCTOR_INFO,{doctorId:n,website_url:x[l]}),"get").then((e=>{k(Object.assign(Object.assign({},null==e?void 0:e._data.doctor),d))}))}catch(e){console.error(e)}N(!1)}}),[e,n,null==C?void 0:C.id]);const z=(null==C?void 0:C.experiences)||[],T=((null==C?void 0:C.specialties)||[]).map((e=>(null==e?void 0:e.name)||e)).join(" • "),S=z.map((e=>{try{return JSON.parse(e.description)}catch(t){return e.description}})).filter((e=>e.content));return t.createElement(t.Fragment,null,t.createElement(Pt,{"data-open":e,"data-animation":r,onClick:e=>e.stopPropagation()},A||!C?t.createElement(Dt,null):t.createElement("div",{className:"popup-content"},t.createElement("div",{className:"close-button",onClick:i},t.createElement("img",{src:Rt,style:{width:20,height:20},alt:"close-icon",loading:"lazy"})),t.createElement("div",{className:"main-info"},t.createElement("div",{className:"border-banner"}),t.createElement("div",{className:"avatar-title"},t.createElement(Ft,null,t.createElement("div",{className:"image-container"},t.createElement("div",{style:{position:"relative"}},t.createElement(P,{src:null==C?void 0:C.avatar,backupSrc:c,className:"profile-image",alt:"avatar"}),t.createElement("img",{className:"badge-avatar",src:Mt,alt:"badge",loading:"lazy"})))),t.createElement(Bt,null,t.createElement(K,{size:"s3",weight:"semiBold",className:"full-name"},null==C?void 0:C.name),t.createElement("div",{className:"specialty"},T&&t.createElement(t.Fragment,null,t.createElement(K,{size:"p4",color:de.colors.gray800},T," • ")),t.createElement("a",{href:w({id:null===(g=null==C?void 0:C.organization)||void 0===g?void 0:g.id,name:null===(h=null==C?void 0:C.organization)||void 0===h?void 0:h.name,slug:null===(b=null==C?void 0:C.organization)||void 0===b?void 0:b.slug,locale:l}),className:"organisation",target:"_blank",rel:"noreferrer"},t.createElement(K,{size:"p4",className:"organisation",color:de.colors.gray800,style:{textDecoration:"underline"}},null==C?void 0:C.organization.name))))),!s&&t.createElement("div",{className:"btn-wrapper"},t.createElement("a",{href:y({name:C.name,id:C.id,locale:l})},t.createElement(ue,{color:"primary",size:"md",className:"btn-booking"},E("careBooking.bookAnAppointment"))))),S&&t.createElement(Bt,null,t.createElement("div",{className:"experience"},t.createElement(K,{weight:"bold",size:"s3",color:de.colors.gray800,style:{paddingBottom:16}},E("expert.content.description").toUpperCase()),t.createElement(Ot,null,S.map(((e,a)=>t.createElement("li",{key:a},t.createElement(K,{size:"p2"},(e=>(null==e?void 0:e.year)?`${e.year} ${null==e?void 0:e.content}`:(null==e?void 0:e.content)?e.content:"string"==typeof e?e:"")(e)))))),s?t.createElement("div",{className:"btn-wrapper"},t.createElement("a",{href:y({name:C.name,id:C.id,locale:l})},t.createElement(ue,{color:"primary",size:"md",className:"btn-booking"},E("careBooking.bookAnAppointment")))):t.createElement("a",{href:y({name:C.name,id:C.id,locale:l})},t.createElement(K,{size:"s4",color:"#2D87F3",style:{paddingTop:24},"data-event-category":u,"data-event-action":"See Full Doctor Profile","data-event-label":v(l)+y({name:C.name,id:C.id,locale:l})},E("home.seeExpert"))))))),t.createElement(jt,{"data-open":e,onClick:e=>{e.stopPropagation(),i()}}))},Ht=ne.div`
|
|
781
781
|
position: fixed;
|
|
782
782
|
left: 50%;
|
|
783
783
|
width: 343px;
|
|
@@ -787,7 +787,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
787
787
|
transform: translate(-50%, -50%);
|
|
788
788
|
transition: all 0.5s ease-in-out;
|
|
789
789
|
|
|
790
|
-
${
|
|
790
|
+
${ie.tdUp} {
|
|
791
791
|
width: 750px;
|
|
792
792
|
}
|
|
793
793
|
|
|
@@ -807,7 +807,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
807
807
|
}
|
|
808
808
|
|
|
809
809
|
.popup-content {
|
|
810
|
-
${
|
|
810
|
+
${ie.mbDown} {
|
|
811
811
|
display: block;
|
|
812
812
|
}
|
|
813
813
|
display: flex;
|
|
@@ -849,7 +849,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
849
849
|
text-align: center;
|
|
850
850
|
}
|
|
851
851
|
}
|
|
852
|
-
`,
|
|
852
|
+
`,Zt=ne.div`
|
|
853
853
|
position: fixed;
|
|
854
854
|
z-index: 110;
|
|
855
855
|
top: 0;
|
|
@@ -862,7 +862,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
862
862
|
&[data-open='false'] {
|
|
863
863
|
display: none;
|
|
864
864
|
}
|
|
865
|
-
`,
|
|
865
|
+
`,qt=ne.div`
|
|
866
866
|
.image-container {
|
|
867
867
|
.badge-avatar {
|
|
868
868
|
position: absolute;
|
|
@@ -887,7 +887,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
887
887
|
width: 24px;
|
|
888
888
|
height: 24px;
|
|
889
889
|
}
|
|
890
|
-
`,
|
|
890
|
+
`,Gt=ne.div`
|
|
891
891
|
position: relative;
|
|
892
892
|
z-index: 9;
|
|
893
893
|
.specialty {
|
|
@@ -916,20 +916,20 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
916
916
|
text-overflow: ellipsis;
|
|
917
917
|
overflow: hidden;
|
|
918
918
|
}
|
|
919
|
-
`;
|
|
919
|
+
`;ne.span`
|
|
920
920
|
display: flex;
|
|
921
921
|
flex-direction: column;
|
|
922
922
|
justify-content: center;
|
|
923
923
|
margin: 0 0.4em;
|
|
924
924
|
color: ${e=>e.theme.colors.neutral300};
|
|
925
|
-
`,
|
|
925
|
+
`,ne.div`
|
|
926
926
|
display: inline-block;
|
|
927
927
|
width: 3px;
|
|
928
928
|
height: 3px;
|
|
929
929
|
margin: 0;
|
|
930
930
|
background-color: ${e=>e.theme.colors.gray400};
|
|
931
931
|
border-radius: 50%;
|
|
932
|
-
`;const
|
|
932
|
+
`;const Xt=ne.div`
|
|
933
933
|
display: flex;
|
|
934
934
|
margin-top: 8px;
|
|
935
935
|
|
|
@@ -937,7 +937,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
937
937
|
width: 24px;
|
|
938
938
|
height: 24px;
|
|
939
939
|
}
|
|
940
|
-
`;var
|
|
940
|
+
`;var Qt="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none'%3e%3cpath fill='%2345A4FF' d='M12 24c6.627 0 12-5.373 12-12S18.627 0 12 0 0 5.373 0 12s5.373 12 12 12Z'/%3e%3cpath fill='%232D87F3' d='M24 12a12.1 12.1 0 0 0-.128-1.758l-5.077-5.077L5.041 18.958l4.858 4.858c.682.12 1.384.184 2.1.184 6.628 0 12-5.373 12-12Z'/%3e%3cpath fill='white' d='M9.014 17.824 5.04 18.959l1.135-3.973 2.368.47.47 2.368Z'/%3e%3cpath fill='%23F7F9FC' d='M8.544 15.456 5.041 18.96l3.972-1.135-.469-2.368Z'/%3e%3cpath fill='%23E4E8EC' d='M6.467 18.552 5.45 17.533 5.04 18.96l1.426-.407Z'/%3e%3cpath fill='%23D2D6DC' d='m5.957 18.043-.916.916 1.426-.407-.51-.509Z'/%3e%3cpath fill='%23FFD658' d='m15.828 5.331 2.837 2.837-9.651 9.652-2.838-2.837 9.652-9.652Z'/%3e%3cpath fill='%23FFC326' d='m7.594 16.404 9.651-9.651 1.419 1.418-9.652 9.652-1.418-1.419Z'/%3e%3cpath fill='%23FF5331' d='m18.312 8.525-2.837-2.838 1.123-1.123c.44-.44 1.154-.44 1.595 0l1.243 1.243c.44.44.44 1.154 0 1.594l-1.124 1.124Z'/%3e%3cpath fill='%23F44D2C' d='m18.816 5.186-1.921 1.92 1.418 1.419 1.124-1.124c.44-.44.44-1.154 0-1.594l-.622-.621Z'/%3e%3c/svg%3e";const Kt={author:Qt,edtior:Qt,expert:"data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='12' cy='12' r='12' fill='%23FFCB37'/%3e%3ccircle cx='12' cy='12' r='10.5' fill='%23FE921D'/%3e%3cpath d='M11.443 5.13654C11.6446 4.63466 12.355 4.63466 12.5566 5.13654L13.9931 8.71375C14.0789 8.92747 14.2795 9.0732 14.5093 9.08878L18.3553 9.34957C18.8949 9.38615 19.1145 10.0619 18.6994 10.4086L15.7412 12.8802C15.5645 13.0279 15.4878 13.2637 15.544 13.4871L16.4845 17.2254C16.6164 17.7499 16.0417 18.1676 15.5836 17.88L12.3188 15.8303C12.1238 15.7079 11.8758 15.7079 11.6808 15.8303L8.41599 17.88C7.95794 18.1676 7.38314 17.7499 7.51509 17.2254L8.45556 13.4871C8.51175 13.2637 8.43513 13.0279 8.25839 12.8802L5.30017 10.4086C4.88514 10.0619 5.10469 9.38615 5.64429 9.34957L9.49031 9.08878C9.7201 9.0732 9.92068 8.92747 10.0065 8.71375L11.443 5.13654Z' fill='white'/%3e%3c/svg%3e","fact-check":"data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M8 16C12.4183 16 16 12.4183 16 8C16 3.58172 12.4183 0 8 0C3.58172 0 0 3.58172 0 8C0 12.4183 3.58172 16 8 16Z' fill='%2300C076'/%3e%3cpath d='M11.9456 5.46631L6.66562 10.2663L4.26562 8.08449' stroke='white' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",medical:Mt},Yt=({trackingCategory:e="Together",locale:i,isOpen:r=!0,onClose:n,enableAnimation:l=!0,expertId:s,overwriteProfileProps:d,avatarFallback:c=ae.getAssetPath("avatar.jpg")})=>{const{t:m}=X(),[u,g]=a(null),[h,f]=a(!1);return o((()=>{if(r&&s&&String(null==u?void 0:u.user_id)!==String(s)){f(!0);try{g(null),p(E(C.GET_EXPERT_BY_ID,{id:s}),"get").then((e=>{g(Object.assign(Object.assign({},null==e?void 0:e.data),d))}))}catch(e){console.error(e)}f(!1)}}),[r,s,null==u?void 0:u.user_id]),t.createElement(t.Fragment,null,t.createElement(Ht,{"data-open":r,"data-animation":l,onClick:e=>e.stopPropagation()},h||!u?t.createElement(Dt,null):t.createElement("div",{className:"popup-content"},t.createElement("div",{className:"close-button",onClick:n},t.createElement("img",{src:Rt,style:{width:20,height:20},alt:"close-icon",loading:"lazy"})),t.createElement("div",{className:"main-info"},t.createElement("div",{className:"border-banner"}),t.createElement("div",{className:"avatar-title"},t.createElement(qt,null,t.createElement("div",{className:"image-container"},t.createElement("div",{style:{position:"relative"}},t.createElement(P,{src:null==u?void 0:u.avatar,className:"profile-image",alt:"avatar",backupSrc:c}),t.createElement("img",{className:"badge-avatar",src:Kt[null==u?void 0:u.role],alt:"badge",loading:"lazy"})))),t.createElement(Gt,null,t.createElement(K,{size:"s3",className:"full-name",weight:"semiBold"},null==u?void 0:u.display_name),t.createElement("div",null,t.createElement(K,{size:"p4",color:de.colors.gray800},null==u?void 0:u.specialty," • "),t.createElement("a",{href:null==u?void 0:u.organisation_url,className:"organisation",target:"_blank",rel:"noreferrer"},t.createElement(K,{size:"p4",className:"organisation",color:de.colors.gray800,style:{textDecoration:"underline"}},null==u?void 0:u.organisation)))))),t.createElement(Gt,null,t.createElement("div",{className:"experience"},t.createElement(K,{weight:"bold",size:"p4",color:de.colors.gray800,style:{paddingBottom:16}},m("expert.content.description").toUpperCase()),t.createElement("div",{className:"list-items"},!!(null==u?void 0:u.experiences)&&u.experiences.filter((e=>!(!e||!e.title&&!e.organization))).slice(0,3).map(((e,a)=>t.createElement(Xt,{key:a},t.createElement("img",{className:"bullet-point",src:"data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='12' cy='12' r='2' fill='%232D87F3'/%3e%3c/svg%3e",alt:"point",loading:"lazy"}),t.createElement("div",{className:"text-contain"},t.createElement(b,{tag:"h6",color:de.colors.gray800},null==e?void 0:e.title),t.createElement(K,{size:"p2",color:de.colors.gray500},null==e?void 0:e.organization)))))),t.createElement("a",{href:null==u?void 0:u.profile_url,style:{display:"inline-block",paddingTop:24}},t.createElement(K,{as:"span",size:"s4",color:"#2D87F3","data-event-category":e,"data-event-action":"See Full Doctor Profile","data-event-label":v(i)+(null==u?void 0:u.profile_url)},m("home.seeExpert"))))))),t.createElement(Zt,{"data-open":r,onClick:e=>{e.stopPropagation(),n()}}))},$t=ne.div`
|
|
941
941
|
position: fixed;
|
|
942
942
|
left: 50%;
|
|
943
943
|
width: 343px;
|
|
@@ -947,7 +947,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
947
947
|
transform: translate(-50%, -50%);
|
|
948
948
|
transition: all 0.5s ease-in-out;
|
|
949
949
|
|
|
950
|
-
${
|
|
950
|
+
${ie.tdUp} {
|
|
951
951
|
width: 750px;
|
|
952
952
|
}
|
|
953
953
|
|
|
@@ -967,7 +967,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
967
967
|
}
|
|
968
968
|
|
|
969
969
|
.popup-content {
|
|
970
|
-
${
|
|
970
|
+
${ie.mbDown} {
|
|
971
971
|
display: block;
|
|
972
972
|
}
|
|
973
973
|
display: flex;
|
|
@@ -1012,7 +1012,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
1012
1012
|
text-align: center;
|
|
1013
1013
|
}
|
|
1014
1014
|
}
|
|
1015
|
-
|
|
1015
|
+
`,Jt=ne.div`
|
|
1016
1016
|
position: fixed;
|
|
1017
1017
|
z-index: 110;
|
|
1018
1018
|
top: 0;
|
|
@@ -1025,7 +1025,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
1025
1025
|
&[data-open='false'] {
|
|
1026
1026
|
display: none;
|
|
1027
1027
|
}
|
|
1028
|
-
`,
|
|
1028
|
+
`,_t=ne.div`
|
|
1029
1029
|
.image-container {
|
|
1030
1030
|
.badge-avatar {
|
|
1031
1031
|
position: absolute;
|
|
@@ -1050,7 +1050,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
1050
1050
|
width: 24px;
|
|
1051
1051
|
height: 24px;
|
|
1052
1052
|
}
|
|
1053
|
-
`,
|
|
1053
|
+
`,ea=ne.div`
|
|
1054
1054
|
position: relative;
|
|
1055
1055
|
z-index: 9;
|
|
1056
1056
|
.specialty {
|
|
@@ -1074,20 +1074,20 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
1074
1074
|
p {
|
|
1075
1075
|
max-width: 100%;
|
|
1076
1076
|
}
|
|
1077
|
-
`;
|
|
1077
|
+
`;ne.span`
|
|
1078
1078
|
display: flex;
|
|
1079
1079
|
flex-direction: column;
|
|
1080
1080
|
justify-content: center;
|
|
1081
1081
|
margin: 0 0.4em;
|
|
1082
1082
|
color: ${e=>e.theme.colors.neutral300};
|
|
1083
|
-
`,
|
|
1083
|
+
`,ne.div`
|
|
1084
1084
|
display: inline-block;
|
|
1085
1085
|
width: 3px;
|
|
1086
1086
|
height: 3px;
|
|
1087
1087
|
margin: 0;
|
|
1088
1088
|
background-color: ${e=>e.theme.colors.gray400};
|
|
1089
1089
|
border-radius: 50%;
|
|
1090
|
-
`,
|
|
1090
|
+
`,ne.div`
|
|
1091
1091
|
display: flex;
|
|
1092
1092
|
margin-top: 8px;
|
|
1093
1093
|
|
|
@@ -1095,7 +1095,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
1095
1095
|
width: 24px;
|
|
1096
1096
|
height: 24px;
|
|
1097
1097
|
}
|
|
1098
|
-
`;const
|
|
1098
|
+
`;const ta=({isOpen:e=!0,onClose:r,enableAnimation:n=!0,hospitalId:l,locale:s,isMobile:d,overwriteProfileProps:c,avatarFallback:u=ae.getAssetPath("avatar.jpg"),trackingCategory:g="Together"})=>{const{t:h}=X(),[b,y]=a(null),[E,C]=a(!1);o((()=>{if(e&&l&&String(null==b?void 0:b.id)!==String(l)){C(!0);try{y(null),p(m(f.GET_HOSPITAL_INFO,{hospital_branch_id:l,website_url:x[s]}),"get").then((e=>{y(Object.assign(Object.assign({},null==e?void 0:e._data.branch),c))}))}catch(e){console.error(e)}C(!1)}}),[e,l,null==b?void 0:b.id]);const k=(null==b?void 0:b.specialties)||[],A=i((()=>k.map((e=>e.name))),[k]);return t.createElement(t.Fragment,null,t.createElement($t,{"data-open":e,"data-animation":n,onClick:e=>e.stopPropagation()},E||!b?t.createElement(Dt,null):t.createElement("div",{className:"popup-content"},t.createElement("div",{className:"close-button",onClick:r},t.createElement("img",{src:Rt,style:{width:20,height:20},alt:"close-icon",loading:"lazy"})),t.createElement("div",{className:"main-info"},t.createElement("div",{className:"border-banner"}),t.createElement("div",{className:"avatar-title"},t.createElement(_t,null,t.createElement("div",{className:"image-container"},t.createElement("div",{style:{position:"relative"}},t.createElement(P,{src:null==b?void 0:b.logo,className:"profile-image",alt:"avatar",backupSrc:u}),t.createElement("img",{className:"badge-avatar",src:Mt,alt:"badge",loading:"lazy"})))),t.createElement(ea,null,t.createElement(K,{size:"s3",weight:"semiBold",className:"full-name"},null==b?void 0:b.name),t.createElement("div",{className:"specialty"},k&&t.createElement(K,{size:"p4",color:de.colors.gray800},A.join(" • "),"•"),t.createElement("a",{href:w({id:b.id,name:b.name,slug:b.slug,locale:s}),className:"organisation",target:"_blank",rel:"noreferrer"},t.createElement(K,{size:"p4",className:"organisation",color:de.colors.gray800,style:{textDecoration:"underline"}},null==b?void 0:b.name))))),!d&&t.createElement("a",{href:w({id:b.id,name:b.name,slug:b.slug,locale:s})},t.createElement("div",{className:"btn-wrapper"},t.createElement(ue,{color:"primary",size:"md",className:"btn-booking"},h("careBooking.bookAnAppointment"))))),t.createElement(ea,null,t.createElement("div",{className:"experience"},t.createElement(K,{weight:"bold",size:"s3",color:de.colors.gray800,style:{paddingBottom:16}},h("hospital.content.description").toUpperCase()),t.createElement(K,{size:"p2",color:de.colors.gray500},b.about),d?t.createElement("a",{href:w({id:b.id,name:b.name,slug:b.slug,locale:s})},t.createElement("div",{className:"btn-wrapper"},t.createElement(ue,{color:"primary",size:"md",className:"btn-booking"},h("careBooking.bookAnAppointment")))):t.createElement("a",{href:w({id:b.id,name:b.name,slug:b.slug,locale:s})},t.createElement(K,{size:"s4",color:"#2D87F3",as:"span","data-event-category":g,"data-event-action":"See Full Hospital Profile","data-event-label":v(s)+w({id:b.id,name:b.name,slug:b.slug,locale:s})},h("home.seeHospital"))))))),t.createElement(Jt,{"data-open":e,onClick:e=>{e.stopPropagation(),r()}}))};var aa="_2UKyiK1",oa="E5ga-tI",ia="_8Y2nWXX",ra="d0T7kSP";const na=({open:e,onClose:a,children:o,profileModalProps:i})=>{const{t:r}=X();return t.createElement(Ne,Object.assign({className:aa,opened:e,onClose:a,overlayOpacity:.2,overflow:"inside",styles:{inner:{padding:0,justifyContent:"flex-end"},modal:{height:"100%",borderRadius:0},body:{padding:"24px",maxHeight:"100%"},content:{maxHeight:"100%",height:"100%",borderRadius:0}},title:"Profile"},i),t.createElement("div",{className:oa},t.createElement("div",{className:ia},r("profilePanel.modal.heading")),t.createElement("div",{className:ra,onClick:a},t.createElement(Le,null))),o)};oe.extend(Ee);const la=n({}),sa=e=>{const{className:i="",community:r,name:n,username:s,url:d,avatar:c,role:p,title:m,userType:g="user",expertId:h,specialty:v,organisation:b,isMarryBaby:f,doctorId:x,hospitalId:w,hasQuickBooking:y,handleMakeAppointment:E,communityTrackingAttr:C,isAnonymous:k,showDetailPopup:A,subLine:N,authActionWrapper:z,profileProps:T,profileModalProps:S,extendEle:L,avatarProps:V,hideInfo:P,timeText:F,onCloseFromPost:B,avatarIcon:O,badgeIconSize:R,hideBackground:M,children:W,styles:H,dataEventCategory:Z,dataEventAction:q,dataEventLabel:G}=e,{data:{locale:Q,router:K,env:{isMarryBaby:Y,togetherBasePath:$}}}=l(u),{isMobile:J}=j(),{t:ee}=X(),{classes:te}=Vt(void 0,{name:"CardAuthor",styles:H}),oe="boolean"==typeof f?f:Y,ie=oe?"marryBaby":"helloSites",ne=k?ee("cardPost.anonymous"):n||s||"",le=k?ae.getAssetPath("avatar.jpg"):c,se=k?void 0:p,[ce,pe]=a(!1),{asPath:me}=K||{},ue=`https://${_[Q]}${me}`,ge=()=>{if(k||"chatbot"===g)return!1;A?ve(!0):d&&(window.location.href=d)};o((()=>{re(ce)}),[ce]);const[he,ve]=a(!1),be="expert"===(null==e?void 0:e.role),fe=Boolean(x||w),xe=["expert"===se&&b&&t.createElement("span",null,b),"expert"===se&&v&&t.createElement("span",null,v),!("expert"===se&&v&&b)&&(null==r?void 0:r.name)&&t.createElement("a",Object.assign({href:(null==r?void 0:r.slug)&&r.isActive&&!r.isHidden?`${$}/${null==r?void 0:r.slug}/`:void 0,className:"author-community-name"},C),`${null==r?void 0:r.name}`),F&&t.createElement("span",null,F)].filter(Boolean),[we,ye]=a(null);return o((()=>{he&&!we&&Promise.resolve().then((function(){return bi})).then((e=>{ye((()=>e.ProfileDetail))}))}),[he]),t.createElement(la.Provider,{value:{handleMakeAppointment:E,doctorId:x,hospitalId:w,currentUrl:ue}},t.createElement(na,{open:he,onClose:()=>ve(!1),profileModalProps:S},we&&t.createElement(we,Object.assign({currentPageUrl:G,authActionWrapper:z,onCloseFromPost:()=>{ve(!1),null==B||B()}},T,{authorProps:Object.assign({userId:null==e?void 0:e.userId,avatar:le,name:null==e?void 0:e.name,role:null==e?void 0:e.role,title:null==e?void 0:e.title,doctorId:x,hospitalId:w,hasQuickBooking:y},null==T?void 0:T.authorProps)}))),"expert"===se&&h?t.createElement(Yt,{isOpen:ce,onClose:()=>pe(!1),expertId:h}):null,"expert"===se&&x?t.createElement(Wt,{isOpen:ce,onClose:()=>pe(!1),doctorId:x,locale:Q}):null,"expert"===se&&w?t.createElement(ta,{isOpen:ce,onClose:()=>pe(!1),hospitalId:w,locale:Q}):null,t.createElement("div",{className:`hhg-card-author ${te.root} ${i} ${be?"expert-author":""}`,"data-background":!M&&be,"data-is-marrybaby":oe},t.createElement(Lt,{dataEventCategory:Z,dataEventAction:q,dataEventLabel:G,onAvatarClick:ge,avatarProps:Object.assign(Object.assign({avatar:k?ae.getAssetPath(oe?"anomyous-avatar-1.svg":"anomyous-avatar.svg"):le,username:ne},V),{style:{cursor:k||!d&&!A?"default":"pointer"}}),avatarIcon:O||be&&t.createElement(bt,{size:R||15})},W?t.createElement("div",{onClick:ge},W):!P&&t.createElement(Lt.Row,null,t.createElement(Lt.ColLeft,null,t.createElement(I,{align:"center",onClick:ge},t.createElement(Lt.MainText,{onClick:ge},ne,"chatbot"===g?t.createElement(t.Fragment,null," ",t.createElement(ft,{color:de.colors.primaryBase,size:16,style:{display:"inline-block",transform:"translate(0, 2px)"}})):se&&t.createElement(Pe,{className:te.authorBadge,siteType:ie,role:se,title:m,style:{verticalAlign:"bottom"}}))),N||t.createElement(Lt.SubTextRow,{style:y?{position:"relative"}:{}},xe.map(((e,a)=>t.createElement(t.Fragment,null,0!==a&&t.createElement(Lt.SubDivider,null),t.createElement(Lt.SubText,null,e)))),y&&fe&&t.createElement(U,{sx:{marginTop:D(5)}},t.createElement(Be,{bookingId:x||w,bookingType:x?"doctor":w?"hospital":void 0,size:J?"xs":"sm"})))))),L&&L))};sa.MainText=Lt.MainText,sa.SubText=Lt.SubText,sa.SubTextRow=Lt.SubTextRow,sa.SubDivider=Lt.SubDivider;const da=ne.div`
|
|
1099
1099
|
position: relative;
|
|
1100
1100
|
display: flex;
|
|
1101
1101
|
height: 100%;
|
|
@@ -1173,12 +1173,12 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
1173
1173
|
.swich-input-group {
|
|
1174
1174
|
padding: 12px 16px;
|
|
1175
1175
|
border-radius: 8px;
|
|
1176
|
-
background: ${
|
|
1176
|
+
background: ${de.colors.neutral50};
|
|
1177
1177
|
|
|
1178
1178
|
&.askdoctor-switch {
|
|
1179
|
-
background: ${
|
|
1179
|
+
background: ${de.colors.primary50};
|
|
1180
1180
|
&.mb-color {
|
|
1181
|
-
background: ${
|
|
1181
|
+
background: ${de.mbColors.tonePink};
|
|
1182
1182
|
}
|
|
1183
1183
|
|
|
1184
1184
|
|
|
@@ -1197,21 +1197,21 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
1197
1197
|
.label-txt {
|
|
1198
1198
|
font-weight: normal;
|
|
1199
1199
|
font-size: 14px;
|
|
1200
|
-
color: ${
|
|
1200
|
+
color: ${de.colors.gray800};
|
|
1201
1201
|
margin-left: 10px;
|
|
1202
1202
|
}
|
|
1203
1203
|
}
|
|
1204
|
-
`,
|
|
1204
|
+
`,ca=ne.div`
|
|
1205
1205
|
display: flex;
|
|
1206
1206
|
width: 100%;
|
|
1207
1207
|
align-items: center;
|
|
1208
1208
|
justify-content: space-between;
|
|
1209
1209
|
padding: 12px 16px;
|
|
1210
1210
|
border-radius: 8px;
|
|
1211
|
-
background: ${
|
|
1211
|
+
background: ${de.colors.primary50};
|
|
1212
1212
|
|
|
1213
1213
|
&[data-is-marry-baby='true'] {
|
|
1214
|
-
background: ${
|
|
1214
|
+
background: ${de.mbColors.tonePink};
|
|
1215
1215
|
}
|
|
1216
1216
|
.switch-label {
|
|
1217
1217
|
display: flex;
|
|
@@ -1219,9 +1219,9 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
1219
1219
|
gap: 12px;
|
|
1220
1220
|
}
|
|
1221
1221
|
margin-bottom: 12px;
|
|
1222
|
-
`,
|
|
1222
|
+
`,pa=ne.div`
|
|
1223
1223
|
margin-bottom: 12px;
|
|
1224
|
-
color: ${
|
|
1224
|
+
color: ${de.colors.red700};
|
|
1225
1225
|
svg {
|
|
1226
1226
|
margin-right: 5px;
|
|
1227
1227
|
}
|
|
@@ -1229,7 +1229,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
1229
1229
|
span {
|
|
1230
1230
|
vertical-align: middle;
|
|
1231
1231
|
}
|
|
1232
|
-
`,
|
|
1232
|
+
`,ma=/<mocka ([^>]*)data-url="true"[^<>]*>(.*?)<\/mocka>/gim,ua=/((?:=")|(?:data-url="true">)|)(https?:\/\/(www\.)?(?:\([-A-Z0-9+&@#\/%=~_|$?!:,.]*\)|[-A-Z0-9+&@#\/%=~_|$?!:,.])*(?:\([-A-Z0-9+&@#\/%=~_|$?!:,.]*\)|[A-Z0-9+&@#\/%=~_|$]))/gim,ga=/\[a\+href="([^<"]+)"(?:\+text=\"([^<"]+)")?\]/gim,ha=/<mention [^>]*data-id="([^<"]+)"[^>]*>([^<]+)<\/mention>/gim,va=/<mention [^>]*data-id="([^<"]+)" [^\>]*data-name="([^<"]+)"[^>]*>([^<]+)<\/mention>/gim,ba=/\[mention\+id="([^<"]+)"([^\]]*)\]/gim,fa=/^(https?:\/\/(www\.)?(?:\([-A-Z0-9+&@#\/%=~_|$?!:,.]*\)|[-A-Z0-9+&@#\/%=~_|$?!:,.])*(?:\([-A-Z0-9+&@#\/%=~_|$?!:,.]*\)|[A-Z0-9+&@#\/%=~_|$]))$/gim,xa=/^((https?:\/\/)?(www\.)?(?:\([-A-Z0-9+&@#\/%=~_|$?!:,.]*\)|[-A-Z0-9+&@#\/%=~_|$?!:,.])*(?:\([-A-Z0-9+&@#\/%=~_|$?!:,.]*\)|[A-Z0-9+&@#\/%=~_|$]))$/gim,wa=/<a [^>]*href="([^>"]+)"[^>]*>([^<]+)<\/a>/gim,ya=/<mocka [^\>]*data-bad-word="[^\"]*" [^\>]*data-error="true"[^\>]*>(.*?)<\/mocka>/gim,Ea=({url:e,text:t,method:a})=>{const o=t.indexOf(t.trimStart()),i=t.trimEnd().length,r=t.substring(0,o),n=t.substring(o,i),l=t.substring(i);return"edit"===a?`${r}<mocka data-href="${e}" data-url="true">${n}</mocka>${l}`:"display"===a&&(e.startsWith("http://")||e.startsWith("https://"))?`${r}<a href="${e}" target="_blank">${n}</a>${l}`:t},Ca=(e,t)=>e.replace(ga,((e,a,o)=>Ea({text:o||a,url:a,method:t}))).replace(wa,((e,a,o)=>Ea({text:o||a,url:a,method:t}))),ka=(e,t=[])=>e.replace(ba,((e,a,o)=>{const i=t.find((e=>String(e.id)===a));if(!i){if(!o)return"";let e="";return o.replace(/\+name="([^<"]+)"/i,((t,a)=>(e=a,t))),`<mention data-id="${a}" data-name="${e}">${e}</mention>`}return`<mention data-id="${a}" data-name="${i.name}">${i.name}</mention>`})),Aa=e=>{const t=[];return e.replace(/(\&)+/g,"&").replace(ua,((e,a,o)=>('="'!==a&&'data-url="true">'!==a&&t.push(o),e))),t},Na=(e,t)=>{const a=[];return e.replace(ha,((e,t)=>(a.push(t),e))).replace(ba,((e,t)=>(a.push(t),e))),t?a:Array.from(new Set(a)).slice(0,30)},za=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),Ta=e=>e.replace(ya,"$1"),Sa=(e,t=(e=>e))=>((e,t=(e=>e))=>{var a;return t(null===(a=e.replace(/(\ )+/g," ").replace(/(\&)+/g,"&"))||void 0===a?void 0:a.replace(/(\u200c|‌)+/g,"").replace(ua,((e,t,a)=>'="'!==t&&'data-url="true">'!==t?`<a href="${a}" target="_blank">${a}</a>`:e)).replace(ma,((e,t,a)=>{var o;const i=null===(o=t.match(/data-href="([^"]*)"/im))||void 0===o?void 0:o[1];return i?`<a href="${i}" target="_blank">${a}</a>`:`<a href="${a}" target="_blank">${a}</a>`})))})((e=>e.replace(ha,((e,t,a)=>`[mention+id="${t}"+name="${a}"]`)))(Ta(e)),t),La=["hellobacsi.com","hellosehat.com","hellodoktor.com","hellokrupet.com","hellodoctor.com.ph","hellokhunmor.com","hellosayarwon.com","helloyishi.com.tw","helloswasthya.com","marrybaby.vn"],Va=e=>e.match(xa)?e.startsWith("https://")||e.startsWith("http://")?e:`https://${e}`:"",Pa=(e,t)=>{const a=t.filter(Boolean);if(e&&a.length>0){return Ta(e).replace(new RegExp(`\\b(${a.map((e=>za(e))).join("|")})\\b`,"gi"),((e,t)=>{const a=document.createElement("mocka");return a.setAttribute("data-bad-word",t),a.setAttribute("data-error","true"),a.innerText=t,`${a.outerHTML}`}))}return e},ja=e=>{var t;if(!e.includes("youtu"))return"";return(null===(t=/(.*?)(^|\/|v=)([a-z0-9_-]{11})(.*)?/gim.exec(e))||void 0===t?void 0:t[3])||""},Fa=(e,t,a)=>"string"==typeof e?Promise.resolve(e):G(void 0,void 0,void 0,(function*(){var o;const i=new FormData;if(e.type.startsWith("image/gif"))i.append("image",e);else{const t=yield import("browser-image-compression"),a=yield t.default(e,{maxSizeMB:.4,maxWidthOrHeight:1536,useWebWorker:!0});i.append("image",a)}const r=a?z:T,n=yield r(k(a?A.COMMENT.IMAGE_UPLOAD:N.COMMENT.IMAGE_UPLOAD,{_locale:t}),"POST",{data:i});return(null===(o=null==n?void 0:n.data)||void 0===o?void 0:o.image)||""})),Ba=ne.div`
|
|
1233
1233
|
input:focus,
|
|
1234
1234
|
textarea:focus,
|
|
1235
1235
|
[contenteditable='true'] {
|
|
@@ -1348,7 +1348,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
1348
1348
|
margin-right: 8px;
|
|
1349
1349
|
}
|
|
1350
1350
|
}
|
|
1351
|
-
`,
|
|
1351
|
+
`,Oa=ne.div`
|
|
1352
1352
|
height: 100%;
|
|
1353
1353
|
position: relative;
|
|
1354
1354
|
width: 100%;
|
|
@@ -1547,7 +1547,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
1547
1547
|
}
|
|
1548
1548
|
}
|
|
1549
1549
|
}
|
|
1550
|
-
`;let Oa=null;function Ra(e){var t,a;let o=-1;if(void 0!==window.getSelection){const i=window.getSelection();if((null==i?void 0:i.rangeCount)&&(null==i?void 0:i.rangeCount)>0){const i=null===(t=window.getSelection())||void 0===t?void 0:t.getRangeAt(0);if(i){const t=i.cloneRange();t.selectNodeContents(e),t.setEnd(i.endContainer,i.endOffset),o=Ma(t.cloneContents().childNodes,o);const r=null===(a=i.endContainer.parentElement)||void 0===a?void 0:a.closest("mocka"),n=i.endContainer.nodeValue||i.endContainer.outerHTML;r&&(null==n?void 0:n.length)&&(o=o-i.endOffset+(r.outerHTML.length-(null==r?void 0:r.outerHTML.lastIndexOf(n))))}}}return o}function Ma(e,t){return e.forEach(((a,o)=>{const i=o+1===e.length;if(a.nodeType===Node.ELEMENT_NODE){const e=a.outerHTML;if(!i)return void(t+=e.length);t+=e.indexOf(">")+1,t=Ma(a.childNodes,t)}else a.nodeType===Node.TEXT_NODE&&(t+=(a.nodeValue||"").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").length)})),t}G(void 0,void 0,void 0,(function*(){if("undefined"==typeof window)return;const e=yield import("react-quill");Oa=e.default;const t=e.Quill||Oa.Quill;t.register("modules/preserveWhiteSpace",class{constructor(e,t){this.quill=e,this.options=t,e.container.style.whiteSpace="pre-line"}});const a=t.import("blots/inline");class o extends a{static create(e){if(!e)return super.create(!1);const t=super.create(e);return o.setNodeConfigurations(t,e),t}static formats(e){return!(!e.innerText||!(e.getAttribute("data-href")||e.getAttribute("data-url")||e.getAttribute("data-error")||e.getAttribute("data-bad-word")))&&{"data-bad-word":e.getAttribute("data-bad-word"),"data-error":e.getAttribute("data-error"),"data-href":e.getAttribute("data-href"),"data-url":e.getAttribute("data-url"),"data-text":e.innerText||e.getAttribute("data-href")}}static setNodeConfigurations(e,t){var a,o;t&&(null===(o=null===(a=null==t?void 0:t["data-text"])||void 0===a?void 0:a.replace(/(\ )+/g," "))||void 0===o?void 0:o.replace(/(\u200c|‌)+/g,""))&&(t["data-bad-word"]&&e.setAttribute("data-bad-word",t["data-bad-word"]),t["data-href"]&&e.setAttribute("data-href",t["data-href"]),t["data-error"]&&e.setAttribute("data-error",t["data-error"]),t["data-url"]&&e.setAttribute("data-url",t["data-url"]))}}o.blotName="mocka1",o.tagName="mocka",t.register(o);class i extends a{static create(e){if(!e)return super.create(!1);const t=super.create(e);return i.setNodeConfigurations(t,e),t}static formats(e){return!(!e.getAttribute("data-name")||!e.getAttribute("data-id"))&&{"data-name":e.getAttribute("data-name"),"data-id":e.getAttribute("data-id")}}static setNodeConfigurations(e,t){var a,o;t&&t["data-id"]&&(null===(o=null===(a=null==t?void 0:t["data-name"])||void 0===a?void 0:a.replace(/(\ )+/g," "))||void 0===o?void 0:o.replace(/(\u200c|‌)+/g,""))&&(t["data-id"]&&e.setAttribute("data-id",t["data-id"]),t["data-name"]&&e.setAttribute("data-name",t["data-name"]))}}i.blotName="mention",i.tagName="mention",t.register(i)}));const Ia=(e,t)=>{var a;const{formatUrl:o,bannedWords:i=[]}=t||{},r=e.replace(/<font [^\>]*>(.+)<\/font>/gim,((e,t)=>t.replace(/<u[^\>]*>(.+)<\/u>/gim,"$1"))).replace(ha,((e,t,a,o)=>{if(o!==a){const e=a.split(" "),i=e.findIndex(((t,a)=>{const i=e.slice(0,a+1).join(" ");return!o.startsWith(i)}));if(0===i)return`@${o}`;{const a=(i<0?e:e.slice(0,i)).join(" "),r=o.slice(a.length).trim();return console.log(i,a,r),`<mention data-id="${t}" data-name="${a}">${a}</mention> ${r} `}}return e}));if(!o)return{value:Va(r,i)};let n=(e=>e.replace(wa,((e,t)=>{const a=document.createElement("div");a.innerHTML=e;const o=a.firstChild;return(null==o?void 0:o.innerText)!==(null==o?void 0:o.getAttribute("data-bad-word"))?t:e})))((e=>{var t,a;return null===(a=null===(t=e.replace(/(\ )+/g," "))||void 0===t?void 0:t.replace(/(\u200c|‌)+/g,""))||void 0===a?void 0:a.replace(pa,((e,t,a)=>{var o;const i=null===(o=t.match(/data-href="([^"]*)"/im))||void 0===o?void 0:o[1];return!i||i===a||a.match(ba)?a:i?`<a href="${i}">${a}</a>`:`<a href="${a}">${a}</a>`})).replace(ma,((e,t,a)=>{if('="'!==t&&'data-url="true">'!==t){const e=a.toLowerCase(),t=`${e.startsWith("http")?"":" https://"}${e}`;return ya({text:t,url:t,method:"edit"})}return e})).replace(xa,((e,t,a)=>ya({text:a||t,url:t,method:"edit"})))})(r));const l=(e=>{var t;return[...ka(e),...(null===(t=e.match(pa))||void 0===t?void 0:t.map((e=>{var t,a;const o=null===(t=e.match(/data-href="([^"]*)"/im))||void 0===t?void 0:t[1],i=null===(a=e.match(/>(.*?)<\/mocka>/im))||void 0===a?void 0:a[1];return o||i})))||[]].filter((e=>!!e))})(r);if(l){const e=[];let t="";return l.forEach((t=>{if(t)try{const a=new URL(t);Sa.some((e=>a.origin.endsWith(e)))||e.push(t)}catch(a){e.push(t)}})),e.length>0&&(n=n.replace(new RegExp(`data-url="true">(${e.map(Na).join("|")})<`,"gi"),'data-error="true" data-url="true">$1<').replace(new RegExp(`data-href="(${e.map(Na).join("|")})" data-url="true">`,"gi"),'data-href="$1" data-error="true" data-url="true">')),t=null===(a=l.filter((t=>-1===e.indexOf(t))))||void 0===a?void 0:a[0],{invalidUrls:e,previewUrl:t,value:Va(n,i)}}return{value:Va(n,i)}},Ua=({html:e,onChange:i,className:n,style:d,onImagePickerClick:c,bannedWords:m=[],onInvalidUrlsChange:h,onPreviewUrlChange:v,setEditorRef:b,isReplying:f})=>{var x,w,y,E;const C=s([]);C.current=m;const[S,L]=a([]),[V,P]=a(null),{data:{locale:j}}=l(u),F=(null==m?void 0:m.join(","))||"";o((()=>{var e,t;const a=null===(t=null===(e=W.current)||void 0===e?void 0:e.getEditor())||void 0===t?void 0:t.root.innerHTML;R(a)}),[F]);const B=e=>{V&&V.url===e||(P({url:e,isFetching:!0}),p(k(N.FETCH_PREVIEW,{_locale:j}),"POST",{data:{link:e}}).then((t=>{var a,o,i,r;P({title:null===(a=null==t?void 0:t.data)||void 0===a?void 0:a.title,description:null===(o=null==t?void 0:t.data)||void 0===o?void 0:o.description,image:(null===(i=null==t?void 0:t.data)||void 0===i?void 0:i.image)||(null===(r=null==t?void 0:t.data)||void 0===r?void 0:r.logo),url:e})})).catch((()=>{P(null)})))},O=s(B);O.current=B;const R=r(ke((e=>{if(e){const t=Ia(e,{bannedWords:C.current,formatUrl:!0}),{invalidUrls:a,previewUrl:o,value:r}=t;a&&L(a),o?O.current(o):P(null),r!==e&&(null==i||i(r))}}),500),[]);o((()=>{h&&h(S)}),[S]),o((()=>{v&&((null==V?void 0:V.url)?v({title:V.title||"",url:V.url||"",image:V.image||"",description:V.description||""}):v(null))}),[V]);const M=s(c);M.current=c;const I=Q(),U=s({toolbar:{handlers:{image:()=>{var e;return null===(e=M.current)||void 0===e?void 0:e.call(M)},link:()=>!1},container:"#toolbar-"+I},preserveWhiteSpace:!0}),D=s(-1),W=s(null);b&&(null===(w=null===(x=W.current)||void 0===x?void 0:x.getEditor())||void 0===w?void 0:w.root)&&b(null===(E=null===(y=W.current)||void 0===y?void 0:y.getEditor())||void 0===E?void 0:E.root);const H=()=>{var e,t,a,o,i,r,n,l;if(null===(t=null===(e=W.current)||void 0===e?void 0:e.getEditor())||void 0===t?void 0:t.root){const e=Ra(null===(o=null===(a=W.current)||void 0===a?void 0:a.getEditor())||void 0===o?void 0:o.root),t=null===(r=null===(i=W.current)||void 0===i?void 0:i.getEditor())||void 0===r?void 0:r.root.innerHTML;if(e>=0&&e<t.length){if(Aa(t,!0).length<30-(f?1:0)){const e=function(e){var t,a;let o=null;if(void 0!==window.getSelection){const i=window.getSelection();if((null==i?void 0:i.rangeCount)&&(null==i?void 0:i.rangeCount)>0){const i=null===(t=window.getSelection())||void 0===t?void 0:t.getRangeAt(0);if(i){const t=i.cloneRange();t.selectNodeContents(e),t.setEnd(i.endContainer,i.endOffset);const r=(t.endContainer.nodeValue||"").substring(0,i.endOffset),n=r.lastIndexOf("@");if(n+1<r.length&&(0===n||" @"===r.slice(n-1,n+1))){const e=null===(a=r.slice(n+1))||void 0===a?void 0:a.trim();if(e){t.setStart(i.endContainer,n);const a=t.cloneRange();a.setStart(a.endContainer,n),o={name:e,rect:t.getBoundingClientRect(),replaceRange:a}}}}}}return o}(null===(l=null===(n=W.current)||void 0===n?void 0:n.getEditor())||void 0===l?void 0:l.root);e?($(e.name,e.rect),ee.current=e.replaceRange):(ee.current=null,$("",null))}else ee.current=null,$("",null);D.current=e}}else q([])},[Z,q]=a([]),[X,Y]=a({top:0,left:0}),$=r(ke(((e,t,a)=>G(void 0,void 0,void 0,(function*(){var o,i,r,n;if(!e||!DOMRect)return q([]);const l=yield((null===(o=ze(g))||void 0===o?void 0:o.length)||0)>0?T(k(N.SEARCH_USER,{_locale:j,name:e}),"get"):z(k(A.SEARCH_USER,{_locale:j,name:e}),"get");oe(0),q(null===(r=null===(i=null==l?void 0:l.data)||void 0===i?void 0:i.users)||void 0===r?void 0:r.filter((e=>!(null==a?void 0:a.includes(String(e.id))))));const s=t,d=null===(n=_.current)||void 0===n?void 0:n.getBoundingClientRect();if(s&&d){const e=343,t=256,a={top:s.bottom-d.top,width:"min(343px, 100%)",maxHeight:t};d.width-(s.left-d.left)<e?a.right=0:a.left=s.left-d.left,Y(a)}}))),500),[]),J=(e,t)=>{var a,o,i;if(ee.current){ee.current.deleteContents();const r=document.createElement("mention");r.setAttribute("data-id",e),r.setAttribute("data-name",t),r.innerText=t;const n=document.createTextNode(" ");ee.current.insertNode(n),ee.current.insertNode(r);(null===(o=null===(a=W.current)||void 0===a?void 0:a.getEditor())||void 0===o?void 0:o.root).focus();const l=null===(i=window.getSelection())||void 0===i?void 0:i.getRangeAt(0);null==l||l.setStart(ee.current.endContainer,ee.current.endOffset),null==l||l.setEnd(ee.current.endContainer,ee.current.endOffset)}q([])},_=s(null),ee=s(null),te=s(null),[ae,oe]=a(0);return o((()=>{if(te.current){const e=te.current,t=e.children.item(ae);if(t){const a=e.getBoundingClientRect(),o=t.getBoundingClientRect();t.offsetTop<e.scrollTop?e.scrollTop=t.offsetTop:t.offsetTop+o.height>e.scrollTop+a.height&&(e.scrollTop=t.offsetTop-a.height+o.height)}}}),[ae]),o((()=>{const e=function(e){var t;(null===(t=_.current)||void 0===t?void 0:t.contains(e.target))||q([])};return window.addEventListener("click",e,{passive:!0}),()=>{window.removeEventListener("click",e)}}),[]),t.createElement(Ba,{ref:_,className:n,style:d,onKeyDownCapture:e=>{if(null==Z?void 0:Z.length){let t=!1;if("ArrowDown"===e.key)t=!0,oe((e=>e+1>=Z.length?0:e+1));else if("Escape"===e.key)t=!0,oe(0),q([]);else if("ArrowUp"===e.key)t=!0,oe((e=>e-1<0?Z.length-1:e-1));else if("Enter"===e.key||"Tab"===e.key){const e=Z[ae];e&&(t=!0,J(e.id,e.name))}if(t)return e.preventDefault(),!1}}},t.createElement(Da,{id:I,onAddLink:(e,t)=>{var a,o;const r=D.current+1,n=null===(o=null===(a=W.current)||void 0===a?void 0:a.getEditor())||void 0===o?void 0:o.root.innerHTML,l=((null==n?void 0:n.substring(0,r))||"")+`<mocka data-href="${t}" data-url="true">${e}</mocka> `+((null==n?void 0:n.substring(r))||"");null==i||i(l),R(l)}}),Oa&&t.createElement(Oa,{ref:W,theme:"snow",value:e,onChange:e=>{null==i||i(e),R(e),H()},onChangeSelection:()=>{H()},modules:U.current,formats:["mocka1","mention","id","key","bold","italic","underline","list","bullet"]}),!!(null==Z?void 0:Z.length)&&t.createElement("div",{ref:te,className:"mention-search-container",style:X},Z.map(((e,a)=>t.createElement("div",{className:"mention-search-item "+(ae===a?"item-selected":""),key:e.id,onClick:t=>{t.preventDefault(),t.stopPropagation(),J(e.id,e.name)},onMouseEnter:()=>{oe(a)}},t.createElement(ge,{className:"search-avatar",username:e.name,avatar:e.avatar}),t.createElement("div",null,t.createElement(K,{size:"p2"},e.name),t.createElement(K,{size:"p4",color:"#595959"},"@",e.username)))))))},Da=({onAddLink:e,id:a})=>t.createElement("div",{id:"toolbar-"+a,onClick:e=>{e.preventDefault(),e.stopPropagation()}},t.createElement("span",{className:"ql-formats"},t.createElement("button",{className:"ql-bold",type:"button"}),t.createElement("button",{className:"ql-italic",type:"button"}),t.createElement("button",{className:"ql-underline",type:"button"})),t.createElement("span",{className:"ql-formats"},t.createElement("button",{className:"ql-list",value:"ordered",type:"button"}),t.createElement("button",{className:"ql-list",value:"bullet",type:"button"})),t.createElement("span",{className:"ql-formats"},t.createElement("button",{className:"ql-image",type:"button"}),e&&t.createElement(pt,{className:"link-tool-wrapper",toggleButtonContent:t.createElement("img",{className:"link-icon",src:"data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M9.54545 16H7.09091C6.55368 16 6.02172 15.8965 5.52539 15.6955C5.02905 15.4945 4.57808 15.1999 4.1982 14.8284C3.43101 14.0783 3 13.0609 3 12C3 10.9391 3.43101 9.92172 4.1982 9.17157C4.96539 8.42143 6.00593 8 7.09091 8H9.54545M13.9256 8H16.9091C17.4463 8 17.9783 8.10346 18.4746 8.30448C18.9709 8.5055 19.4219 8.80014 19.8018 9.17157C20.1817 9.54301 20.483 9.98396 20.6886 10.4693C20.8942 10.9546 21 11.4747 21 12C21 12.5253 20.8942 13.0454 20.6886 13.5307C20.483 14.016 20.1817 14.457 19.8018 14.8284C19.4219 15.1999 18.9709 15.4945 18.4746 15.6955C17.9783 15.8965 17.4463 16 16.9091 16H13.9256' stroke='%23737373' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M9 12H15' stroke='%23737373' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",loading:"lazy"}),buttonProps:{size:"md",color:"transparent"},align:"end"},(({setShow:a})=>t.createElement(Ha,{onAddUrl:e,setShow:a}))))),Wa=["notification.limitUrlDomain","notification.urlWrongFormat"],Ha=({onAddUrl:e,setShow:o})=>{const{data:{env:{isMarryBaby:i}}}=l(u),{t:r}=X(),[n,s]=a(""),[d,c]=a(""),[p,m]=a(-1),g=n.trim()&&d.trim()&&p<0;return t.createElement("div",{className:"link-tool-popover"},t.createElement(ue,{name:"url",value:n,size:"md",label:"URL",placeholder:r("placeholder.enterUrlHere"),type:"text",className:"link-input-url",onChange:e=>{s(e),(e=>{const t=La(e.trim());try{const e=new URL(t);return e.protocol.startsWith("http")?Sa.some((t=>e.origin.endsWith("/"+t)||e.origin.endsWith("."+t)))?(m(-1),!0):(m(0),!1):(m(1),!1)}catch(e){return m(1),!1}})(e)}}),p>=0&&t.createElement(K,{size:"c2",className:"error-text"},r(Wa[p])),t.createElement(ue,{name:"text",value:d,size:"md",label:r("createPost.urlText"),placeholder:r("placeholder.enterUrlTextHere"),type:"text",className:"link-input-text",onChange:e=>c(e)}),t.createElement("div",{"data-is-marrybaby":i,className:"link-input-button-wrapper"},t.createElement(me,{theme:i?"marryBaby":"helloSites",size:"sm",color:"primary",className:"link-input-button",onClick:()=>{g&&(e(d.trim(),La(n.trim())),o&&o(!1))},isDisabled:!g},r("insert"))))},Za=re.div`
|
|
1550
|
+
`;let Ra=null;function Ma(e){var t,a;let o=-1;if(void 0!==window.getSelection){const i=window.getSelection();if((null==i?void 0:i.rangeCount)&&(null==i?void 0:i.rangeCount)>0){const i=null===(t=window.getSelection())||void 0===t?void 0:t.getRangeAt(0);if(i){const t=i.cloneRange();t.selectNodeContents(e),t.setEnd(i.endContainer,i.endOffset),o=Ia(t.cloneContents().childNodes,o);const r=null===(a=i.endContainer.parentElement)||void 0===a?void 0:a.closest("mocka"),n=i.endContainer.nodeValue||i.endContainer.outerHTML;r&&(null==n?void 0:n.length)&&(o=o-i.endOffset+(r.outerHTML.length-(null==r?void 0:r.outerHTML.lastIndexOf(n))))}}}return o}function Ia(e,t){return e.forEach(((a,o)=>{const i=o+1===e.length;if(a.nodeType===Node.ELEMENT_NODE){const e=a.outerHTML;if(!i)return void(t+=e.length);t+=e.indexOf(">")+1,t=Ia(a.childNodes,t)}else a.nodeType===Node.TEXT_NODE&&(t+=(a.nodeValue||"").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").length)})),t}G(void 0,void 0,void 0,(function*(){if("undefined"==typeof window)return;const e=yield import("react-quill");Ra=e.default;const t=e.Quill||Ra.Quill;t.register("modules/preserveWhiteSpace",class{constructor(e,t){this.quill=e,this.options=t,e.container.style.whiteSpace="pre-line"}});const a=t.import("blots/inline");class o extends a{static create(e){if(!e)return super.create(!1);const t=super.create(e);return o.setNodeConfigurations(t,e),t}static formats(e){return!(!e.innerText||!(e.getAttribute("data-href")||e.getAttribute("data-url")||e.getAttribute("data-error")||e.getAttribute("data-bad-word")))&&{"data-bad-word":e.getAttribute("data-bad-word"),"data-error":e.getAttribute("data-error"),"data-href":e.getAttribute("data-href"),"data-url":e.getAttribute("data-url"),"data-text":e.innerText||e.getAttribute("data-href")}}static setNodeConfigurations(e,t){var a,o;t&&(null===(o=null===(a=null==t?void 0:t["data-text"])||void 0===a?void 0:a.replace(/(\ )+/g," "))||void 0===o?void 0:o.replace(/(\u200c|‌)+/g,""))&&(t["data-bad-word"]&&e.setAttribute("data-bad-word",t["data-bad-word"]),t["data-href"]&&e.setAttribute("data-href",t["data-href"]),t["data-error"]&&e.setAttribute("data-error",t["data-error"]),t["data-url"]&&e.setAttribute("data-url",t["data-url"]))}}o.blotName="mocka1",o.tagName="mocka",t.register(o);class i extends a{static create(e){if(!e)return super.create(!1);const t=super.create(e);return i.setNodeConfigurations(t,e),t}static formats(e){return!(!e.getAttribute("data-name")||!e.getAttribute("data-id"))&&{"data-name":e.getAttribute("data-name"),"data-id":e.getAttribute("data-id")}}static setNodeConfigurations(e,t){var a,o;t&&t["data-id"]&&(null===(o=null===(a=null==t?void 0:t["data-name"])||void 0===a?void 0:a.replace(/(\ )+/g," "))||void 0===o?void 0:o.replace(/(\u200c|‌)+/g,""))&&(t["data-id"]&&e.setAttribute("data-id",t["data-id"]),t["data-name"]&&e.setAttribute("data-name",t["data-name"]))}}i.blotName="mention",i.tagName="mention",t.register(i)}));const Ua=(e,t)=>{var a;const{formatUrl:o,bannedWords:i=[]}=t||{},r=e.replace(/<font [^\>]*>(.+)<\/font>/gim,((e,t)=>t.replace(/<u[^\>]*>(.+)<\/u>/gim,"$1"))).replace(va,((e,t,a,o)=>{if(o!==a){const e=a.split(" "),i=e.findIndex(((t,a)=>{const i=e.slice(0,a+1).join(" ");return!o.startsWith(i)}));if(0===i)return`@${o}`;{const a=(i<0?e:e.slice(0,i)).join(" "),r=o.slice(a.length).trim();return console.log(i,a,r),`<mention data-id="${t}" data-name="${a}">${a}</mention> ${r} `}}return e}));if(!o)return{value:Pa(r,i)};let n=(e=>e.replace(ya,((e,t)=>{const a=document.createElement("div");a.innerHTML=e;const o=a.firstChild;return(null==o?void 0:o.innerText)!==(null==o?void 0:o.getAttribute("data-bad-word"))?t:e})))((e=>{var t,a;return null===(a=null===(t=e.replace(/(\ )+/g," "))||void 0===t?void 0:t.replace(/(\u200c|‌)+/g,""))||void 0===a?void 0:a.replace(ma,((e,t,a)=>{var o;const i=null===(o=t.match(/data-href="([^"]*)"/im))||void 0===o?void 0:o[1];return!i||i===a||a.match(fa)?a:i?`<a href="${i}">${a}</a>`:`<a href="${a}">${a}</a>`})).replace(ua,((e,t,a)=>{if('="'!==t&&'data-url="true">'!==t){const e=a.toLowerCase(),t=`${e.startsWith("http")?"":" https://"}${e}`;return Ea({text:t,url:t,method:"edit"})}return e})).replace(wa,((e,t,a)=>Ea({text:a||t,url:t,method:"edit"})))})(r));const l=(e=>{var t;return[...Aa(e),...(null===(t=e.match(ma))||void 0===t?void 0:t.map((e=>{var t,a;const o=null===(t=e.match(/data-href="([^"]*)"/im))||void 0===t?void 0:t[1],i=null===(a=e.match(/>(.*?)<\/mocka>/im))||void 0===a?void 0:a[1];return o||i})))||[]].filter((e=>!!e))})(r);if(l){const e=[];let t="";return l.forEach((t=>{if(t)try{const a=new URL(t);La.some((e=>a.origin.endsWith(e)))||e.push(t)}catch(a){e.push(t)}})),e.length>0&&(n=n.replace(new RegExp(`data-url="true">(${e.map(za).join("|")})<`,"gi"),'data-error="true" data-url="true">$1<').replace(new RegExp(`data-href="(${e.map(za).join("|")})" data-url="true">`,"gi"),'data-href="$1" data-error="true" data-url="true">')),t=null===(a=l.filter((t=>-1===e.indexOf(t))))||void 0===a?void 0:a[0],{invalidUrls:e,previewUrl:t,value:Pa(n,i)}}return{value:Pa(n,i)}},Da=({html:e,onChange:i,className:n,style:d,onImagePickerClick:c,bannedWords:m=[],onInvalidUrlsChange:h,onPreviewUrlChange:v,setEditorRef:b,isReplying:f})=>{var x,w,y,E;const C=s([]);C.current=m;const[S,L]=a([]),[V,P]=a(null),{data:{locale:j}}=l(u),F=(null==m?void 0:m.join(","))||"";o((()=>{var e,t;const a=null===(t=null===(e=W.current)||void 0===e?void 0:e.getEditor())||void 0===t?void 0:t.root.innerHTML;R(a)}),[F]);const B=e=>{V&&V.url===e||(P({url:e,isFetching:!0}),p(k(N.FETCH_PREVIEW,{_locale:j}),"POST",{data:{link:e}}).then((t=>{var a,o,i,r;P({title:null===(a=null==t?void 0:t.data)||void 0===a?void 0:a.title,description:null===(o=null==t?void 0:t.data)||void 0===o?void 0:o.description,image:(null===(i=null==t?void 0:t.data)||void 0===i?void 0:i.image)||(null===(r=null==t?void 0:t.data)||void 0===r?void 0:r.logo),url:e})})).catch((()=>{P(null)})))},O=s(B);O.current=B;const R=r(Ae((e=>{if(e){const t=Ua(e,{bannedWords:C.current,formatUrl:!0}),{invalidUrls:a,previewUrl:o,value:r}=t;a&&L(a),o?O.current(o):P(null),r!==e&&(null==i||i(r))}}),500),[]);o((()=>{h&&h(S)}),[S]),o((()=>{v&&((null==V?void 0:V.url)?v({title:V.title||"",url:V.url||"",image:V.image||"",description:V.description||""}):v(null))}),[V]);const M=s(c);M.current=c;const I=Q(),U=s({toolbar:{handlers:{image:()=>{var e;return null===(e=M.current)||void 0===e?void 0:e.call(M)},link:()=>!1},container:"#toolbar-"+I},preserveWhiteSpace:!0}),D=s(-1),W=s(null);b&&(null===(w=null===(x=W.current)||void 0===x?void 0:x.getEditor())||void 0===w?void 0:w.root)&&b(null===(E=null===(y=W.current)||void 0===y?void 0:y.getEditor())||void 0===E?void 0:E.root);const H=()=>{var e,t,a,o,i,r,n,l;if(null===(t=null===(e=W.current)||void 0===e?void 0:e.getEditor())||void 0===t?void 0:t.root){const e=Ma(null===(o=null===(a=W.current)||void 0===a?void 0:a.getEditor())||void 0===o?void 0:o.root),t=null===(r=null===(i=W.current)||void 0===i?void 0:i.getEditor())||void 0===r?void 0:r.root.innerHTML;if(e>=0&&e<t.length){if(Na(t,!0).length<30-(f?1:0)){const e=function(e){var t,a;let o=null;if(void 0!==window.getSelection){const i=window.getSelection();if((null==i?void 0:i.rangeCount)&&(null==i?void 0:i.rangeCount)>0){const i=null===(t=window.getSelection())||void 0===t?void 0:t.getRangeAt(0);if(i){const t=i.cloneRange();t.selectNodeContents(e),t.setEnd(i.endContainer,i.endOffset);const r=(t.endContainer.nodeValue||"").substring(0,i.endOffset),n=r.lastIndexOf("@");if(n+1<r.length&&(0===n||" @"===r.slice(n-1,n+1))){const e=null===(a=r.slice(n+1))||void 0===a?void 0:a.trim();if(e){t.setStart(i.endContainer,n);const a=t.cloneRange();a.setStart(a.endContainer,n),o={name:e,rect:t.getBoundingClientRect(),replaceRange:a}}}}}}return o}(null===(l=null===(n=W.current)||void 0===n?void 0:n.getEditor())||void 0===l?void 0:l.root);e?($(e.name,e.rect),ee.current=e.replaceRange):(ee.current=null,$("",null))}else ee.current=null,$("",null);D.current=e}}else q([])},[Z,q]=a([]),[X,Y]=a({top:0,left:0}),$=r(Ae(((e,t,a)=>G(void 0,void 0,void 0,(function*(){var o,i,r,n;if(!e||!DOMRect)return q([]);const l=yield((null===(o=Te(g))||void 0===o?void 0:o.length)||0)>0?T(k(N.SEARCH_USER,{_locale:j,name:e}),"get"):z(k(A.SEARCH_USER,{_locale:j,name:e}),"get");oe(0),q(null===(r=null===(i=null==l?void 0:l.data)||void 0===i?void 0:i.users)||void 0===r?void 0:r.filter((e=>!(null==a?void 0:a.includes(String(e.id))))));const s=t,d=null===(n=_.current)||void 0===n?void 0:n.getBoundingClientRect();if(s&&d){const e=343,t=256,a={top:s.bottom-d.top,width:"min(343px, 100%)",maxHeight:t};d.width-(s.left-d.left)<e?a.right=0:a.left=s.left-d.left,Y(a)}}))),500),[]),J=(e,t)=>{var a,o,i;if(ee.current){ee.current.deleteContents();const r=document.createElement("mention");r.setAttribute("data-id",e),r.setAttribute("data-name",t),r.innerText=t;const n=document.createTextNode(" ");ee.current.insertNode(n),ee.current.insertNode(r);(null===(o=null===(a=W.current)||void 0===a?void 0:a.getEditor())||void 0===o?void 0:o.root).focus();const l=null===(i=window.getSelection())||void 0===i?void 0:i.getRangeAt(0);null==l||l.setStart(ee.current.endContainer,ee.current.endOffset),null==l||l.setEnd(ee.current.endContainer,ee.current.endOffset)}q([])},_=s(null),ee=s(null),te=s(null),[ae,oe]=a(0);return o((()=>{if(te.current){const e=te.current,t=e.children.item(ae);if(t){const a=e.getBoundingClientRect(),o=t.getBoundingClientRect();t.offsetTop<e.scrollTop?e.scrollTop=t.offsetTop:t.offsetTop+o.height>e.scrollTop+a.height&&(e.scrollTop=t.offsetTop-a.height+o.height)}}}),[ae]),o((()=>{const e=function(e){var t;(null===(t=_.current)||void 0===t?void 0:t.contains(e.target))||q([])};return window.addEventListener("click",e,{passive:!0}),()=>{window.removeEventListener("click",e)}}),[]),t.createElement(Oa,{ref:_,className:n,style:d,onKeyDownCapture:e=>{if(null==Z?void 0:Z.length){let t=!1;if("ArrowDown"===e.key)t=!0,oe((e=>e+1>=Z.length?0:e+1));else if("Escape"===e.key)t=!0,oe(0),q([]);else if("ArrowUp"===e.key)t=!0,oe((e=>e-1<0?Z.length-1:e-1));else if("Enter"===e.key||"Tab"===e.key){const e=Z[ae];e&&(t=!0,J(e.id,e.name))}if(t)return e.preventDefault(),!1}}},t.createElement(Wa,{id:I,onAddLink:(e,t)=>{var a,o;const r=D.current+1,n=null===(o=null===(a=W.current)||void 0===a?void 0:a.getEditor())||void 0===o?void 0:o.root.innerHTML,l=((null==n?void 0:n.substring(0,r))||"")+`<mocka data-href="${t}" data-url="true">${e}</mocka> `+((null==n?void 0:n.substring(r))||"");null==i||i(l),R(l)}}),Ra&&t.createElement(Ra,{ref:W,theme:"snow",value:e,onChange:e=>{null==i||i(e),R(e),H()},onChangeSelection:()=>{H()},modules:U.current,formats:["mocka1","mention","id","key","bold","italic","underline","list","bullet"]}),!!(null==Z?void 0:Z.length)&&t.createElement("div",{ref:te,className:"mention-search-container",style:X},Z.map(((e,a)=>t.createElement("div",{className:"mention-search-item "+(ae===a?"item-selected":""),key:e.id,onClick:t=>{t.preventDefault(),t.stopPropagation(),J(e.id,e.name)},onMouseEnter:()=>{oe(a)}},t.createElement(he,{className:"search-avatar",username:e.name,avatar:e.avatar}),t.createElement("div",null,t.createElement(K,{size:"p2"},e.name),t.createElement(K,{size:"p4",color:"#595959"},"@",e.username)))))))},Wa=({onAddLink:e,id:a})=>t.createElement("div",{id:"toolbar-"+a,onClick:e=>{e.preventDefault(),e.stopPropagation()}},t.createElement("span",{className:"ql-formats"},t.createElement("button",{className:"ql-bold",type:"button"}),t.createElement("button",{className:"ql-italic",type:"button"}),t.createElement("button",{className:"ql-underline",type:"button"})),t.createElement("span",{className:"ql-formats"},t.createElement("button",{className:"ql-list",value:"ordered",type:"button"}),t.createElement("button",{className:"ql-list",value:"bullet",type:"button"})),t.createElement("span",{className:"ql-formats"},t.createElement("button",{className:"ql-image",type:"button"}),e&&t.createElement(mt,{className:"link-tool-wrapper",toggleButtonContent:t.createElement("img",{className:"link-icon",src:"data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M9.54545 16H7.09091C6.55368 16 6.02172 15.8965 5.52539 15.6955C5.02905 15.4945 4.57808 15.1999 4.1982 14.8284C3.43101 14.0783 3 13.0609 3 12C3 10.9391 3.43101 9.92172 4.1982 9.17157C4.96539 8.42143 6.00593 8 7.09091 8H9.54545M13.9256 8H16.9091C17.4463 8 17.9783 8.10346 18.4746 8.30448C18.9709 8.5055 19.4219 8.80014 19.8018 9.17157C20.1817 9.54301 20.483 9.98396 20.6886 10.4693C20.8942 10.9546 21 11.4747 21 12C21 12.5253 20.8942 13.0454 20.6886 13.5307C20.483 14.016 20.1817 14.457 19.8018 14.8284C19.4219 15.1999 18.9709 15.4945 18.4746 15.6955C17.9783 15.8965 17.4463 16 16.9091 16H13.9256' stroke='%23737373' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M9 12H15' stroke='%23737373' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e",loading:"lazy"}),buttonProps:{size:"md",color:"transparent"},align:"end"},(({setShow:a})=>t.createElement(Za,{onAddUrl:e,setShow:a}))))),Ha=["notification.limitUrlDomain","notification.urlWrongFormat"],Za=({onAddUrl:e,setShow:o})=>{const{data:{env:{isMarryBaby:i}}}=l(u),{t:r}=X(),[n,s]=a(""),[d,c]=a(""),[p,m]=a(-1),g=n.trim()&&d.trim()&&p<0;return t.createElement("div",{className:"link-tool-popover"},t.createElement(ge,{name:"url",value:n,size:"md",label:"URL",placeholder:r("placeholder.enterUrlHere"),type:"text",className:"link-input-url",onChange:e=>{s(e),(e=>{const t=Va(e.trim());try{const e=new URL(t);return e.protocol.startsWith("http")?La.some((t=>e.origin.endsWith("/"+t)||e.origin.endsWith("."+t)))?(m(-1),!0):(m(0),!1):(m(1),!1)}catch(e){return m(1),!1}})(e)}}),p>=0&&t.createElement(K,{size:"c2",className:"error-text"},r(Ha[p])),t.createElement(ge,{name:"text",value:d,size:"md",label:r("createPost.urlText"),placeholder:r("placeholder.enterUrlTextHere"),type:"text",className:"link-input-text",onChange:e=>c(e)}),t.createElement("div",{"data-is-marrybaby":i,className:"link-input-button-wrapper"},t.createElement(ue,{theme:i?"marryBaby":"helloSites",size:"sm",color:"primary",className:"link-input-button",onClick:()=>{g&&(e(d.trim(),Va(n.trim())),o&&o(!1))},isDisabled:!g},r("insert"))))},qa=ne.div`
|
|
1551
1551
|
input:focus,
|
|
1552
1552
|
textarea:focus,
|
|
1553
1553
|
[contenteditable='true'] {
|
|
@@ -1605,7 +1605,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
1605
1605
|
font-size: 11px;
|
|
1606
1606
|
text-align: right;
|
|
1607
1607
|
}
|
|
1608
|
-
`,
|
|
1608
|
+
`,Ga=ne.div`
|
|
1609
1609
|
display: flex;
|
|
1610
1610
|
width: 100%;
|
|
1611
1611
|
flex-wrap: wrap;
|
|
@@ -1654,7 +1654,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
1654
1654
|
}
|
|
1655
1655
|
}
|
|
1656
1656
|
}
|
|
1657
|
-
`,
|
|
1657
|
+
`,Xa=ne.div`
|
|
1658
1658
|
[data-type='confirm'] {
|
|
1659
1659
|
width: min(360px, 100%);
|
|
1660
1660
|
height: auto;
|
|
@@ -1739,7 +1739,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
1739
1739
|
overflow: hidden;
|
|
1740
1740
|
border-radius: 1rem;
|
|
1741
1741
|
&[data-open='true'] {
|
|
1742
|
-
${
|
|
1742
|
+
${ie.mbDown} {
|
|
1743
1743
|
top: 100%;
|
|
1744
1744
|
transform: translate(-50%, -100%);
|
|
1745
1745
|
max-width: unset;
|
|
@@ -1751,12 +1751,12 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
1751
1751
|
}
|
|
1752
1752
|
.popup-content {
|
|
1753
1753
|
.close-button {
|
|
1754
|
-
${
|
|
1754
|
+
${ie.mbDown} {
|
|
1755
1755
|
display: none;
|
|
1756
1756
|
}
|
|
1757
1757
|
}
|
|
1758
1758
|
.confirm-dialog {
|
|
1759
|
-
${
|
|
1759
|
+
${ie.mbDown} {
|
|
1760
1760
|
background: unset;
|
|
1761
1761
|
position: relative;
|
|
1762
1762
|
overflow-x: hidden;
|
|
@@ -1776,7 +1776,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
1776
1776
|
}
|
|
1777
1777
|
.confirm-content {
|
|
1778
1778
|
padding: 0 40px 40px;
|
|
1779
|
-
${
|
|
1779
|
+
${ie.mbDown} {
|
|
1780
1780
|
padding-left: 1.5rem;
|
|
1781
1781
|
padding-right: 1.5rem;
|
|
1782
1782
|
}
|
|
@@ -1795,7 +1795,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
1795
1795
|
}
|
|
1796
1796
|
}
|
|
1797
1797
|
.thumbnail-container {
|
|
1798
|
-
${
|
|
1798
|
+
${ie.mbDown} {
|
|
1799
1799
|
display: none;
|
|
1800
1800
|
}
|
|
1801
1801
|
&.is-icon {
|
|
@@ -1817,14 +1817,14 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
1817
1817
|
height: 24px;
|
|
1818
1818
|
}
|
|
1819
1819
|
}
|
|
1820
|
-
${
|
|
1820
|
+
${ie.mbDown} {
|
|
1821
1821
|
display: flex;
|
|
1822
1822
|
}
|
|
1823
1823
|
}
|
|
1824
1824
|
}
|
|
1825
1825
|
}
|
|
1826
1826
|
}
|
|
1827
|
-
`,
|
|
1827
|
+
`,Qa=e=>{var{size:a,color:o,isExpand:i,useCurrentColor:r,isActive:n,activeColor:l}=e,s=q(e,["size","color","isExpand","useCurrentColor","isActive","activeColor"]);const d=r?"currentColor":n?l:o,c=Object.assign({width:a,height:a},s);return i?t.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none"},c),t.createElement("path",{d:"M15.1801 4C14.6212 4 14.3418 4.67561 14.7373 5.07108L16.0864 6.42229L6.42229 16.0864L5.07108 14.7373C4.67561 14.3418 4 14.6212 4 15.1801V19.3718C4 19.7187 4.28026 20 4.62617 20H8.81987C9.37881 20 9.6582 19.3244 9.26272 18.9289L7.91357 17.5777L17.5777 7.91357L18.9289 9.26272C19.3244 9.6582 20 9.37881 20 8.81987V4.62617C20 4.28026 19.7187 4 19.3718 4H15.1801Z",fill:d})):t.createElement("svg",Object.assign({width:a,height:a,viewBox:"0 0 14 14",fill:d},s),t.createElement("path",{d:"M9.64991 0.333008C9.18412 0.333008 8.9513 0.896013 9.28086 1.22558L10.4052 2.35159L2.35171 10.405L1.2257 9.28074C0.896135 8.95118 0.33313 9.184 0.33313 9.64979V13.1428C0.33313 13.432 0.566681 13.6663 0.854939 13.6663H4.34969C4.81547 13.6663 5.04829 13.1033 4.71873 12.7738L3.59444 11.6478L11.6479 3.59432L12.7739 4.71861C13.1035 5.04817 13.6665 4.81535 13.6665 4.34957V0.854817C13.6665 0.566559 13.4321 0.333008 13.1429 0.333008H9.64991Z"}))};Qa.defaultProps={size:24,color:de.colors.gray600,activeColor:de.colors.primaryBase};const Ka=ne.div`
|
|
1828
1828
|
[data-type='confirm'] {
|
|
1829
1829
|
max-width: 468px;
|
|
1830
1830
|
/* height: 486px; */
|
|
@@ -1872,7 +1872,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
1872
1872
|
}
|
|
1873
1873
|
}
|
|
1874
1874
|
|
|
1875
|
-
${e=>e.isExpand&&
|
|
1875
|
+
${e=>e.isExpand&&se`
|
|
1876
1876
|
& > div[data-open] {
|
|
1877
1877
|
width: 100%;
|
|
1878
1878
|
height: 100%;
|
|
@@ -1881,16 +1881,16 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
1881
1881
|
}
|
|
1882
1882
|
`}
|
|
1883
1883
|
|
|
1884
|
-
${e=>e.hasFullscreen&&
|
|
1884
|
+
${e=>e.hasFullscreen&&se`
|
|
1885
1885
|
& > div[data-open] {
|
|
1886
1886
|
transition: all 0.5s ease-in-out, width 0s, height 0s;
|
|
1887
1887
|
}
|
|
1888
1888
|
`}
|
|
1889
|
-
`,
|
|
1889
|
+
`,Ya=ne.div`
|
|
1890
1890
|
cursor: pointer;
|
|
1891
1891
|
display: flex;
|
|
1892
1892
|
align-items: center;
|
|
1893
|
-
`;var
|
|
1893
|
+
`;var $a="data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M18 6L6 18' stroke='%23262626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M6 6L18 18' stroke='%23262626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e";const Ja=({className:e,style:o,closeIcon:i,heading:r="",children:n,isOpen:l=!1,hasFullscreen:s=!1,onClose:d=(()=>null)})=>{const[c,p]=a(!1);return t.createElement(Ka,{className:e,style:o,isExpand:c,hasFullscreen:s},t.createElement(ve,{type:"confirm",onClose:d,isOpen:l,closeIcon:i||t.createElement("img",{src:$a,loading:"lazy"}),enableAnimation:!s},t.createElement("div",{className:"header"},t.createElement(b,{tag:"h5"},r),s&&t.createElement(Ya,{onClick:()=>p(!c)},t.createElement(Qa,{size:14,isExpand:c}))),t.createElement("div",{className:"content"},"function"==typeof n?n(c):n)))},_a=ne.div`
|
|
1894
1894
|
padding: 1rem;
|
|
1895
1895
|
border-top: 1px solid #f2f2f2;
|
|
1896
1896
|
&[data-is-reply='true'] {
|
|
@@ -2005,12 +2005,12 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
2005
2005
|
.as-input {
|
|
2006
2006
|
font-size: 16px;
|
|
2007
2007
|
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
2008
|
-
${
|
|
2008
|
+
${ie.mbDown} {
|
|
2009
2009
|
font-size: 22px;
|
|
2010
2010
|
line-height: 1.2;
|
|
2011
2011
|
}
|
|
2012
2012
|
|
|
2013
|
-
${
|
|
2013
|
+
${ie.mbUp} {
|
|
2014
2014
|
font-size: 26px;
|
|
2015
2015
|
line-height: 1.2;
|
|
2016
2016
|
}
|
|
@@ -2020,12 +2020,12 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
2020
2020
|
.as-input {
|
|
2021
2021
|
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
2022
2022
|
line-height: 22px;
|
|
2023
|
-
${
|
|
2023
|
+
${ie.mbDown} {
|
|
2024
2024
|
font-size: 14px;
|
|
2025
2025
|
line-height: 1.2;
|
|
2026
2026
|
}
|
|
2027
2027
|
|
|
2028
|
-
${
|
|
2028
|
+
${ie.mbUp} {
|
|
2029
2029
|
font-size: 16px;
|
|
2030
2030
|
line-height: 1.2;
|
|
2031
2031
|
}
|
|
@@ -2035,12 +2035,12 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
2035
2035
|
.as-input {
|
|
2036
2036
|
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
2037
2037
|
line-height: 20px;
|
|
2038
|
-
${
|
|
2038
|
+
${ie.mbDown} {
|
|
2039
2039
|
font-size: 13px;
|
|
2040
2040
|
line-height: 1.5;
|
|
2041
2041
|
}
|
|
2042
2042
|
|
|
2043
|
-
${
|
|
2043
|
+
${ie.mbUp} {
|
|
2044
2044
|
font-size: 13px;
|
|
2045
2045
|
line-height: 1.5;
|
|
2046
2046
|
}
|
|
@@ -2110,11 +2110,11 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
2110
2110
|
}
|
|
2111
2111
|
}
|
|
2112
2112
|
}
|
|
2113
|
-
`,
|
|
2113
|
+
`,eo=n({}),to=ne.a`
|
|
2114
2114
|
* {
|
|
2115
2115
|
pointer-events: none;
|
|
2116
2116
|
}
|
|
2117
|
-
`,
|
|
2117
|
+
`,ao=ne.div`
|
|
2118
2118
|
padding: 1rem;
|
|
2119
2119
|
.share__social {
|
|
2120
2120
|
display: flex;
|
|
@@ -2122,7 +2122,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
2122
2122
|
align-items: center;
|
|
2123
2123
|
justify-content: center;
|
|
2124
2124
|
|
|
2125
|
-
& > ${
|
|
2125
|
+
& > ${to} {
|
|
2126
2126
|
margin: 0 7px;
|
|
2127
2127
|
|
|
2128
2128
|
& > img {
|
|
@@ -2202,7 +2202,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
2202
2202
|
}
|
|
2203
2203
|
|
|
2204
2204
|
&[data-is-marrybaby='true'] {
|
|
2205
|
-
${
|
|
2205
|
+
${ie.mbDown} {
|
|
2206
2206
|
padding: 0.5rem;
|
|
2207
2207
|
}
|
|
2208
2208
|
.share__social {
|
|
@@ -2213,7 +2213,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
2213
2213
|
align-items: center;
|
|
2214
2214
|
justify-content: center;
|
|
2215
2215
|
text-align: center;
|
|
2216
|
-
${
|
|
2216
|
+
${ie.mbDown} {
|
|
2217
2217
|
margin: 0;
|
|
2218
2218
|
}
|
|
2219
2219
|
& > img {
|
|
@@ -2250,7 +2250,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
2250
2250
|
}
|
|
2251
2251
|
}
|
|
2252
2252
|
}
|
|
2253
|
-
`;const ao=({className:e,trackingCategory:i="Together",style:r,shareUrl:n,title:d})=>{const{action:{pushNotifications:c},data:{env:{isMarryBaby:p}}}=l(u),{t:m}=X(),g=s(null),[h,v]=a(!1),b=()=>{if(!(null==g?void 0:g.current))return;const e=document.createElement("textarea");e.value=g.current.value,document.body.appendChild(e),e.select(),document.execCommand("copy"),document.body.removeChild(e),g.current.focus(),v(!0),c({title:"",message:m("share.linkCopied"),type:"success"})};o((()=>{b(),navigator.share&&navigator.share({title:d||"Read This Post",url:n}).then((()=>{c({title:"",message:m("share.linkShared"),type:"success"})})).catch(console.error)}),[]);const f=((e,t)=>t?[{icon:"data:image/svg+xml,%3csvg width='40' height='40' viewBox='0 0 40 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M35 9.58333V30.4167C35 32.9417 32.9417 35 30.4167 35H25.8333V23.3333H28.85C29.275 23.3333 29.6333 23.0167 29.6833 22.6L29.9917 20.1C30.025 19.8667 29.95 19.625 29.7917 19.45C29.6333 19.2667 29.4083 19.1667 29.1667 19.1667H25.8333V16.25C25.8333 15.3333 26.5833 14.5833 27.5 14.5833H29.1667C29.625 14.5833 30 14.2083 30 13.75V10.9333C30 10.5083 29.6667 10.15 29.2417 10.1083C29.1917 10.1 28.0167 10 26.525 10C22.8583 10 20.8333 12.1833 20.8333 16.1417V19.1667H17.5C17.0417 19.1667 16.6667 19.5417 16.6667 20V22.5C16.6667 22.9583 17.0417 23.3333 17.5 23.3333H20.8333V35H9.58333C7.05833 35 5 32.9417 5 30.4167V9.58333C5 7.05833 7.05833 5 9.58333 5H30.4167C32.9417 5 35 7.05833 35 9.58333Z' fill='url(%23paint0_linear)'/%3e%3cdefs%3e%3clinearGradient id='paint0_linear' x1='20' y1='5' x2='20' y2='35' gradientUnits='userSpaceOnUse'%3e%3cstop stop-color='%234DABF7'/%3e%3cstop offset='1' stop-color='%232668DA'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",name:"Facebook",href:`https://www.facebook.com/sharer.php?u=${e}`},{icon:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAACXBIWXMAACxLAAAsSwGlPZapAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAzTSURBVHgB7Z0JdFTVGce/776ZCQkBElLCksga9kU2FQQRSlGo1AYUKwpuVA91xdZqtVTx1ONyrIpKBesC1AO1WHsiPQcsoIig1oNgEEEMKonsIQkhk2WWd+/X+96YTEK2+2beSJJ5v3Nyst25c9/3v/f7vru8NwAODg4ODg4ODg4ODg4ODvEEgt0sohTwQbb86VJZ+0gQ1Ft+Tzm7WNeOIJZeA/ya0eCGlkspIuYTQC5xvk3TtBz5eynYiH0CLJSGBrEICG9syOC1GZ4BYt0CgAHdgEFrA3GVbPSjhjBgA9ELYPR4PzwCRItUil82GPzrbgV3h3at0Pi1YIhLpQj3QpREJ4DZ62ErgPm9WeaMAv2NW0BzazFwfeeGfCnElGhGQ+S98FYaCRaMf+X54Ft5E7A2ZHyD3oJoa4BMW0REZMaw2POHdAf+yf3AkhPalPFrE/FIiHQEKBs/NQnEOwvbtPENzJFARClWX2hdgN/Qc6rGBwJ6dg5A3y5t2vjV9JZfj4BFrBnGdD10SLX45UNA/88doGkYFwKYSFfUx4orsjgCxBLVkjLNFM/PAYwn4xsIIZTS8WrUBTDyfZCTLEXmjgXq3xU0iDcQb7QSC9QFCC0vKOFiQH+cEV89vxYpnHNlW1lwQWKyasnZI0HPTG3dM91oQE27VLWsupEQz1ctuviKuO39J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WFBBSMmTtJSWKB9I4MftJB0xI9yBkD0uQVcjkzqvARKyrnVHiG45kqYEQUk1FEHPrAm33yVctbVzrSUWDAg3IknJBmEW3y5ASReB7W9rP06GLrhgh9SM/nyk9QPxvSBVYck06A2tqzhfJpTZ8+YBHra0FLzU8RmiK1y4dIQBejpG5GltSWdsrypeuZAhEQ2WLcCml8DrMiFoF5XJTUVcYrbAsP+csnkraw4Pdr86N+iE89uE/GhCIZE3hrjQmhnh+h8Q2iW442RsIKlH6PnodI0Npp1C5NjoLW546MgEsVMCoa4xvY/UFuSywtV1QTrOToKzKeI9SyRwJCqVxhWQ2CLY3W8OEq7abmowzFZBloz2/sowzrEagIoL+oZe0dGAYnY2ENc+Ug3QZeyIGcPsornQ4ODg4ODg4ODg4ODg4ODmfzfz5w/2ZW/n9aAAAAAElFTkSuQmCC",name:"Zalo",href:`https://sp.zalo.me/share?href=${e}`},{icon:"data:image/svg+xml,%3csvg width='40' height='40' viewBox='0 0 40 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M35 30.8333C35 33.135 33.1342 35 30.8333 35H9.16667C6.865 35 5 33.135 5 30.8333V9.16667C5 6.865 6.865 5 9.16667 5H30.8333C33.1342 5 35 6.865 35 9.16667V30.8333Z' fill='%2303A9F4'/%3e%3cpath d='M30 14.2667C29.265 14.5925 28.3342 14.8983 27.5 15C28.3483 14.4967 29.6942 13.4483 30 12.5C29.2075 12.9658 27.7742 13.4633 26.8392 13.6433C26.0925 12.8517 25.0275 12.5 23.8475 12.5C21.5808 12.5 20 14.4208 20 16.6667V18.3333C16.6667 18.3333 13.4167 15.7942 11.3942 13.3333C11.0383 13.9342 10.8383 14.6375 10.8383 15.3808C10.8383 16.8967 12.2308 18.435 13.3333 19.1667C12.6608 19.1458 11.3875 18.6325 10.8333 18.3333C10.8333 18.3467 10.8333 18.3633 10.8333 18.3808C10.8333 20.3533 12.2175 21.6925 14.0933 22.0658C13.7508 22.16 13.3333 22.5 11.7267 22.5C12.2483 24.1125 14.8708 24.965 16.6667 25C15.2617 26.0892 12.7567 26.6667 10.8333 26.6667C10.5008 26.6667 10.3208 26.685 10 26.6475C11.815 27.7975 14.35 28.3333 16.6667 28.3333C24.2142 28.3333 28.3333 22.5683 28.3333 17.1917C28.3333 17.015 28.3275 16.4233 28.3183 16.25C29.125 15.6817 29.4517 15.0867 30 14.2667Z' fill='white'/%3e%3c/svg%3e",name:"Twitter",href:`https://twitter.com/intent/tweet?url=${e}`},{icon:"data:image/svg+xml,%3csvg width='41' height='40' viewBox='0 0 41 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M35.5 30.8333C35.5 33.135 33.635 35 31.3333 35H9.66667C7.36583 35 5.5 33.135 5.5 30.8333V9.16667C5.5 6.865 7.36583 5 9.66667 5H31.3333C33.635 5 35.5 6.865 35.5 9.16667V30.8333Z' fill='%230078D4'/%3e%3cpath opacity='0.05' d='M25.4993 30.8327V22.4168C25.4993 21.0093 24.8168 20.1685 23.6727 20.1685C22.9935 20.1685 22.4943 20.551 22.1902 21.3052C22.176 21.3585 22.156 21.576 22.1643 22.2335L22.166 30.8327H16.3327V14.9993H22.166V15.8835C23.0177 15.296 24.0618 14.9993 25.281 14.9993C29.0702 14.9993 31.3318 17.5768 31.3318 21.8943L31.3327 30.8327H25.4993ZM9.66602 30.8327V14.9993H12.5468C10.8777 14.9993 9.66602 13.7727 9.66602 12.0818C9.66602 10.3927 10.8977 9.16602 12.5943 9.16602C14.271 9.16602 15.4652 10.3585 15.4993 12.0652C15.4993 13.7685 14.2668 14.9993 12.5702 14.9993H15.4993V30.8327H9.66602Z' fill='black'/%3e%3cpath opacity='0.07' d='M25.9173 30.4173V22.4182C25.9173 20.774 25.0582 19.7532 23.674 19.7532C22.5948 19.7532 22.0615 20.5132 21.8048 21.1507C21.7365 21.3165 21.7457 21.9748 21.749 22.2557L21.7507 30.4173H16.7507V15.4173H21.7507V16.7823C22.4132 16.0965 23.4798 15.4173 25.2823 15.4173C28.8098 15.4173 30.9165 17.839 30.9165 21.8957L30.9173 30.4173H25.9173ZM10.084 30.4173V15.4173H15.084V30.4173H10.084ZM12.5482 14.584C11.1207 14.584 10.084 13.5323 10.084 12.0832C10.084 10.6348 11.1407 9.58398 12.5957 9.58398C14.0323 9.58398 15.0548 10.6082 15.084 12.0748C15.084 13.5323 14.0273 14.584 12.5715 14.584H12.5482Z' fill='black'/%3e%3cpath d='M10.5 15.8333H14.6667V30H10.5V15.8333ZM12.5708 14.1667H12.5475C11.3042 14.1667 10.5 13.24 10.5 12.0825C10.5 10.9 11.3292 10 12.595 10C13.8625 10 14.6433 10.9 14.6667 12.0825C14.6667 13.2392 13.8625 14.1667 12.5708 14.1667ZM30.5 30H26.3333V22.4175C26.3333 20.5858 25.3125 19.3358 23.6733 19.3358C22.4225 19.3358 21.7458 20.1792 21.4175 20.9942C21.2975 21.2858 21.3333 22.0925 21.3333 22.5V30H17.1667V15.8333H21.3333V18.0133C21.9342 17.0833 22.875 15.8333 25.2817 15.8333C28.2633 15.8333 30.4992 17.7083 30.4992 21.895L30.5 30Z' fill='white'/%3e%3c/svg%3e",name:"LinkedIn",href:`https://www.linkedin.com/sharing/share-offsite/?url=${e}`},{icon:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' fill='none'%3e%3cpath fill='url(%23a)' d='M36.667 19.584c0 8.975-7.458 16.25-16.666 16.25a16.97 16.97 0 0 1-3.987-.47 1.68 1.68 0 0 0-1.15.12l-3.647 1.825a1.417 1.417 0 0 1-2.05-1.267v-3.355c0-.479-.214-.925-.567-1.249-3.245-2.966-5.266-7.179-5.266-11.854 0-8.975 7.458-16.25 16.667-16.25 9.208 0 16.666 7.275 16.666 16.25Z'/%3e%3cpath fill='black' d='M29.16 14.41c-.357 0-.703.118-1 .343l-4.745 3.512a.594.594 0 0 1-.363.125.565.565 0 0 1-.341-.113l-3.31-2.492a3.821 3.821 0 0 0-2.298-.765c-1.313 0-2.52.66-3.23 1.764l-1.009 1.575-3.433 5.58a1.633 1.633 0 0 0-.06 1.678c.299.545.862.883 1.47.883.357 0 .703-.118 1-.342l4.746-3.513a.594.594 0 0 1 .362-.125c.125 0 .243.04.342.114l3.31 2.491a3.819 3.819 0 0 0 2.297.765c1.314 0 2.521-.659 3.23-1.763l1.01-1.576 3.433-5.58a1.633 1.633 0 0 0 .059-1.678 1.682 1.682 0 0 0-1.47-.883Z' opacity='.05'/%3e%3cpath fill='black' d='M29.161 14.826c-.266 0-.525.09-.75.258L23.665 18.6c-.18.136-.39.207-.61.207a.98.98 0 0 1-.591-.197l-3.311-2.492a3.405 3.405 0 0 0-2.048-.68c-1.17 0-2.246.587-2.879 1.572l-1.008 1.575-3.43 5.574c-.247.387-.266.86-.048 1.259.222.405.656.667 1.104.667.266 0 .525-.09.75-.259l4.747-3.515c.18-.136.39-.206.61-.206a.98.98 0 0 1 .592.196l3.31 2.493c.6.446 1.307.68 2.048.68 1.171 0 2.247-.587 2.88-1.572l1.008-1.576 3.429-5.573c.247-.387.267-.86.048-1.26a1.281 1.281 0 0 0-1.104-.666Z' opacity='.07'/%3e%3cpath fill='white' d='m28.663 15.417-4.75 3.516c-.509.384-1.2.384-1.7.009L18.9 16.449a3.004 3.004 0 0 0-4.325.784l-1.008 1.575-3.425 5.566c-.5.784.458 1.675 1.2 1.117l4.75-3.517a1.412 1.412 0 0 1 1.7-.008l3.311 2.492a3.004 3.004 0 0 0 4.325-.783l1.009-1.575 3.425-5.567c.5-.783-.459-1.675-1.2-1.116Z'/%3e%3cdefs%3e%3cradialGradient id='a' cx='0' cy='0' r='1' gradientTransform='translate(9.24 35.816) scale(39.6767)' gradientUnits='userSpaceOnUse'%3e%3cstop stop-color='%231292FF'/%3e%3cstop offset='.079' stop-color='%232982FF'/%3e%3cstop offset='.23' stop-color='%234E69FF'/%3e%3cstop offset='.351' stop-color='%236559FF'/%3e%3cstop offset='.428' stop-color='%236D53FF'/%3e%3cstop offset='.754' stop-color='%23DF47AA'/%3e%3cstop offset='.946' stop-color='%23FF6257'/%3e%3c/radialGradient%3e%3c/defs%3e%3c/svg%3e",name:"Messenger",href:`https://www.facebook.com/sharer.php?u=${e}`}]:[{icon:"data:image/svg+xml,%3csvg width='33' height='32' viewBox='0 0 33 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M30.7336 6.21933e-10H2.2536C1.28305 0.00703318 0.499975 0.795821 0.5 1.7664V30.2464C0.507033 31.217 1.29582 32 2.2664 32H17.5944V19.6256H13.4344V14.7808H17.5944V11.216C17.5944 7.0848 20.1192 4.832 23.8056 4.832C25.0498 4.8267 26.2933 4.8908 27.5304 5.024V9.344H24.9896C22.9832 9.344 22.5928 10.304 22.5928 11.696V14.7808H27.38L26.74 19.6256H22.58V32H30.7336C31.7092 32 32.5 31.2092 32.5 30.2336V1.7536C32.493 0.783047 31.7042 -2.54822e-05 30.7336 6.21933e-10Z' fill='%233B5998'/%3e%3c/svg%3e",name:"Facebook",href:`https://www.facebook.com/sharer.php?u=${e}`},{icon:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKoAAACqCAMAAAAKqCSwAAAC/VBMVEUAAAD////3+fwAcrIAgMcAcrH//v7+//8AcbEAf8b9/v37/P0BcbAAfsT9/f36/P38/f4Af8UDcrEBfMD//v/5+/0CcbDz+foAcrAAfcb2+/wFcrABfcP9/f73/P0BfMIAfsMHca/y+Pvr9fgEcq/5+/wBc7Hg8PUFc7H6/f74+/sAc7T1+vvv+PoIc7ACcrAQda/2+vzM4+0Kc68Lcq37/v3m8vfi7/UAd7oAdbYHca39///v9/loqs0QdrAWd68Ae74Ber0Adrj6/fu01OQEf8UifrMKdLEMdK/x+Prt9vjp8/fe7fMFfsMAeLsPc64CcK3I4Ot7s9EBe8AcerD4/f3f7/Xc7PMTe7UUd7AAebwXebEHcq7x+vzt9/rY6/TR5u+51+apzOCDttJ/tNFdn8UTg8MMgcM1irs6i7kmgLQJbqnz+vzB3eqJutQeh8JLlL5Ckb0zhrbh8fbW6f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uIvCJiTHH5l6uKu2Zv3BpnWNHY3rmg6ur6nt6p56pFceDncMqRGHjvqmuqNKoQpYTCZv0qRJPJ47jyeV8nhMagM7/fUZ5C53d3gyWD01yc8v1c+P/Al8Qi5qBH/00y01n/bjN+EqZgrVUf29VXut9bUFPJLa6qexcBQInj8k/a3zSaGv9EMFzSqFOk4DVetGtLgPqs81UHH1Q43VAxUgrkJUx9EG12kNVLHWrnuYARgNquZz2FH1f35Q9aqtYd8fNKyjDa5rarp+D4vOeJNihWEVWnUcdDaD6lb/h0VzNMyqhQqCiiF1uv9z+FHNB5srR9VgD9AIUK/d/7x4S01WCpU060TgqwZF/VvrcfHoKE1WasYaoILUGrAa0FmvaXKhOl5t8MOboGcNMysqBDANZddbp3W93QK978UW5uRQpUGj1a1rWi+MoMTRfg3HW3C8ArAOv7veuvX3tdP3AYlH4stNjJzV8hFNoUb8ehtLo3+3VR/pSH5plJG+iks80l9wZnSwJOggsBxjiQUUKC2toV9xiOvi/A/lszrbhFX1MAAAAABJRU5ErkJggg==",name:"Zalo",href:`https://sp.zalo.me/share?href=${e}`},{icon:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='33' height='32' fill='none'%3e%3crect width='32' height='32' x='.5' fill='%231FA1F3' rx='4'/%3e%3cpath fill='white' fill-rule='evenodd' d='m16.23 13.235.04.634-.673-.077c-2.455-.298-4.6-1.308-6.42-3.004l-.89-.842-.23.622c-.486 1.385-.175 2.848.836 3.832.54.544.418.621-.512.298-.324-.104-.607-.181-.634-.143-.095.091.229 1.27.485 1.735.35.648 1.066 1.282 1.848 1.657l.66.298-.781.013c-.756 0-.783.013-.702.285.27.841 1.335 1.735 2.523 2.123l.836.272-.729.414a7.893 7.893 0 0 1-3.614.958c-.607.013-1.106.065-1.106.104 0 .13 1.645.854 2.603 1.14 2.873.84 6.285.478 8.848-.959 1.82-1.023 3.641-3.055 4.491-5.023.459-1.049.917-2.965.917-3.884 0-.596.04-.673.796-1.385.445-.415.863-.868.944-.997.135-.246.122-.246-.566-.026-1.147.388-1.309.337-.742-.246.418-.414.917-1.165.917-1.385 0-.04-.202.026-.432.142-.242.13-.782.324-1.187.44l-.728.22-.66-.427c-.365-.233-.877-.492-1.147-.57-.688-.18-1.74-.155-2.36.052-1.687.583-2.752 2.085-2.63 3.729Z' clip-rule='evenodd'/%3e%3c/svg%3e",name:"Twitter",href:`https://twitter.com/intent/tweet?url=${e}`},{icon:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKsAAACqCAMAAADlak+OAAAC+lBMVEUAAAAqtkD3+fz5+fn////8/P39/v4ptT8psj5CxFIqtD8+wlBMy1opsD4tuEKQ1537/Pv9/f76+/opsz9DxVQvukRKyVlGx1ZPzF1Tz2BX0WNJyFgrt0FSzl9FxlU4vkpQzV45v0wxu0X3+fg8wU46wE1Vz2E2vUkzu0dOy1worj1AwlFW0GL2+PcntD01u0j8/v1IyFc9wU9ExlQ7v035+vkvt0MttkIlszz1+PUsskEorDz3/PhFv1cnqTv09/Tt9e/5/PkrsEDy9/Po8+ovsUP5+v3r9O0yuEVZ0GQmpjrz+fTr9+zw9fFRyV7k9OZNyFswtUXc8t/G6cz2+/ft+O4ztEf2+vY2tEots0L0+/Xv9/He7+FAwFHi8+Wr4LR50IZYzmMroT7R7dXv+fFTy2FFwlU7vE3h8OTZ7tyi2aqP3JeC14xIxFg+vlD6/fry+vPm8ujd8eTZ8tvA6cV+0opczmdMvl1LuFwzskcrrD/o9urJ7M5izm9dxm9cwWxTxWLV8NnN7tG96MK75MG557+m3a+O1Zl31IE8tU/m9ujf9OLT6tav4LeK2JNtzXpGvFk7uE4ksjsmozrV7dnO6tLH58zC58jA4MWG1pB7zIhoynZf0WpZymcqqD7E68mt5LOi4amc1qWc36SU2J5tx3tOxl1LwltDvVQ/uFI5skw2uEoxq0QmnznR79XL6dDM5NCx5biw3beX1qCI0ZR2yoRbx2pbvGo5o0k0uEfb7N235L2137u05rqi0amW3p6S1Z1914d2wIJt0XhqwXd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+AjSKHdhm5HHl7IwLhFtsoQ8vL2hYYXXUNLfrUcPWVQqQMMOW6mr1xVKTCwMhDbLDQurisJiQ4+n94C90WdwggZwrgVw2TryTCBeOIzQaUWMojTiOKyyELW4k5ShuO+IgzsBNp97FeC7xv4vxBUzFmCaxFDSrAAAAAElFTkSuQmCC",name:"WhatsApp",href:`https://wa.me/?text=${e}`},{icon:"data:image/svg+xml,%3csvg width='33' height='32' viewBox='0 0 33 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3crect x='0.5' width='32' height='32' rx='4' fill='%230077B5'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M11.3571 9.07077C11.3349 7.97643 10.6126 7.14288 9.43969 7.14288C8.26679 7.14288 7.5 7.97643 7.5 9.07077C7.5 10.1425 8.24415 11 9.39516 11H9.4171C10.6126 11 11.3571 10.1425 11.3571 9.07077ZM11.3571 12.286H7.5V23.8574H11.3571V12.286ZM20.651 12.286C23.4224 12.286 25.5 13.9022 25.5 17.3748L25.4999 23.8571H21.2885V17.8086C21.2885 16.2894 20.6791 15.2526 19.1545 15.2526C17.991 15.2526 17.2979 15.9515 16.9935 16.6265C16.8822 16.8685 16.8548 17.2056 16.8548 17.5435V23.8574H12.6429C12.6429 23.8574 12.6984 13.6127 12.6429 12.5518H16.8548V14.1531C17.4138 13.3834 18.415 12.286 20.651 12.286Z' fill='white'/%3e%3c/svg%3e",name:"LinkedIn",href:`https://www.linkedin.com/sharing/share-offsite/?url=${e}`}])(n||"",p);return t.createElement(to,{"data-is-marrybaby":p,className:e,style:r},t.createElement("div",{className:"share__social"},f.map(((e,a)=>t.createElement(eo,{key:a,"data-event-category":i,"data-event-action":`Social Share - ${e.name}`,"data-event-label":n,href:e.href,target:"_blank",rel:"noreferrer"},t.createElement(P,{alt:`share to ${e}`,src:e.icon}),t.createElement(K,{className:"__label",size:"label2",weight:"regular"},e.name))))),t.createElement("div",{className:"share__copy-link"},t.createElement(K,{className:"__label",color:se.colors.gray500,size:"p4",weight:"regular"},m("orCopyLink")),t.createElement("div",{className:"__input-group"},t.createElement("input",{ref:g,type:"text",value:n,readOnly:!0,onFocus:e=>e.target.select()}),t.createElement("button",{className:"__copy",onClick:()=>b()},p?t.createElement(P,{alt:"copy share link",src:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' xmlns:v='https://vecta.io/nano'%3e%3cg fill='%233e3f58'%3e%3cpath d='M19.726 8.537l-.632.151.632-.151zm0 4.65l-.632-.151.632.151zm-9.097-8.918l.146.633-.146-.633zm4.744 0l-.146.633.146-.633zm1.303 11.983a.65.65 0 1 0 .649 1.126l-.649-1.126zM6.041 7.23a.65.65 0 0 0 1.182.541L6.041 7.23zm13.053 1.459c.342 1.43.342 2.918 0 4.348l1.264.303c.39-1.629.39-3.324 0-4.953l-1.264.303zm-8.32-3.786a9.94 9.94 0 0 1 4.452 0l.291-1.267a11.24 11.24 0 0 0-5.035 0l.291 1.267zm4.452 0c1.925.443 3.419 1.913 3.867 3.786l1.264-.303c-.566-2.363-2.445-4.199-4.84-4.75l-.291 1.267zm2.099 12.476c1.505-.868 2.62-2.314 3.033-4.04l-1.264-.303c-.327 1.368-1.213 2.521-2.418 3.217l.649 1.126zM10.482 3.636c-1.988.457-3.62 1.799-4.442 3.594l1.182.541c.652-1.425 1.954-2.501 3.551-2.868l-.291-1.267z'/%3e%3cpath d='M3.274 16.187l-.632.151.632-.151zm0-4.65l-.632-.151.632.151zm13.451 0l-.632.151.632-.151zm0 4.65l.632.151-.632-.151zm-4.354 4.268l-.146-.633.146.633zm-4.744 0l-.146.634.146-.634zm0-13.186l.146.633-.146-.633zm4.744 0l-.146.633.146-.633zm-8.465 8.767c-.342-1.43-.342-2.918 0-4.348l-1.264-.303c-.39 1.629-.39 3.324 0 4.953l1.264-.303zm12.187-4.348c.342 1.43.342 2.918 0 4.348l1.264.303c.39-1.629.39-3.324 0-4.953l-1.264.303zm-3.867 8.133a9.94 9.94 0 0 1-4.452 0l-.291 1.267a11.24 11.24 0 0 0 5.035 0l-.291-1.267zM7.774 7.903a9.94 9.94 0 0 1 4.452 0l.291-1.267a11.24 11.24 0 0 0-5.035 0l.291 1.267zm0 11.919c-1.925-.443-3.419-1.913-3.867-3.786l-1.264.303c.565 2.363 2.445 4.199 4.84 4.75l.291-1.267zm4.744 1.267c2.395-.551 4.275-2.387 4.84-4.75l-1.264-.303c-.448 1.872-1.942 3.343-3.867 3.786l.291 1.267zm-.291-13.186c1.925.443 3.419 1.913 3.867 3.785l1.264-.303c-.566-2.363-2.445-4.199-4.84-4.75l-.291 1.267zM7.482 6.636c-2.395.551-4.275 2.387-4.84 4.75l1.264.303c.448-1.872 1.942-3.343 3.867-3.785l-.291-1.267zM12.268 21l.083-2.523c.079-.573.221-.867.433-1.075l-.91-.928c-.499.489-.712 1.104-.811 1.827-.096.702-.095 1.596-.095 2.699h1.3zm4.205-5.409c-1.126 0-2.035-.001-2.748.093-.731.096-1.354.303-1.85.79l.91.928c.214-.21.519-.352 1.11-.43.609-.08 1.416-.082 2.579-.082v-1.3z'/%3e%3c/g%3e%3cpath d='M7 11h3m-3 3h5' stroke='%233e3f58' stroke-width='1.3' stroke-linecap='round'/%3e%3c/svg%3e"}):m(h?"copied":"copy")))))},oo=({trackingCategory:e,className:i,style:r,url:n,avatar:s,text:d,onClose:c})=>{const{data:{env:{isMarryBaby:p}}}=l(u),{t:m}=X(),[g,h]=a(!1);return o((()=>(ie(!0),setTimeout((()=>h(!0)),0),()=>ie(!1))),[]),t.createElement(W,null,t.createElement(io,{"data-is-marrybaby":p,className:i,style:r},t.createElement($a,{className:"share-popup",isOpen:g,onClose:c,heading:m("bottomBar.share")},p?t.createElement(K,{className:"share-mb-text",size:"sm"},m("article.shareOn")):t.createElement("div",{className:"custom-share__header"},s&&t.createElement("div",{className:"custom-share__header-image"},t.createElement("img",{src:s,loading:"lazy"})),t.createElement("div",{className:"custom-share__header-info"},t.createElement(b,{tag:"h4"},d),t.createElement(K,{className:"desc",size:"md"},n))),g&&t.createElement(ao,{trackingCategory:e,shareUrl:n||("undefined"!=typeof window?window.location.href:""),title:d}))))},io=re.div`
|
|
2253
|
+
`;const oo=({className:e,trackingCategory:i="Together",style:r,shareUrl:n,title:d})=>{const{action:{pushNotifications:c},data:{env:{isMarryBaby:p}}}=l(u),{t:m}=X(),g=s(null),[h,v]=a(!1),b=()=>{if(!(null==g?void 0:g.current))return;const e=document.createElement("textarea");e.value=g.current.value,document.body.appendChild(e),e.select(),document.execCommand("copy"),document.body.removeChild(e),g.current.focus(),v(!0),c({title:"",message:m("share.linkCopied"),type:"success"})};o((()=>{b(),navigator.share&&navigator.share({title:d||"Read This Post",url:n}).then((()=>{c({title:"",message:m("share.linkShared"),type:"success"})})).catch(console.error)}),[]);const f=((e,t)=>t?[{icon:"data:image/svg+xml,%3csvg width='40' height='40' viewBox='0 0 40 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M35 9.58333V30.4167C35 32.9417 32.9417 35 30.4167 35H25.8333V23.3333H28.85C29.275 23.3333 29.6333 23.0167 29.6833 22.6L29.9917 20.1C30.025 19.8667 29.95 19.625 29.7917 19.45C29.6333 19.2667 29.4083 19.1667 29.1667 19.1667H25.8333V16.25C25.8333 15.3333 26.5833 14.5833 27.5 14.5833H29.1667C29.625 14.5833 30 14.2083 30 13.75V10.9333C30 10.5083 29.6667 10.15 29.2417 10.1083C29.1917 10.1 28.0167 10 26.525 10C22.8583 10 20.8333 12.1833 20.8333 16.1417V19.1667H17.5C17.0417 19.1667 16.6667 19.5417 16.6667 20V22.5C16.6667 22.9583 17.0417 23.3333 17.5 23.3333H20.8333V35H9.58333C7.05833 35 5 32.9417 5 30.4167V9.58333C5 7.05833 7.05833 5 9.58333 5H30.4167C32.9417 5 35 7.05833 35 9.58333Z' fill='url(%23paint0_linear)'/%3e%3cdefs%3e%3clinearGradient id='paint0_linear' x1='20' y1='5' x2='20' y2='35' gradientUnits='userSpaceOnUse'%3e%3cstop stop-color='%234DABF7'/%3e%3cstop offset='1' stop-color='%232668DA'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",name:"Facebook",href:`https://www.facebook.com/sharer.php?u=${e}`},{icon:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAACXBIWXMAACxLAAAsSwGlPZapAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAzTSURBVHgB7Z0JdFTVGce/776ZCQkBElLCksga9kU2FQQRSlGo1AYUKwpuVA91xdZqtVTx1ONyrIpKBesC1AO1WHsiPQcsoIig1oNgEEEMKonsIQkhk2WWd+/X+96YTEK2+2beSJJ5v3Nyst25c9/3v/f7vru8NwAODg4ODg4ODg4ODg4ODvEEgt0sohTwQbb86VJZ+0gQ1Ft+Tzm7WNeOIJZeA/ya0eCGlkspIuYTQC5xvk3TtBz5eynYiH0CLJSGBrEICG9syOC1GZ4BYt0CgAHdgEFrA3GVbPSjhjBgA9ELYPR4PzwCRItUil82GPzrbgV3h3at0Pi1YIhLpQj3QpREJ4DZ62ErgPm9WeaMAv2NW0BzazFwfeeGfCnElGhGQ+S98FYaCRaMf+X54Ft5E7A2ZHyD3oJoa4BMW0REZMaw2POHdAf+yf3AkhPalPFrE/FIiHQEKBs/NQnEOwvbtPENzJFARClWX2hdgN/Qc6rGBwJ6dg5A3y5t2vjV9JZfj4BFrBnGdD10SLX45UNA/88doGkYFwKYSFfUx4orsjgCxBLVkjLNFM/PAYwn4xsIIZTS8WrUBTDyfZCTLEXmjgXq3xU0iDcQb7QSC9QFCC0vKOFiQH+cEV89vxYpnHNlW1lwQWKyasnZI0HPTG3dM91oQE27VLWsupEQz1ctuviKuO39JmhhYqYugDDTrGYZ0BX40O7ggjiGQM1WBhZGACgFloWTpFQOMQjCapXR1EHx7X6sYqsAQzNAHxbn7scqtgpw5QjH/VjFVgEu6QcecLCEbQKgXHgb2gM4OFjCNgHk/q7okeL4f6vYJsDwHkb662AV2wQY1iN+lx6iw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1y4dIQBejpG5GltSWdsrypeuZAhEQ2WLcCml8DrMiFoF5XJTUVcYrbAsP+csnkraw4Pdr86N+iE89uE/GhCIZE3hrjQmhnh+h8Q2iW442RsIKlH6PnodI0Npp1C5NjoLW546MgEsVMCoa4xvY/UFuSywtV1QTrOToKzKeI9SyRwJCqVxhWQ2CLY3W8OEq7abmowzFZBloz2/sowzrEagIoL+oZe0dGAYnY2ENc+Ug3QZeyIGcPsornQ4ODg4ODg4ODg4ODg4ODmfzfz5w/2ZW/n9aAAAAAElFTkSuQmCC",name:"Zalo",href:`https://sp.zalo.me/share?href=${e}`},{icon:"data:image/svg+xml,%3csvg width='40' height='40' viewBox='0 0 40 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M35 30.8333C35 33.135 33.1342 35 30.8333 35H9.16667C6.865 35 5 33.135 5 30.8333V9.16667C5 6.865 6.865 5 9.16667 5H30.8333C33.1342 5 35 6.865 35 9.16667V30.8333Z' fill='%2303A9F4'/%3e%3cpath d='M30 14.2667C29.265 14.5925 28.3342 14.8983 27.5 15C28.3483 14.4967 29.6942 13.4483 30 12.5C29.2075 12.9658 27.7742 13.4633 26.8392 13.6433C26.0925 12.8517 25.0275 12.5 23.8475 12.5C21.5808 12.5 20 14.4208 20 16.6667V18.3333C16.6667 18.3333 13.4167 15.7942 11.3942 13.3333C11.0383 13.9342 10.8383 14.6375 10.8383 15.3808C10.8383 16.8967 12.2308 18.435 13.3333 19.1667C12.6608 19.1458 11.3875 18.6325 10.8333 18.3333C10.8333 18.3467 10.8333 18.3633 10.8333 18.3808C10.8333 20.3533 12.2175 21.6925 14.0933 22.0658C13.7508 22.16 13.3333 22.5 11.7267 22.5C12.2483 24.1125 14.8708 24.965 16.6667 25C15.2617 26.0892 12.7567 26.6667 10.8333 26.6667C10.5008 26.6667 10.3208 26.685 10 26.6475C11.815 27.7975 14.35 28.3333 16.6667 28.3333C24.2142 28.3333 28.3333 22.5683 28.3333 17.1917C28.3333 17.015 28.3275 16.4233 28.3183 16.25C29.125 15.6817 29.4517 15.0867 30 14.2667Z' fill='white'/%3e%3c/svg%3e",name:"Twitter",href:`https://twitter.com/intent/tweet?url=${e}`},{icon:"data:image/svg+xml,%3csvg width='41' height='40' viewBox='0 0 41 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M35.5 30.8333C35.5 33.135 33.635 35 31.3333 35H9.66667C7.36583 35 5.5 33.135 5.5 30.8333V9.16667C5.5 6.865 7.36583 5 9.66667 5H31.3333C33.635 5 35.5 6.865 35.5 9.16667V30.8333Z' fill='%230078D4'/%3e%3cpath opacity='0.05' d='M25.4993 30.8327V22.4168C25.4993 21.0093 24.8168 20.1685 23.6727 20.1685C22.9935 20.1685 22.4943 20.551 22.1902 21.3052C22.176 21.3585 22.156 21.576 22.1643 22.2335L22.166 30.8327H16.3327V14.9993H22.166V15.8835C23.0177 15.296 24.0618 14.9993 25.281 14.9993C29.0702 14.9993 31.3318 17.5768 31.3318 21.8943L31.3327 30.8327H25.4993ZM9.66602 30.8327V14.9993H12.5468C10.8777 14.9993 9.66602 13.7727 9.66602 12.0818C9.66602 10.3927 10.8977 9.16602 12.5943 9.16602C14.271 9.16602 15.4652 10.3585 15.4993 12.0652C15.4993 13.7685 14.2668 14.9993 12.5702 14.9993H15.4993V30.8327H9.66602Z' fill='black'/%3e%3cpath opacity='0.07' d='M25.9173 30.4173V22.4182C25.9173 20.774 25.0582 19.7532 23.674 19.7532C22.5948 19.7532 22.0615 20.5132 21.8048 21.1507C21.7365 21.3165 21.7457 21.9748 21.749 22.2557L21.7507 30.4173H16.7507V15.4173H21.7507V16.7823C22.4132 16.0965 23.4798 15.4173 25.2823 15.4173C28.8098 15.4173 30.9165 17.839 30.9165 21.8957L30.9173 30.4173H25.9173ZM10.084 30.4173V15.4173H15.084V30.4173H10.084ZM12.5482 14.584C11.1207 14.584 10.084 13.5323 10.084 12.0832C10.084 10.6348 11.1407 9.58398 12.5957 9.58398C14.0323 9.58398 15.0548 10.6082 15.084 12.0748C15.084 13.5323 14.0273 14.584 12.5715 14.584H12.5482Z' fill='black'/%3e%3cpath d='M10.5 15.8333H14.6667V30H10.5V15.8333ZM12.5708 14.1667H12.5475C11.3042 14.1667 10.5 13.24 10.5 12.0825C10.5 10.9 11.3292 10 12.595 10C13.8625 10 14.6433 10.9 14.6667 12.0825C14.6667 13.2392 13.8625 14.1667 12.5708 14.1667ZM30.5 30H26.3333V22.4175C26.3333 20.5858 25.3125 19.3358 23.6733 19.3358C22.4225 19.3358 21.7458 20.1792 21.4175 20.9942C21.2975 21.2858 21.3333 22.0925 21.3333 22.5V30H17.1667V15.8333H21.3333V18.0133C21.9342 17.0833 22.875 15.8333 25.2817 15.8333C28.2633 15.8333 30.4992 17.7083 30.4992 21.895L30.5 30Z' fill='white'/%3e%3c/svg%3e",name:"LinkedIn",href:`https://www.linkedin.com/sharing/share-offsite/?url=${e}`},{icon:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' fill='none'%3e%3cpath fill='url(%23a)' d='M36.667 19.584c0 8.975-7.458 16.25-16.666 16.25a16.97 16.97 0 0 1-3.987-.47 1.68 1.68 0 0 0-1.15.12l-3.647 1.825a1.417 1.417 0 0 1-2.05-1.267v-3.355c0-.479-.214-.925-.567-1.249-3.245-2.966-5.266-7.179-5.266-11.854 0-8.975 7.458-16.25 16.667-16.25 9.208 0 16.666 7.275 16.666 16.25Z'/%3e%3cpath fill='black' d='M29.16 14.41c-.357 0-.703.118-1 .343l-4.745 3.512a.594.594 0 0 1-.363.125.565.565 0 0 1-.341-.113l-3.31-2.492a3.821 3.821 0 0 0-2.298-.765c-1.313 0-2.52.66-3.23 1.764l-1.009 1.575-3.433 5.58a1.633 1.633 0 0 0-.06 1.678c.299.545.862.883 1.47.883.357 0 .703-.118 1-.342l4.746-3.513a.594.594 0 0 1 .362-.125c.125 0 .243.04.342.114l3.31 2.491a3.819 3.819 0 0 0 2.297.765c1.314 0 2.521-.659 3.23-1.763l1.01-1.576 3.433-5.58a1.633 1.633 0 0 0 .059-1.678 1.682 1.682 0 0 0-1.47-.883Z' opacity='.05'/%3e%3cpath fill='black' d='M29.161 14.826c-.266 0-.525.09-.75.258L23.665 18.6c-.18.136-.39.207-.61.207a.98.98 0 0 1-.591-.197l-3.311-2.492a3.405 3.405 0 0 0-2.048-.68c-1.17 0-2.246.587-2.879 1.572l-1.008 1.575-3.43 5.574c-.247.387-.266.86-.048 1.259.222.405.656.667 1.104.667.266 0 .525-.09.75-.259l4.747-3.515c.18-.136.39-.206.61-.206a.98.98 0 0 1 .592.196l3.31 2.493c.6.446 1.307.68 2.048.68 1.171 0 2.247-.587 2.88-1.572l1.008-1.576 3.429-5.573c.247-.387.267-.86.048-1.26a1.281 1.281 0 0 0-1.104-.666Z' opacity='.07'/%3e%3cpath fill='white' d='m28.663 15.417-4.75 3.516c-.509.384-1.2.384-1.7.009L18.9 16.449a3.004 3.004 0 0 0-4.325.784l-1.008 1.575-3.425 5.566c-.5.784.458 1.675 1.2 1.117l4.75-3.517a1.412 1.412 0 0 1 1.7-.008l3.311 2.492a3.004 3.004 0 0 0 4.325-.783l1.009-1.575 3.425-5.567c.5-.783-.459-1.675-1.2-1.116Z'/%3e%3cdefs%3e%3cradialGradient id='a' cx='0' cy='0' r='1' gradientTransform='translate(9.24 35.816) scale(39.6767)' gradientUnits='userSpaceOnUse'%3e%3cstop stop-color='%231292FF'/%3e%3cstop offset='.079' stop-color='%232982FF'/%3e%3cstop offset='.23' stop-color='%234E69FF'/%3e%3cstop offset='.351' stop-color='%236559FF'/%3e%3cstop offset='.428' stop-color='%236D53FF'/%3e%3cstop offset='.754' stop-color='%23DF47AA'/%3e%3cstop offset='.946' stop-color='%23FF6257'/%3e%3c/radialGradient%3e%3c/defs%3e%3c/svg%3e",name:"Messenger",href:`https://www.facebook.com/sharer.php?u=${e}`}]:[{icon:"data:image/svg+xml,%3csvg width='33' height='32' viewBox='0 0 33 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M30.7336 6.21933e-10H2.2536C1.28305 0.00703318 0.499975 0.795821 0.5 1.7664V30.2464C0.507033 31.217 1.29582 32 2.2664 32H17.5944V19.6256H13.4344V14.7808H17.5944V11.216C17.5944 7.0848 20.1192 4.832 23.8056 4.832C25.0498 4.8267 26.2933 4.8908 27.5304 5.024V9.344H24.9896C22.9832 9.344 22.5928 10.304 22.5928 11.696V14.7808H27.38L26.74 19.6256H22.58V32H30.7336C31.7092 32 32.5 31.2092 32.5 30.2336V1.7536C32.493 0.783047 31.7042 -2.54822e-05 30.7336 6.21933e-10Z' fill='%233B5998'/%3e%3c/svg%3e",name:"Facebook",href:`https://www.facebook.com/sharer.php?u=${e}`},{icon:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKoAAACqCAMAAAAKqCSwAAAC/VBMVEUAAAD////3+fwAcrIAgMcAcrH//v7+//8AcbEAf8b9/v37/P0BcbAAfsT9/f36/P38/f4Af8UDcrEBfMD//v/5+/0CcbDz+foAcrAAfcb2+/wFcrABfcP9/f73/P0BfMIAfsMHca/y+Pvr9fgEcq/5+/wBc7Hg8PUFc7H6/f74+/sAc7T1+vvv+PoIc7ACcrAQda/2+vzM4+0Kc68Lcq37/v3m8vfi7/UAd7oAdbYHca39///v9/loqs0QdrAWd68Ae74Ber0Adrj6/fu01OQEf8UifrMKdLEMdK/x+Prt9vjp8/fe7fMFfsMAeLsPc64CcK3I4Ot7s9EBe8AcerD4/f3f7/Xc7PMTe7UUd7AAebwXebEHcq7x+vzt9/rY6/TR5u+51+apzOCDttJ/tNFdn8UTg8MMgcM1irs6i7kmgLQJbqnz+vzB3eqJutQeh8JLlL5Ckb0zhrbh8fbW6fHU5/DF3+ujzOKpzuGmzOGeyN2cxtxlpMdhosdYncPr9vnj8fbL4ey83Oq82eeRv9eFuNR6sc5yrcxVmsIthrgsg7UOcqvl8fa11uan0OWsz+KWwtmOvdZ8stBwqspOl8EJfsFFkr8yir0/jrsZfLUffLIaerEDbqz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excBQInj8k/a3zSaGv9EMFzSqFOk4DVetGtLgPqs81UHH1Q43VAxUgrkJUx9EG12kNVLHWrnuYARgNquZz2FH1f35Q9aqtYd8fNKyjDa5rarp+D4vOeJNihWEVWnUcdDaD6lb/h0VzNMyqhQqCiiF1uv9z+FHNB5srR9VgD9AIUK/d/7x4S01WCpU060TgqwZF/VvrcfHoKE1WasYaoILUGrAa0FmvaXKhOl5t8MOboGcNMysqBDANZddbp3W93QK978UW5uRQpUGj1a1rWi+MoMTRfg3HW3C8ArAOv7veuvX3tdP3AYlH4stNjJzV8hFNoUb8ehtLo3+3VR/pSH5plJG+iks80l9wZnSwJOggsBxjiQUUKC2toV9xiOvi/A/lszrbhFX1MAAAAABJRU5ErkJggg==",name:"Zalo",href:`https://sp.zalo.me/share?href=${e}`},{icon:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='33' height='32' fill='none'%3e%3crect width='32' height='32' x='.5' fill='%231FA1F3' rx='4'/%3e%3cpath fill='white' fill-rule='evenodd' d='m16.23 13.235.04.634-.673-.077c-2.455-.298-4.6-1.308-6.42-3.004l-.89-.842-.23.622c-.486 1.385-.175 2.848.836 3.832.54.544.418.621-.512.298-.324-.104-.607-.181-.634-.143-.095.091.229 1.27.485 1.735.35.648 1.066 1.282 1.848 1.657l.66.298-.781.013c-.756 0-.783.013-.702.285.27.841 1.335 1.735 2.523 2.123l.836.272-.729.414a7.893 7.893 0 0 1-3.614.958c-.607.013-1.106.065-1.106.104 0 .13 1.645.854 2.603 1.14 2.873.84 6.285.478 8.848-.959 1.82-1.023 3.641-3.055 4.491-5.023.459-1.049.917-2.965.917-3.884 0-.596.04-.673.796-1.385.445-.415.863-.868.944-.997.135-.246.122-.246-.566-.026-1.147.388-1.309.337-.742-.246.418-.414.917-1.165.917-1.385 0-.04-.202.026-.432.142-.242.13-.782.324-1.187.44l-.728.22-.66-.427c-.365-.233-.877-.492-1.147-.57-.688-.18-1.74-.155-2.36.052-1.687.583-2.752 2.085-2.63 3.729Z' clip-rule='evenodd'/%3e%3c/svg%3e",name:"Twitter",href:`https://twitter.com/intent/tweet?url=${e}`},{icon:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKsAAACqCAMAAADlak+OAAAC+lBMVEUAAAAqtkD3+fz5+fn////8/P39/v4ptT8psj5CxFIqtD8+wlBMy1opsD4tuEKQ1537/Pv9/f76+/opsz9DxVQvukRKyVlGx1ZPzF1Tz2BX0WNJyFgrt0FSzl9FxlU4vkpQzV45v0wxu0X3+fg8wU46wE1Vz2E2vUkzu0dOy1worj1AwlFW0GL2+PcntD01u0j8/v1IyFc9wU9ExlQ7v035+vkvt0MttkIlszz1+PUsskEorDz3/PhFv1cnqTv09/Tt9e/5/PkrsEDy9/Po8+ovsUP5+v3r9O0yuEVZ0GQmpjrz+fTr9+zw9fFRyV7k9OZNyFswtUXc8t/G6cz2+/ft+O4ztEf2+vY2tEots0L0+/Xv9/He7+FAwFHi8+Wr4LR50IZYzmMroT7R7dXv+fFTy2FFwlU7vE3h8OTZ7tyi2aqP3JeC14xIxFg+vlD6/fry+vPm8ujd8eTZ8tvA6cV+0opczmdMvl1LuFwzskcrrD/o9urJ7M5izm9dxm9cwWxTxWLV8NnN7tG96MK75MG557+m3a+O1Zl31IE8tU/m9ujf9OLT6tav4LeK2JNtzXpGvFk7uE4ksjsmozrV7dnO6tLH58zC58jA4MWG1pB7zIhoynZf0WpZymcqqD7E68mt5LOi4amc1qWc36SU2J5tx3tOxl1LwltDvVQ/uFI5skw2uEoxq0QmnznR79XL6dDM5NCx5biw3beX1qCI0ZR2yoRbx2pbvGo5o0k0uEfb7N235L2137u05rqi0amW3p6S1Z1914d2wIJt0XhqwXdYxWdQv2JFuFdDtVUwoUIrpT7W6tqo1q+Aw4tlxnVhw3BezmpVwGZVvWVRuWI/pk84p0rF4cmo466e3aee2aeY26GQ0ZqJzJOE0I+Ay4x0zoFjyHFkt3FOw18mnDix2bes2bSFyJBz1X1vyX1l0nBds2pBrlI4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AAAAElFTkSuQmCC",name:"WhatsApp",href:`https://wa.me/?text=${e}`},{icon:"data:image/svg+xml,%3csvg width='33' height='32' viewBox='0 0 33 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3crect x='0.5' width='32' height='32' rx='4' fill='%230077B5'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M11.3571 9.07077C11.3349 7.97643 10.6126 7.14288 9.43969 7.14288C8.26679 7.14288 7.5 7.97643 7.5 9.07077C7.5 10.1425 8.24415 11 9.39516 11H9.4171C10.6126 11 11.3571 10.1425 11.3571 9.07077ZM11.3571 12.286H7.5V23.8574H11.3571V12.286ZM20.651 12.286C23.4224 12.286 25.5 13.9022 25.5 17.3748L25.4999 23.8571H21.2885V17.8086C21.2885 16.2894 20.6791 15.2526 19.1545 15.2526C17.991 15.2526 17.2979 15.9515 16.9935 16.6265C16.8822 16.8685 16.8548 17.2056 16.8548 17.5435V23.8574H12.6429C12.6429 23.8574 12.6984 13.6127 12.6429 12.5518H16.8548V14.1531C17.4138 13.3834 18.415 12.286 20.651 12.286Z' fill='white'/%3e%3c/svg%3e",name:"LinkedIn",href:`https://www.linkedin.com/sharing/share-offsite/?url=${e}`}])(n||"",p);return t.createElement(ao,{"data-is-marrybaby":p,className:e,style:r},t.createElement("div",{className:"share__social"},f.map(((e,a)=>t.createElement(to,{key:a,"data-event-category":i,"data-event-action":`Social Share - ${e.name}`,"data-event-label":n,href:e.href,target:"_blank",rel:"noreferrer"},t.createElement(P,{alt:`share to ${e}`,src:e.icon}),t.createElement(K,{className:"__label",size:"label2",weight:"regular"},e.name))))),t.createElement("div",{className:"share__copy-link"},t.createElement(K,{className:"__label",color:de.colors.gray500,size:"p4",weight:"regular"},m("orCopyLink")),t.createElement("div",{className:"__input-group"},t.createElement("input",{ref:g,type:"text",value:n,readOnly:!0,onFocus:e=>e.target.select()}),t.createElement("button",{className:"__copy",onClick:()=>b()},p?t.createElement(P,{alt:"copy share link",src:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' xmlns:v='https://vecta.io/nano'%3e%3cg fill='%233e3f58'%3e%3cpath d='M19.726 8.537l-.632.151.632-.151zm0 4.65l-.632-.151.632.151zm-9.097-8.918l.146.633-.146-.633zm4.744 0l-.146.633.146-.633zm1.303 11.983a.65.65 0 1 0 .649 1.126l-.649-1.126zM6.041 7.23a.65.65 0 0 0 1.182.541L6.041 7.23zm13.053 1.459c.342 1.43.342 2.918 0 4.348l1.264.303c.39-1.629.39-3.324 0-4.953l-1.264.303zm-8.32-3.786a9.94 9.94 0 0 1 4.452 0l.291-1.267a11.24 11.24 0 0 0-5.035 0l.291 1.267zm4.452 0c1.925.443 3.419 1.913 3.867 3.786l1.264-.303c-.566-2.363-2.445-4.199-4.84-4.75l-.291 1.267zm2.099 12.476c1.505-.868 2.62-2.314 3.033-4.04l-1.264-.303c-.327 1.368-1.213 2.521-2.418 3.217l.649 1.126zM10.482 3.636c-1.988.457-3.62 1.799-4.442 3.594l1.182.541c.652-1.425 1.954-2.501 3.551-2.868l-.291-1.267z'/%3e%3cpath d='M3.274 16.187l-.632.151.632-.151zm0-4.65l-.632-.151.632.151zm13.451 0l-.632.151.632-.151zm0 4.65l.632.151-.632-.151zm-4.354 4.268l-.146-.633.146.633zm-4.744 0l-.146.634.146-.634zm0-13.186l.146.633-.146-.633zm4.744 0l-.146.633.146-.633zm-8.465 8.767c-.342-1.43-.342-2.918 0-4.348l-1.264-.303c-.39 1.629-.39 3.324 0 4.953l1.264-.303zm12.187-4.348c.342 1.43.342 2.918 0 4.348l1.264.303c.39-1.629.39-3.324 0-4.953l-1.264.303zm-3.867 8.133a9.94 9.94 0 0 1-4.452 0l-.291 1.267a11.24 11.24 0 0 0 5.035 0l-.291-1.267zM7.774 7.903a9.94 9.94 0 0 1 4.452 0l.291-1.267a11.24 11.24 0 0 0-5.035 0l.291 1.267zm0 11.919c-1.925-.443-3.419-1.913-3.867-3.786l-1.264.303c.565 2.363 2.445 4.199 4.84 4.75l.291-1.267zm4.744 1.267c2.395-.551 4.275-2.387 4.84-4.75l-1.264-.303c-.448 1.872-1.942 3.343-3.867 3.786l.291 1.267zm-.291-13.186c1.925.443 3.419 1.913 3.867 3.785l1.264-.303c-.566-2.363-2.445-4.199-4.84-4.75l-.291 1.267zM7.482 6.636c-2.395.551-4.275 2.387-4.84 4.75l1.264.303c.448-1.872 1.942-3.343 3.867-3.785l-.291-1.267zM12.268 21l.083-2.523c.079-.573.221-.867.433-1.075l-.91-.928c-.499.489-.712 1.104-.811 1.827-.096.702-.095 1.596-.095 2.699h1.3zm4.205-5.409c-1.126 0-2.035-.001-2.748.093-.731.096-1.354.303-1.85.79l.91.928c.214-.21.519-.352 1.11-.43.609-.08 1.416-.082 2.579-.082v-1.3z'/%3e%3c/g%3e%3cpath d='M7 11h3m-3 3h5' stroke='%233e3f58' stroke-width='1.3' stroke-linecap='round'/%3e%3c/svg%3e"}):m(h?"copied":"copy")))))},io=({trackingCategory:e,className:i,style:r,url:n,avatar:s,text:d,onClose:c})=>{const{data:{env:{isMarryBaby:p}}}=l(u),{t:m}=X(),[g,h]=a(!1);return o((()=>(re(!0),setTimeout((()=>h(!0)),0),()=>re(!1))),[]),t.createElement(W,null,t.createElement(ro,{"data-is-marrybaby":p,className:i,style:r},t.createElement(Ja,{className:"share-popup",isOpen:g,onClose:c,heading:m("bottomBar.share")},p?t.createElement(K,{className:"share-mb-text",size:"sm"},m("article.shareOn")):t.createElement("div",{className:"custom-share__header"},s&&t.createElement("div",{className:"custom-share__header-image"},t.createElement("img",{src:s,loading:"lazy"})),t.createElement("div",{className:"custom-share__header-info"},t.createElement(b,{tag:"h4"},d),t.createElement(K,{className:"desc",size:"md"},n))),g&&t.createElement(oo,{trackingCategory:e,shareUrl:n||("undefined"!=typeof window?window.location.href:""),title:d}))))},ro=ne.div`
|
|
2254
2254
|
.share-popup {
|
|
2255
2255
|
> div:first-child {
|
|
2256
2256
|
height: unset;
|
|
@@ -2309,7 +2309,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
2309
2309
|
overflow: hidden;
|
|
2310
2310
|
border-radius: 1rem;
|
|
2311
2311
|
&[data-open='true'] {
|
|
2312
|
-
${
|
|
2312
|
+
${ie.mbDown} {
|
|
2313
2313
|
max-width: unset;
|
|
2314
2314
|
width: 100%;
|
|
2315
2315
|
top: 100%;
|
|
@@ -2337,7 +2337,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
2337
2337
|
}
|
|
2338
2338
|
}
|
|
2339
2339
|
}
|
|
2340
|
-
`,
|
|
2340
|
+
`,no=ne.div`
|
|
2341
2341
|
padding: 0 8px;
|
|
2342
2342
|
margin-top: 18px;
|
|
2343
2343
|
|
|
@@ -2368,7 +2368,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
2368
2368
|
&[data-is-marrybaby='true'] {
|
|
2369
2369
|
padding: 0 1rem 1rem;
|
|
2370
2370
|
}
|
|
2371
|
-
`,
|
|
2371
|
+
`,lo=ne.div`
|
|
2372
2372
|
padding: 0.5rem 1rem 1rem;
|
|
2373
2373
|
line-height: 1.5;
|
|
2374
2374
|
word-break: break-word;
|
|
@@ -2425,26 +2425,26 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
2425
2425
|
}
|
|
2426
2426
|
}
|
|
2427
2427
|
}
|
|
2428
|
-
`;var
|
|
2428
|
+
`;var so=M((e=>({root:{mention:{color:e.fn.primaryColor()},a:{"&,&:visited,&:focus":{color:e.fn.primaryColor()}},".create-post-link":{display:"inline",color:e.fn.primaryColor(),cursor:"pointer"}}})));const co=e=>{var{trackingCategory:r,url:n,className:d,style:c,replyingTo:p,mentionedUser:m,description:g,disableShortenContent:h,mentions:v=[],maxChars:b=1e3,hideShowAllBtn:f,styles:x,onClickCreatePostLink:w}=e,y=q(e,["trackingCategory","url","className","style","replyingTo","mentionedUser","description","disableShortenContent","mentions","maxChars","hideShowAllBtn","styles","onClickCreatePostLink"]);const{classes:E,theme:C}=so(void 0,{name:"PostContent",styles:x}),[k,A]=a(!1),{t:N}=X(),{authActionWrapper:z}=qe(),[T,S]=a(!1),L=ka(Ca(g||"","display"),v),{action:{sanitizeFunction:V}}=l(u),P=i((()=>{const e=V(L||"");if(h||k)return{showContent:e,hasSeeMore:!1};const t=e.slice(0,b),a=b-27*((t.match(/<\/div>/g)||[]).length-1),o=(t||"").slice(0,a<40?40:a),i=V(o.replace(/(<|<\/)( +|[a-zA-Z]*)$/gi,"")),r=i.length<e.length-10;return{showContent:r?i:e,hasSeeMore:r}}),[h,k,L]),j=(null==m?void 0:m.name)||p,F="expert"===(null==m?void 0:m.role)&&!!(null==m?void 0:m.partnerId),B=s(null),O=e=>{e.preventDefault(),null==w||w()};return o((()=>{var e;return null===(e=null==B?void 0:B.current)||void 0===e||e.querySelectorAll("[data-create-post]").forEach((e=>{e.addEventListener("click",O,{passive:!0})})),()=>{var e;null===(e=null==B?void 0:B.current)||void 0===e||e.querySelectorAll("[data-create-post]").forEach((e=>{e.removeEventListener("click",O,!1)}))}}),[h,k,L]),t.createElement(t.Fragment,null,F&&t.createElement(Yt,{isOpen:T,onClose:()=>S(!1),expertId:String(null==m?void 0:m.partnerId)}),t.createElement(lo,Object.assign({ref:B,className:`${E.root} ${d} no-replace-click`,style:c,mentionColor:C.fn.primaryColor()},y),j&&t.createElement(H,{onClick:()=>F&&S(!0),className:"post-content-replying"},"@",j),(null==g?void 0:g.startsWith("[mention+id="))&&t.createElement("span",{className:"post-content-replying tag-only",style:{color:C.fn.primaryColor()}},"@"),t.createElement("span",{dangerouslySetInnerHTML:{__html:P.showContent},className:"post-content "+(P.hasSeeMore?"has-see-more":"")}),P.hasSeeMore&&!k&&t.createElement("span",null,"... ",!f&&t.createElement(H,Object.assign({onClick:e=>{e.preventDefault(),e.stopPropagation(),z((()=>A(!0)))},className:"see-more-text"},r?{"data-event-category":r,"data-event-action":"See More Post Click","data-event-label":n}:{}),N("post.seeMore")))))},po=ne.div`
|
|
2429
2429
|
padding: 14px 16px 14px 17px;
|
|
2430
2430
|
background: ${e=>e.bgColor};
|
|
2431
2431
|
border-left: 3px solid ${e=>e.highlight};
|
|
2432
2432
|
|
|
2433
|
-
${
|
|
2433
|
+
${ie.mbUp} {
|
|
2434
2434
|
padding: 12px 12px 12px 17px;
|
|
2435
2435
|
}
|
|
2436
|
-
`,
|
|
2436
|
+
`,mo=ne.div`
|
|
2437
2437
|
display: flex;
|
|
2438
|
-
`,
|
|
2438
|
+
`,uo=ne.div`
|
|
2439
2439
|
font-size: 12px;
|
|
2440
2440
|
line-height: 18px;
|
|
2441
2441
|
|
|
2442
2442
|
&[data-has-icon='true'] {
|
|
2443
2443
|
margin-left: 10px;
|
|
2444
2444
|
}
|
|
2445
|
-
`,
|
|
2445
|
+
`,go=ne.div`
|
|
2446
2446
|
flex-shrink: 0;
|
|
2447
|
-
`,
|
|
2447
|
+
`,ho=ne.div`
|
|
2448
2448
|
display: grid;
|
|
2449
2449
|
grid-gap: 3px;
|
|
2450
2450
|
grid-template-columns: 1fr 1fr;
|
|
@@ -2557,7 +2557,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
2557
2557
|
}
|
|
2558
2558
|
}
|
|
2559
2559
|
}
|
|
2560
|
-
`,
|
|
2560
|
+
`,vo=ne.div`
|
|
2561
2561
|
position: fixed;
|
|
2562
2562
|
z-index: 999;
|
|
2563
2563
|
top: 0;
|
|
@@ -2600,9 +2600,9 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
2600
2600
|
object-fit: cover;
|
|
2601
2601
|
}
|
|
2602
2602
|
}
|
|
2603
|
-
`,
|
|
2603
|
+
`,bo=ne((e=>{var{icon:a,bgColor:o=de.colors.yellow50,highlightColor:i=de.colors.yellow800,message:r}=e,n=q(e,["icon","bgColor","highlightColor","message"]);return t.createElement(po,Object.assign({bgColor:o,highlight:i},n),t.createElement(mo,null,a&&t.createElement(go,null,a),t.createElement(uo,{"data-has-icon":Boolean(a)},r)))}))`
|
|
2604
2604
|
margin-bottom: 16px;
|
|
2605
|
-
`,
|
|
2605
|
+
`,fo=ne.div`
|
|
2606
2606
|
position: fixed;
|
|
2607
2607
|
z-index: 999;
|
|
2608
2608
|
top: 0;
|
|
@@ -2619,7 +2619,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
2619
2619
|
opacity: 1;
|
|
2620
2620
|
pointer-events: auto;
|
|
2621
2621
|
}
|
|
2622
|
-
`,
|
|
2622
|
+
`,xo=ne.div`
|
|
2623
2623
|
padding: 1rem;
|
|
2624
2624
|
background: white;
|
|
2625
2625
|
.icon-close {
|
|
@@ -2627,7 +2627,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
2627
2627
|
height: 26px;
|
|
2628
2628
|
cursor: pointer;
|
|
2629
2629
|
}
|
|
2630
|
-
`,
|
|
2630
|
+
`,wo=ne.div`
|
|
2631
2631
|
position: relative;
|
|
2632
2632
|
flex: 1;
|
|
2633
2633
|
overflow: hidden;
|
|
@@ -2637,7 +2637,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
2637
2637
|
object-fit: contain;
|
|
2638
2638
|
object-position: center;
|
|
2639
2639
|
}
|
|
2640
|
-
`,
|
|
2640
|
+
`,yo=ne.div`
|
|
2641
2641
|
--inner-padding: max(16px, 20%);
|
|
2642
2642
|
height: 100%;
|
|
2643
2643
|
position: absolute;
|
|
@@ -2657,7 +2657,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
2657
2657
|
&[data-disabled='true'] {
|
|
2658
2658
|
cursor: not-allowed;
|
|
2659
2659
|
}
|
|
2660
|
-
`,
|
|
2660
|
+
`,Eo=ne.div`
|
|
2661
2661
|
border-radius: 50%;
|
|
2662
2662
|
background: rgba(0, 0, 0, 0.3);
|
|
2663
2663
|
display: flex;
|
|
@@ -2671,14 +2671,14 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
2671
2671
|
opacity: 0.5;
|
|
2672
2672
|
}
|
|
2673
2673
|
}
|
|
2674
|
-
${
|
|
2674
|
+
${ie.tdUp} {
|
|
2675
2675
|
padding: 8px;
|
|
2676
2676
|
> img {
|
|
2677
2677
|
width: 30px;
|
|
2678
2678
|
height: 30px;
|
|
2679
2679
|
}
|
|
2680
2680
|
}
|
|
2681
|
-
`,
|
|
2681
|
+
`,Co="hhgcomp-sensitivemask-inner",ko=S(ne.div`
|
|
2682
2682
|
position: absolute;
|
|
2683
2683
|
top: 0;
|
|
2684
2684
|
right: 0;
|
|
@@ -2690,7 +2690,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
2690
2690
|
align-items: center;
|
|
2691
2691
|
justify-content: center;
|
|
2692
2692
|
cursor: pointer;
|
|
2693
|
-
`,
|
|
2693
|
+
`,Co),Ao=ne.div``,No=ne.div`
|
|
2694
2694
|
position: absolute;
|
|
2695
2695
|
bottom: 0;
|
|
2696
2696
|
left: 0;
|
|
@@ -2724,7 +2724,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
2724
2724
|
background: transparent;
|
|
2725
2725
|
cursor: zoom-in;
|
|
2726
2726
|
|
|
2727
|
-
.${
|
|
2727
|
+
.${Co} {
|
|
2728
2728
|
top: auto;
|
|
2729
2729
|
right: auto;
|
|
2730
2730
|
left: 8px;
|
|
@@ -2734,7 +2734,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
2734
2734
|
justify-content: flex-start;
|
|
2735
2735
|
}
|
|
2736
2736
|
}
|
|
2737
|
-
`,
|
|
2737
|
+
`,zo=ne.div`
|
|
2738
2738
|
.link-info-container {
|
|
2739
2739
|
padding: 0.5rem 1rem;
|
|
2740
2740
|
background: ${e=>e.color||"#f4faff"};
|
|
@@ -2770,7 +2770,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
2770
2770
|
overflow: hidden;
|
|
2771
2771
|
border-radius: 1rem;
|
|
2772
2772
|
}
|
|
2773
|
-
`;var zo="PD6nRZX";const To=({className:e,size:a="md"})=>{const{t:o}=X();return t.createElement("div",{className:`${zo} ${e}`},t.createElement(me,{size:a,color:"transparent",isLoading:!0},o("loading")))},So=n({});var Lo="l5fL1xL",Vo="L-aGKo7";const Po=({children:e,className:a=""})=>t.createElement("div",{className:`${Lo} ${a}`},e),jo=({children:e,className:a=""})=>t.createElement("div",{className:`${Vo} ${a}`},e);var Fo="eaR8ATZ",Bo="xM-7K0a",Oo="DZmf3s7";const Ro=({src:e,defaultSrc:a=te.getAssetPath("logo/logomark.png"),ratio:o=1,size:i=80,radius:r=8,alt:n,className:l=""})=>t.createElement("div",{className:l},t.createElement("div",{className:Oo,style:{width:`${i}px`,height:i*o+"px",borderRadius:`${r}px`}},t.createElement(P,{src:e,backupSrc:a,alt:n}))),Mo=({category:e,title:a,src:o,children:i,className:r=""})=>t.createElement("div",{className:`${Fo} ${r}`},t.createElement(Ro,{src:o}),t.createElement("div",{className:Bo},i||t.createElement("div",null,e&&t.createElement(Po,null,e),a&&t.createElement(jo,null,a))));Mo.CategoryText=Po,Mo.Title=jo;const Io=({featureImage:e,postTitle:a,author:o,categories:i,isReview:r,className:n=""})=>{var l;const s=r?"Medically reviewed by Jobelle Ann Dela Cruz Bigalbal, MD":"Written by Jobelle Ann Dela Cruz Bigalbal, MD";return t.createElement(Mo,{src:e,className:n},t.createElement(t.Fragment,null,t.createElement(Mo.CategoryText,null,null===(l=null==i?void 0:i[0])||void 0===l?void 0:l.name),t.createElement(Mo.Title,null,a),t.createElement(St,{avatarProps:Object.assign(Object.assign({},o),{size:32}),subTitle:t.createElement(t.Fragment,null,s,t.createElement(St.SubDivider,null),"Dec 12, 2022")})))};var Uo={container:"SFSgnOz",header:"Tf3aoVa",heading:"TOt4QXl",headingIcon:"_5XYN1KT",accBodyGroup:"yE-tZRj",accBodyGroupItem:"LXiGuGT",accBodyGroupDesc:"r4rx-6v",subTitle:"XrHh8-C",subIcon:"c5-Yecd",group:"UBj6nWr",groupBody:"_2vptVBd",articleCardLink:"ZPDAwiR",relatedList:"_6wJn-NR",socialItem:"_21XDdFv",mbChevronWrapper:"LSyr3Zo"};const Do=({className:e=""})=>{var a,o,i,r,n;const{t:s}=X(),{info:d,isMarryBaby:c,currentPageUrl:p}=l(So),m=null==d?void 0:d.data,u=[{type:"linkedin",icon:te.getAssetPath("linkedin.svg"),url:null===(a=null==d?void 0:d.contact)||void 0===a?void 0:a.linkedin,eventAction:"Doctor Profile - Linkedin"},{type:"instagram",icon:te.getAssetPath("instagram.svg"),url:null===(o=null==d?void 0:d.contact)||void 0===o?void 0:o.instagram,eventAction:"Doctor Profile - Instagram"},{type:"facebook",icon:te.getAssetPath("facebook.svg"),url:null===(i=null==d?void 0:d.contact)||void 0===i?void 0:i.facebook,eventAction:"Doctor Profile - Facebook"},{type:"youtube",icon:te.getAssetPath("youtube.svg"),url:null===(r=null==d?void 0:d.contact)||void 0===r?void 0:r.youtube,eventAction:"Doctor Profile - Youtube"},{type:"tiktok",icon:te.getAssetPath("tiktok.svg"),url:null===(n=null==d?void 0:d.contact)||void 0===n?void 0:n.tiktok,eventAction:"Doctor Profile - TikTok"}],g=[...((null==d?void 0:d.experiences)||[]).length>0?[{key:"experience",heading:s("profilePanel.experience"),iconSrc:te.getAssetPath(c?"award-doc-mb.svg":"award-doc.svg"),eventAction:"Doctor Experience Click",panel:t.createElement("div",{className:Uo.accBodyGroup},null==d?void 0:d.experiences.map(((e,a)=>t.createElement("div",{className:Uo.accBodyGroupItem,key:String(a)},t.createElement("div",{className:Uo.accBodyGroupTitle},e.title),t.createElement("div",{className:Uo.accBodyGroupDesc},t.createElement("p",null,e.organization),t.createElement("p",null,e.duration))))))}]:[],...((null==d?void 0:d.educations)||[]).length>0?[{key:"education",heading:s("profilePanel.education"),iconSrc:te.getAssetPath(c?"book-mb.svg":"book.svg"),eventAction:"Doctor Degree Click",panel:t.createElement("div",{className:Uo.accBodyGroup},null==d?void 0:d.educations.map(((e,a)=>t.createElement("div",{className:Uo.accBodyGroupItem,key:String(a)},t.createElement("div",{className:Uo.accBodyGroupTitle},e.schoolName),t.createElement("div",{className:Uo.accBodyGroupDesc},t.createElement("p",null,e.study),t.createElement("p",null,e.completedYear))))))}]:[],...((null==d?void 0:d.awards)||[]).length>0?[{key:"awards",heading:s("profilePanel.awards"),iconSrc:te.getAssetPath(c?"award-mb.svg":"award.svg"),eventAction:"Doctor Award Click",panel:t.createElement("div",{className:Uo.accBodyGroup},null==d?void 0:d.awards.map(((e,a)=>t.createElement("div",{className:Uo.accBodyGroupTitle,key:a},e.title))))}]:[]],h=(null==d?void 0:d.relatedPosts)||[],v=u.filter((e=>e.url));return t.createElement("div",{className:`${Uo.container} ${e}`,"data-is-marrybaby":c},g.length>0&&t.createElement(Z,{defaultValue:g[0].key,chevron:c?t.createElement("div",{className:Uo.mbChevronWrapper},t.createElement(J,{size:12,color:se.mbColors.midGray})):t.createElement(J,{color:se.colors.gray400}),styles:{chevron:{"&[data-rotate]":{".minus-path":{display:"block"},".plus-path":{display:"none"}}},content:{display:"flex",flexDirection:"column",gap:"16px",padding:"0"},item:{border:0},control:{paddingLeft:0,"&:hover":{background:"transparent"},"*":{pointerEvents:"none"}}}},g.map((e=>t.createElement(Z.Item,{key:e.key,value:e.key},t.createElement(Z.Control,{"data-event-category":"Together","data-event-action":e.eventAction,"data-event-label":p},t.createElement("div",{className:Uo.header},t.createElement("div",{className:Uo.headingIcon},t.createElement("img",{src:e.iconSrc,loading:"lazy"})),t.createElement("div",{className:Uo.heading},e.heading))),t.createElement(Z.Panel,null,e.panel))))),h.length>0&&t.createElement("div",{className:Uo.group},t.createElement("div",{className:Uo.subTitle},t.createElement("img",{className:Uo.subIcon,src:te.getAssetPath(c?"mb-logo.svg":"logo/circle-solid.svg"),loading:"lazy"}),s("profilePanel.publishedArticles")),t.createElement("div",{className:`${Uo.relatedList}`},null==d?void 0:d.relatedPosts.map((e=>t.createElement("a",{key:String(e.id),href:`${window.location.origin}${null==e?void 0:e.permalink}`,className:Uo.articleCardLink},t.createElement(Io,Object.assign({className:"article-card"},Object.assign(Object.assign({},e),!e.author&&{author:{displayName:null==m?void 0:m.name,avatar:null==m?void 0:m.avatar}}),{isReview:!0}))))))),v.length>0&&t.createElement("div",{className:Uo.group},t.createElement("div",{className:Uo.subTitle},t.createElement("img",{className:Uo.subIcon,src:te.getAssetPath(c?"social-mb.svg":"social.svg"),loading:"lazy"}),s("profilePanel.socialLinks")),t.createElement("div",{className:Uo.groupBody},t.createElement(I,null,u.map(((e,a)=>e.url&&t.createElement("div",{className:Uo.socialItem,key:a},t.createElement("a",{href:e.url,target:"_blank",rel:"noreferrer"},t.createElement("img",{src:e.icon,loading:"lazy",width:"32px","data-event-category":"Together","data-event-action":e.eventAction,"data-event-label":p})))))))))};var Wo={container:"GYUElSy",question:"_3C6QpT1",questionTitle:"_9M9VYL6",community:"_1RuSyv3",questionCard:"_1IG-eEp"};const Ho=({post:e,className:a=""})=>{var o,i,r,n,s,d,c,p;const{t:m}=X(),{data:{userInfo:g,env:{togetherBasePath:h}}}=l(u),{authActionWrapper:v,authorProps:b,currentPageUrl:f}=l(So),x=`${window.location.origin}${h}/${null===(o=null==e?void 0:e.community)||void 0===o?void 0:o.slug}/${null==e?void 0:e.slug}/`;return t.createElement("div",{className:`${Wo.container} ${a}`},t.createElement("div",{className:Wo.header},t.createElement("div",{className:Wo.question},m("profilePanel.question")," ",t.createElement(F,{className:Wo.questionTitle,href:"#",onClick:()=>{(null==g?void 0:g.id)||null==v||v((()=>window.location.href=x))}},"#",null==e?void 0:e.title)),t.createElement("div",{className:Wo.community},null===(i=null==e?void 0:e.community)||void 0===i?void 0:i.name," - ",null==e?void 0:e.createdTime)),t.createElement("div",{className:Wo.questionCard},t.createElement(la,Object.assign({className:"card-author"},b,{role:"user",avatarIcon:t.createElement(vt,null),subLine:t.createElement(la.SubTextRow,null,t.createElement(la.SubText,null,null===(s=null===(n=null===(r=null==e?void 0:e.expertAnswer)||void 0===r?void 0:r.answer)||void 0===n?void 0:n[0])||void 0===s?void 0:s.createdTime))})),t.createElement(so,{className:"post-content-wrapper",description:(null===(p=null===(c=null===(d=null==e?void 0:e.expertAnswer)||void 0===d?void 0:d.answer)||void 0===c?void 0:c[0])||void 0===p?void 0:p.content)||"",mentions:null==e?void 0:e.mentions,"data-testid":"Content of the Post"})),t.createElement(V,{variant:"secondary","data-event-category":"Together","data-event-action":"Doctor Reply Click","data-event-label":f,size:"md",onClick:()=>{(null==g?void 0:g.id)?window.location.href=x:null==v||v((()=>window.location.href=x))}},m("profilePanel.anserwing.viewFull")))};var Zo="MrdoES3",qo="_8fd7YMs",Go="DomiQfw",Xo="-b2qnfL";const Qo=({message:e,buttonTxt:a,imgSrc:o,onBtnClick:i})=>{const{siteType:r,isMarryBaby:n}=l(So);return t.createElement("div",{className:qo},t.createElement("div",{className:Go},t.createElement("img",{src:o||te.getAssetPath(n?"comments-mb.svg":"comments.svg"),loading:"lazy"})),e&&t.createElement("div",{className:Xo},e),a&&t.createElement(me,{size:"md",theme:r,color:"secondary",onClick:i},a))},Ko=({id:e})=>{const{t:i}=X(),{data:{locale:r}}=l(u),{authorProps:n}=l(So),[s,d]=a(null),[c,m]=a(!1);return o((()=>{e&&G(void 0,void 0,void 0,(function*(){var t;m(!0);const a=yield p(k(N.USER.LIST_ANSWERS,{_locale:r,id:e}),"GET"),o=((null===(t=null==a?void 0:a.data)||void 0===t?void 0:t.replies)||[]).map(ve);d(o),m(!1)}))}),[]),t.createElement("div",{className:Zo},c?t.createElement(To,null):null!==s&&(s.length>0?s.map((e=>t.createElement(Ho,{className:"post-card",key:e.id,post:e}))):t.createElement(Qo,{message:i("profilePanel.emptyPostMess.content",{name:(null==n?void 0:n.name)||(null==n?void 0:n.username)})})))};var Yo="toEutn7",$o="drdisHs";const Jo=e=>{var a,o,i,r,{post:n}=e,s=q(e,["post"]);const{data:{env:{togetherBasePath:d}}}=l(u);return t.createElement(t.Fragment,null,t.createElement("div",Object.assign({},s,{className:`${Yo} ${(null==s?void 0:s.className)||""}`}),t.createElement(la,{className:"card-author",avatar:null===(a=null==n?void 0:n.author)||void 0===a?void 0:a.avatar,name:(null===(o=null==n?void 0:n.author)||void 0===o?void 0:o.name)||(null===(i=null==n?void 0:n.author)||void 0===i?void 0:i.username),isAnonymous:Boolean(null==n?void 0:n.isAnonymous),subLine:t.createElement(la.SubTextRow,null,t.createElement(la.SubText,null,null==n?void 0:n.createdTime))}),t.createElement(F,{href:`${window.location.origin}${d}/${null===(r=null==n?void 0:n.community)||void 0===r?void 0:r.slug}/${null==n?void 0:n.slug}/`,className:$o,rel:"noreferrer"},null==n?void 0:n.title)))};var _o={accordion:"I-uIJ6E",header:"_41WRsj2",heading:"AcOGL93",headingIcon:"JD3dWJN",panel:"dKAgnS8",chevron:"L2Q9T6m",container:"h-pSmhX"};const ei=()=>{var e,i;const{t:r}=X(),{data:{locale:n,userInfo:s}}=l(u),{onSkipQuestion:d,countValues:c,setCountValues:p}=l(So),[m,g]=a(),[h,v]=a([]),[b,f]=a(!1),x=null==s?void 0:s.id;o((()=>{x&&G(void 0,void 0,void 0,(function*(){var e;f(!0);const t=yield T(k(N.USER.LIST_QUESTION_NEED_REPLY,{_locale:n}),"GET"),a=[],o=Object.create({});((null===(e=null==t?void 0:t.data)||void 0===e?void 0:e.communities)||[]).filter((e=>((null==e?void 0:e.question)||[]).length>0)).map((e=>{o[e.id]=e.question.map(ve),delete e.question,a.push(be(e))})),v(a),g(o),f(!1)}))}),[]);const w=({id:e,communityId:t})=>{if(e&&t&&m){const a=Object.assign(Object.assign({},m),{[t]:[...((null==m?void 0:m[t])||[]).filter((t=>t.id!==e))]});let o=0;Object.keys(a).map((e=>o+=a[e].length||0)),g(a),p(Object.assign(Object.assign({},c),{total_question:o})),null==d||d(o)}};return t.createElement("div",{className:_o.container},b?t.createElement(To,null):(null==c?void 0:c.total_question)>0?h.length>0&&t.createElement(Z,{className:_o.accordion,defaultValue:String((null===(i=h[null===(e=Object.keys(h))||void 0===e?void 0:e[0]])||void 0===i?void 0:i.id)||""),styles:e=>({control:{padding:"16px",border:`1px solid ${e.colors.neutral[1]}`,borderTopLeftRadius:"8px",borderTopRightRadius:"8px",'&[aria-expanded="false"]':{borderBottom:0}},chevron:{width:"32px",height:"32px"},content:{padding:0,border:`1px solid ${e.colors.neutral[1]}`,borderTop:0,borderBottom:0},label:{padding:0},item:{marginBottom:"16px"}}),chevron:t.createElement("div",{className:_o.chevron},t.createElement(B,{color:se.colors.gray600,size:20}))},h.map((e=>{const a=m&&(null==m?void 0:m[e.id])||[];return a.length>0&&t.createElement(Z.Item,{key:e.id,value:String(e.id)},t.createElement(Z.Control,null,t.createElement("div",{className:_o.header},t.createElement("div",{className:_o.headingIcon},t.createElement("img",{src:e.thumbnail,loading:"lazy"})),t.createElement("div",{className:_o.heading},e.name))),t.createElement(Z.Panel,null,t.createElement("div",{className:_o.body},a.map((e=>t.createElement(Jo,{className:"question-card",key:e.id,post:e,onSkip:w}))))))}))):t.createElement(Qo,{message:r("profilePanel.emptyCareMess.content"),imgSrc:te.getAssetPath("questions.svg")}))};var ti="GA-zc-O",ai="A18McWD",oi="IB049vj",ii="_8I--vEV";const ri=({post:e,className:a=""})=>{var o;const{data:{userInfo:i,env:{togetherBasePath:r}}}=l(u),{t:n}=X(),s=R(),{authActionWrapper:d,authorProps:c}=l(So),p=`${window.location.origin}${r}/${null===(o=null==e?void 0:e.community)||void 0===o?void 0:o.slug}/${null==e?void 0:e.slug}/`;return t.createElement("div",{className:`${ti} ${a}`},t.createElement("div",{className:oi},t.createElement("a",{"data-event-category":"Together","data-event-action":"Click Post","data-event-label":p,className:ii,href:p,onClick:e=>{(null==i?void 0:i.id)||(e.preventDefault(),null==d||d((()=>window.location.href=p)))}}),t.createElement(St,{className:"card-author",avatarProps:{avatar:null==c?void 0:c.avatar,size:32}},t.createElement(la.MainText,{className:ai},null==e?void 0:e.title),t.createElement(la.SubTextRow,null,t.createElement(la.SubText,null,null==e?void 0:e.createdTime))),t.createElement(so,{className:"post-content-wrapper",description:null==e?void 0:e.description,mentions:null==e?void 0:e.mentions,maxChars:200,"data-testid":"Content of the Post",hideShowAllBtn:!0}),t.createElement(K,{size:"p3",color:s.fn.primaryColor()},n("post.seeMore"))))};var ni="TSMHoEM";const li=()=>{const{t:e}=X(),{data:{locale:i}}=l(u),{authorId:r,authorProps:n,isAuthorLogin:s,onCloseFromPost:d}=l(So),[c,m]=a(null),[g,h]=a(!1);return o((()=>{r&&G(void 0,void 0,void 0,(function*(){var e;h(!0);const t=yield p(k(N.USER.LIST_POST,{_locale:i,id:r,isAnonymous:0}),"GET"),a=((null===(e=null==t?void 0:t.data)||void 0===e?void 0:e.posts)||[]).map(ve);m(a),h(!1)}))}),[r]),t.createElement("div",{className:ni},g?t.createElement(To,null):null!==c&&(c.length>0?c.map((e=>t.createElement(ri,{className:"post-card",key:e.id,post:e}))):t.createElement(Qo,{message:e("profilePanel.emptyPostMess.content",{name:(null==n?void 0:n.name)||(null==n?void 0:n.username)||""}),buttonTxt:s&&e("profilePanel.createPost"),onBtnClick:()=>{null==d||d()}})))};var si="_4Vekw96",di="DIJdGcB",ci="aQSt4-Q";const pi=e=>e?{title:null==e?void 0:e.title,organization:null==e?void 0:e.organization,duration:e.duration}:{},mi=e=>e?{completedYear:null==e?void 0:e.completed_year,schoolName:e.school_name,study:e.study}:{};var ui,gi;!function(e){e[e.About=0]="About",e[e.Care=1]="Care",e[e.Answer=2]="Answer",e[e.Posts=3]="Posts"}(ui||(ui={})),function(e){e[e.Expert=0]="Expert",e[e.User=1]="User"}(gi||(gi={}));const hi=e=>{var i,{authorProps:r,selectedTab:n,authActionWrapper:s,onSkipQuestion:d,onCloseFromPost:c,hideQuestionTab:m,hideAnswerTab:g,showSkipQuestionTag:h,rolesToShowQuestionsTab:v=["expert"],currentPageUrl:b}=e,f=q(e,["authorProps","selectedTab","authActionWrapper","onSkipQuestion","onCloseFromPost","hideQuestionTab","hideAnswerTab","showSkipQuestionTag","rolesToShowQuestionsTab","currentPageUrl"]);const{data:{locale:x,userInfo:w,env:{isMarryBaby:y}}}=l(u),{t:E}=X(),C=null==r?void 0:r.role,A=null==w?void 0:w.role,z=String(null==r?void 0:r.userId),[T,S]=a(),[L,V]=a(!1),[P,j]=a(),F=(null==w?void 0:w._togetherUserId)===(null==r?void 0:r.userId),B=[...-1!==v.indexOf(C)?[{value:ui.About,text:E("profilePanel.tabs.highlight"),content:t.createElement(Do,{id:z,info:P}),dataEventCategory:"Together",dataEventAction:"Doctor Profile Click",dataEventLabel:b}]:[],{value:ui.Posts,text:E("profilePanel.tabs.posts"),content:t.createElement(li,null),hasCountResult:!0,keyOfCountApi:"post",keyOfResult:"total_post"},...m||-1===v.indexOf(A)||(null==w?void 0:w._togetherUserId)!==(null==r?void 0:r.userId)?[]:[{value:ui.Care,text:`${E("profilePanel.tabs.care")}`,content:t.createElement(ei,null),hasCountResult:!0,keyOfCountApi:"question",keyOfResult:"total_question",dataEventCategory:"Together",dataEventAction:"Doctor Questions Click",dataEventLabel:b}],...g||-1===v.indexOf(C)?[]:[{value:ui.Answer,text:`${E("profilePanel.tabs.expertAnswer")}`,content:t.createElement(Ko,{id:z}),hasCountResult:!0,keyOfCountApi:"reply",keyOfResult:"total_reply",dataEventCategory:"Together",dataEventAction:"Doctor Reply Tab Click",dataEventLabel:b}]],[R,M]=a(null),[I,U]=a(null),D={value:String(I),dataList:R,onTabChange:e=>U(Number(e))},W=null==B?void 0:B.filter((e=>null==e?void 0:e.hasCountResult));o((()=>{G(void 0,void 0,void 0,(function*(){var e,t,a,o,i,r,l,s,d,c;V(!0);const m=yield Promise.all([p(k(N.USER.DETAIL,{_locale:x,id:z}),"GET"),...W.map((e=>p(k(N.USER.COUNT_TABS,{_locale:x,id:z,[e.keyOfCountApi]:1}),"GET")))]),[u]=m,g={data:null==u?void 0:u.data,experiences:((null===(t=null===(e=null==u?void 0:u.data)||void 0===e?void 0:e.fields)||void 0===t?void 0:t.experiences)||[]).map(pi),relatedPosts:((null===(a=null==u?void 0:u.data)||void 0===a?void 0:a.related_post)||[]).map((e=>fe(e.post))),educations:((null===(i=null===(o=null==u?void 0:u.data)||void 0===o?void 0:o.fields)||void 0===i?void 0:i.educations)||[]).map(mi),awards:(null===(l=null===(r=null==u?void 0:u.data)||void 0===r?void 0:r.fields)||void 0===l?void 0:l.awards_accreditations)||[],contact:(null===(d=null===(s=null==u?void 0:u.data)||void 0===s?void 0:s.fields)||void 0===d?void 0:d.contact)||{}};1===(null==u?void 0:u.status)&&j(g);const h=(null==g?void 0:g.relatedPosts)||[],v=Object.keys(g.contact).map((e=>{var t;return""!==(null===(t=null==g?void 0:g.contact)||void 0===t?void 0:t[e])})),b=[...(null==g?void 0:g.experiences)||[],...(null==g?void 0:g.educations)||[],...(null==g?void 0:g.awards)||[]],f=h.length>0||v.length>0||b.length>0,w={},y=W.map(((e,t)=>{var a,o,i;const r=(null===(i=null===(o=null===(a=m[t+1])||void 0===a?void 0:a.data)||void 0===o?void 0:o.counting)||void 0===i?void 0:i[e.keyOfResult])||0;return r>0?(w[e.keyOfResult]=r,e):-1!==[ui.Care,ui.Posts].indexOf(e.value)?e:void 0})).filter(Boolean).map((e=>e.value)),E=B.map((e=>{const t=Object.assign(Object.assign({},e),{text:e.text+(e.keyOfResult?` (${(null==w?void 0:w[e.keyOfResult])||"0"})`:"")});return t.hasCountResult?-1!==y.indexOf(t.value)?t:void 0:t.value===ui.About?f&&t:t})).filter(Boolean);M(E),U(n||(null===(c=null==E?void 0:E[0])||void 0===c?void 0:c.value)),S(w),V(!1)}))}),[]);const H=null==P?void 0:P.data;return t.createElement(So.Provider,{value:{isMarryBaby:y,siteType:y?"marryBaby":"helloSites",authorId:String((null==r?void 0:r.userId)||""),authActionWrapper:s,onSkipQuestion:d,info:P,authorProps:r,onCloseFromPost:c,countValues:T,setCountValues:S,isAuthorLogin:F,showSkipQuestionTag:h,currentPageUrl:b}},t.createElement("div",Object.assign({},f,{className:`${si} ${(null==f?void 0:f.className)||""}`,"data-is-marrybaby":y}),L?t.createElement(To,null):t.createElement(t.Fragment,null,t.createElement(la,Object.assign({},r,{className:"card-author",showDetailPopup:!1,subLine:"expert"===(null==r?void 0:r.role)?(null==H?void 0:H.specialty)&&(null==H?void 0:H.organisation)&&t.createElement(la.SubTextRow,null,(null==H?void 0:H.specialty)&&t.createElement(t.Fragment,null,t.createElement(la.SubText,null,null==H?void 0:H.specialty),t.createElement(la.SubDivider,null)),t.createElement(la.SubText,null,null==H?void 0:H.organisation)):(null==H?void 0:H.created_at)&&t.createElement(la.SubTextRow,null,t.createElement(la.SubText,null,E("profilePanel.joined")," ",ae(null==H?void 0:H.created_at).toNow(!0)))})),"expert"===C&&t.createElement("div",{className:di,dangerouslySetInnerHTML:{__html:null===(i=null==P?void 0:P.data)||void 0===i?void 0:i.description}}),null!==R&&null!==I&&(R.length>0?t.createElement("div",{className:ci},t.createElement(O,Object.assign({},D))):t.createElement(Qo,{message:E("profilePanel.emptyPostMess.content",{text:(null==r?void 0:r.name)||(null==r?void 0:r.username)||""})})))))};var vi=Object.freeze({__proto__:null,get TabName(){return ui},get UserType(){return gi},TabDataInit:{experiences:[],relatedPosts:[],educations:[],awards:[],contact:{},data:{}},ProfileDetail:hi});const bi=re.div`
|
|
2773
|
+
`;var To="PD6nRZX";const So=({className:e,size:a="md"})=>{const{t:o}=X();return t.createElement("div",{className:`${To} ${e}`},t.createElement(ue,{size:a,color:"transparent",isLoading:!0},o("loading")))},Lo=n({});var Vo="l5fL1xL",Po="L-aGKo7";const jo=({children:e,className:a=""})=>t.createElement("div",{className:`${Vo} ${a}`},e),Fo=({children:e,className:a=""})=>t.createElement("div",{className:`${Po} ${a}`},e);var Bo="eaR8ATZ",Oo="xM-7K0a",Ro="DZmf3s7";const Mo=({src:e,defaultSrc:a=ae.getAssetPath("logo/logomark.png"),ratio:o=1,size:i=80,radius:r=8,alt:n,className:l=""})=>t.createElement("div",{className:l},t.createElement("div",{className:Ro,style:{width:`${i}px`,height:i*o+"px",borderRadius:`${r}px`}},t.createElement(P,{src:e,backupSrc:a,alt:n}))),Io=({category:e,title:a,src:o,children:i,className:r=""})=>t.createElement("div",{className:`${Bo} ${r}`},t.createElement(Mo,{src:o}),t.createElement("div",{className:Oo},i||t.createElement("div",null,e&&t.createElement(jo,null,e),a&&t.createElement(Fo,null,a))));Io.CategoryText=jo,Io.Title=Fo;const Uo=({featureImage:e,postTitle:a,author:o,categories:i,isReview:r,className:n=""})=>{var l;const s=r?"Medically reviewed by Jobelle Ann Dela Cruz Bigalbal, MD":"Written by Jobelle Ann Dela Cruz Bigalbal, MD";return t.createElement(Io,{src:e,className:n},t.createElement(t.Fragment,null,t.createElement(Io.CategoryText,null,null===(l=null==i?void 0:i[0])||void 0===l?void 0:l.name),t.createElement(Io.Title,null,a),t.createElement(Lt,{avatarProps:Object.assign(Object.assign({},o),{size:32}),subTitle:t.createElement(t.Fragment,null,s,t.createElement(Lt.SubDivider,null),"Dec 12, 2022")})))};var Do={container:"SFSgnOz",header:"Tf3aoVa",heading:"TOt4QXl",headingIcon:"_5XYN1KT",accBodyGroup:"yE-tZRj",accBodyGroupItem:"LXiGuGT",accBodyGroupDesc:"r4rx-6v",subTitle:"XrHh8-C",subIcon:"c5-Yecd",group:"UBj6nWr",groupBody:"_2vptVBd",articleCardLink:"ZPDAwiR",relatedList:"_6wJn-NR",socialItem:"_21XDdFv",mbChevronWrapper:"LSyr3Zo"};const Wo=({className:e=""})=>{var a,o,i,r,n;const{t:s}=X(),{info:d,isMarryBaby:c,currentPageUrl:p}=l(Lo),m=null==d?void 0:d.data,u=[{type:"linkedin",icon:ae.getAssetPath("linkedin.svg"),url:null===(a=null==d?void 0:d.contact)||void 0===a?void 0:a.linkedin,eventAction:"Doctor Profile - Linkedin"},{type:"instagram",icon:ae.getAssetPath("instagram.svg"),url:null===(o=null==d?void 0:d.contact)||void 0===o?void 0:o.instagram,eventAction:"Doctor Profile - Instagram"},{type:"facebook",icon:ae.getAssetPath("facebook.svg"),url:null===(i=null==d?void 0:d.contact)||void 0===i?void 0:i.facebook,eventAction:"Doctor Profile - Facebook"},{type:"youtube",icon:ae.getAssetPath("youtube.svg"),url:null===(r=null==d?void 0:d.contact)||void 0===r?void 0:r.youtube,eventAction:"Doctor Profile - Youtube"},{type:"tiktok",icon:ae.getAssetPath("tiktok.svg"),url:null===(n=null==d?void 0:d.contact)||void 0===n?void 0:n.tiktok,eventAction:"Doctor Profile - TikTok"}],g=[...((null==d?void 0:d.experiences)||[]).length>0?[{key:"experience",heading:s("profilePanel.experience"),iconSrc:ae.getAssetPath(c?"award-doc-mb.svg":"award-doc.svg"),eventAction:"Doctor Experience Click",panel:t.createElement("div",{className:Do.accBodyGroup},null==d?void 0:d.experiences.map(((e,a)=>t.createElement("div",{className:Do.accBodyGroupItem,key:String(a)},t.createElement("div",{className:Do.accBodyGroupTitle},e.title),t.createElement("div",{className:Do.accBodyGroupDesc},t.createElement("p",null,e.organization),t.createElement("p",null,e.duration))))))}]:[],...((null==d?void 0:d.educations)||[]).length>0?[{key:"education",heading:s("profilePanel.education"),iconSrc:ae.getAssetPath(c?"book-mb.svg":"book.svg"),eventAction:"Doctor Degree Click",panel:t.createElement("div",{className:Do.accBodyGroup},null==d?void 0:d.educations.map(((e,a)=>t.createElement("div",{className:Do.accBodyGroupItem,key:String(a)},t.createElement("div",{className:Do.accBodyGroupTitle},e.schoolName),t.createElement("div",{className:Do.accBodyGroupDesc},t.createElement("p",null,e.study),t.createElement("p",null,e.completedYear))))))}]:[],...((null==d?void 0:d.awards)||[]).length>0?[{key:"awards",heading:s("profilePanel.awards"),iconSrc:ae.getAssetPath(c?"award-mb.svg":"award.svg"),eventAction:"Doctor Award Click",panel:t.createElement("div",{className:Do.accBodyGroup},null==d?void 0:d.awards.map(((e,a)=>t.createElement("div",{className:Do.accBodyGroupTitle,key:a},e.title))))}]:[]],h=(null==d?void 0:d.relatedPosts)||[],v=u.filter((e=>e.url));return t.createElement("div",{className:`${Do.container} ${e}`,"data-is-marrybaby":c},g.length>0&&t.createElement(Z,{defaultValue:g[0].key,chevron:c?t.createElement("div",{className:Do.mbChevronWrapper},t.createElement(J,{size:12,color:de.mbColors.midGray})):t.createElement(J,{color:de.colors.gray400}),styles:{chevron:{"&[data-rotate]":{".minus-path":{display:"block"},".plus-path":{display:"none"}}},content:{display:"flex",flexDirection:"column",gap:"16px",padding:"0"},item:{border:0},control:{paddingLeft:0,"&:hover":{background:"transparent"},"*":{pointerEvents:"none"}}}},g.map((e=>t.createElement(Z.Item,{key:e.key,value:e.key},t.createElement(Z.Control,{"data-event-category":"Together","data-event-action":e.eventAction,"data-event-label":p},t.createElement("div",{className:Do.header},t.createElement("div",{className:Do.headingIcon},t.createElement("img",{src:e.iconSrc,loading:"lazy"})),t.createElement("div",{className:Do.heading},e.heading))),t.createElement(Z.Panel,null,e.panel))))),h.length>0&&t.createElement("div",{className:Do.group},t.createElement("div",{className:Do.subTitle},t.createElement("img",{className:Do.subIcon,src:ae.getAssetPath(c?"mb-logo.svg":"logo/circle-solid.svg"),loading:"lazy"}),s("profilePanel.publishedArticles")),t.createElement("div",{className:`${Do.relatedList}`},null==d?void 0:d.relatedPosts.map((e=>t.createElement("a",{key:String(e.id),href:`${window.location.origin}${null==e?void 0:e.permalink}`,className:Do.articleCardLink},t.createElement(Uo,Object.assign({className:"article-card"},Object.assign(Object.assign({},e),!e.author&&{author:{displayName:null==m?void 0:m.name,avatar:null==m?void 0:m.avatar}}),{isReview:!0}))))))),v.length>0&&t.createElement("div",{className:Do.group},t.createElement("div",{className:Do.subTitle},t.createElement("img",{className:Do.subIcon,src:ae.getAssetPath(c?"social-mb.svg":"social.svg"),loading:"lazy"}),s("profilePanel.socialLinks")),t.createElement("div",{className:Do.groupBody},t.createElement(I,null,u.map(((e,a)=>e.url&&t.createElement("div",{className:Do.socialItem,key:a},t.createElement("a",{href:e.url,target:"_blank",rel:"noreferrer"},t.createElement("img",{src:e.icon,loading:"lazy",width:"32px","data-event-category":"Together","data-event-action":e.eventAction,"data-event-label":p})))))))))};var Ho={container:"GYUElSy",question:"_3C6QpT1",questionTitle:"_9M9VYL6",community:"_1RuSyv3",questionCard:"_1IG-eEp"};const Zo=({post:e,className:a=""})=>{var o,i,r,n,s,d,c,p;const{t:m}=X(),{data:{userInfo:g,env:{togetherBasePath:h}}}=l(u),{authActionWrapper:v,authorProps:b,currentPageUrl:f}=l(Lo),x=`${window.location.origin}${h}/${null===(o=null==e?void 0:e.community)||void 0===o?void 0:o.slug}/${null==e?void 0:e.slug}/`;return t.createElement("div",{className:`${Ho.container} ${a}`},t.createElement("div",{className:Ho.header},t.createElement("div",{className:Ho.question},m("profilePanel.question")," ",t.createElement(F,{className:Ho.questionTitle,href:"#",onClick:()=>{(null==g?void 0:g.id)||null==v||v((()=>window.location.href=x))}},"#",null==e?void 0:e.title)),t.createElement("div",{className:Ho.community},null===(i=null==e?void 0:e.community)||void 0===i?void 0:i.name," - ",null==e?void 0:e.createdTime)),t.createElement("div",{className:Ho.questionCard},t.createElement(sa,Object.assign({className:"card-author"},b,{role:"user",avatarIcon:t.createElement(bt,null),subLine:t.createElement(sa.SubTextRow,null,t.createElement(sa.SubText,null,null===(s=null===(n=null===(r=null==e?void 0:e.expertAnswer)||void 0===r?void 0:r.answer)||void 0===n?void 0:n[0])||void 0===s?void 0:s.createdTime))})),t.createElement(co,{className:"post-content-wrapper",description:(null===(p=null===(c=null===(d=null==e?void 0:e.expertAnswer)||void 0===d?void 0:d.answer)||void 0===c?void 0:c[0])||void 0===p?void 0:p.content)||"",mentions:null==e?void 0:e.mentions,"data-testid":"Content of the Post"})),t.createElement(V,{variant:"secondary","data-event-category":"Together","data-event-action":"Doctor Reply Click","data-event-label":f,size:"md",onClick:()=>{(null==g?void 0:g.id)?window.location.href=x:null==v||v((()=>window.location.href=x))}},m("profilePanel.anserwing.viewFull")))};var qo="MrdoES3",Go="_8fd7YMs",Xo="DomiQfw",Qo="-b2qnfL";const Ko=({message:e,buttonTxt:a,imgSrc:o,onBtnClick:i})=>{const{siteType:r,isMarryBaby:n}=l(Lo);return t.createElement("div",{className:Go},t.createElement("div",{className:Xo},t.createElement("img",{src:o||ae.getAssetPath(n?"comments-mb.svg":"comments.svg"),loading:"lazy"})),e&&t.createElement("div",{className:Qo},e),a&&t.createElement(ue,{size:"md",theme:r,color:"secondary",onClick:i},a))},Yo=({id:e})=>{const{t:i}=X(),{data:{locale:r}}=l(u),{authorProps:n}=l(Lo),[s,d]=a(null),[c,m]=a(!1);return o((()=>{e&&G(void 0,void 0,void 0,(function*(){var t;m(!0);const a=yield p(k(N.USER.LIST_ANSWERS,{_locale:r,id:e}),"GET"),o=((null===(t=null==a?void 0:a.data)||void 0===t?void 0:t.replies)||[]).map(be);d(o),m(!1)}))}),[]),t.createElement("div",{className:qo},c?t.createElement(So,null):null!==s&&(s.length>0?s.map((e=>t.createElement(Zo,{className:"post-card",key:e.id,post:e}))):t.createElement(Ko,{message:i("profilePanel.emptyPostMess.content",{name:(null==n?void 0:n.name)||(null==n?void 0:n.username)})})))};var $o="toEutn7",Jo="drdisHs";const _o=e=>{var a,o,i,r,{post:n}=e,s=q(e,["post"]);const{data:{env:{togetherBasePath:d}}}=l(u);return t.createElement(t.Fragment,null,t.createElement("div",Object.assign({},s,{className:`${$o} ${(null==s?void 0:s.className)||""}`}),t.createElement(sa,{className:"card-author",avatar:null===(a=null==n?void 0:n.author)||void 0===a?void 0:a.avatar,name:(null===(o=null==n?void 0:n.author)||void 0===o?void 0:o.name)||(null===(i=null==n?void 0:n.author)||void 0===i?void 0:i.username),isAnonymous:Boolean(null==n?void 0:n.isAnonymous),subLine:t.createElement(sa.SubTextRow,null,t.createElement(sa.SubText,null,null==n?void 0:n.createdTime))}),t.createElement(F,{href:`${window.location.origin}${d}/${null===(r=null==n?void 0:n.community)||void 0===r?void 0:r.slug}/${null==n?void 0:n.slug}/`,className:Jo,rel:"noreferrer"},null==n?void 0:n.title)))};var ei={accordion:"I-uIJ6E",header:"_41WRsj2",heading:"AcOGL93",headingIcon:"JD3dWJN",panel:"dKAgnS8",chevron:"L2Q9T6m",container:"h-pSmhX"};const ti=()=>{var e,i;const{t:r}=X(),{data:{locale:n,userInfo:s}}=l(u),{onSkipQuestion:d,countValues:c,setCountValues:p}=l(Lo),[m,g]=a(),[h,v]=a([]),[b,f]=a(!1),x=null==s?void 0:s.id;o((()=>{x&&G(void 0,void 0,void 0,(function*(){var e;f(!0);const t=yield T(k(N.USER.LIST_QUESTION_NEED_REPLY,{_locale:n}),"GET"),a=[],o=Object.create({});((null===(e=null==t?void 0:t.data)||void 0===e?void 0:e.communities)||[]).filter((e=>((null==e?void 0:e.question)||[]).length>0)).map((e=>{o[e.id]=e.question.map(be),delete e.question,a.push(fe(e))})),v(a),g(o),f(!1)}))}),[]);const w=({id:e,communityId:t})=>{if(e&&t&&m){const a=Object.assign(Object.assign({},m),{[t]:[...((null==m?void 0:m[t])||[]).filter((t=>t.id!==e))]});let o=0;Object.keys(a).map((e=>o+=a[e].length||0)),g(a),p(Object.assign(Object.assign({},c),{total_question:o})),null==d||d(o)}};return t.createElement("div",{className:ei.container},b?t.createElement(So,null):(null==c?void 0:c.total_question)>0?h.length>0&&t.createElement(Z,{className:ei.accordion,defaultValue:String((null===(i=h[null===(e=Object.keys(h))||void 0===e?void 0:e[0]])||void 0===i?void 0:i.id)||""),styles:e=>({control:{padding:"16px",border:`1px solid ${e.colors.neutral[1]}`,borderTopLeftRadius:"8px",borderTopRightRadius:"8px",'&[aria-expanded="false"]':{borderBottom:0}},chevron:{width:"32px",height:"32px"},content:{padding:0,border:`1px solid ${e.colors.neutral[1]}`,borderTop:0,borderBottom:0},label:{padding:0},item:{marginBottom:"16px"}}),chevron:t.createElement("div",{className:ei.chevron},t.createElement(B,{color:de.colors.gray600,size:20}))},h.map((e=>{const a=m&&(null==m?void 0:m[e.id])||[];return a.length>0&&t.createElement(Z.Item,{key:e.id,value:String(e.id)},t.createElement(Z.Control,null,t.createElement("div",{className:ei.header},t.createElement("div",{className:ei.headingIcon},t.createElement("img",{src:e.thumbnail,loading:"lazy"})),t.createElement("div",{className:ei.heading},e.name))),t.createElement(Z.Panel,null,t.createElement("div",{className:ei.body},a.map((e=>t.createElement(_o,{className:"question-card",key:e.id,post:e,onSkip:w}))))))}))):t.createElement(Ko,{message:r("profilePanel.emptyCareMess.content"),imgSrc:ae.getAssetPath("questions.svg")}))};var ai="GA-zc-O",oi="A18McWD",ii="IB049vj",ri="_8I--vEV";const ni=({post:e,className:a=""})=>{var o;const{data:{userInfo:i,env:{togetherBasePath:r}}}=l(u),{t:n}=X(),s=R(),{authActionWrapper:d,authorProps:c}=l(Lo),p=`${window.location.origin}${r}/${null===(o=null==e?void 0:e.community)||void 0===o?void 0:o.slug}/${null==e?void 0:e.slug}/`;return t.createElement("div",{className:`${ai} ${a}`},t.createElement("div",{className:ii},t.createElement("a",{"data-event-category":"Together","data-event-action":"Click Post","data-event-label":p,className:ri,href:p,onClick:e=>{(null==i?void 0:i.id)||(e.preventDefault(),null==d||d((()=>window.location.href=p)))}}),t.createElement(Lt,{className:"card-author",avatarProps:{avatar:null==c?void 0:c.avatar,size:32}},t.createElement(sa.MainText,{className:oi},null==e?void 0:e.title),t.createElement(sa.SubTextRow,null,t.createElement(sa.SubText,null,null==e?void 0:e.createdTime))),t.createElement(co,{className:"post-content-wrapper",description:null==e?void 0:e.description,mentions:null==e?void 0:e.mentions,maxChars:200,"data-testid":"Content of the Post",hideShowAllBtn:!0}),t.createElement(K,{size:"p3",color:s.fn.primaryColor()},n("post.seeMore"))))};var li="TSMHoEM";const si=()=>{const{t:e}=X(),{data:{locale:i}}=l(u),{authorId:r,authorProps:n,isAuthorLogin:s,onCloseFromPost:d}=l(Lo),[c,m]=a(null),[g,h]=a(!1);return o((()=>{r&&G(void 0,void 0,void 0,(function*(){var e;h(!0);const t=yield p(k(N.USER.LIST_POST,{_locale:i,id:r,isAnonymous:0}),"GET"),a=((null===(e=null==t?void 0:t.data)||void 0===e?void 0:e.posts)||[]).map(be);m(a),h(!1)}))}),[r]),t.createElement("div",{className:li},g?t.createElement(So,null):null!==c&&(c.length>0?c.map((e=>t.createElement(ni,{className:"post-card",key:e.id,post:e}))):t.createElement(Ko,{message:e("profilePanel.emptyPostMess.content",{name:(null==n?void 0:n.name)||(null==n?void 0:n.username)||""}),buttonTxt:s&&e("profilePanel.createPost"),onBtnClick:()=>{null==d||d()}})))};var di="_4Vekw96",ci="DIJdGcB",pi="aQSt4-Q";const mi=e=>e?{title:null==e?void 0:e.title,organization:null==e?void 0:e.organization,duration:e.duration}:{},ui=e=>e?{completedYear:null==e?void 0:e.completed_year,schoolName:e.school_name,study:e.study}:{};var gi,hi;!function(e){e[e.About=0]="About",e[e.Care=1]="Care",e[e.Answer=2]="Answer",e[e.Posts=3]="Posts"}(gi||(gi={})),function(e){e[e.Expert=0]="Expert",e[e.User=1]="User"}(hi||(hi={}));const vi=e=>{var i,{authorProps:r,selectedTab:n,authActionWrapper:s,onSkipQuestion:d,onCloseFromPost:c,hideQuestionTab:m,hideAnswerTab:g,showSkipQuestionTag:h,rolesToShowQuestionsTab:v=["expert"],currentPageUrl:b}=e,f=q(e,["authorProps","selectedTab","authActionWrapper","onSkipQuestion","onCloseFromPost","hideQuestionTab","hideAnswerTab","showSkipQuestionTag","rolesToShowQuestionsTab","currentPageUrl"]);const{data:{locale:x,userInfo:w,env:{isMarryBaby:y}}}=l(u),{t:E}=X(),C=null==r?void 0:r.role,A=null==w?void 0:w.role,z=String(null==r?void 0:r.userId),[T,S]=a(),[L,V]=a(!1),[P,j]=a(),F=(null==w?void 0:w._togetherUserId)===(null==r?void 0:r.userId),B=[...-1!==v.indexOf(C)?[{value:gi.About,text:E("profilePanel.tabs.highlight"),content:t.createElement(Wo,{id:z,info:P}),dataEventCategory:"Together",dataEventAction:"Doctor Profile Click",dataEventLabel:b}]:[],{value:gi.Posts,text:E("profilePanel.tabs.posts"),content:t.createElement(si,null),hasCountResult:!0,keyOfCountApi:"post",keyOfResult:"total_post"},...m||-1===v.indexOf(A)||(null==w?void 0:w._togetherUserId)!==(null==r?void 0:r.userId)?[]:[{value:gi.Care,text:`${E("profilePanel.tabs.care")}`,content:t.createElement(ti,null),hasCountResult:!0,keyOfCountApi:"question",keyOfResult:"total_question",dataEventCategory:"Together",dataEventAction:"Doctor Questions Click",dataEventLabel:b}],...g||-1===v.indexOf(C)?[]:[{value:gi.Answer,text:`${E("profilePanel.tabs.expertAnswer")}`,content:t.createElement(Yo,{id:z}),hasCountResult:!0,keyOfCountApi:"reply",keyOfResult:"total_reply",dataEventCategory:"Together",dataEventAction:"Doctor Reply Tab Click",dataEventLabel:b}]],[R,M]=a(null),[I,U]=a(null),D={value:String(I),dataList:R,onTabChange:e=>U(Number(e))},W=null==B?void 0:B.filter((e=>null==e?void 0:e.hasCountResult));o((()=>{G(void 0,void 0,void 0,(function*(){var e,t,a,o,i,r,l,s,d,c;V(!0);const m=yield Promise.all([p(k(N.USER.DETAIL,{_locale:x,id:z}),"GET"),...W.map((e=>p(k(N.USER.COUNT_TABS,{_locale:x,id:z,[e.keyOfCountApi]:1}),"GET")))]),[u]=m,g={data:null==u?void 0:u.data,experiences:((null===(t=null===(e=null==u?void 0:u.data)||void 0===e?void 0:e.fields)||void 0===t?void 0:t.experiences)||[]).map(mi),relatedPosts:((null===(a=null==u?void 0:u.data)||void 0===a?void 0:a.related_post)||[]).map((e=>xe(e.post))),educations:((null===(i=null===(o=null==u?void 0:u.data)||void 0===o?void 0:o.fields)||void 0===i?void 0:i.educations)||[]).map(ui),awards:(null===(l=null===(r=null==u?void 0:u.data)||void 0===r?void 0:r.fields)||void 0===l?void 0:l.awards_accreditations)||[],contact:(null===(d=null===(s=null==u?void 0:u.data)||void 0===s?void 0:s.fields)||void 0===d?void 0:d.contact)||{}};1===(null==u?void 0:u.status)&&j(g);const h=(null==g?void 0:g.relatedPosts)||[],v=Object.keys(g.contact).map((e=>{var t;return""!==(null===(t=null==g?void 0:g.contact)||void 0===t?void 0:t[e])})),b=[...(null==g?void 0:g.experiences)||[],...(null==g?void 0:g.educations)||[],...(null==g?void 0:g.awards)||[]],f=h.length>0||v.length>0||b.length>0,w={},y=W.map(((e,t)=>{var a,o,i;const r=(null===(i=null===(o=null===(a=m[t+1])||void 0===a?void 0:a.data)||void 0===o?void 0:o.counting)||void 0===i?void 0:i[e.keyOfResult])||0;return r>0?(w[e.keyOfResult]=r,e):-1!==[gi.Care,gi.Posts].indexOf(e.value)?e:void 0})).filter(Boolean).map((e=>e.value)),E=B.map((e=>{const t=Object.assign(Object.assign({},e),{text:e.text+(e.keyOfResult?` (${(null==w?void 0:w[e.keyOfResult])||"0"})`:"")});return t.hasCountResult?-1!==y.indexOf(t.value)?t:void 0:t.value===gi.About?f&&t:t})).filter(Boolean);M(E),U(n||(null===(c=null==E?void 0:E[0])||void 0===c?void 0:c.value)),S(w),V(!1)}))}),[]);const H=null==P?void 0:P.data;return t.createElement(Lo.Provider,{value:{isMarryBaby:y,siteType:y?"marryBaby":"helloSites",authorId:String((null==r?void 0:r.userId)||""),authActionWrapper:s,onSkipQuestion:d,info:P,authorProps:r,onCloseFromPost:c,countValues:T,setCountValues:S,isAuthorLogin:F,showSkipQuestionTag:h,currentPageUrl:b}},t.createElement("div",Object.assign({},f,{className:`${di} ${(null==f?void 0:f.className)||""}`,"data-is-marrybaby":y}),L?t.createElement(So,null):t.createElement(t.Fragment,null,t.createElement(sa,Object.assign({},r,{className:"card-author",showDetailPopup:!1,subLine:"expert"===(null==r?void 0:r.role)?(null==H?void 0:H.specialty)&&(null==H?void 0:H.organisation)&&t.createElement(sa.SubTextRow,null,(null==H?void 0:H.specialty)&&t.createElement(t.Fragment,null,t.createElement(sa.SubText,null,null==H?void 0:H.specialty),t.createElement(sa.SubDivider,null)),t.createElement(sa.SubText,null,null==H?void 0:H.organisation)):(null==H?void 0:H.created_at)&&t.createElement(sa.SubTextRow,null,t.createElement(sa.SubText,null,E("profilePanel.joined")," ",oe(null==H?void 0:H.created_at).toNow(!0)))})),"expert"===C&&t.createElement("div",{className:ci,dangerouslySetInnerHTML:{__html:null===(i=null==P?void 0:P.data)||void 0===i?void 0:i.description}}),null!==R&&null!==I&&(R.length>0?t.createElement("div",{className:pi},t.createElement(O,Object.assign({},D))):t.createElement(Ko,{message:E("profilePanel.emptyPostMess.content",{text:(null==r?void 0:r.name)||(null==r?void 0:r.username)||""})})))))};var bi=Object.freeze({__proto__:null,get TabName(){return gi},get UserType(){return hi},TabDataInit:{experiences:[],relatedPosts:[],educations:[],awards:[],contact:{},data:{}},ProfileDetail:vi});const fi=ne.div`
|
|
2774
2774
|
position: relative;
|
|
2775
2775
|
margin-bottom: 24px;
|
|
2776
2776
|
background: white;
|
|
@@ -2780,7 +2780,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
2780
2780
|
text-decoration: none;
|
|
2781
2781
|
}
|
|
2782
2782
|
|
|
2783
|
-
${
|
|
2783
|
+
${ie.mbDown} {
|
|
2784
2784
|
margin-bottom: 8px;
|
|
2785
2785
|
}
|
|
2786
2786
|
&.flat-top {
|
|
@@ -2803,7 +2803,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
2803
2803
|
width: 40px;
|
|
2804
2804
|
height: 40px;
|
|
2805
2805
|
font-size: 20px;
|
|
2806
|
-
${
|
|
2806
|
+
${ie.mbDown} {
|
|
2807
2807
|
width: 32px;
|
|
2808
2808
|
height: 32px;
|
|
2809
2809
|
font-size: 16px;
|
|
@@ -2859,7 +2859,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
2859
2859
|
}
|
|
2860
2860
|
&[data-most-engaging='true'] {
|
|
2861
2861
|
border: none;
|
|
2862
|
-
${
|
|
2862
|
+
${ie.mbDown} {
|
|
2863
2863
|
margin: 1rem;
|
|
2864
2864
|
border: 1px solid #e4e8ec;
|
|
2865
2865
|
}
|
|
@@ -2907,7 +2907,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
2907
2907
|
.popover-menu__btn {
|
|
2908
2908
|
width: 24px;
|
|
2909
2909
|
height: 24px;
|
|
2910
|
-
${
|
|
2910
|
+
${ie.mbDown} {
|
|
2911
2911
|
width: 18px;
|
|
2912
2912
|
height: 18px;
|
|
2913
2913
|
}
|
|
@@ -2919,7 +2919,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
2919
2919
|
right: 1rem;
|
|
2920
2920
|
}
|
|
2921
2921
|
width: 350px;
|
|
2922
|
-
${
|
|
2922
|
+
${ie.mbDown} {
|
|
2923
2923
|
max-width: calc(320px - 2rem);
|
|
2924
2924
|
}
|
|
2925
2925
|
}
|
|
@@ -2941,17 +2941,17 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
2941
2941
|
transform: translateX(-50%);
|
|
2942
2942
|
}
|
|
2943
2943
|
}
|
|
2944
|
-
${
|
|
2944
|
+
${ie.mbDown} {
|
|
2945
2945
|
margin-bottom: 12px;
|
|
2946
2946
|
}
|
|
2947
2947
|
}
|
|
2948
|
-
`,
|
|
2948
|
+
`,xi=ne.div`
|
|
2949
2949
|
.add-link {
|
|
2950
|
-
color: ${
|
|
2950
|
+
color: ${de.colors.primaryBase};
|
|
2951
2951
|
}
|
|
2952
|
-
`,
|
|
2952
|
+
`,wi=ne.div`
|
|
2953
2953
|
margin: 16px 0;
|
|
2954
|
-
background: ${
|
|
2954
|
+
background: ${de.colors.yellow50};
|
|
2955
2955
|
padding: 5px 10px;
|
|
2956
2956
|
border-radius: 2px;
|
|
2957
2957
|
|
|
@@ -2960,38 +2960,38 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
2960
2960
|
vertical-align: middle;
|
|
2961
2961
|
margin-right: 6px;
|
|
2962
2962
|
}
|
|
2963
|
-
`,
|
|
2963
|
+
`,yi=ne.div`
|
|
2964
2964
|
display: flex;
|
|
2965
2965
|
align-items: center;
|
|
2966
2966
|
gap: 8px;
|
|
2967
|
-
`,
|
|
2967
|
+
`,Ei=ne.div`
|
|
2968
2968
|
padding: 8px 16px;
|
|
2969
|
-
`,
|
|
2969
|
+
`,Ci=ne.div`
|
|
2970
2970
|
margin-bottom: 12px;
|
|
2971
2971
|
width: 100%;
|
|
2972
|
-
`,
|
|
2972
|
+
`,ki=ne.div``,Ai=ne.div`
|
|
2973
2973
|
margin-bottom: 16px;
|
|
2974
|
-
`,
|
|
2974
|
+
`,Ni=ne.div`
|
|
2975
2975
|
display: flex;
|
|
2976
2976
|
flex-wrap: wrap;
|
|
2977
2977
|
row-gap: 16px;
|
|
2978
|
-
${
|
|
2978
|
+
${ie.tdUp} {
|
|
2979
2979
|
align-items: center;
|
|
2980
2980
|
column-gap: 24px;
|
|
2981
2981
|
}
|
|
2982
|
-
`,
|
|
2982
|
+
`,zi=ne.a`
|
|
2983
2983
|
display: flex;
|
|
2984
2984
|
align-items: center;
|
|
2985
2985
|
gap: 16px;
|
|
2986
|
-
${
|
|
2986
|
+
${ie.mbDown} {
|
|
2987
2987
|
width: 100%;
|
|
2988
2988
|
justify-content: space-between;
|
|
2989
2989
|
}
|
|
2990
|
-
`,
|
|
2990
|
+
`,Ti=ne.div`
|
|
2991
2991
|
display: flex;
|
|
2992
2992
|
align-items: center;
|
|
2993
2993
|
gap: 16px;
|
|
2994
|
-
`,
|
|
2994
|
+
`,Si=ne.div`
|
|
2995
2995
|
border-radius: ${e=>e.theme.borderRadius};
|
|
2996
2996
|
overflow: hidden;
|
|
2997
2997
|
width: 48px;
|
|
@@ -3001,18 +3001,18 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
3001
3001
|
width: 100%;
|
|
3002
3002
|
height: 100%;
|
|
3003
3003
|
}
|
|
3004
|
-
`,
|
|
3004
|
+
`,Li=({categories:e})=>{const{t:a}=X(),{data:{locale:o,env:{isMarryBaby:i}}}=l(u),r=ye(o,i);return t.createElement(ki,null,t.createElement(Ai,null,t.createElement(b,{tag:"h6",as:"h5"},a("cardReply.recommentCategories.heading"))),t.createElement(Ni,null,e.map((e=>t.createElement(zi,{href:r+e.permalink,key:String(e.termId),target:"_blank"},t.createElement(Ti,null,t.createElement(Si,null,t.createElement("img",{src:e.featureImage||ae.getAssetPath(i?"mb-logo.svg":"/logo/logomark.png"),alt:e.displayName,loading:"lazy"})),t.createElement(K,{size:"s3",weight:"bold"},e.displayName)),t.createElement($.ArrowRight,{size:20,color:de.colors.gray400}))))))},Vi=ne.a`
|
|
3005
3005
|
padding: 12px 0;
|
|
3006
3006
|
display: flex;
|
|
3007
3007
|
flex-direction: column;
|
|
3008
3008
|
gap: 8px;
|
|
3009
|
-
border-top: 1px solid ${
|
|
3009
|
+
border-top: 1px solid ${de.colors.neutral100};
|
|
3010
3010
|
text-decoration: none;
|
|
3011
3011
|
|
|
3012
3012
|
&:first-child {
|
|
3013
3013
|
border-top: 0;
|
|
3014
3014
|
}
|
|
3015
|
-
`,
|
|
3015
|
+
`,Pi=ne.div``,ji=({postTitle:e,articleReviewed:a,modifiedTime:o,href:i})=>{const{t:r}=X(),n=(()=>{const{expert:e,editor:t,is_author:o}=a;if(e){const t={name:e.display_name,role:"expert",avatar:e.avatar};return o?Object.assign({title:r("articleAuthor.title.written-by")},t):"expert"===e.role?Object.assign({title:r("articleAuthor.title.expert")},t):Object.assign({title:r("articleAuthor.title.medical")},t)}if(t)return{title:r("articleAuthor.title.fact-check"),name:t.display_name,avatar:t.avatar}})();return t.createElement(Vi,{href:i,title:e,target:"_blank"},t.createElement(K,{size:"s3",as:"h5",weight:"bold"},e),t.createElement(Pi,null,t.createElement(sa,{avatar:null==n?void 0:n.avatar,avatarProps:{size:32},name:null==n?void 0:n.name,role:null==n?void 0:n.role,hideBackground:!0},t.createElement(sa.SubTextRow,null,t.createElement(sa.SubText,null,null==n?void 0:n.title," ",t.createElement("span",{style:{color:de.colors.gray800}},null==n?void 0:n.name)),t.createElement(sa.SubDivider,null),t.createElement(sa.SubText,null,o)))))};var Fi="F4mmgSy",Bi="A7QrQ7A";const Oi=e=>{var{listUrl:i,categorySlug:r,editMode:n,onListChange:l,isMarryBaby:s}=e,d=q(e,["listUrl","categorySlug","editMode","onListChange","isMarryBaby"]);const{t:c}=X(),[m,u]=a(i||[]),[g,h]=a([]),[v,f]=a([]),[x,w]=a(!1);o((()=>{G(void 0,void 0,void 0,(function*(){w(!0);const e=m.map((e=>{const t=new URL(e),a=String(t.pathname).split("/").filter((e=>""!=e));return{isMarrySite:-1!==t.origin.search("marrybaby.vn"),path:a[a.length-1],href:e}})),t=[...e.map((e=>p(e.isMarrySite?L(C.GET_PREVIEW_ARTICLE,{fullSlug:e.path},!0):E(C.GET_PREVIEW_ARTICLE,{fullSlug:e.path},!0),"GET")))],a=yield Promise.all(t);h(a.map(((t,a)=>{var o,i;return(null===(o=null==t?void 0:t.data)||void 0===o?void 0:o.post)&&Object.assign(Object.assign({},xe(null===(i=null==t?void 0:t.data)||void 0===i?void 0:i.post)),{href:e[a].href})})).filter(Boolean)),w(!1)}))}),[]),o((()=>{0===(null==g?void 0:g.length)&&r&&G(void 0,void 0,void 0,(function*(){var e;const t=yield p(s?L(C.GET_CATEGORY_OR_ARTICLE_DETAIL,{fullSlug:r},!0):E(C.GET_CATEGORY_OR_ARTICLE_DETAIL,{fullSlug:r},!0),"GET");(null==t?void 0:t.data)&&f([we(null===(e=null==t?void 0:t.data)||void 0===e?void 0:e.category)])}))}),[g]);return o((()=>{null==l||l(m)}),[m]),t.createElement("div",Object.assign({},d),!n&&t.createElement(wi,null,t.createElement("img",{className:"icon",src:ae.getAssetPath("warning.svg"),alt:"warning",style:{marginBottom:"3px",width:"18px"},loading:"lazy"}),t.createElement(K,{size:"s3",as:"span",dangerouslySetInnerHTML:{__html:c("cardReply.disclaimer")}})),x?t.createElement(Dt,null):g.length>0||n?t.createElement(xi,null,t.createElement(Z,{defaultValue:"accordion",styles:{control:{border:`1px solid ${de.colors.neutral100}`,borderTopLeftRadius:"8px",borderTopRightRadius:"8px",'&[aria-expanded="false"]':{borderBottom:0}},chevron:{width:"32px",height:"32px"},content:{padding:0,border:`1px solid ${de.colors.neutral100}`,borderTop:0,borderBottom:0},item:{marginBottom:"16px"}},chevron:t.createElement("div",{className:Bi},t.createElement(B,{color:de.colors.gray600,size:20}))},t.createElement(Z.Item,{value:"accordion"},t.createElement(Z.Control,null,t.createElement("div",{className:Fi},t.createElement(b,{as:"h4",tag:"h6"},c("cardReply.source")))),t.createElement(Z.Panel,null,t.createElement(Ei,null,(g||[]).map(((e,a)=>t.createElement(yi,{key:String(a)},"object"==typeof e?t.createElement(ji,Object.assign({},e)):t.createElement(Ci,null,t.createElement(ge,{style:{width:"100%"},name:"source-list",value:e||"",size:"sm",onChange:e=>{u((t=>{const o=[...t];return o[a]=e,o})),h((t=>{const o=[...t];return o[a]=e,o}))}})),n&&t.createElement(ue,{size:"md",color:"transparent",icon:t.createElement($.Trash,null),onClick:()=>(e=>{u((t=>{const a=[...t];return a.splice(e,1),a})),h((t=>{const a=[...t];return a.splice(e,1),a}))})(a)})))),n&&t.createElement(ue,{className:"add-link",color:"transparent",size:"md",icon:t.createElement($.Plus,{color:de.colors.primaryBase,size:18}),onClick:()=>{u((e=>[...e,""])),h((e=>[...e,""]))}},"Add source")))))):t.createElement(Li,{categories:v}))},Ri=ne.div`
|
|
3016
3016
|
position: relative;
|
|
3017
3017
|
margin-bottom: 0;
|
|
3018
3018
|
background: white;
|
|
@@ -3030,7 +3030,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
3030
3030
|
width: 40px;
|
|
3031
3031
|
height: 40px;
|
|
3032
3032
|
font-size: 20px;
|
|
3033
|
-
${
|
|
3033
|
+
${ie.mbDown} {
|
|
3034
3034
|
width: 32px;
|
|
3035
3035
|
height: 32px;
|
|
3036
3036
|
font-size: 16px;
|
|
@@ -3135,12 +3135,12 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
3135
3135
|
}
|
|
3136
3136
|
|
|
3137
3137
|
margin-left: 56px;
|
|
3138
|
-
${
|
|
3138
|
+
${ie.mbDown} {
|
|
3139
3139
|
margin-left: 40px;
|
|
3140
3140
|
}
|
|
3141
3141
|
> .post-author {
|
|
3142
3142
|
margin-left: -56px;
|
|
3143
|
-
${
|
|
3143
|
+
${ie.mbDown} {
|
|
3144
3144
|
margin-left: -40px;
|
|
3145
3145
|
}
|
|
3146
3146
|
.author-info {
|
|
@@ -3158,7 +3158,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
3158
3158
|
width: 40px;
|
|
3159
3159
|
height: 40px;
|
|
3160
3160
|
font-size: 20px;
|
|
3161
|
-
${
|
|
3161
|
+
${ie.mbDown} {
|
|
3162
3162
|
width: 24px;
|
|
3163
3163
|
height: 24px;
|
|
3164
3164
|
font-size: 12px;
|
|
@@ -3171,7 +3171,7 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
3171
3171
|
width: 40px;
|
|
3172
3172
|
height: 40px;
|
|
3173
3173
|
font-size: 20px;
|
|
3174
|
-
${
|
|
3174
|
+
${ie.mbDown} {
|
|
3175
3175
|
width: 24px;
|
|
3176
3176
|
height: 24px;
|
|
3177
3177
|
font-size: 12px;
|
|
@@ -3199,16 +3199,16 @@ import*as e from"react";import t,{useState as a,useEffect as o,useMemo as i,useC
|
|
|
3199
3199
|
.post-content-wrapper {
|
|
3200
3200
|
padding-top: 0;
|
|
3201
3201
|
padding-bottom: 0;
|
|
3202
|
-
${
|
|
3202
|
+
${ie.mbDown} {
|
|
3203
3203
|
padding-left: 0.5rem;
|
|
3204
3204
|
}
|
|
3205
3205
|
}
|
|
3206
3206
|
|
|
3207
|
-
${
|
|
3207
|
+
${ie.mbDown} {
|
|
3208
3208
|
margin-bottom: 12px;
|
|
3209
3209
|
}
|
|
3210
3210
|
}
|
|
3211
|
-
`,
|
|
3211
|
+
`,Mi=ne(Oi)`
|
|
3212
3212
|
margin-top: 12px;
|
|
3213
3213
|
padding: 0.5rem 1rem 1rem;
|
|
3214
|
-
`;export{
|
|
3214
|
+
`;export{No as $,Pe as A,Fe as B,rt as C,Se as D,qa as E,Ga as F,ka as G,Ca as H,da as I,pa as J,ca as K,dt as L,Xa as M,eo as N,_a as O,Yt as P,no as Q,Da as R,io as S,He as T,vo as U,fo as V,xo as W,$a as X,wo as Y,yo as Z,Eo as _,Be as a,ko as a0,Ao as a1,bo as a2,ho as a3,ja as a4,zo as a5,ut as a6,Ri as a7,Mi as a8,Je as a9,fi as aa,We as b,Ze as c,lt as d,vt as e,sa as f,Wt as g,ta as h,Ja as i,oo as j,co as k,na as l,vi as m,gi as n,mt as o,Oi as p,Le as q,Ge as r,Ta as s,Na as t,qe as u,Sa as v,Fa as w,Ba as x,Dt as y,Pa as z};
|