@hhgtech/hhg-components 1.28.61 → 1.28.63
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/{Plus-180f542d.js → Plus-ae3f1f1c.js} +1 -1
- package/build/{WhatsApp-ffe7d4a1.js → WhatsApp-9c647c87.js} +1 -1
- package/build/babyGrowth.js +2 -2
- package/build/cache.js +1 -1
- package/build/care.js +1 -1
- package/build/components.js +1 -1
- package/build/{constants-6c6a3555.js → constants-d09c9d40.js} +1 -1
- package/build/{constants-2c0c7587.js → constants-dc97041d.js} +1 -1
- package/build/constants.js +1 -1
- package/build/{core-d557b52b.js → core-ceb177b7.js} +1 -1
- package/build/{dataTransform-b75c9bc3.js → dataTransform-6589809b.js} +1 -1
- package/build/ecom.js +1 -1
- package/build/esm/{Plus-547e90d4.js → Plus-f9baa442.js} +1 -1
- package/build/esm/{WhatsApp-ca6b9eb0.js → WhatsApp-fa4f9c9a.js} +1 -1
- package/build/esm/babyGrowth.js +2 -2
- package/build/esm/cache.js +1 -1
- package/build/esm/care.js +1 -1
- package/build/esm/components.js +1 -1
- package/build/esm/{constants-ecef3f16.js → constants-7f4574f8.js} +1 -1
- package/build/esm/{constants-2c1c9ea0.js → constants-b5618857.js} +1 -1
- package/build/esm/constants.js +1 -1
- package/build/esm/{core-41f5748b.js → core-bbffde52.js} +1 -1
- package/build/esm/{dataTransform-a594cb5b.js → dataTransform-baac9e3c.js} +1 -1
- package/build/esm/ecom.js +1 -1
- package/build/esm/footer.js +1 -1
- package/build/esm/gAssets.js +1 -1
- package/build/esm/getDynamicHealthTool-c475fbf1.js +1 -0
- package/build/esm/{getSocialList-e6a9d191.js → getSocialList-3a45d82e.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-ef339e1b.js → index-0298e7d5.js} +11 -11
- package/build/esm/{index-cf03869a.js → index-0c53b603.js} +1 -1
- package/build/esm/{index-53e2aed9.js → index-0d75a9cd.js} +2 -2
- package/build/esm/{index-aa1d5d5a.js → index-25c7e6d3.js} +1 -1
- package/build/esm/{index-fb150fbd.js → index-2c1e3436.js} +1 -1
- package/build/esm/{index-7b1b8a1a.js → index-2d727db7.js} +13 -13
- package/build/esm/{index-1d149517.js → index-2ed10a0e.js} +1 -1
- package/build/esm/{index-b45d7e7e.js → index-38ef8472.js} +1 -1
- package/build/esm/{index-4cbfb876.js → index-4661402d.js} +1 -1
- package/build/esm/{index-5f8cf751.js → index-493554d0.js} +1 -1
- package/build/esm/{index-afb5919e.js → index-498fc282.js} +1 -1
- package/build/esm/{index-c6516af0.js → index-4f722c15.js} +1 -1
- package/build/esm/index-51bfcbb2.js +1 -0
- package/build/esm/{index-61301ddd.js → index-605281ba.js} +1 -1
- package/build/esm/{index-ef87513c.js → index-62e617ca.js} +1 -1
- package/build/esm/{index-0565ba70.js → index-7fd69a08.js} +1 -1
- package/build/esm/{index-5f09ed74.js → index-ae2e10d3.js} +1 -1
- package/build/esm/{index-724942f2.js → index-b30afac1.js} +1 -1
- package/build/esm/{index-ad7d7f6a.js → index-b3a4e983.js} +1 -1
- package/build/esm/{index-9879ec05.js → index-c04854ca.js} +1 -1
- package/build/esm/index-e7376795.js +1 -0
- package/build/esm/{index-1c9b2693.js → index-ed172b37.js} +4 -4
- package/build/esm/{index-354bd774.js → index-f1daae70.js} +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-fbb82534.js → index.styled-3e90a056.js} +1 -1
- package/build/esm/{index.styles-558ea176.js → index.styles-b54bd8c1.js} +44 -44
- 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 +5 -5
- package/build/esm/{routing-19e5593d.js → routing-b25f56a7.js} +1 -1
- package/build/esm/subot.js +4 -4
- package/build/esm/together.js +1 -1
- package/build/esm/{types-f7754b50.js → types-72e00020.js} +1 -1
- package/build/esm/{types-880a9158.js → types-ccefb5e5.js} +1 -1
- package/build/esm/types.js +1 -1
- package/build/esm/{useCategory-6cafb00b.js → useCategory-4cd6dfaf.js} +1 -1
- package/build/esm/useHealthToolCache-8b6e1132.js +1 -0
- package/build/esm/{usePlacesAutocomplete-22f1abeb.js → usePlacesAutocomplete-72c9f622.js} +1 -1
- package/build/esm/{useTranslations-3c76ddc6.js → useTranslations-0bb35954.js} +1 -1
- package/build/esm/{utils-631bc12a.js → utils-2b792e4e.js} +1 -1
- package/build/esm/{utils-ac07e81f.js → utils-b9d39124.js} +1 -1
- package/build/esm/{utils-79825b8b.js → utils-d5233d16.js} +1 -1
- package/build/esm/vaccination.js +11 -11
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/{getDynamicHealthTool-0c550dbd.js → getDynamicHealthTool-ae96b303.js} +1 -1
- package/build/{getSocialList-c160ad69.js → getSocialList-e7c280a8.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-8cc01b67.js → index-14762a87.js} +1 -1
- package/build/{index-49e55efa.js → index-180724c1.js} +4 -4
- package/build/{index-3f2e1782.js → index-1abb8f88.js} +1 -1
- package/build/{index-31fd3728.js → index-3382263b.js} +2 -2
- package/build/{index-98e054ea.js → index-36fc1e59.js} +1 -1
- package/build/{index-987593e0.js → index-3e70ce5b.js} +1 -1
- package/build/{index-ca1871cd.js → index-4c97e71b.js} +1 -1
- package/build/{index-db7d35bc.js → index-54a7debd.js} +1 -1
- package/build/{index-230d54f0.js → index-562409e6.js} +1 -1
- package/build/{index-aa834ba9.js → index-792d8012.js} +1 -1
- package/build/{index-c63aeed0.js → index-79e6fda5.js} +1 -1
- package/build/{index-93de716c.js → index-84bceb91.js} +1 -1
- package/build/{index-b8cde5df.js → index-8a1ab578.js} +1 -1
- package/build/{index-24a9de2f.js → index-9c3a324e.js} +1 -1
- package/build/index-a0adc072.js +1 -0
- package/build/{index-766ba3f6.js → index-a607ab1d.js} +1 -1
- package/build/{index-eee17337.js → index-aec13cfc.js} +1 -1
- package/build/{index-b2004f10.js → index-bc58ea87.js} +1 -1
- package/build/{index-8fe325ab.js → index-be13ca0c.js} +1 -1
- package/build/{index-e91e0671.js → index-bf4de588.js} +1 -1
- package/build/{index-fd81d7af.js → index-dc6d1d9a.js} +1 -1
- package/build/{index-09478c92.js → index-f236c6ce.js} +12 -12
- package/build/{index-e5812f7c.js → index-f2ffd65d.js} +1 -1
- package/build/index.js +1 -1
- package/build/{index.styled-5bf2a535.js → index.styled-54e422d1.js} +1 -1
- package/build/{index.styles-da452648.js → index.styles-db50e54a.js} +17 -17
- 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-72131187.js → routing-1640409f.js} +1 -1
- package/build/subot.js +4 -4
- package/build/together.js +1 -1
- package/build/{types-2d5dd9cb.js → types-5bd287ac.js} +1 -1
- package/build/{types-bdbf7467.js → types-e554c5c4.js} +1 -1
- package/build/types.js +1 -1
- package/build/{useCategory-8e68e866.js → useCategory-e4dfcb8a.js} +1 -1
- package/build/useHealthToolCache-b26a7cf9.js +1 -0
- package/build/{usePlacesAutocomplete-8db77a1e.js → usePlacesAutocomplete-0ec84410.js} +1 -1
- package/build/{useTranslations-4a9165ff.js → useTranslations-048502c3.js} +1 -1
- package/build/{utils-372b2fa2.js → utils-18176c91.js} +1 -1
- package/build/{utils-9f0185c7.js → utils-3423e2dc.js} +1 -1
- package/build/utils-8795aba5.js +1 -0
- package/build/vaccination.js +1 -1
- package/package.json +1 -1
- package/build/esm/getDynamicHealthTool-d70087bd.js +0 -1
- package/build/esm/index-37554de6.js +0 -1
- package/build/esm/index-90cf2442.js +0 -1
- package/build/esm/useHealthToolCache-a969bc82.js +0 -1
- package/build/index-34ed9c93.js +0 -1
- package/build/useHealthToolCache-9e151689.js +0 -1
- package/build/utils-88f0b68a.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-4351377e.js → BMI_BOYS.percentile.monthly-91736295.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-102964f0.js → BMI_BOYS.percentile.weekly-7daa3f43.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-ab9f1716.js → BMI_BOYS.percentile.yearly-e1a194ed.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-9900b2ce.js → BMI_BOYS.zscore.monthly-dc557672.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-609dc0e5.js → BMI_BOYS.zscore.weekly-4236c342.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-0638ba48.js → BMI_BOYS.zscore.yearly-93119dc0.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-acf2a872.js → BMI_GIRLS.percentile.monthly-4e19faea.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-80d1224e.js → BMI_GIRLS.percentile.weekly-4d61bb8f.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-c2283f0e.js → BMI_GIRLS.percentile.yearly-536a1834.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-619afb9c.js → BMI_GIRLS.zscore.monthly-df08f573.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-8c42f777.js → BMI_GIRLS.zscore.weekly-aba2b3cb.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-87d827d6.js → BMI_GIRLS.zscore.yearly-6e156a08.js} +0 -0
- /package/build/{ChevronDown-1465acfd.js → ChevronDown-5665d3a9.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-f179e569.js → HEAD CIRCUM_BOYS.percentile.monthly-32d6c29a.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-6bb841fd.js → HEAD CIRCUM_BOYS.percentile.weekly-9e8ba5f2.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-fc2652fc.js → HEAD CIRCUM_BOYS.percentile.yearly-98d70e74.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-63cc8b07.js → HEAD CIRCUM_BOYS.zscore.monthly-549098ac.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-61b54827.js → HEAD CIRCUM_BOYS.zscore.weekly-32b3a232.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-742368f9.js → HEAD CIRCUM_BOYS.zscore.yearly-e99db18a.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-3495e1c9.js → HEAD CIRCUM_GIRLS.percentile.monthly-a342d1d0.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-e6234b1a.js → HEAD CIRCUM_GIRLS.percentile.weekly-e5b7ce81.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-41536192.js → HEAD CIRCUM_GIRLS.percentile.yearly-41a19f44.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-ccb14ac2.js → HEAD CIRCUM_GIRLS.zscore.monthly-6ae8b224.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-925d0838.js → HEAD CIRCUM_GIRLS.zscore.weekly-f6da7e3b.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-ab107e01.js → HEAD CIRCUM_GIRLS.zscore.yearly-b1fa7d33.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-d5335dc6.js → HEIGHT_BOYS.percentile.monthly-3bb95ea8.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-381a9e27.js → HEIGHT_BOYS.percentile.weekly-9db86f8e.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-c08bb35e.js → HEIGHT_BOYS.percentile.yearly-f2286be8.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-12245209.js → HEIGHT_BOYS.zscore.monthly-930c7ee5.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-90ac7dd8.js → HEIGHT_BOYS.zscore.weekly-71b8b008.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-4c4bb5fa.js → HEIGHT_BOYS.zscore.yearly-1a3198a2.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-c34dcbc4.js → HEIGHT_GIRLS.percentile.monthly-061c62e1.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-52361e2d.js → HEIGHT_GIRLS.percentile.weekly-d5d01d57.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-f17b1f22.js → HEIGHT_GIRLS.percentile.yearly-026c20ce.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-ff35c563.js → HEIGHT_GIRLS.zscore.monthly-a3124ea8.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-1551b0e1.js → HEIGHT_GIRLS.zscore.weekly-627056f9.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-f29ae27a.js → HEIGHT_GIRLS.zscore.yearly-37df79df.js} +0 -0
- /package/build/{Subot-a8ff8b79.js → Subot-e6872850.js} +0 -0
- /package/build/{Visible-26c549bb.js → Visible-6aa69048.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-066c268b.js → WEIGHT_BOYS.percentile.monthly-a38f00d2.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-8be8f2de.js → WEIGHT_BOYS.percentile.weekly-be120ac2.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-a2bb1526.js → WEIGHT_BOYS.percentile.yearly-f6753964.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-2df87a10.js → WEIGHT_BOYS.zscore.monthly-2014191f.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-68ab5cb5.js → WEIGHT_BOYS.zscore.weekly-7f8356a0.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-75bf527c.js → WEIGHT_BOYS.zscore.yearly-63366da9.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-aa52689a.js → WEIGHT_GIRLS.percentile.monthly-4bba1508.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-a9d917c2.js → WEIGHT_GIRLS.percentile.weekly-f319703a.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-9451348d.js → WEIGHT_GIRLS.percentile.yearly-4f67e080.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-4f290476.js → WEIGHT_GIRLS.zscore.monthly-18f02e99.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-160648e0.js → WEIGHT_GIRLS.zscore.weekly-2cfd7b20.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-70e13d82.js → WEIGHT_GIRLS.zscore.yearly-80d8a567.js} +0 -0
- /package/build/{animation-52484e4e.js → animation-f9bf49c2.js} +0 -0
- /package/build/{cookieHelper-05a7eb1e.js → cookieHelper-ef7d953a.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-670d096c.js → BMI_BOYS.percentile.monthly-ddb48063.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-4e5448ac.js → BMI_BOYS.percentile.weekly-c0648245.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-099a9cfe.js → BMI_BOYS.percentile.yearly-7ff90e19.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-13c73c09.js → BMI_BOYS.zscore.monthly-1a391aa0.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-489cd40a.js → BMI_BOYS.zscore.weekly-87c07f97.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-dd21dea1.js → BMI_BOYS.zscore.yearly-8096818b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-362b3099.js → BMI_GIRLS.percentile.monthly-cf77c289.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-c4eb0367.js → BMI_GIRLS.percentile.weekly-873165af.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-4f811a97.js → BMI_GIRLS.percentile.yearly-5faf3c3c.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-5aaa71cd.js → BMI_GIRLS.zscore.monthly-f1702f43.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-6e5312db.js → BMI_GIRLS.zscore.weekly-30ea07c3.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-3a60eb8e.js → BMI_GIRLS.zscore.yearly-19075227.js} +0 -0
- /package/build/esm/{ChevronDown-8151e1c3.js → ChevronDown-66f1b917.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-16191aa7.js → HEAD CIRCUM_BOYS.percentile.monthly-631ecc2d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-8d7bc208.js → HEAD CIRCUM_BOYS.percentile.weekly-04c837f8.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-773ac842.js → HEAD CIRCUM_BOYS.percentile.yearly-d7ede8cf.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-5741ce20.js → HEAD CIRCUM_BOYS.zscore.monthly-2d92e608.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-3dc0ba50.js → HEAD CIRCUM_BOYS.zscore.weekly-546dbe8a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-5fae63a3.js → HEAD CIRCUM_BOYS.zscore.yearly-ec70d56e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-8cd738e5.js → HEAD CIRCUM_GIRLS.percentile.monthly-11befe30.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-e0054986.js → HEAD CIRCUM_GIRLS.percentile.weekly-3bbe3128.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-93d05a96.js → HEAD CIRCUM_GIRLS.percentile.yearly-8b2c3da7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-84ed772a.js → HEAD CIRCUM_GIRLS.zscore.monthly-4418244b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-3fee32e6.js → HEAD CIRCUM_GIRLS.zscore.weekly-6915d31f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-bad7fbef.js → HEAD CIRCUM_GIRLS.zscore.yearly-025805ed.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-7c37746b.js → HEIGHT_BOYS.percentile.monthly-7f7afc76.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-afb23522.js → HEIGHT_BOYS.percentile.weekly-78c4cabc.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-51edc99b.js → HEIGHT_BOYS.percentile.yearly-02d04b6a.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-fe948f11.js → HEIGHT_BOYS.zscore.monthly-bfbf5622.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-0725f46a.js → HEIGHT_BOYS.zscore.weekly-e38e4796.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-13e296f5.js → HEIGHT_BOYS.zscore.yearly-9cc84666.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-bd5f2444.js → HEIGHT_GIRLS.percentile.monthly-a986e7f0.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-0c03a739.js → HEIGHT_GIRLS.percentile.weekly-11d7c175.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-d21a117f.js → HEIGHT_GIRLS.percentile.yearly-b25e4a9c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-ac005754.js → HEIGHT_GIRLS.zscore.monthly-4487afd2.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-0a7d5d77.js → HEIGHT_GIRLS.zscore.weekly-785a4d30.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-89f80270.js → HEIGHT_GIRLS.zscore.yearly-daab73f1.js} +0 -0
- /package/build/esm/{Subot-d0b4291c.js → Subot-ae88fa88.js} +0 -0
- /package/build/esm/{Visible-82b87354.js → Visible-3434e154.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-6480bf4c.js → WEIGHT_BOYS.percentile.monthly-4c9cce58.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-b6d6ce0e.js → WEIGHT_BOYS.percentile.weekly-438354dd.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-c471732a.js → WEIGHT_BOYS.percentile.yearly-6800346f.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-f04984e7.js → WEIGHT_BOYS.zscore.monthly-bfbc201e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-a414cfed.js → WEIGHT_BOYS.zscore.weekly-3251f2f5.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-51c43ec0.js → WEIGHT_BOYS.zscore.yearly-123ef8c6.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-ae86935f.js → WEIGHT_GIRLS.percentile.monthly-089ed7e3.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-223f720e.js → WEIGHT_GIRLS.percentile.weekly-7d5db947.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-215fd5b2.js → WEIGHT_GIRLS.percentile.yearly-03f5e773.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-9a6b422b.js → WEIGHT_GIRLS.zscore.monthly-3eb5d8b7.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-fc542a64.js → WEIGHT_GIRLS.zscore.weekly-34fd0aa9.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-ecb902b3.js → WEIGHT_GIRLS.zscore.yearly-808f27c4.js} +0 -0
- /package/build/esm/{animation-531f23ac.js → animation-4417ca20.js} +0 -0
- /package/build/esm/{cookieHelper-973ea617.js → cookieHelper-ed3b7d86.js} +0 -0
- /package/build/esm/{index-a86cb9e6.js → index-a560a5aa.js} +0 -0
- /package/build/esm/{index-c28bec06.js → index-ac44db10.js} +0 -0
- /package/build/esm/{index-38e83f87.js → index-f998d6e1.js} +0 -0
- /package/build/esm/{isProduction-fbf9c7bf.js → isProduction-d523789a.js} +0 -0
- /package/build/esm/{localizeNumberFormat-dce1143a.js → localizeNumberFormat-81df3d98.js} +0 -0
- /package/build/esm/{normalizeLink-611dbfe4.js → normalizeLink-c5577ba3.js} +0 -0
- /package/build/esm/{number-2477a738.js → number-82cebac3.js} +0 -0
- /package/build/esm/{paths-c88c1a6f.js → paths-30fd4a63.js} +0 -0
- /package/build/esm/{theme-17ac9111.js → theme-99eb2455.js} +0 -0
- /package/build/esm/{translationsContext-a2864bfb.js → translationsContext-4cf58baa.js} +0 -0
- /package/build/esm/{tslib.es6-d55f1788.js → tslib.es6-b1e43fda.js} +0 -0
- /package/build/esm/{types-30092366.js → types-2ea48d96.js} +0 -0
- /package/build/esm/{useIsInit-9a462430.js → useIsInit-8b39989a.js} +0 -0
- /package/build/esm/{useOutsideClick-3f3384ca.js → useOutsideClick-b485b2e7.js} +0 -0
- /package/build/esm/{useScrollbarSize-88226012.js → useScrollbarSize-146cf043.js} +0 -0
- /package/build/esm/{utils-5d6577e3.js → utils-f9036688.js} +0 -0
- /package/build/{index-132a76e5.js → index-0a1cca85.js} +0 -0
- /package/build/{index-127b607d.js → index-aa048810.js} +0 -0
- /package/build/{index-a0dea90f.js → index-b7501b94.js} +0 -0
- /package/build/{isProduction-671f31da.js → isProduction-fce4c411.js} +0 -0
- /package/build/{localizeNumberFormat-4d4f732f.js → localizeNumberFormat-d7e05dd7.js} +0 -0
- /package/build/{normalizeLink-c25d1713.js → normalizeLink-b6635fa0.js} +0 -0
- /package/build/{number-07016418.js → number-ddaf812a.js} +0 -0
- /package/build/{paths-1441b189.js → paths-c422db6f.js} +0 -0
- /package/build/{theme-c308b328.js → theme-1e27b9db.js} +0 -0
- /package/build/{translationsContext-5689d9be.js → translationsContext-c8376758.js} +0 -0
- /package/build/{tslib.es6-377e20ec.js → tslib.es6-f581f504.js} +0 -0
- /package/build/{types-a56ccf22.js → types-09c003bf.js} +0 -0
- /package/build/{useIsInit-ff80c4ef.js → useIsInit-79bacc2e.js} +0 -0
- /package/build/{useOutsideClick-83dffc79.js → useOutsideClick-2c2b4a08.js} +0 -0
- /package/build/{useScrollbarSize-6eb46318.js → useScrollbarSize-dabf7fd9.js} +0 -0
- /package/build/{utils-b10d6296.js → utils-97861e62.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{enUS as o,vi as e,km as l,hi as i,id as a,ms as n,th as t,zhTW as s}from"date-fns/locale";import{L as E}from"./Subot-d0b4291c.js";import{i as c}from"./isProduction-fbf9c7bf.js";const h={HELLO_HEALTH_GROUP:"hellohealthgroup.com",HELLO_DOCTOR:"hellodoctor.com.ph",HELLO_DOCTOR_FIL:"hellodoctor.com.ph/fil",HELLO_KRUPET:"hellokrupet.com",HELLO_SWASTHYA:"helloswasthya.com",HELLO_SEHAT:"hellosehat.com",HELLO_SAYARWON:"hellosayarwon.com",HELLO_DOKTOR:"hellodoktor.com",HELLO_KHUNMOR:"hellokhunmor.com",HELLO_YISHI:"helloyishi.com.tw",HELLO_BACSI:"hellobacsi.com",MARRY_BABY:"www.marrybaby.vn"},I={HELLO_HEALTH_GROUP:{lng:E.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:10},HELLO_DOCTOR:{lng:E.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:5},HELLO_DOCTOR_FIL:{lng:E.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",siteId:5},HELLO_KRUPET:{lng:E.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",siteId:4},HELLO_SWASTHYA:{lng:E.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",siteId:9},HELLO_SEHAT:{lng:E.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",siteId:2},HELLO_SAYARWON:{lng:E.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",siteId:7},HELLO_DOKTOR:{lng:E.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",siteId:3},HELLO_KHUNMOR:{lng:E.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",siteId:6},HELLO_YISHI:{lng:E.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",siteId:8},HELLO_BACSI:{lng:E.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",siteId:1},MARRY_BABY:{lng:E.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",siteId:11}};var T;!function(o){o.HPV="hpv"}(T||(T={}));const r={[E.Vietnam]:{[T.HPV]:"hpv-vaccine"},[E.Indonesia]:{[T.HPV]:"deteksi-dini-hpv"}},O="tl-PH"===process.env.NEXT_PUBLIC_DEPLOY_LOCALE?"/fil":"",p=process.env.NEXT_PUBLIC_SSO,_="userGeoLocationCoordinates",m={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com","tl-PH":"hellodoctor.com.ph","vi-VN_MB":"marrybaby.vn"},A={[E.Vietnam]:"hellobacsi.com",[E.Indonesia]:"hellosehat.com",[E.Malaysia]:"hellodoktor.com",[E.Cambodia]:"hellokrupet.com",[E.PhilippinesEnglish]:"hellodoctor.com.ph",[E.PhilippinesTagalog]:"hellodoctor.com.ph",[E.Thailand]:"hellokhunmor.com",[E.Myanmar]:"hellosayarwon.com",[E.Taiwan]:"helloyishi.com.tw",[E.India]:"helloswasthya.com"},u={"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png",PREGNANCY_WEIGHT_GAIN:"cong-cu-tinh-can-nang-khi-mang-thai",BABY_POOP:"phan-tre-so-sinh-nhu-the-nao-la-tot",VACCINATION_TOOL:"lich-tiem-chung"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png",PREGNANCY_WEIGHT_GAIN:"เครื่องคำนวณน้ำหนักตัว",BABY_POOP:"สีอุจจาระของลูก-บอกถึงส",VACCINATION_TOOL:"vaccination-tool"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png",PREGNANCY_WEIGHT_GAIN:"រង្វាស់សុខភាព/គណនាទម្ងន់ស្ត្រីពពោះ",BABY_POOP:"រង្វាស់សុខភាព/អត្ថន័យពណ៌-និងរូបរាងលាម",VACCINATION_TOOL:"រង្វាស់សុខភាព/កាលវិភាគចាក់ថ្នាំបង្កា"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-kenaikan-berat-badan-ibu-hamil",BABY_POOP:"warna-feses-bayi-normal",VACCINATION_TOOL:"jadwal-imunisasi"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png",PREGNANCY_WEIGHT_GAIN:"garbhavastha-weight-calculator",BABY_POOP:"visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-tambah-berat-badan-hamil",BABY_POOP:"kenali-najis-bayi-anda",VACCINATION_TOOL:"alat-kesihatan-vaksin"},"tl-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/fil/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool",ABOUT_US_IMAGE:"/fil/images/aboutus/PH.png"}},y={"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/tieu-chuan-cong-dong",TOGETHER:"/community"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/គោលការណ៍ណែនាំសហគមន៍",TOGETHER:"/community"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en",COMMUNITY_GUIDELINE:"/panduan-komunitas",TOGETHER:"/community"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"tl-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"}},N="user",S=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],C=["vi-VN"],g=["vi-VN","id-ID"],R=["vi-VN","id-ID"],L={"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],marryBaby:[{type:"link",rel:"shortcut icon",href:"/favicons/favicon.ico"},{type:"link",rel:"icon",href:"/favicons/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/favicons/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/favicons/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/favicons/icon-180x180.png"}]};var M;!function(o){o.bmi="mi",o.gender="gndr",o.age="ge",o.slug="slug",o.resultId="resultId",o.bmr="mr",o.height="gt",o.weight="wght",o.source="surc",o.type="tp",o.startDate="sd",o.additional="tnl",o.week="wk",o.twins="twn",o.weightBefore="wb",o.yourself="yrslf",o.intensity="sy",o.rate="rt",o.method="mthd",o.day="dy",o.pwg="pwg",o.cycle="le",o.period="prd",o.access_token="tkn",o.name="nm",o.id="id"}(M||(M={}));const P={[E.Vietnam]:{dateFormat:"DD/MM/YYYY",separator:","},[E.Cambodia]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.India]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.Indonesia]:{dateFormat:"DD/MM/YYYY",separator:","},[E.Malaysia]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.Thailand]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.Taiwan]:{dateFormat:"YYYY/MM/DD",separator:","},[E.PhilippinesTagalog]:{dateFormat:"MM/DD/YYYY",separator:"."},[E.PhilippinesEnglish]:{dateFormat:"MM/DD/YYYY",separator:"."},[E.Myanmar]:{dateFormat:"DD/MM/YYYY",separator:","}},d="hhg_user_token",H={[E.PhilippinesEnglish]:o,[E.Vietnam]:e,[E.Cambodia]:l,[E.India]:i,[E.Indonesia]:a,[E.Myanmar]:o,[E.Malaysia]:n,[E.Thailand]:t,[E.Taiwan]:s},Y="https://cdn.hellohealthgroup.com/countries",G="_ga",D="YYYY-MM-DD",b="dd-MM-yyyy";var k=Object.freeze({__proto__:null,basePath:O,SSO_URL:p,USER_GEOLOCATION_COORDINATES_COOKIE:_,domainLocales:m,MAP_DOMAIN_BY_LOCALE:A,LOCALE_SPECS:u,STATIC_PAGES:y,UP_BASEPATH:N,TOGETHER_LOCALES:S,ECOM_LOCALES:C,CARE_LOCALES:g,CARE_BOOKING_LOCALES:R,FAVICONS:L,get QUERY_HEALTH_TOOL(){return M},ISO_FORMAT:P,BEARER_TOKEN_COOKIE:d,DATE_FNS_LOCALE:H,CDN_ADDRESS:Y,GA_TOKEN_COOKIE:"_ga",API_DATE_FORMAT:D,DATE_FNS_DATE_FORMAT:b,siteHost:h,siteOptions:I,get RISK_SCREENER_NAME(){return T},RISK_SCREENER_SLUG:r,isProduction:c});export{D as A,d as B,g as C,H as D,C as E,L as F,G,P as I,u as L,A as M,M as Q,T as R,y as S,S as T,_ as U,r as a,R as b,Y as c,m as d,O as e,p as f,N as g,b as h,k as i,h as j,I as s};
|
|
1
|
+
import{enUS as o,vi as e,km as l,hi as i,id as a,ms as n,th as t,zhTW as s}from"date-fns/locale";import{L as E}from"./Subot-ae88fa88.js";import{i as c}from"./isProduction-d523789a.js";const h={HELLO_HEALTH_GROUP:"hellohealthgroup.com",HELLO_DOCTOR:"hellodoctor.com.ph",HELLO_DOCTOR_FIL:"hellodoctor.com.ph/fil",HELLO_KRUPET:"hellokrupet.com",HELLO_SWASTHYA:"helloswasthya.com",HELLO_SEHAT:"hellosehat.com",HELLO_SAYARWON:"hellosayarwon.com",HELLO_DOKTOR:"hellodoktor.com",HELLO_KHUNMOR:"hellokhunmor.com",HELLO_YISHI:"helloyishi.com.tw",HELLO_BACSI:"hellobacsi.com",MARRY_BABY:"www.marrybaby.vn"},I={HELLO_HEALTH_GROUP:{lng:E.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:10},HELLO_DOCTOR:{lng:E.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:5},HELLO_DOCTOR_FIL:{lng:E.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",siteId:5},HELLO_KRUPET:{lng:E.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",siteId:4},HELLO_SWASTHYA:{lng:E.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",siteId:9},HELLO_SEHAT:{lng:E.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",siteId:2},HELLO_SAYARWON:{lng:E.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",siteId:7},HELLO_DOKTOR:{lng:E.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",siteId:3},HELLO_KHUNMOR:{lng:E.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",siteId:6},HELLO_YISHI:{lng:E.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",siteId:8},HELLO_BACSI:{lng:E.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",siteId:1},MARRY_BABY:{lng:E.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",siteId:11}};var T;!function(o){o.HPV="hpv"}(T||(T={}));const r={[E.Vietnam]:{[T.HPV]:"hpv-vaccine"},[E.Indonesia]:{[T.HPV]:"deteksi-dini-hpv"}},O="tl-PH"===process.env.NEXT_PUBLIC_DEPLOY_LOCALE?"/fil":"",p=process.env.NEXT_PUBLIC_SSO,_="userGeoLocationCoordinates",m={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com","tl-PH":"hellodoctor.com.ph","vi-VN_MB":"marrybaby.vn"},A={[E.Vietnam]:"hellobacsi.com",[E.Indonesia]:"hellosehat.com",[E.Malaysia]:"hellodoktor.com",[E.Cambodia]:"hellokrupet.com",[E.PhilippinesEnglish]:"hellodoctor.com.ph",[E.PhilippinesTagalog]:"hellodoctor.com.ph",[E.Thailand]:"hellokhunmor.com",[E.Myanmar]:"hellosayarwon.com",[E.Taiwan]:"helloyishi.com.tw",[E.India]:"helloswasthya.com"},u={"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png",PREGNANCY_WEIGHT_GAIN:"cong-cu-tinh-can-nang-khi-mang-thai",BABY_POOP:"phan-tre-so-sinh-nhu-the-nao-la-tot",VACCINATION_TOOL:"lich-tiem-chung"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png",PREGNANCY_WEIGHT_GAIN:"เครื่องคำนวณน้ำหนักตัว",BABY_POOP:"สีอุจจาระของลูก-บอกถึงส",VACCINATION_TOOL:"vaccination-tool"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png",PREGNANCY_WEIGHT_GAIN:"រង្វាស់សុខភាព/គណនាទម្ងន់ស្ត្រីពពោះ",BABY_POOP:"រង្វាស់សុខភាព/អត្ថន័យពណ៌-និងរូបរាងលាម",VACCINATION_TOOL:"រង្វាស់សុខភាព/កាលវិភាគចាក់ថ្នាំបង្កា"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-kenaikan-berat-badan-ibu-hamil",BABY_POOP:"warna-feses-bayi-normal",VACCINATION_TOOL:"jadwal-imunisasi"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png",PREGNANCY_WEIGHT_GAIN:"garbhavastha-weight-calculator",BABY_POOP:"visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-tambah-berat-badan-hamil",BABY_POOP:"kenali-najis-bayi-anda",VACCINATION_TOOL:"alat-kesihatan-vaksin"},"tl-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/fil/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool",ABOUT_US_IMAGE:"/fil/images/aboutus/PH.png"}},y={"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/tieu-chuan-cong-dong",TOGETHER:"/community"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/គោលការណ៍ណែនាំសហគមន៍",TOGETHER:"/community"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en",COMMUNITY_GUIDELINE:"/panduan-komunitas",TOGETHER:"/community"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"tl-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"}},N="user",S=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],C=["vi-VN"],g=["vi-VN","id-ID"],R=["vi-VN","id-ID"],L={"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],marryBaby:[{type:"link",rel:"shortcut icon",href:"/favicons/favicon.ico"},{type:"link",rel:"icon",href:"/favicons/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/favicons/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/favicons/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/favicons/icon-180x180.png"}]};var M;!function(o){o.bmi="mi",o.gender="gndr",o.age="ge",o.slug="slug",o.resultId="resultId",o.bmr="mr",o.height="gt",o.weight="wght",o.source="surc",o.type="tp",o.startDate="sd",o.additional="tnl",o.week="wk",o.twins="twn",o.weightBefore="wb",o.yourself="yrslf",o.intensity="sy",o.rate="rt",o.method="mthd",o.day="dy",o.pwg="pwg",o.cycle="le",o.period="prd",o.access_token="tkn",o.name="nm",o.id="id"}(M||(M={}));const P={[E.Vietnam]:{dateFormat:"DD/MM/YYYY",separator:","},[E.Cambodia]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.India]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.Indonesia]:{dateFormat:"DD/MM/YYYY",separator:","},[E.Malaysia]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.Thailand]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.Taiwan]:{dateFormat:"YYYY/MM/DD",separator:","},[E.PhilippinesTagalog]:{dateFormat:"MM/DD/YYYY",separator:"."},[E.PhilippinesEnglish]:{dateFormat:"MM/DD/YYYY",separator:"."},[E.Myanmar]:{dateFormat:"DD/MM/YYYY",separator:","}},d="hhg_user_token",H={[E.PhilippinesEnglish]:o,[E.Vietnam]:e,[E.Cambodia]:l,[E.India]:i,[E.Indonesia]:a,[E.Myanmar]:o,[E.Malaysia]:n,[E.Thailand]:t,[E.Taiwan]:s},Y="https://cdn.hellohealthgroup.com/countries",G="_ga",D="YYYY-MM-DD",b="dd-MM-yyyy";var k=Object.freeze({__proto__:null,basePath:O,SSO_URL:p,USER_GEOLOCATION_COORDINATES_COOKIE:_,domainLocales:m,MAP_DOMAIN_BY_LOCALE:A,LOCALE_SPECS:u,STATIC_PAGES:y,UP_BASEPATH:N,TOGETHER_LOCALES:S,ECOM_LOCALES:C,CARE_LOCALES:g,CARE_BOOKING_LOCALES:R,FAVICONS:L,get QUERY_HEALTH_TOOL(){return M},ISO_FORMAT:P,BEARER_TOKEN_COOKIE:d,DATE_FNS_LOCALE:H,CDN_ADDRESS:Y,GA_TOKEN_COOKIE:"_ga",API_DATE_FORMAT:D,DATE_FNS_DATE_FORMAT:b,siteHost:h,siteOptions:I,get RISK_SCREENER_NAME(){return T},RISK_SCREENER_SLUG:r,isProduction:c});export{D as A,d as B,g as C,H as D,C as E,L as F,G,P as I,u as L,A as M,M as Q,T as R,y as S,S as T,_ as U,r as a,R as b,Y as c,m as d,O as e,p as f,N as g,b as h,k as i,h as j,I as s};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import e,{useState as t,useEffect as a,useRef as n,useMemo as i,Fragment as l,memo as o,useCallback as r,useImperativeHandle as s,forwardRef as c,createContext as d,useContext as m}from"react";import{T as p}from"./Plus-547e90d4.js";import{b as g,c as u,d as h,e as v,f as b,h as y,i as f,j as E,k as x,l as w,m as k,n as C,o as N,p as B,q as z,r as $,s as S,t as P,u as D,H as L,T as M,g as I,P as T}from"./index.styles-558ea176.js";import{f as A,M as j}from"./utils-5d6577e3.js";import{I as O,R as _,u as F,A as H,b as R,c as W,B as U,d as V,e as G,f as Z,t as q}from"./index-4cbfb876.js";import{T as Y}from"./index-37554de6.js";import{b as X,u as K}from"./useTranslations-3c76ddc6.js";import{C as Q}from"./index-ef87513c.js";import{t as J}from"./theme-17ac9111.js";import{_ as ee,a as te}from"./tslib.es6-d55f1788.js";import{Box as ae,Radio as ne,Flex as ie,rem as le,Card as oe,Group as re,createStyles as se,Stack as ce,getStylesRef as de,useMantineTheme as me,Container as pe,UnstyledButton as ge,AspectRatio as ue,ScrollArea as he,Chip as ve,Badge as be,MultiSelect as ye,Stepper as fe}from"@mantine/core";import Ee from"innertext";import"@mantine/dates";import{d as xe,L as we,F as ke,Q as Ce,R as Ne,a as Be,G as ze}from"./index-aa1d5d5a.js";import{G as $e,L as Se}from"./Subot-d0b4291c.js";import"./translationsContext-a2864bfb.js";import"string-format";import{useViewportSize as Pe}from"@mantine/hooks";import{i as De,d as Le}from"./index-c6516af0.js";import Me,{keyframes as Ie,css as Te}from"styled-components";import Ae from"lodash/throttle";import{L as je}from"./index-0565ba70.js";import{B as Oe}from"./index-afb5919e.js";import{I as _e}from"./index-b45d7e7e.js";import Fe from"html-react-parser";import{i as He}from"./isProduction-fbf9c7bf.js";import{format as Re,addDays as We,isBefore as Ue,startOfMonth as Ve,addMonths as Ge,subMonths as Ze,getDaysInMonth as qe,isToday as Ye,isSameDay as Xe,isWithinInterval as Ke,isAfter as Qe,isPast as Je}from"date-fns";import et from"dayjs";import"./utils-ac07e81f.js";import{I as tt}from"./index-5f09ed74.js";import"./index.styled-fbb82534.js";import"./index-a86cb9e6.js";import{L as at}from"./constants-ecef3f16.js";import{Z as nt,s as it,H as lt,o as ot,d as rt,P as st,T as ct,t as dt,u as mt,v as pt}from"./utils-631bc12a.js";import{D as gt}from"./types-30092366.js";import{D as ut}from"./index-7b1b8a1a.js";import{S as ht}from"./index-5f8cf751.js";import{M as vt}from"./index-cf03869a.js";import{D as bt}from"./index-53e2aed9.js";import{C as yt}from"./index-c28bec06.js";import{useForm as ft,Controller as Et}from"react-hook-form";import{u as xt}from"./useHealthToolCache-a969bc82.js";import{yupResolver as wt}from"@hookform/resolvers/yup";import{B as kt,D as Ct}from"./index-ef339e1b.js";import{h as Nt}from"./index-ad7d7f6a.js";import"./WhatsApp-ca6b9eb0.js";import{a as Bt}from"./useOutsideClick-3f3384ca.js";import zt from"date-fns/locale/en-US";import $t from"date-fns/locale/id";import St from"date-fns/locale/vi";import Pt from"date-fns/locale/zh-TW";import{g as Dt}from"./getSocialList-e6a9d191.js";import{v4 as Lt}from"uuid";import{g as Mt,a as It}from"./routing-19e5593d.js";import{useForm as Tt,isNotEmpty as At}from"@mantine/form";import{M as jt}from"./index-61301ddd.js";import Ot from"js-cookie";import _t from"lodash/flatten";import Ft from"lodash/uniqBy";import{g as Ht}from"./cookieHelper-973ea617.js";import{n as Rt,a as Wt}from"./normalizeLink-611dbfe4.js";var Ut="CHw-fZZ",Vt="_03U6VRS",Gt="EO828Vv";const Zt=({style:t,onClose:a,text:n,type:i,contentIcon:l,closeIcon:o,className:r,description:s})=>e.createElement("div",{className:`${Ut} ${r||""}`,style:t,"data-alert-type":i},e.createElement("div",{className:Vt},e.createElement("div",{className:"icon-title"},l,e.createElement(p,{weight:"bold",size:"label1"},n)),e.createElement(p,{weight:"regular",size:"p3"},s)),e.createElement("div",{className:Gt,onClick:a},o)),qt={xs:28,small:32,medium:40,large:48,xl:64,xxl:80,xxxl:96},Yt=({type:n="square",size:i,avatarImg:l,avatarUrl:o,firstLetter:r,backgroundColor:s,onClick:c,style:d,className:m,width:p,height:u,alt:h})=>{const v=i?qt[i]:void 0,[b,y]=t(!1);a((()=>{if(o){const e=document.createElement("img");e.setAttribute("src",o),e.addEventListener("error",(()=>{y(!0)}))}}),[o,y]);const f=(!o&&!l||b)&&r;return e.createElement(g,{style:Object.assign(Object.assign({},d),{"--size":v?v+"px":void 0,"--width-prop":p?p+"px":void 0,"--height-prop":u?u+"px":void 0,"--background-color":s}),"data-has-max":!(!p||!u),"data-avatar-type":n,onClick:c,className:m,avatarUrl:o,"data-custom-size":!!i},l,o&&!b&&e.createElement(O,{src:o,alt:h||"avatar"}),f&&r)},Xt=({amount:t,type:a,size:n="medium",color:i="primary",icon:l,className:o})=>e.createElement(u,{"data-notification-type":a,"data-notification-size":n,"data-notification-color":i,"data-has-icon":!!l||void 0,notificationType:a,notificationSize:n,notificationColor:i,hasIcon:!!l,className:o},e.createElement("div",null,t&&e.createElement("span",null,t)," ",l&&e.createElement("div",null,l))),Kt=({style:t,children:a,className:n,size:i="lg",type:l="bold",upperCase:o,as:r="h4",color:s})=>e.createElement(h,{style:Object.assign({color:s},t),className:n,"data-size":i,"data-type":l,"data-uppercase":o,as:r},a),Qt=()=>e.createElement("style",null,".file-dropdown-path{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}"),Jt=()=>e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",viewBox:"0 0 12.17 14.83"},e.createElement("defs",null,e.createElement("clipPath",{id:"prefix__clip-path",transform:"translate(-1.92 -1.54)"},e.createElement("path",{fill:"none",d:"M0 .96h16v16H0z"}))),e.createElement("title",null,"File"),e.createElement("g",{clipPath:"url(#prefix__clip-path)"},e.createElement("path",{className:"file-dropdown-path",d:"M8.67 2.29H4a1.33 1.33 0 00-1.33 1.33v10.67A1.33 1.33 0 004 15.62h8a1.33 1.33 0 001.33-1.33V7z",transform:"translate(-1.92 -1.54)"}),e.createElement("path",{className:"file-dropdown-path",d:"M8.67 2.29V7h4.66",transform:"translate(-1.92 -1.54)"}))),ea=()=>e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",viewBox:"0 0 13.5 13.5"},e.createElement("title",null,"download"),e.createElement("path",{className:"file-dropdown-path",d:"M14 11v2.66A1.33 1.33 0 0112.67 15H3.33A1.33 1.33 0 012 13.62V11M4.67 7.62L8 11l3.33-3.34M8 11V3",transform:"translate(-1.25 -2.21)"})),ta=()=>e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",viewBox:"0 0 13.5 13.5"},e.createElement("title",null,"upload"),e.createElement("path",{className:"file-dropdown-path",d:"M14 11v2.66A1.33 1.33 0 0112.67 15H3.33A1.33 1.33 0 012 13.62V11M11.33 6.29L8 3 4.67 6.29M8 3v8",transform:"translate(-1.25 -2.21)"})),aa=({className:a,value:i,options:l,onUploadSelected:o,id:r,placeholderIcon:s,placeholder:c,style:d})=>{const[m,p]=t(!1),g=()=>p(!m),u=n(l.map((t=>"upload"===t.type&&e.createElement("input",{id:"uploader-dropdown-input-"+r+"-"+t.value,key:"uploader-dropdown-input-"+r+"-"+t.value,accept:t.fileAcceptedType,multiple:t.multiple,type:"file",style:{display:"none"},onChange:e=>{console.log("change"),o(e.target.files)}}))));return e.createElement(v,{className:a,"data-dropdown-open":!!m,id:r,"data-has-icons":!0,style:d,onBlur:()=>p(!1),tabIndex:0},e.createElement(Qt,null),e.createElement(b,{onClick:g},s||e.createElement(Jt,null)," ",e.createElement("span",null,i&&i.value?i.label:c)),m&&e.createElement(y,{onClick:g,"data-has-icons":!0},l.map((t=>e.createElement(f,{key:`${r}-${t.value}`,"data-selected":i&&i.value===t.value||void 0,onClick:()=>{return"upload"===t.type?(a="#uploader-dropdown-input-"+r+"-"+t.value,void(null===(n=document.querySelector(a))||void 0===n||n.click())):void((e=t.url)&&window.open(e,"_blank"));var e,a,n}},e.createElement(E,null,t.icon||"download"===t.type?e.createElement(ea,null):e.createElement(ta,null)),t.label)))),e.createElement(e.Fragment,null,u.current))},na=({className:t,columns:a,columnsDesktop:n,gridTemplateColumns:i,gridTemplateColumnsDesktop:l,gap:o,children:r,justifyChildren:s,style:c,alignItems:d})=>e.createElement(x,{className:t,style:Object.assign({"--columns-count":a,"--columns-count-desktop":n,"--grid-template-columns":i,"--grid-template-columns-desktop":l,"--justify-children":s,"--grid-gap":o,"--align-items":d},c)},r),ia=({pagesAmount:n,activePage:i,handlePageChange:o,handleClick:r,href:s,queryPageName:c="page"})=>{const d=[...Array(n)].map(((e,t)=>t+1)),[m,p]=t(i<=4?d.slice(0,5):i>=d.length-3?d.slice(d.length-5,d.length):d.slice(i-2,i+1));return a((()=>{i<=4?p(d.slice(0,5)):i>=d.length-3?p(d.slice(d.length-5,d.length)):p(d.slice(i-2,i+1))}),[i]),e.createElement(l,null,i>4&&e.createElement(l,null,e.createElement(C,{onClick:()=>o(1)},s?e.createElement("a",{href:s,onClick:r},1):1),e.createElement(C,null,"...")),m.map((t=>e.createElement(C,{key:`pagination+${t}`,"data-page-active":t===i||void 0,onClick:()=>o(t)},s?e.createElement("a",{href:A(s,t,c),onClick:r},t):t))),i<d.length-3&&e.createElement(l,null,e.createElement(C,null,"..."),e.createElement(C,{onClick:()=>o(d.length)},s?e.createElement("a",{href:A(s,d.length,c),onClick:r},d.length):d.length)))},la=({className:n,pagesAmount:l,currentPage:o,onChange:r,onClick:s,style:c,href:d,queryPageName:m="page"})=>{const p=[...Array(l)].map(((e,t)=>t+1)),[g,u]=t(o),h=i((()=>d&&d.endsWith("&page=")?d.replace("&page=",""):d),[d]),v=l-1,b=e=>{e<=l&&e>0&&(u(e),r(e))},y=e=>{s&&s(e)};return a((()=>{u(o)}),[o]),e.createElement(w,{className:n,style:c},e.createElement(k,{className:"prev-page",onClick:()=>b(g-1),"data-last-page":1===g||void 0},h?e.createElement("a",{href:A(h,g,m),onClick:y},e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none"},e.createElement("path",{d:"M5.5 9L1.5 5L5.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))):e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none"},e.createElement("path",{d:"M5.5 9L1.5 5L5.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))),p.length>8?e.createElement(ia,{pagesAmount:l,activePage:g,handlePageChange:b,handleClick:y,href:h,queryPageName:m}):p.map((t=>e.createElement(C,{key:`pagination+${t}`,"data-page-active":t===g||void 0,onClick:()=>b(t)},h?e.createElement("a",{href:A(h,t,m),onClick:y},t):t))),e.createElement(k,{className:"next-page",onClick:()=>b(g+1),"data-last-page":g===v+1||void 0},h?e.createElement("a",{href:A(h,g,m),onClick:y},e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none"},e.createElement("path",{d:"M1.5 9L5.5 5L1.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))):e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none"},e.createElement("path",{d:"M1.5 9L5.5 5L1.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))))},oa=({size:t="small",label:a,name:n,checked:i,value:l,className:o,isDisabled:r=!1,onChange:s,dataEventCategory:c,dataEventAction:d,dataEventLabel:m})=>{const p=!!d&&!!c&&!!m?{"data-event-category":c,"data-event-action":d,"data-event-label":m}:{};return e.createElement(_,Object.assign({size:"small"===t?"md":"lg",label:a,name:n,checked:i,value:l,className:o,disabled:r,onChange:e=>null==s?void 0:s(e.target.value)},p))},ra=({type:t,children:a,style:n,isInline:i,isSquared:l=!1,className:o,isLight:r,hasMorePadding:s,isLink:c,isSelected:d,textProps:m={size:"sm"}})=>{const p=m.color?{"--text-props-color":m.color}:{};return e.createElement(N,{"data-is-squared":l||void 0,"data-tag-type":t,"data-is-light":r||void 0,"data-has-more-padding":s||void 0,"data-is-inline":i||void 0,style:Object.assign(Object.assign({},n),p),className:o,"data-is-selected":d||void 0,"data-is-link":c||void 0,tagType:t,isInline:i,tagHasMorePadding:s,tagIsLight:r,tagIsSquared:l,tagIsALink:c},e.createElement(Y,Object.assign({},m),a))},sa=({className:t,id:a,onChange:n,checked:i,style:l,label:o})=>e.createElement(B,{className:t,style:l},e.createElement("input",{type:"checkbox",id:a,onChange:n,checked:i}),e.createElement("label",{htmlFor:a},e.createElement(z,null),o&&e.createElement($,null,o))),ca=({label:t,name:a,checked:n,className:i,isDisabled:l,onChange:o,value:r,isRectangle:s,inputDataTestId:c,siteType:d})=>e.createElement(S,{className:i,"data-disabled":l||void 0,"data-is-rectangle":s||void 0,"data-label-text":t,"data-theme":d},e.createElement("input",{type:"checkbox",checked:n,name:a,onChange:()=>o(r,!n),disabled:l,value:r,id:`${a}-${r}`,"data-label-text":t,"data-testid":c}),!s&&e.createElement("label",{htmlFor:`${a}-${r}`},t)),da=t=>e.createElement("svg",Object.assign({},t,{viewBox:"0 0 32 32",fill:"none"}),e.createElement("path",{d:"M16.0002 23.0266L22.8935 27.1866C23.4002 27.4933 24.0268 27.04 23.8935 26.4666L22.0668 18.6266L28.1468 13.36C28.5868 12.9733 28.3602 12.24 27.7602 12.1866L19.7468 11.5066L16.6135 4.11996C16.3868 3.57329 15.6135 3.57329 15.3868 4.11996L12.2535 11.5066L4.24016 12.1866C3.65349 12.24 3.41349 12.9733 3.86682 13.36L9.94682 18.6266L8.12016 26.4666C7.98682 27.04 8.61349 27.4933 9.12016 27.1866L16.0002 23.0266Z",fill:"#D2D6DC"})),ma=t=>e.createElement("svg",Object.assign({},t,{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none"}),e.createElement("path",{d:"M16.0002 23.0266L22.8935 27.1866C23.4002 27.4933 24.0268 27.04 23.8935 26.4666L22.0668 18.6266L28.1468 13.36C28.5868 12.9733 28.3602 12.24 27.7602 12.1866L19.7468 11.5066L16.6135 4.11996C16.3868 3.57329 15.6135 3.57329 15.3868 4.11996L12.2535 11.5066L4.24016 12.1866C3.65349 12.24 3.41349 12.9733 3.86682 13.36L9.94682 18.6266L8.12016 26.4666C7.98682 27.04 8.61349 27.4933 9.12016 27.1866L16.0002 23.0266Z",fill:"#FFC326"})),pa=t=>{const a=X();return e.createElement("svg",Object.assign({},t,{viewBox:"0 0 24 24",fill:"none"}),e.createElement("path",{d:"M12.0001 17.2697L17.1701 20.3897C17.5501 20.6197 18.0201 20.2797 17.9201 19.8497L16.5501 13.9697L21.1101 10.0197C21.4401 9.72973 21.2701 9.17973 20.8201 9.13973L14.8101 8.62973L12.4601 3.08973C12.2901 2.67973 11.7101 2.67973 11.5401 3.08973L9.19006 8.62973L3.18006 9.13973C2.74006 9.17973 2.56006 9.72973 2.90006 10.0197L7.46006 13.9697L6.09006 19.8497C5.99006 20.2797 6.46006 20.6197 6.84006 20.3897L12.0001 17.2697Z",fill:"#E4E8EC"}),e.createElement("mask",{id:a,maskUnits:"userSpaceOnUse",x:"2",y:"0",width:"10",height:"24"},e.createElement("rect",{x:"2",width:"10",height:"24",fill:"#C4C4C4"})),e.createElement("g",{mask:`url(#${a})`},e.createElement("path",{d:"M11.9998 17.2697L17.1698 20.3897C17.5498 20.6197 18.0198 20.2797 17.9198 19.8497L16.5498 13.9697L21.1098 10.0197C21.4398 9.72973 21.2698 9.17973 20.8198 9.13973L14.8098 8.62973L12.4598 3.08973C12.2898 2.67973 11.7098 2.67973 11.5398 3.08973L9.18981 8.62973L3.17981 9.13973C2.73981 9.17973 2.55981 9.72973 2.89981 10.0197L7.45981 13.9697L6.08981 19.8497C5.98981 20.2797 6.45981 20.6197 6.83981 20.3897L11.9998 17.2697Z",fill:"#FFC326"})))},ga=({gap:a=2,size:n=24,star:i,totalStars:l=5,onSelect:o,hideEmptyStars:r,style:s,className:c})=>{const d=Math.floor(i),m=i-d>=.5?1:0,[p,g]=t(null),u=p||d,h=p?0:m;return e.createElement(P,{"data-selectable":!!o,style:Object.assign({"--gap":a,"--star-size":n},s),className:c},Array.from({length:r?d+m:l}).map(((t,a)=>{const n=()=>!!o&&g(a+1),i=()=>!!o&&g(null);return a+1<=u?e.createElement(ma,{key:a,onClick:()=>null==o?void 0:o(a+1),onMouseOver:n,onMouseLeave:i}):a+1===u+h?e.createElement(pa,{key:a,onClick:()=>null==o?void 0:o(a+1),onMouseOver:n,onMouseLeave:i}):e.createElement(da,{key:a,onClick:()=>null==o?void 0:o(a+1),onMouseOver:n,onMouseLeave:i})})))},ua=l=>{var{label:o,availableValue:r,styles:s,isBaby:c,genderValue:d={male:"male",female:"female"}}=l,m=ee(l,["label","availableValue","styles","isBaby","genderValue"]);const{t:g}=K(),{classes:u,cx:h}=D(void 0,{name:"GenderOptionControl",styles:s}),[v,b]=t(),y=n(null),f=i((()=>[{value:d.male,label:g(c?"gender.boy":"gender.male"),icon:Q.getAssetPath(c?"health-tools/boy-icon.svg":"health-tools/male-icon.svg")},{value:d.female,label:g(c?"gender.girl":"gender.female"),icon:Q.getAssetPath(c?"health-tools/girl-icon.svg":"health-tools/female-icon.svg")}]),[]);return a((()=>{b(r)}),[r]),e.createElement(ae,{ref:y,className:u.root},e.createElement(ne.Group,Object.assign({className:"radio-group",label:e.createElement(p,{as:"label",size:"s4",weight:"semiBold"},o||g(c?"tools.selectBabyGender":"tools.selectGender")),size:"lg"},m,{classNames:{error:u.groupErr}}),e.createElement(ie,{className:h(u.wrapper)},f.map((t=>e.createElement(ne,Object.assign({className:"gender-item",classNames:{root:u.itemRoot,labelWrapper:u.itemLabelWrapper,label:u.itemLabel,inner:u.itemInner},key:t.value,value:t.value},v&&t.value!==v&&{disabled:!0},{label:e.createElement(ie,{gap:le(8),align:"center",justify:"center",sx:{zIndex:0}},e.createElement("img",{src:t.icon,className:"gender-image",alt:"female",loading:"lazy"}),e.createElement(p,{size:"p3"},t.label))})))))))};var ha="PiqKaXk",va="HgbW6-m",ba="_6lkfLYy",ya="j7c-onH";const fa=({avatarImg:t,authorName:a,authorLink:n,uploadTime:i,size:l})=>e.createElement("div",{className:ya},e.createElement("div",{className:"author"},e.createElement("div",{className:"avatar","data-size":l},t),e.createElement("div",{className:"poster","data-is-disabled-url":!n},e.createElement(p,{size:"lg"===l?"p3":"p4"},e.createElement("a",{href:n},e.createElement("span",{className:"name"},a),"•"," "),e.createElement("span",null,i))))),Ea=({isMobile:t,avatarImg:a,name:n,link:i,size:l="lg",specialty:o})=>e.createElement("div",{className:ya},e.createElement("div",{className:"author"},e.createElement("div",{className:"expert-avatar","data-size":l},a),e.createElement("div",{className:"expert","data-is-disabled-url":!i},t?e.createElement("a",{href:i},"lg"===l?e.createElement(e.Fragment,null,e.createElement(L,{tag:"h6",className:"expert__name",color:J.colors.gray600},n),e.createElement(p,{color:J.colors.gray500,size:"p3",className:"specialty"},o)):e.createElement(e.Fragment,null,e.createElement(L,{tag:"h6",className:"expert__name",color:J.colors.gray600},n))):e.createElement("a",{href:i},"lg"===l?e.createElement(e.Fragment,null,e.createElement(L,{tag:"h6",className:"expert__name",color:J.colors.gray600},n),e.createElement(p,{color:J.colors.gray500,size:"p3",className:"specialty"},o)):e.createElement(e.Fragment,null,e.createElement("h6",{color:J.colors.gray600,className:`${ha} expert__name`},n),e.createElement(p,{color:J.colors.gray500,size:"p4",className:"specialty"},o)))))),xa=o((()=>e.createElement("div",{className:"shoppable"},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{width:"24",height:"24",rx:"12",fill:"#1B3250"}),e.createElement("path",{d:"M16.6667 8.00033H15.3333C15.3333 6.16033 13.84 4.66699 12 4.66699C10.16 4.66699 8.66667 6.16033 8.66667 8.00033H7.33333C6.6 8.00033 6 8.60033 6 9.33366V17.3337C6 18.067 6.6 18.667 7.33333 18.667H16.6667C17.4 18.667 18 18.067 18 17.3337V9.33366C18 8.60033 17.4 8.00033 16.6667 8.00033ZM12 6.00033C13.1067 6.00033 14 6.89366 14 8.00033H10C10 6.89366 10.8933 6.00033 12 6.00033ZM12 12.667C10.4467 12.667 9.14 11.607 8.77333 10.167C8.66 9.74699 8.98667 9.33366 9.42 9.33366C9.73333 9.33366 9.98667 9.56033 10.0733 9.86699C10.3067 10.7137 11.08 11.3337 12 11.3337C12.92 11.3337 13.6933 10.7137 13.9267 9.86699C14.0133 9.56033 14.2667 9.33366 14.58 9.33366C15.0133 9.33366 15.3333 9.74699 15.2267 10.167C14.86 11.607 13.5533 12.667 12 12.667Z",fill:"white"}))))),wa=o((({dataEventCategoryForBookmark:t,dataEventActionForBookmark:a,dataEventLabelForBookmark:n})=>e.createElement("svg",{"data-event-category":t,"data-event-action":a,"data-event-label":n,width:"14",height:"16",viewBox:"0 0 14 16",fill:"none"},e.createElement("path",{d:"M13 15L7 11.1111L1 15V2.55556C1 2.143 1.18061 1.74733 1.5021 1.45561C1.82359 1.16389 2.25963 1 2.71429 1H11.2857C11.7404 1 12.1764 1.16389 12.4979 1.45561C12.8194 1.74733 13 2.143 13 2.55556V15Z",fill:"#2ED69E",stroke:"#2ED69E",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})))),ka=o((({dataEventCategoryForBookmark:t,dataEventActionForBookmark:a,dataEventLabelForBookmark:n})=>e.createElement("svg",{"data-event-category":t,"data-event-action":a,"data-event-label":n,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},e.createElement("path",{d:"M12.75 2.25H5.25C4.425 2.25 3.75 2.925 3.75 3.75V15.75L9 13.5L14.25 15.75V3.75C14.25 2.925 13.575 2.25 12.75 2.25Z",fill:"#D2D6DC"})))),Ca=({articleLink:t,authorLink:a,authorName:n,avatarImg:i,banner:l,categoryLink:o,categoryName:r,className:s,dataEventActionForBanner:c,dataEventActionForBookmark:d,dataEventActionForCategory:m,dataEventActionForTitle:g,dataEventCategoryForBanner:u,dataEventCategoryForBookmark:h,dataEventCategoryForCategory:v,dataEventCategoryForTitle:b,dataEventLabelForBanner:y,dataEventLabelForBookmark:f,dataEventLabelForCategory:E,dataEventLabelForTitle:x,direction:w="horizontal",hasAffiliate:k,isBookmark:C=!1,isBookmarkDisplayed:N=!0,isMobile:B=!0,onBookmark:z,onClickCategoryName:$,section:S="normal",size:P="md",specialty:D,style:M,styleBanner:I,styleLabel:T,styleTitle:A,text:j,title:O,type:_="author",uploadTime:F,articleLinkTarget:H,isPremium:R})=>{const W=e=>{e.stopPropagation(),null==z||z()},U="lg"===P&&"expert"===_?"h4":"lg"===P&&"home"===S?B?"h4":"h3":"lg"===P?"h4":"h5",V="lg"===P?"p3":"p4",G=B||"home"!==S||"lg"!==P||"author"!==_?"c2":"c1";return e.createElement("article",{className:`${ba} ${s||""}`,"data-size":P,style:M,"data-direction":w,"data-is-expert":"expert"===_||void 0},e.createElement("div",{className:"banner",style:I},e.createElement("a",{className:va,"data-event-category":u,"data-event-action":c,"data-event-label":y,href:t||"#",target:H},l),R&&e.createElement("img",{loading:"lazy",className:"premium",src:Q.getAssetPath("premium-crown.svg")}),k&&e.createElement(xa,null)),e.createElement("div",{className:"content"},e.createElement("div",{className:"inner-content"},e.createElement(p,{style:T,className:"label",size:G,weight:"caption"},e.createElement("a",{className:va,"data-event-category":v,"data-event-action":m,"data-event-label":E,href:o||"#",onClick:$},r),N&&e.createElement("a",{className:"bookmark",onClick:W},C?e.createElement(wa,{dataEventCategoryForBookmark:h,dataEventActionForBookmark:d,dataEventLabelForBookmark:f}):e.createElement(ka,{dataEventCategoryForBookmark:h,dataEventActionForBookmark:d,dataEventLabelForBookmark:f}))),e.createElement(L,{tag:U,style:A,className:"title",as:"lg"===P?"h2":"h3"},e.createElement("a",{className:va,"data-event-category":b,"data-event-action":g,"data-event-label":x,href:t||"#",target:H},O)),j&&e.createElement("a",{href:t||"#",target:H},e.createElement(p,{size:V,className:"text"},j))),e.createElement("div",{className:"footer"},"author"===_?e.createElement(fa,{size:P,avatarImg:i,authorName:n,authorLink:a,uploadTime:F,handleClick:W,isBookmarked:C,dataEventCategoryForBookmark:h,dataEventActionForBookmark:d,dataEventLabelForBookmark:f}):e.createElement(Ea,{size:P,isMobile:B,avatarImg:i,specialty:D,name:n,link:a,handleClick:W,isBookmarked:C,dataEventCategoryForBookmark:h,dataEventActionForBookmark:d,dataEventLabelForBookmark:f}))))},Na=t=>{var a,n,i,{article:l,author:o,authorAvatar:r,badge:s="",hideDescription:c=!1,isBookmarked:d=!1,onBookmark:m,time:g,tracking:u}=t,h=ee(t,["article","author","authorAvatar","badge","hideDescription","isBookmarked","onBookmark","time","tracking"]);const{isMobile:v}=F();return console.log({article:l}),e.createElement(oe,Object.assign({padding:0,radius:0,sx:{display:"flex",flexDirection:"row",gap:24}},h),e.createElement(oe.Section,{w:"100%",h:"100%",miw:264,m:0,className:"pointer"},e.createElement("img",{src:(v?l.featureImageMobile:l.featureImage)||l.featureImage,alt:l.postName,style:{width:"100%"},loading:"lazy"})),e.createElement(oe.Section,null,e.createElement(re,{position:"apart",mt:16,mb:4},e.createElement(H,{href:(null===(a=null==l?void 0:l.primaryCategory)||void 0===a?void 0:a.permalink)||"#"},e.createElement(p,{size:"p4",color:"blue.6"},null===(n=null==l?void 0:l.primaryCategory)||void 0===n?void 0:n.displayName)),e.createElement(ae,{sx:{cursor:"pointer"},role:"button",onClick:m},d?e.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==u?void 0:u.bookmark),e.createElement("path",{d:"M6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7Z",fill:"#595959"})):e.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==u?void 0:u.bookmark),e.createElement("path",{d:"M7 17.95L12 15.8L17 17.95V5.3C17 5.23333 16.9667 5.16667 16.9 5.1C16.8333 5.03333 16.7667 5 16.7 5H7.3C7.23333 5 7.16667 5.03333 7.1 5.1C7.03333 5.16667 7 5.23333 7 5.3V17.95ZM6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7ZM7 5H17H12H7Z",fill:"#595959"})))),e.createElement(p,{size:c?"s2":"s1",mb:8,weight:"semiBold",className:"pointer"},l.postTitle||l.postName||""),!c&&e.createElement(p,{size:"p2",mb:16,lineClamp:3,className:"pointer"},Ee(l.excerpt||l.description||(null===(i=l.postContent)||void 0===i?void 0:i.split("\r\n")[0])||"")),e.createElement(ie,{gap:12,align:"center"},e.createElement(R,{size:32,src:r,withIndicator:!0,indicatorConfig:{offset:5,size:18,label:e.createElement("img",{loading:"lazy",src:s,alt:""})}},"A"),e.createElement(p,{size:"n1",c:"gray.6"},o," • ",g))))};var Ba=se(((e,{})=>({root:{},image:{},title:{},category:{},description:{},author:{}})));const za=648/440,$a=1.5,Sa=t=>{var a,n,l,{article:o,author:r,authorAvatar:s,badge:c="",bannerImageWrapProps:d,hideDescription:m=!1,isBookmarked:g=!1,onBookmark:u,time:h,tracking:v,classNames:b,styles:y,unstyled:f,className:E}=t,x=ee(t,["article","author","authorAvatar","badge","bannerImageWrapProps","hideDescription","isBookmarked","onBookmark","time","tracking","classNames","styles","unstyled","className"]);const{isMobile:w}=F(),{classes:k,cx:C}=Ba({},{name:"ArticleCard",classNames:b,styles:y,unstyled:f}),N=i((()=>m?$a:za),[m]);return e.createElement(oe,Object.assign({className:C(k.root,E),padding:"lg",radius:0},x),e.createElement(oe.Section,{className:C(k.image,"pointer")},e.createElement(W,Object.assign({ratio:N},d),e.createElement("img",{src:(w?o.featureImageMobile:o.featureImage)||o.featureImage,alt:o.postName,style:{objectFit:"cover"}}))),e.createElement(oe.Section,null,e.createElement(re,{position:"apart",mt:16,mb:4},e.createElement(H,{className:k.category,href:(null===(a=null==o?void 0:o.primaryCategory)||void 0===a?void 0:a.permalink)||"#"},e.createElement(p,{size:"p4",color:"blue.6"},null===(n=null==o?void 0:o.primaryCategory)||void 0===n?void 0:n.displayName)),e.createElement(ae,{sx:{cursor:"pointer"},role:"button",onClick:u},g?e.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==v?void 0:v.bookmark),e.createElement("path",{d:"M6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7Z",fill:"#595959"})):e.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==v?void 0:v.bookmark),e.createElement("path",{d:"M7 17.95L12 15.8L17 17.95V5.3C17 5.23333 16.9667 5.16667 16.9 5.1C16.8333 5.03333 16.7667 5 16.7 5H7.3C7.23333 5 7.16667 5.03333 7.1 5.1C7.03333 5.16667 7 5.23333 7 5.3V17.95ZM6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7ZM7 5H17H12H7Z",fill:"#595959"})))),e.createElement(p,{className:C(k.title,"pointer"),size:m?"s2":"s1",mb:8,weight:"semiBold"},o.postTitle||o.postName||""),!m&&e.createElement(p,{className:C(k.description,"pointer"),size:"p2",mb:16,lineClamp:3},Ee(o.excerpt||o.description||(null===(l=o.postContent)||void 0===l?void 0:l.split("\r\n")[0])||"")),e.createElement(ie,{className:k.author,gap:12,align:"center"},e.createElement(R,{size:32,src:s,withIndicator:!0,indicatorConfig:{offset:5,size:18,label:e.createElement("img",{loading:"lazy",src:c,alt:""})}},"A"),e.createElement(p,{size:"n1",c:"gray.6"},r," • ",h))))},Pa=t=>{var{variant:a="vertical"}=t,n=ee(t,["variant"]);return"horizontal"===a?e.createElement(Na,Object.assign({},n)):e.createElement(Sa,Object.assign({},n))},Da=Me.a`
|
|
1
|
+
import e,{useState as t,useEffect as a,useRef as n,useMemo as i,Fragment as l,memo as o,useCallback as r,useImperativeHandle as s,forwardRef as c,createContext as d,useContext as m}from"react";import{T as p}from"./Plus-f9baa442.js";import{b as g,c as u,d as h,e as v,f as b,h as y,i as f,j as E,k as x,l as w,m as k,n as C,o as N,p as B,q as z,r as $,s as S,t as P,u as D,H as L,T as M,g as I,P as T}from"./index.styles-b54bd8c1.js";import{f as A,M as j}from"./utils-f9036688.js";import{I as O,R as _,u as F,A as H,b as R,c as W,B as U,d as V,e as G,f as Z,t as q}from"./index-4661402d.js";import{T as Y}from"./index-51bfcbb2.js";import{b as X,u as K}from"./useTranslations-0bb35954.js";import{C as Q}from"./index-62e617ca.js";import{t as J}from"./theme-99eb2455.js";import{_ as ee,a as te}from"./tslib.es6-b1e43fda.js";import{Box as ae,Radio as ne,Flex as ie,rem as le,Card as oe,Group as re,createStyles as se,Stack as ce,getStylesRef as de,useMantineTheme as me,Container as pe,UnstyledButton as ge,AspectRatio as ue,ScrollArea as he,Chip as ve,Badge as be,MultiSelect as ye,Stepper as fe}from"@mantine/core";import Ee from"innertext";import"@mantine/dates";import{d as xe,L as we,F as ke,Q as Ce,R as Ne,a as Be,G as ze}from"./index-25c7e6d3.js";import{G as $e,L as Se}from"./Subot-ae88fa88.js";import"./translationsContext-4cf58baa.js";import"string-format";import{useViewportSize as Pe}from"@mantine/hooks";import{i as De,d as Le}from"./index-4f722c15.js";import Me,{keyframes as Ie,css as Te}from"styled-components";import Ae from"lodash/throttle";import{L as je}from"./index-7fd69a08.js";import{B as Oe}from"./index-498fc282.js";import{I as _e}from"./index-38ef8472.js";import Fe from"html-react-parser";import{i as He}from"./isProduction-d523789a.js";import{format as Re,addDays as We,isBefore as Ue,startOfMonth as Ve,addMonths as Ge,subMonths as Ze,getDaysInMonth as qe,isToday as Ye,isSameDay as Xe,isWithinInterval as Ke,isAfter as Qe,isPast as Je}from"date-fns";import et from"dayjs";import"./utils-b9d39124.js";import{I as tt}from"./index-ae2e10d3.js";import"./index.styled-3e90a056.js";import"./index-a560a5aa.js";import{L as at}from"./constants-7f4574f8.js";import{Z as nt,s as it,H as lt,o as ot,d as rt,P as st,T as ct,t as dt,u as mt,v as pt}from"./utils-2b792e4e.js";import{D as gt}from"./types-2ea48d96.js";import{D as ut}from"./index-2d727db7.js";import{S as ht}from"./index-493554d0.js";import{M as vt}from"./index-0c53b603.js";import{D as bt}from"./index-0d75a9cd.js";import{C as yt}from"./index-ac44db10.js";import{useForm as ft,Controller as Et}from"react-hook-form";import{u as xt}from"./useHealthToolCache-8b6e1132.js";import{yupResolver as wt}from"@hookform/resolvers/yup";import{B as kt,D as Ct}from"./index-0298e7d5.js";import{h as Nt}from"./index-b3a4e983.js";import"./WhatsApp-fa4f9c9a.js";import{a as Bt}from"./useOutsideClick-b485b2e7.js";import zt from"date-fns/locale/en-US";import $t from"date-fns/locale/id";import St from"date-fns/locale/vi";import Pt from"date-fns/locale/zh-TW";import{g as Dt}from"./getSocialList-3a45d82e.js";import{v4 as Lt}from"uuid";import{g as Mt,a as It}from"./routing-b25f56a7.js";import{useForm as Tt,isNotEmpty as At}from"@mantine/form";import{M as jt}from"./index-605281ba.js";import Ot from"js-cookie";import _t from"lodash/flatten";import Ft from"lodash/uniqBy";import{g as Ht}from"./cookieHelper-ed3b7d86.js";import{n as Rt,a as Wt}from"./normalizeLink-c5577ba3.js";var Ut="CHw-fZZ",Vt="_03U6VRS",Gt="EO828Vv";const Zt=({style:t,onClose:a,text:n,type:i,contentIcon:l,closeIcon:o,className:r,description:s})=>e.createElement("div",{className:`${Ut} ${r||""}`,style:t,"data-alert-type":i},e.createElement("div",{className:Vt},e.createElement("div",{className:"icon-title"},l,e.createElement(p,{weight:"bold",size:"label1"},n)),e.createElement(p,{weight:"regular",size:"p3"},s)),e.createElement("div",{className:Gt,onClick:a},o)),qt={xs:28,small:32,medium:40,large:48,xl:64,xxl:80,xxxl:96},Yt=({type:n="square",size:i,avatarImg:l,avatarUrl:o,firstLetter:r,backgroundColor:s,onClick:c,style:d,className:m,width:p,height:u,alt:h})=>{const v=i?qt[i]:void 0,[b,y]=t(!1);a((()=>{if(o){const e=document.createElement("img");e.setAttribute("src",o),e.addEventListener("error",(()=>{y(!0)}))}}),[o,y]);const f=(!o&&!l||b)&&r;return e.createElement(g,{style:Object.assign(Object.assign({},d),{"--size":v?v+"px":void 0,"--width-prop":p?p+"px":void 0,"--height-prop":u?u+"px":void 0,"--background-color":s}),"data-has-max":!(!p||!u),"data-avatar-type":n,onClick:c,className:m,avatarUrl:o,"data-custom-size":!!i},l,o&&!b&&e.createElement(O,{src:o,alt:h||"avatar"}),f&&r)},Xt=({amount:t,type:a,size:n="medium",color:i="primary",icon:l,className:o})=>e.createElement(u,{"data-notification-type":a,"data-notification-size":n,"data-notification-color":i,"data-has-icon":!!l||void 0,notificationType:a,notificationSize:n,notificationColor:i,hasIcon:!!l,className:o},e.createElement("div",null,t&&e.createElement("span",null,t)," ",l&&e.createElement("div",null,l))),Kt=({style:t,children:a,className:n,size:i="lg",type:l="bold",upperCase:o,as:r="h4",color:s})=>e.createElement(h,{style:Object.assign({color:s},t),className:n,"data-size":i,"data-type":l,"data-uppercase":o,as:r},a),Qt=()=>e.createElement("style",null,".file-dropdown-path{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}"),Jt=()=>e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",viewBox:"0 0 12.17 14.83"},e.createElement("defs",null,e.createElement("clipPath",{id:"prefix__clip-path",transform:"translate(-1.92 -1.54)"},e.createElement("path",{fill:"none",d:"M0 .96h16v16H0z"}))),e.createElement("title",null,"File"),e.createElement("g",{clipPath:"url(#prefix__clip-path)"},e.createElement("path",{className:"file-dropdown-path",d:"M8.67 2.29H4a1.33 1.33 0 00-1.33 1.33v10.67A1.33 1.33 0 004 15.62h8a1.33 1.33 0 001.33-1.33V7z",transform:"translate(-1.92 -1.54)"}),e.createElement("path",{className:"file-dropdown-path",d:"M8.67 2.29V7h4.66",transform:"translate(-1.92 -1.54)"}))),ea=()=>e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",viewBox:"0 0 13.5 13.5"},e.createElement("title",null,"download"),e.createElement("path",{className:"file-dropdown-path",d:"M14 11v2.66A1.33 1.33 0 0112.67 15H3.33A1.33 1.33 0 012 13.62V11M4.67 7.62L8 11l3.33-3.34M8 11V3",transform:"translate(-1.25 -2.21)"})),ta=()=>e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",viewBox:"0 0 13.5 13.5"},e.createElement("title",null,"upload"),e.createElement("path",{className:"file-dropdown-path",d:"M14 11v2.66A1.33 1.33 0 0112.67 15H3.33A1.33 1.33 0 012 13.62V11M11.33 6.29L8 3 4.67 6.29M8 3v8",transform:"translate(-1.25 -2.21)"})),aa=({className:a,value:i,options:l,onUploadSelected:o,id:r,placeholderIcon:s,placeholder:c,style:d})=>{const[m,p]=t(!1),g=()=>p(!m),u=n(l.map((t=>"upload"===t.type&&e.createElement("input",{id:"uploader-dropdown-input-"+r+"-"+t.value,key:"uploader-dropdown-input-"+r+"-"+t.value,accept:t.fileAcceptedType,multiple:t.multiple,type:"file",style:{display:"none"},onChange:e=>{console.log("change"),o(e.target.files)}}))));return e.createElement(v,{className:a,"data-dropdown-open":!!m,id:r,"data-has-icons":!0,style:d,onBlur:()=>p(!1),tabIndex:0},e.createElement(Qt,null),e.createElement(b,{onClick:g},s||e.createElement(Jt,null)," ",e.createElement("span",null,i&&i.value?i.label:c)),m&&e.createElement(y,{onClick:g,"data-has-icons":!0},l.map((t=>e.createElement(f,{key:`${r}-${t.value}`,"data-selected":i&&i.value===t.value||void 0,onClick:()=>{return"upload"===t.type?(a="#uploader-dropdown-input-"+r+"-"+t.value,void(null===(n=document.querySelector(a))||void 0===n||n.click())):void((e=t.url)&&window.open(e,"_blank"));var e,a,n}},e.createElement(E,null,t.icon||"download"===t.type?e.createElement(ea,null):e.createElement(ta,null)),t.label)))),e.createElement(e.Fragment,null,u.current))},na=({className:t,columns:a,columnsDesktop:n,gridTemplateColumns:i,gridTemplateColumnsDesktop:l,gap:o,children:r,justifyChildren:s,style:c,alignItems:d})=>e.createElement(x,{className:t,style:Object.assign({"--columns-count":a,"--columns-count-desktop":n,"--grid-template-columns":i,"--grid-template-columns-desktop":l,"--justify-children":s,"--grid-gap":o,"--align-items":d},c)},r),ia=({pagesAmount:n,activePage:i,handlePageChange:o,handleClick:r,href:s,queryPageName:c="page"})=>{const d=[...Array(n)].map(((e,t)=>t+1)),[m,p]=t(i<=4?d.slice(0,5):i>=d.length-3?d.slice(d.length-5,d.length):d.slice(i-2,i+1));return a((()=>{i<=4?p(d.slice(0,5)):i>=d.length-3?p(d.slice(d.length-5,d.length)):p(d.slice(i-2,i+1))}),[i]),e.createElement(l,null,i>4&&e.createElement(l,null,e.createElement(C,{onClick:()=>o(1)},s?e.createElement("a",{href:s,onClick:r},1):1),e.createElement(C,null,"...")),m.map((t=>e.createElement(C,{key:`pagination+${t}`,"data-page-active":t===i||void 0,onClick:()=>o(t)},s?e.createElement("a",{href:A(s,t,c),onClick:r},t):t))),i<d.length-3&&e.createElement(l,null,e.createElement(C,null,"..."),e.createElement(C,{onClick:()=>o(d.length)},s?e.createElement("a",{href:A(s,d.length,c),onClick:r},d.length):d.length)))},la=({className:n,pagesAmount:l,currentPage:o,onChange:r,onClick:s,style:c,href:d,queryPageName:m="page"})=>{const p=[...Array(l)].map(((e,t)=>t+1)),[g,u]=t(o),h=i((()=>d&&d.endsWith("&page=")?d.replace("&page=",""):d),[d]),v=l-1,b=e=>{e<=l&&e>0&&(u(e),r(e))},y=e=>{s&&s(e)};return a((()=>{u(o)}),[o]),e.createElement(w,{className:n,style:c},e.createElement(k,{className:"prev-page",onClick:()=>b(g-1),"data-last-page":1===g||void 0},h?e.createElement("a",{href:A(h,g,m),onClick:y},e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none"},e.createElement("path",{d:"M5.5 9L1.5 5L5.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))):e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none"},e.createElement("path",{d:"M5.5 9L1.5 5L5.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))),p.length>8?e.createElement(ia,{pagesAmount:l,activePage:g,handlePageChange:b,handleClick:y,href:h,queryPageName:m}):p.map((t=>e.createElement(C,{key:`pagination+${t}`,"data-page-active":t===g||void 0,onClick:()=>b(t)},h?e.createElement("a",{href:A(h,t,m),onClick:y},t):t))),e.createElement(k,{className:"next-page",onClick:()=>b(g+1),"data-last-page":g===v+1||void 0},h?e.createElement("a",{href:A(h,g,m),onClick:y},e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none"},e.createElement("path",{d:"M1.5 9L5.5 5L1.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))):e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none"},e.createElement("path",{d:"M1.5 9L5.5 5L1.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))))},oa=({size:t="small",label:a,name:n,checked:i,value:l,className:o,isDisabled:r=!1,onChange:s,dataEventCategory:c,dataEventAction:d,dataEventLabel:m})=>{const p=!!d&&!!c&&!!m?{"data-event-category":c,"data-event-action":d,"data-event-label":m}:{};return e.createElement(_,Object.assign({size:"small"===t?"md":"lg",label:a,name:n,checked:i,value:l,className:o,disabled:r,onChange:e=>null==s?void 0:s(e.target.value)},p))},ra=({type:t,children:a,style:n,isInline:i,isSquared:l=!1,className:o,isLight:r,hasMorePadding:s,isLink:c,isSelected:d,textProps:m={size:"sm"}})=>{const p=m.color?{"--text-props-color":m.color}:{};return e.createElement(N,{"data-is-squared":l||void 0,"data-tag-type":t,"data-is-light":r||void 0,"data-has-more-padding":s||void 0,"data-is-inline":i||void 0,style:Object.assign(Object.assign({},n),p),className:o,"data-is-selected":d||void 0,"data-is-link":c||void 0,tagType:t,isInline:i,tagHasMorePadding:s,tagIsLight:r,tagIsSquared:l,tagIsALink:c},e.createElement(Y,Object.assign({},m),a))},sa=({className:t,id:a,onChange:n,checked:i,style:l,label:o})=>e.createElement(B,{className:t,style:l},e.createElement("input",{type:"checkbox",id:a,onChange:n,checked:i}),e.createElement("label",{htmlFor:a},e.createElement(z,null),o&&e.createElement($,null,o))),ca=({label:t,name:a,checked:n,className:i,isDisabled:l,onChange:o,value:r,isRectangle:s,inputDataTestId:c,siteType:d})=>e.createElement(S,{className:i,"data-disabled":l||void 0,"data-is-rectangle":s||void 0,"data-label-text":t,"data-theme":d},e.createElement("input",{type:"checkbox",checked:n,name:a,onChange:()=>o(r,!n),disabled:l,value:r,id:`${a}-${r}`,"data-label-text":t,"data-testid":c}),!s&&e.createElement("label",{htmlFor:`${a}-${r}`},t)),da=t=>e.createElement("svg",Object.assign({},t,{viewBox:"0 0 32 32",fill:"none"}),e.createElement("path",{d:"M16.0002 23.0266L22.8935 27.1866C23.4002 27.4933 24.0268 27.04 23.8935 26.4666L22.0668 18.6266L28.1468 13.36C28.5868 12.9733 28.3602 12.24 27.7602 12.1866L19.7468 11.5066L16.6135 4.11996C16.3868 3.57329 15.6135 3.57329 15.3868 4.11996L12.2535 11.5066L4.24016 12.1866C3.65349 12.24 3.41349 12.9733 3.86682 13.36L9.94682 18.6266L8.12016 26.4666C7.98682 27.04 8.61349 27.4933 9.12016 27.1866L16.0002 23.0266Z",fill:"#D2D6DC"})),ma=t=>e.createElement("svg",Object.assign({},t,{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none"}),e.createElement("path",{d:"M16.0002 23.0266L22.8935 27.1866C23.4002 27.4933 24.0268 27.04 23.8935 26.4666L22.0668 18.6266L28.1468 13.36C28.5868 12.9733 28.3602 12.24 27.7602 12.1866L19.7468 11.5066L16.6135 4.11996C16.3868 3.57329 15.6135 3.57329 15.3868 4.11996L12.2535 11.5066L4.24016 12.1866C3.65349 12.24 3.41349 12.9733 3.86682 13.36L9.94682 18.6266L8.12016 26.4666C7.98682 27.04 8.61349 27.4933 9.12016 27.1866L16.0002 23.0266Z",fill:"#FFC326"})),pa=t=>{const a=X();return e.createElement("svg",Object.assign({},t,{viewBox:"0 0 24 24",fill:"none"}),e.createElement("path",{d:"M12.0001 17.2697L17.1701 20.3897C17.5501 20.6197 18.0201 20.2797 17.9201 19.8497L16.5501 13.9697L21.1101 10.0197C21.4401 9.72973 21.2701 9.17973 20.8201 9.13973L14.8101 8.62973L12.4601 3.08973C12.2901 2.67973 11.7101 2.67973 11.5401 3.08973L9.19006 8.62973L3.18006 9.13973C2.74006 9.17973 2.56006 9.72973 2.90006 10.0197L7.46006 13.9697L6.09006 19.8497C5.99006 20.2797 6.46006 20.6197 6.84006 20.3897L12.0001 17.2697Z",fill:"#E4E8EC"}),e.createElement("mask",{id:a,maskUnits:"userSpaceOnUse",x:"2",y:"0",width:"10",height:"24"},e.createElement("rect",{x:"2",width:"10",height:"24",fill:"#C4C4C4"})),e.createElement("g",{mask:`url(#${a})`},e.createElement("path",{d:"M11.9998 17.2697L17.1698 20.3897C17.5498 20.6197 18.0198 20.2797 17.9198 19.8497L16.5498 13.9697L21.1098 10.0197C21.4398 9.72973 21.2698 9.17973 20.8198 9.13973L14.8098 8.62973L12.4598 3.08973C12.2898 2.67973 11.7098 2.67973 11.5398 3.08973L9.18981 8.62973L3.17981 9.13973C2.73981 9.17973 2.55981 9.72973 2.89981 10.0197L7.45981 13.9697L6.08981 19.8497C5.98981 20.2797 6.45981 20.6197 6.83981 20.3897L11.9998 17.2697Z",fill:"#FFC326"})))},ga=({gap:a=2,size:n=24,star:i,totalStars:l=5,onSelect:o,hideEmptyStars:r,style:s,className:c})=>{const d=Math.floor(i),m=i-d>=.5?1:0,[p,g]=t(null),u=p||d,h=p?0:m;return e.createElement(P,{"data-selectable":!!o,style:Object.assign({"--gap":a,"--star-size":n},s),className:c},Array.from({length:r?d+m:l}).map(((t,a)=>{const n=()=>!!o&&g(a+1),i=()=>!!o&&g(null);return a+1<=u?e.createElement(ma,{key:a,onClick:()=>null==o?void 0:o(a+1),onMouseOver:n,onMouseLeave:i}):a+1===u+h?e.createElement(pa,{key:a,onClick:()=>null==o?void 0:o(a+1),onMouseOver:n,onMouseLeave:i}):e.createElement(da,{key:a,onClick:()=>null==o?void 0:o(a+1),onMouseOver:n,onMouseLeave:i})})))},ua=l=>{var{label:o,availableValue:r,styles:s,isBaby:c,genderValue:d={male:"male",female:"female"}}=l,m=ee(l,["label","availableValue","styles","isBaby","genderValue"]);const{t:g}=K(),{classes:u,cx:h}=D(void 0,{name:"GenderOptionControl",styles:s}),[v,b]=t(),y=n(null),f=i((()=>[{value:d.male,label:g(c?"gender.boy":"gender.male"),icon:Q.getAssetPath(c?"health-tools/boy-icon.svg":"health-tools/male-icon.svg")},{value:d.female,label:g(c?"gender.girl":"gender.female"),icon:Q.getAssetPath(c?"health-tools/girl-icon.svg":"health-tools/female-icon.svg")}]),[]);return a((()=>{b(r)}),[r]),e.createElement(ae,{ref:y,className:u.root},e.createElement(ne.Group,Object.assign({className:"radio-group",label:e.createElement(p,{as:"label",size:"s4",weight:"semiBold"},o||g(c?"tools.selectBabyGender":"tools.selectGender")),size:"lg"},m,{classNames:{error:u.groupErr}}),e.createElement(ie,{className:h(u.wrapper)},f.map((t=>e.createElement(ne,Object.assign({className:"gender-item",classNames:{root:u.itemRoot,labelWrapper:u.itemLabelWrapper,label:u.itemLabel,inner:u.itemInner},key:t.value,value:t.value},v&&t.value!==v&&{disabled:!0},{label:e.createElement(ie,{gap:le(8),align:"center",justify:"center",sx:{zIndex:0}},e.createElement("img",{src:t.icon,className:"gender-image",alt:"female",loading:"lazy"}),e.createElement(p,{size:"p3"},t.label))})))))))};var ha="PiqKaXk",va="HgbW6-m",ba="_6lkfLYy",ya="j7c-onH";const fa=({avatarImg:t,authorName:a,authorLink:n,uploadTime:i,size:l})=>e.createElement("div",{className:ya},e.createElement("div",{className:"author"},e.createElement("div",{className:"avatar","data-size":l},t),e.createElement("div",{className:"poster","data-is-disabled-url":!n},e.createElement(p,{size:"lg"===l?"p3":"p4"},e.createElement("a",{href:n},e.createElement("span",{className:"name"},a),"•"," "),e.createElement("span",null,i))))),Ea=({isMobile:t,avatarImg:a,name:n,link:i,size:l="lg",specialty:o})=>e.createElement("div",{className:ya},e.createElement("div",{className:"author"},e.createElement("div",{className:"expert-avatar","data-size":l},a),e.createElement("div",{className:"expert","data-is-disabled-url":!i},t?e.createElement("a",{href:i},"lg"===l?e.createElement(e.Fragment,null,e.createElement(L,{tag:"h6",className:"expert__name",color:J.colors.gray600},n),e.createElement(p,{color:J.colors.gray500,size:"p3",className:"specialty"},o)):e.createElement(e.Fragment,null,e.createElement(L,{tag:"h6",className:"expert__name",color:J.colors.gray600},n))):e.createElement("a",{href:i},"lg"===l?e.createElement(e.Fragment,null,e.createElement(L,{tag:"h6",className:"expert__name",color:J.colors.gray600},n),e.createElement(p,{color:J.colors.gray500,size:"p3",className:"specialty"},o)):e.createElement(e.Fragment,null,e.createElement("h6",{color:J.colors.gray600,className:`${ha} expert__name`},n),e.createElement(p,{color:J.colors.gray500,size:"p4",className:"specialty"},o)))))),xa=o((()=>e.createElement("div",{className:"shoppable"},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{width:"24",height:"24",rx:"12",fill:"#1B3250"}),e.createElement("path",{d:"M16.6667 8.00033H15.3333C15.3333 6.16033 13.84 4.66699 12 4.66699C10.16 4.66699 8.66667 6.16033 8.66667 8.00033H7.33333C6.6 8.00033 6 8.60033 6 9.33366V17.3337C6 18.067 6.6 18.667 7.33333 18.667H16.6667C17.4 18.667 18 18.067 18 17.3337V9.33366C18 8.60033 17.4 8.00033 16.6667 8.00033ZM12 6.00033C13.1067 6.00033 14 6.89366 14 8.00033H10C10 6.89366 10.8933 6.00033 12 6.00033ZM12 12.667C10.4467 12.667 9.14 11.607 8.77333 10.167C8.66 9.74699 8.98667 9.33366 9.42 9.33366C9.73333 9.33366 9.98667 9.56033 10.0733 9.86699C10.3067 10.7137 11.08 11.3337 12 11.3337C12.92 11.3337 13.6933 10.7137 13.9267 9.86699C14.0133 9.56033 14.2667 9.33366 14.58 9.33366C15.0133 9.33366 15.3333 9.74699 15.2267 10.167C14.86 11.607 13.5533 12.667 12 12.667Z",fill:"white"}))))),wa=o((({dataEventCategoryForBookmark:t,dataEventActionForBookmark:a,dataEventLabelForBookmark:n})=>e.createElement("svg",{"data-event-category":t,"data-event-action":a,"data-event-label":n,width:"14",height:"16",viewBox:"0 0 14 16",fill:"none"},e.createElement("path",{d:"M13 15L7 11.1111L1 15V2.55556C1 2.143 1.18061 1.74733 1.5021 1.45561C1.82359 1.16389 2.25963 1 2.71429 1H11.2857C11.7404 1 12.1764 1.16389 12.4979 1.45561C12.8194 1.74733 13 2.143 13 2.55556V15Z",fill:"#2ED69E",stroke:"#2ED69E",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})))),ka=o((({dataEventCategoryForBookmark:t,dataEventActionForBookmark:a,dataEventLabelForBookmark:n})=>e.createElement("svg",{"data-event-category":t,"data-event-action":a,"data-event-label":n,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},e.createElement("path",{d:"M12.75 2.25H5.25C4.425 2.25 3.75 2.925 3.75 3.75V15.75L9 13.5L14.25 15.75V3.75C14.25 2.925 13.575 2.25 12.75 2.25Z",fill:"#D2D6DC"})))),Ca=({articleLink:t,authorLink:a,authorName:n,avatarImg:i,banner:l,categoryLink:o,categoryName:r,className:s,dataEventActionForBanner:c,dataEventActionForBookmark:d,dataEventActionForCategory:m,dataEventActionForTitle:g,dataEventCategoryForBanner:u,dataEventCategoryForBookmark:h,dataEventCategoryForCategory:v,dataEventCategoryForTitle:b,dataEventLabelForBanner:y,dataEventLabelForBookmark:f,dataEventLabelForCategory:E,dataEventLabelForTitle:x,direction:w="horizontal",hasAffiliate:k,isBookmark:C=!1,isBookmarkDisplayed:N=!0,isMobile:B=!0,onBookmark:z,onClickCategoryName:$,section:S="normal",size:P="md",specialty:D,style:M,styleBanner:I,styleLabel:T,styleTitle:A,text:j,title:O,type:_="author",uploadTime:F,articleLinkTarget:H,isPremium:R})=>{const W=e=>{e.stopPropagation(),null==z||z()},U="lg"===P&&"expert"===_?"h4":"lg"===P&&"home"===S?B?"h4":"h3":"lg"===P?"h4":"h5",V="lg"===P?"p3":"p4",G=B||"home"!==S||"lg"!==P||"author"!==_?"c2":"c1";return e.createElement("article",{className:`${ba} ${s||""}`,"data-size":P,style:M,"data-direction":w,"data-is-expert":"expert"===_||void 0},e.createElement("div",{className:"banner",style:I},e.createElement("a",{className:va,"data-event-category":u,"data-event-action":c,"data-event-label":y,href:t||"#",target:H},l),R&&e.createElement("img",{loading:"lazy",className:"premium",src:Q.getAssetPath("premium-crown.svg")}),k&&e.createElement(xa,null)),e.createElement("div",{className:"content"},e.createElement("div",{className:"inner-content"},e.createElement(p,{style:T,className:"label",size:G,weight:"caption"},e.createElement("a",{className:va,"data-event-category":v,"data-event-action":m,"data-event-label":E,href:o||"#",onClick:$},r),N&&e.createElement("a",{className:"bookmark",onClick:W},C?e.createElement(wa,{dataEventCategoryForBookmark:h,dataEventActionForBookmark:d,dataEventLabelForBookmark:f}):e.createElement(ka,{dataEventCategoryForBookmark:h,dataEventActionForBookmark:d,dataEventLabelForBookmark:f}))),e.createElement(L,{tag:U,style:A,className:"title",as:"lg"===P?"h2":"h3"},e.createElement("a",{className:va,"data-event-category":b,"data-event-action":g,"data-event-label":x,href:t||"#",target:H},O)),j&&e.createElement("a",{href:t||"#",target:H},e.createElement(p,{size:V,className:"text"},j))),e.createElement("div",{className:"footer"},"author"===_?e.createElement(fa,{size:P,avatarImg:i,authorName:n,authorLink:a,uploadTime:F,handleClick:W,isBookmarked:C,dataEventCategoryForBookmark:h,dataEventActionForBookmark:d,dataEventLabelForBookmark:f}):e.createElement(Ea,{size:P,isMobile:B,avatarImg:i,specialty:D,name:n,link:a,handleClick:W,isBookmarked:C,dataEventCategoryForBookmark:h,dataEventActionForBookmark:d,dataEventLabelForBookmark:f}))))},Na=t=>{var a,n,i,{article:l,author:o,authorAvatar:r,badge:s="",hideDescription:c=!1,isBookmarked:d=!1,onBookmark:m,time:g,tracking:u}=t,h=ee(t,["article","author","authorAvatar","badge","hideDescription","isBookmarked","onBookmark","time","tracking"]);const{isMobile:v}=F();return console.log({article:l}),e.createElement(oe,Object.assign({padding:0,radius:0,sx:{display:"flex",flexDirection:"row",gap:24}},h),e.createElement(oe.Section,{w:"100%",h:"100%",miw:264,m:0,className:"pointer"},e.createElement("img",{src:(v?l.featureImageMobile:l.featureImage)||l.featureImage,alt:l.postName,style:{width:"100%"},loading:"lazy"})),e.createElement(oe.Section,null,e.createElement(re,{position:"apart",mt:16,mb:4},e.createElement(H,{href:(null===(a=null==l?void 0:l.primaryCategory)||void 0===a?void 0:a.permalink)||"#"},e.createElement(p,{size:"p4",color:"blue.6"},null===(n=null==l?void 0:l.primaryCategory)||void 0===n?void 0:n.displayName)),e.createElement(ae,{sx:{cursor:"pointer"},role:"button",onClick:m},d?e.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==u?void 0:u.bookmark),e.createElement("path",{d:"M6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7Z",fill:"#595959"})):e.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==u?void 0:u.bookmark),e.createElement("path",{d:"M7 17.95L12 15.8L17 17.95V5.3C17 5.23333 16.9667 5.16667 16.9 5.1C16.8333 5.03333 16.7667 5 16.7 5H7.3C7.23333 5 7.16667 5.03333 7.1 5.1C7.03333 5.16667 7 5.23333 7 5.3V17.95ZM6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7ZM7 5H17H12H7Z",fill:"#595959"})))),e.createElement(p,{size:c?"s2":"s1",mb:8,weight:"semiBold",className:"pointer"},l.postTitle||l.postName||""),!c&&e.createElement(p,{size:"p2",mb:16,lineClamp:3,className:"pointer"},Ee(l.excerpt||l.description||(null===(i=l.postContent)||void 0===i?void 0:i.split("\r\n")[0])||"")),e.createElement(ie,{gap:12,align:"center"},e.createElement(R,{size:32,src:r,withIndicator:!0,indicatorConfig:{offset:5,size:18,label:e.createElement("img",{loading:"lazy",src:s,alt:""})}},"A"),e.createElement(p,{size:"n1",c:"gray.6"},o," • ",g))))};var Ba=se(((e,{})=>({root:{},image:{},title:{},category:{},description:{},author:{}})));const za=648/440,$a=1.5,Sa=t=>{var a,n,l,{article:o,author:r,authorAvatar:s,badge:c="",bannerImageWrapProps:d,hideDescription:m=!1,isBookmarked:g=!1,onBookmark:u,time:h,tracking:v,classNames:b,styles:y,unstyled:f,className:E}=t,x=ee(t,["article","author","authorAvatar","badge","bannerImageWrapProps","hideDescription","isBookmarked","onBookmark","time","tracking","classNames","styles","unstyled","className"]);const{isMobile:w}=F(),{classes:k,cx:C}=Ba({},{name:"ArticleCard",classNames:b,styles:y,unstyled:f}),N=i((()=>m?$a:za),[m]);return e.createElement(oe,Object.assign({className:C(k.root,E),padding:"lg",radius:0},x),e.createElement(oe.Section,{className:C(k.image,"pointer")},e.createElement(W,Object.assign({ratio:N},d),e.createElement("img",{src:(w?o.featureImageMobile:o.featureImage)||o.featureImage,alt:o.postName,style:{objectFit:"cover"}}))),e.createElement(oe.Section,null,e.createElement(re,{position:"apart",mt:16,mb:4},e.createElement(H,{className:k.category,href:(null===(a=null==o?void 0:o.primaryCategory)||void 0===a?void 0:a.permalink)||"#"},e.createElement(p,{size:"p4",color:"blue.6"},null===(n=null==o?void 0:o.primaryCategory)||void 0===n?void 0:n.displayName)),e.createElement(ae,{sx:{cursor:"pointer"},role:"button",onClick:u},g?e.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==v?void 0:v.bookmark),e.createElement("path",{d:"M6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7Z",fill:"#595959"})):e.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==v?void 0:v.bookmark),e.createElement("path",{d:"M7 17.95L12 15.8L17 17.95V5.3C17 5.23333 16.9667 5.16667 16.9 5.1C16.8333 5.03333 16.7667 5 16.7 5H7.3C7.23333 5 7.16667 5.03333 7.1 5.1C7.03333 5.16667 7 5.23333 7 5.3V17.95ZM6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7ZM7 5H17H12H7Z",fill:"#595959"})))),e.createElement(p,{className:C(k.title,"pointer"),size:m?"s2":"s1",mb:8,weight:"semiBold"},o.postTitle||o.postName||""),!m&&e.createElement(p,{className:C(k.description,"pointer"),size:"p2",mb:16,lineClamp:3},Ee(o.excerpt||o.description||(null===(l=o.postContent)||void 0===l?void 0:l.split("\r\n")[0])||"")),e.createElement(ie,{className:k.author,gap:12,align:"center"},e.createElement(R,{size:32,src:s,withIndicator:!0,indicatorConfig:{offset:5,size:18,label:e.createElement("img",{loading:"lazy",src:c,alt:""})}},"A"),e.createElement(p,{size:"n1",c:"gray.6"},r," • ",h))))},Pa=t=>{var{variant:a="vertical"}=t,n=ee(t,["variant"]);return"horizontal"===a?e.createElement(Na,Object.assign({},n)):e.createElement(Sa,Object.assign({},n))},Da=Me.a`
|
|
2
2
|
display: flex;
|
|
3
3
|
height: 125px;
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import e,{useRef as a,useState as r,useEffect as t}from"react";import{I as i}from"./index-
|
|
1
|
+
import e,{useRef as a,useState as r,useEffect as t}from"react";import{I as i}from"./index-ae2e10d3.js";import{u as o}from"./useTranslations-0bb35954.js";import{format as n}from"date-fns";import c from"react-day-picker/DayPickerInput";import s from"styled-components";import{t as d}from"./theme-99eb2455.js";var l="tliWyii";const p=({className:a,theme:r,hideText:t})=>{const{t:n}=o();return e.createElement("div",{className:`${l} ${a}`},e.createElement(i.Spinner,{isMarryBaby:"marryBaby"===r}),!t&&n("loading"))},y={"vi-VN":["Tháng 1","Tháng 2","Tháng 3","Tháng 4","Tháng 5","Tháng 6","Tháng 7","Tháng 8","Tháng 9","Tháng 10","Tháng 11","Tháng 12"],"id-ID":["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],"ms-MY":["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],"km-KH":["មករា","ខែកុម្ភៈ","មីនា","ខែមេសា","ឧសភា","មិថុនា","ខែកក្កដា","សីហា","ខែកញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ"],"en-PH":["January","February","March","April","May","June","July","August","September","October","November","December"],"th-TH":["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","อาจ","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"],"my-MM":["ဇန်နဝါရီလ","ဖေဖော်ဝါရီလ","မတ်လ","ပြီလ","မေလ","ဇွန","ဇူလိုင်လ","သြဂုတ်လ","စက်တင်ဘာ","အောက်တိုဘာ","နိုဝင်ဘာ","ဒီဇင်ဘာ"],"zh-TW":["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],"hi-IN":["जनवरी","फ़रवरी","जुलूस","अप्रैल","मई","जून","जुलाई","अगस्त","सितंबर","अक्टूबर","नवंबर","दिसंबर"]},u=s.div`
|
|
2
2
|
.pickerContainer {
|
|
3
3
|
position: relative;
|
|
4
4
|
padding-top: 0;
|
|
@@ -39,7 +39,7 @@ import e,{useRef as a,useState as r,useEffect as t}from"react";import{I as i}fro
|
|
|
39
39
|
.pickerOverlay {
|
|
40
40
|
margin-top: 6px;
|
|
41
41
|
background: white;
|
|
42
|
-
border-radius: ${
|
|
42
|
+
border-radius: ${d.borderRadius};
|
|
43
43
|
box-shadow: 0px 6px 12px rgba(67, 86, 100, 0.2);
|
|
44
44
|
}
|
|
45
45
|
|
|
@@ -61,7 +61,7 @@ import e,{useRef as a,useState as r,useEffect as t}from"react";import{I as i}fro
|
|
|
61
61
|
|
|
62
62
|
.svg {
|
|
63
63
|
cursor: pointer;
|
|
64
|
-
stroke: ${
|
|
64
|
+
stroke: ${d.colors.gray800};
|
|
65
65
|
}
|
|
66
66
|
.react-datepicker__day {
|
|
67
67
|
width: 40px;
|
|
@@ -77,7 +77,7 @@ import e,{useRef as a,useState as r,useEffect as t}from"react";import{I as i}fro
|
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
.react-datepicker__day {
|
|
80
|
-
font-weight: ${
|
|
80
|
+
font-weight: ${d.sizes.fwBold};
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
.react-datepicker__day--selected,
|
|
@@ -88,7 +88,7 @@ import e,{useRef as a,useState as r,useEffect as t}from"react";import{I as i}fro
|
|
|
88
88
|
height: 30px;
|
|
89
89
|
margin: 4px;
|
|
90
90
|
margin-bottom: -2px;
|
|
91
|
-
background: ${
|
|
91
|
+
background: ${d.colors.primaryBase};
|
|
92
92
|
border-radius: 50%;
|
|
93
93
|
}
|
|
94
94
|
|
|
@@ -105,12 +105,12 @@ import e,{useRef as a,useState as r,useEffect as t}from"react";import{I as i}fro
|
|
|
105
105
|
stroke: #262626;
|
|
106
106
|
}
|
|
107
107
|
select {
|
|
108
|
-
background: ${
|
|
108
|
+
background: ${d.colors.neutral100};
|
|
109
109
|
text-align: center;
|
|
110
110
|
&:not(:last-child) {
|
|
111
111
|
padding: 8px 10px;
|
|
112
112
|
margin-right: 15px;
|
|
113
|
-
border-radius: ${
|
|
113
|
+
border-radius: ${d.borderRadius};
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
116
|
}
|
|
@@ -319,9 +319,9 @@ import e,{useRef as a,useState as r,useEffect as t}from"react";import{I as i}fro
|
|
|
319
319
|
) {
|
|
320
320
|
position: relative;
|
|
321
321
|
|
|
322
|
-
background-color: ${
|
|
322
|
+
background-color: ${d.colors.primaryBase};
|
|
323
323
|
color: #f0f8ff;
|
|
324
|
-
font-weight: ${
|
|
324
|
+
font-weight: ${d.sizes.fwBold};
|
|
325
325
|
}
|
|
326
326
|
|
|
327
327
|
.DayPicker-Day--selected:not(.DayPicker-Day--disabled):not(
|
|
@@ -355,7 +355,7 @@ import e,{useRef as a,useState as r,useEffect as t}from"react";import{I as i}fro
|
|
|
355
355
|
background: white;
|
|
356
356
|
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
|
|
357
357
|
}
|
|
358
|
-
`,g=
|
|
358
|
+
`,g=s.form`
|
|
359
359
|
display: flex;
|
|
360
360
|
width: 100%;
|
|
361
361
|
|
|
@@ -369,7 +369,7 @@ import e,{useRef as a,useState as r,useEffect as t}from"react";import{I as i}fro
|
|
|
369
369
|
& * {
|
|
370
370
|
height: 46px;
|
|
371
371
|
padding: 10px 10px;
|
|
372
|
-
background: ${
|
|
373
|
-
border-radius: ${
|
|
372
|
+
background: ${d.colors.neutral100};
|
|
373
|
+
border-radius: ${d.borderRadius};
|
|
374
374
|
}
|
|
375
|
-
`,k=({alignRight:i=!0,placeholder:o,displayDateFormat:
|
|
375
|
+
`,k=({alignRight:i=!0,placeholder:o,displayDateFormat:s,onChange:d,customInput:l,pickedDate:p,className:k,isStatic:m,disabledDays:h,modifiers:b,UnHideOnClickOutside:D,initialMonth:x,locale:f="en-PH"})=>{const v=a(!1),w=n,[P,_]=r(x||new Date),E=a(null),C=a(null),M=y[f],O=e=>{D||E.current&&E.current.contains(e.target)||C.current&&C.current.hideDayPicker()},N=(new Date).getFullYear(),T=new Date(N-150,0),B=new Date(N+1,0),W=({date:a,onChange:r,monthLabels:t})=>{const i=[];for(let e=B.getFullYear();e>=T.getFullYear();e-=1)i.push(e);const o=function(e){const{year:a,month:t}=e.target.form;r(new Date(a.value,t.value))};return e.createElement("div",{className:"DayPicker-Caption"},e.createElement(g,null,e.createElement("select",{name:"month",onChange:o,value:a.getMonth()},t.map(((a,r)=>e.createElement("option",{key:a,value:r},a)))),e.createElement("select",{name:"year",onChange:o,value:a.getFullYear()},i.map((a=>e.createElement("option",{key:a,value:a},a))))))};return t((()=>(document.addEventListener("mousedown",O,{passive:!0}),()=>{document.removeEventListener("mousedown",O,!1)})),[]),e.createElement(u,{className:k,"data-align-right":i,ref:E,"data-is-static":m||void 0},e.createElement(c,{ref:C,inputProps:{readOnly:!0},keepFocus:!1,classNames:{container:"pickerContainer",overlayWrapper:"pickerOverlayWrapper",overlay:"pickerOverlay"},component:l&&e.forwardRef(((a,r)=>e.createElement(l,Object.assign({},a)))),onDayPickerHide:()=>{v.current=!1},onDayPickerShow:()=>{v.current=!0},dayPickerProps:{month:P,className:"picker",selectedDays:p,canChangeMonth:!0,enableOutsideDaysClick:!m,firstDayOfWeek:1,captionElement:({date:a,localeUtils:r})=>{const t=null==r?void 0:r.getMonths();return e.createElement(W,{date:a,monthLabels:M||t,onChange:_})},disabledDays:h||void 0,modifiers:b},format:s||"yyyy-MM-dd",formatDate:(e,a)=>w(e,a),hideOnDayClick:!m,placeholder:o||"",onDayChange:e=>{var a;a=e,C.current&&!m&&C.current.hideDayPicker(),d&&d(a)},showOverlay:m}))};export{k as D,p as L};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import o,{useState as a,useEffect as e,useMemo as t,useCallback as l}from"react";import{v as i,w as d}from"./index.styles-
|
|
1
|
+
import o,{useState as a,useEffect as e,useMemo as t,useCallback as l}from"react";import{v as i,w as d}from"./index.styles-b54bd8c1.js";import{_ as s,a as n}from"./tslib.es6-b1e43fda.js";import{u as r}from"./useTranslations-0bb35954.js";import{B as c}from"./index-4661402d.js";import{P as v}from"./paths-30fd4a63.js";import{a as u}from"./constants-7f4574f8.js";import{d as m}from"./index-25c7e6d3.js";import{b as p,h as b}from"./utils-2b792e4e.js";import{i as g}from"./isProduction-d523789a.js";const y=({type:a="solid",className:e,style:t})=>o.createElement(i,{style:t,className:e,"data-diver-type":a,dividerType:a}),f={admin:"cardAuthor.admin",moderator:"cardAuthor.moderator",ambassador:"cardAuthor.ambassador",expert:"cardAuthor.expert",sponsor:"cardAuthor.sponsor",guide:"cardAuthor.guide",influencer:"cardAuthor.influencer"},E=a=>{var{siteType:e,role:t,title:l,styles:i,className:n}=a,c=s(a,["siteType","role","title","styles","className"]);const{t:v}=r(),u=t?(o=>["admin","moderator","ambassador","expert","sponsor","guide","influencer"].find((a=>a===o)))(t):"",{classes:m,cx:p}=d(void 0,{name:"AuthorBadge",styles:i});return u&&f[u]?o.createElement("div",Object.assign({className:p(m.root,n),"data-label-type":u,"data-is-marrybaby":"marryBaby"===e},c),l||v(f[u])):null};var h="Dudns9-";const A=({value:t,choices:l,onChange:i})=>{const[d,s]=a(t);return e((()=>{s(t)}),[t]),o.createElement("div",{className:h},l.map(((a,e)=>o.createElement(c,{dataEventCategory:a.dataEventCategory,dataEventAction:a.dataEventAction,dataEventLabel:a.dataEventLabel,size:"sm",variant:a.value===d?"primary":"tertiary",key:e,onClick:()=>{s(a.value),null==i||i(a.value)}},a.label||""))))},T=e=>{var{label:i,bookingId:d,bookingType:y="doctor",locale:f="vi-VN"}=e,E=s(e,["label","bookingId","bookingType","locale"]);const{t:h}=r(),[A,T]=a(!1),_=t((()=>"undefined"!=typeof window?window.location.href:""),[]),C=l((()=>n(void 0,void 0,void 0,(function*(){var o,a,e,t,l,i,s,n,r,c,E,h,A,_,C;const j="doctor"===y?v.GET_DOCTOR_DETAIL:"hospital"===y?v.GET_HOSPITAL_DETAIL:"service"===y?v.GET_SERVICE_DETAIL:"";try{T(!0);const v=yield p(b(j,{id:d,site:m[f]}),"get");if(1===(null==v?void 0:v._status)){const d="doctor"===y?{id:null===(a=null===(o=null==v?void 0:v._data)||void 0===o?void 0:o.doctor)||void 0===a?void 0:a.id,slug:null===(t=null===(e=null==v?void 0:v._data)||void 0===e?void 0:e.doctor)||void 0===t?void 0:t.slug,localSlug:null===(l=u[f])||void 0===l?void 0:l.DOCTOR}:"hospital"===y?{id:null===(s=null===(i=null==v?void 0:v._data)||void 0===i?void 0:i.branch)||void 0===s?void 0:s.id,slug:null===(r=null===(n=null==v?void 0:v._data)||void 0===n?void 0:n.branch)||void 0===r?void 0:r.slug,localSlug:null===(c=u[f])||void 0===c?void 0:c.HOSPITAL}:{id:null===(h=null===(E=null==v?void 0:v._data)||void 0===E?void 0:E.service)||void 0===h?void 0:h.id,slug:null===(_=null===(A=null==v?void 0:v._data)||void 0===A?void 0:A.service)||void 0===_?void 0:_.slug,localSlug:null===(C=u[f])||void 0===C?void 0:C.SERVICE};window.location.href=`https://${g?"":"discover."}${m[f]}/care/${d.localSlug}/${d.slug}-${d.id}/`}else T(!1)}catch(o){console.log(o),T(!1)}}))),[]);return d&&y?o.createElement(c,Object.assign({dataEventCategory:"Care",dataEventAction:"Comment - Quick Booking",dataEventLabel:_,onClick:C,loading:A},E),i||h("careBooking.bookAnAppointment")):null};export{E as A,A as B,y as D,T as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e}from"./tslib.es6-
|
|
1
|
+
import{_ as e}from"./tslib.es6-b1e43fda.js";import a,{useMemo as t}from"react";import{useMantineTheme as s}from"@mantine/core";import{S as o,L as n,b as r,d as l,e as i}from"./constants-7f4574f8.js";const c=c=>{var{name:m,value:d,errorMessage:p,isNumerousKeyboard:u=!1,showErrorMessage:b=!0,actionIcon:y,displayIcon:C,onActionClick:v,label:g,className:h,onChange:E,isDisabled:N,CustomInput:f,size:I,style:k,autoComplete:A="off",type:K="text",inputClassName:M,trackingAttributes:z,enterKeyHint:L}=c,j=e(c,["name","value","errorMessage","isNumerousKeyboard","showErrorMessage","actionIcon","displayIcon","onActionClick","label","className","onChange","isDisabled","CustomInput","size","style","autoComplete","type","inputClassName","trackingAttributes","enterKeyHint"]);const w=s(),H=t((()=>z?{"data-event-category":z.dataEventCategory,"data-event-action":z.dataEventAction,"data-event-label":z.dataEventLabel}:{}),[z]);return a.createElement(o,{"data-size":I,className:h,"data-has-action-icon":!!y||void 0,"data-has-display-icon":!!C||void 0,"data-has-error":p&&p.length>0||void 0,color:w.fn.primaryColor(),shadowColor:w.colors[w.primaryColor][0],style:k},g&&a.createElement(n,{size:"label2",htmlFor:m,className:"inputLabel"},g),a.createElement("div",{style:{position:"relative"}},f||a.createElement("input",Object.assign({id:m,name:m,onChange:e=>E&&E(e.target.value),type:K,"aria-label":K,value:d,disabled:N,autoComplete:A,inputMode:u||"number"===K?"numeric":K,pattern:u?"[0-9]*":".*",className:M,enterKeyHint:L},H,j)),C&&a.createElement(r,{className:"displayIcon"},C),y&&a.createElement(l,{className:"actionIcon",onClick:v},y)),p&&p.length>0&&b&&a.createElement(i,{className:"errorLabel"},p))};export{c as I};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as e,a as t}from"./tslib.es6-
|
|
1
|
+
import{_ as e,a as t}from"./tslib.es6-b1e43fda.js";import*as l from"react";import n,{useState as a,forwardRef as r,useEffect as i,Component as o,useCallback as c,createContext as s,useContext as d,useRef as h,useMemo as m,useImperativeHandle as p}from"react";import{createStyles as u,useMantineTheme as g,Button as f,Autocomplete as b,Image as E,ActionIcon as C,Select as v,AspectRatio as L,em as y,Box as w,Breadcrumbs as x,Textarea as k,Accordion as j,Indicator as O,Avatar as M,FileInput as S,createEmotionCache as H,NumberInput as B,PasswordInput as Z,TextInput as R,Input as V,Checkbox as A,Slider as I,Radio as z,Flex as P,rem as F,Tabs as T,ScrollArea as D,Popover as N,Chip as $}from"@mantine/core";import{useUncontrolled as W,useDebouncedValue as U,useViewportSize as _,useResizeObserver as G,useDisclosure as K,useClickOutside as q}from"@mantine/hooks";import{t as Y}from"./theme-99eb2455.js";import{C as Q}from"./index-62e617ca.js";import J from"dayjs";import{L as X}from"./Subot-ae88fa88.js";import{B as ee,M as te}from"./utils-f9036688.js";import le from"styled-components";import{Carousel as ne}from"@mantine/carousel";import{T as ae,O as re,A as ie,a as oe,C as ce,P as se}from"./Plus-f9baa442.js";import{I as de,s as he}from"./index-25c7e6d3.js";import me from"classnames";import{b as pe}from"./useTranslations-0bb35954.js";const ue=t=>{var{alt:l,backupSrc:r,src:i,placeholderSrc:o,style:c,ref:s}=t,d=e(t,["alt","backupSrc","src","placeholderSrc","style","ref"]);const[h,m]=a(!1);return n.createElement(ge,Object.assign({loading:"lazy",alt:l,onError:()=>!h&&m(!0),src:h?r||i:i||r,style:Object.assign(Object.assign({},o?{backgroundImage:`url(${o})`}:{}),c),"data-has-placeholder":!!o,ref:s},d))},ge=le.img`
|
|
2
2
|
&[data-has-placeholder='true'] {
|
|
3
3
|
background-position: center;
|
|
4
4
|
background-repeat: no-repeat;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e}from"./tslib.es6-
|
|
1
|
+
import{_ as e}from"./tslib.es6-b1e43fda.js";import t,{useState as n,useEffect as o}from"react";import{useDebouncedValue as a}from"@mantine/hooks";import{D as i,h as s,B as r,i as l}from"./index-4661402d.js";const m=m=>{var{color:c,withControl:h,onChange:d,value:u,min:g,max:k,isStatic:p,containerClassName:v,containerStyle:C}=m,x=e(m,["color","withControl","onChange","value","min","max","isStatic","containerClassName","containerStyle"]);const[E,b]=n(u||g||0),[f]=a(E,i);return o((()=>{null==d||d(f)}),[f]),o((()=>{b(u)}),[u]),t.createElement(s,{className:v,style:C},h&&t.createElement(r,{type:"button",size:"sm",color:"ghost",onClick:()=>{b((e=>g&&e===g?e:e-1))}},t.createElement("svg",{width:"10",height:"10",fill:"none",viewBox:"0 0 12 3"},t.createElement("path",{d:"M1 1.004h8",stroke:c,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))),t.createElement(l,Object.assign({thumbSize:21,labelAlwaysOn:!0,radius:"xl",color:c,value:E,onChange:p?()=>null:b,min:g,max:k},x,{className:"hhg-mantine-slider "+(x.className||"")})),h&&t.createElement(r,{type:"button",size:"sm",variant:"ghost",onClick:()=>{b((e=>k&&e===k?e:e+1))}},t.createElement("svg",{width:"16",height:"20",fill:"none",viewBox:"0 0 16 16"},t.createElement("path",{d:"M8 4v8M4 8h8",stroke:c,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))))};export{m as S};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as t}from"./tslib.es6-
|
|
1
|
+
import{_ as t}from"./tslib.es6-b1e43fda.js";import a from"react";import{B as o}from"./index-4661402d.js";const d=d=>{var{size:e,color:i="primary",isDisabled:r,isBlock:n,title:c,onClick:l,icon:s,iconPosition:u="left",children:p,isLoading:P=!1,loadingText:g,dataEventCategory:v,dataEventAction:m,dataEventLabel:b,dataProductChannel:y,dataProductSku:C,dataProductBrand:h,dataProductName:k,dataProductPrice:f,dataProductCategory:E,dataProductPosition:B,type:x}=d,L=t(d,["size","color","isDisabled","isBlock","title","onClick","icon","iconPosition","children","isLoading","loadingText","dataEventCategory","dataEventAction","dataEventLabel","dataProductChannel","dataProductSku","dataProductBrand","dataProductName","dataProductPrice","dataProductCategory","dataProductPosition","type"]);const j={"data-event-category":v,"data-event-action":m,"data-event-label":b,"data-product-channel":y,"data-product-sku":C,"data-product-brand":h,"data-product-name":k,"data-product-price":f,"data-product-category":E,"data-product-position":B};return a.createElement(o,Object.assign({},j,{size:e,variant:"transparent"===i?"white":"danger"===i?"error":i,disabled:r,onClick:t=>{!P&&!r&&l&&l(t)},title:c,loading:P,type:x,leftIcon:"left"===u?s:void 0,rightIcon:"right"===u?s:void 0,w:n?"100%":void 0,p:n?"12px auto":void 0},L),P&&g||p)};export{d as B};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as e,a as t}from"./tslib.es6-
|
|
1
|
+
import{_ as e,a as t}from"./tslib.es6-b1e43fda.js";import a,{useState as n,useMemo as i,useRef as o,Fragment as l,useEffect as r,memo as s,useContext as c,useCallback as d}from"react";import{F as m,b as p,B as g}from"./index-4661402d.js";import h,{css as u}from"styled-components";import{t as v}from"./theme-99eb2455.js";import{T as f}from"./Plus-f9baa442.js";import{C as b}from"./index-62e617ca.js";import{C as y,T as x,E,b as w,d as k,L as C,S as $}from"./index-25c7e6d3.js";import{n as B,a as P}from"./normalizeLink-c5577ba3.js";import{a as _,g as M,b as N,c as T,d as D}from"./routing-b25f56a7.js";import{P as L,U as A,c as j,a as z}from"./index-b3a4e983.js";import{L as H}from"./index-7fd69a08.js";import{u as S}from"./useTranslations-0bb35954.js";import U from"lodash/throttle";import{createStyles as F,rem as O,Box as R,Indicator as I,Portal as V}from"@mantine/core";import"@mantine/dates";import{L as Z}from"./Subot-ae88fa88.js";import"./translationsContext-4cf58baa.js";import G from"string-format";import"@mantine/hooks";import{g as W,M as Y}from"./utils-f9036688.js";import{L as q}from"./constants-b5618857.js";import{I as K}from"./index-ae2e10d3.js";import{U as Q}from"./WhatsApp-fa4f9c9a.js";import{g as J,P as X,H as ee}from"./index.styles-b54bd8c1.js";import{C as te}from"./ChevronDown-66f1b917.js";import{B as ae}from"./index-498fc282.js";import{w as ne}from"./utils-2b792e4e.js";import{a as ie}from"./constants-7f4574f8.js";import{I as oe}from"./index-e7376795.js";import{u as le}from"./useIsInit-8b39989a.js";import"./utils-b9d39124.js";import"./index.styled-3e90a056.js";import"./index-a560a5aa.js";import re from"dayjs";import se from"dayjs/plugin/relativeTime";import{C as ce}from"./index-ac44db10.js";import de from"lodash/debounce";import{g as me}from"./core-bbffde52.js";const pe=["hellobacsi.com","hellosehat.com","hellodoktor.com","hellokrupet.com","hellodoctor.com.ph","hellokhunmor.com","hellosayarwon.com","helloyishi.com.tw","helloswasthya.com","marrybaby.vn","hellohealth.questionpro.com","hellobacsivn.page.link"],ge=(e="")=>pe.some((t=>new URL(e).origin.endsWith(t))),he=h.a`
|
|
2
2
|
display: inline-flex;
|
|
3
3
|
position: relative;
|
|
4
4
|
flex-direction: row;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as t}from"./tslib.es6-b1e43fda.js";import e from"react";import"./index-4661402d.js";import"@mantine/core";import"@mantine/dates";import"./index-25c7e6d3.js";import"./Subot-ae88fa88.js";import"./index-62e617ca.js";import{T as i}from"./Plus-f9baa442.js";import"./theme-99eb2455.js";import"./translationsContext-4cf58baa.js";import"string-format";import"@mantine/hooks";import"./utils-f9036688.js";const r=r=>{var{size:o="base",type:s="regular"}=r,a=t(r,["size","type"]);return e.createElement(i,Object.assign({size:o,weight:"caption"===s?"bold":s},a))};export{r as T};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e}from"./tslib.es6-
|
|
1
|
+
import{_ as e}from"./tslib.es6-b1e43fda.js";import t from"react";import{Modal as s,CloseButton as a}from"@mantine/core";import{C as l}from"./index-62e617ca.js";import{j as o}from"./index-4661402d.js";import{T as n}from"./Plus-f9baa442.js";const r=r=>{var{title:i,styles:m}=r,c=e(r,["title","styles"]);const{classes:d}=o(void 0,{name:"Modal",styles:m});return t.createElement(t.Fragment,null,t.createElement(s,Object.assign({centered:!0,classNames:d},c,{withCloseButton:!1,title:c.withCloseButton&&t.createElement(t.Fragment,null,t.createElement(n,{size:"s2",weight:"semiBold",as:"span"},i),t.createElement(a,Object.assign({},c.closeButtonProps,{onClick:()=>{var e;return null===(e=c.onClose)||void 0===e?void 0:e.call(c)},sx:{":focus":{outline:0}}}),t.createElement("img",{loading:"lazy",className:"mantine-Modal-close",src:l.getAssetPath("CloseModal.svg"),style:{width:"16px"}})))})))};export{r as M};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as s}from"./index-
|
|
1
|
+
import{d as s}from"./index-25c7e6d3.js";import{i as e}from"./isProduction-d523789a.js";const t="hellosehat.com";class o{constructor(){this.baseDomain="",this.subPath="",this.getAssetPath=(s,t,o)=>{const i="https://hhg-common."+[t||this.getBaseDomain(),o||this.subPath,s].join("/");return e||process.env.JEST_WORKER_ID?i:i+"?v="+Math.floor((new Date).getTime()/1e3/60/3)}}getBaseDomain(){if(this.baseDomain)return this.baseDomain;if("undefined"!=typeof window){const{host:e}=window.location,o=e.split("."),i=s[Object.keys(s).find((t=>e.includes(s[t])))];return o.includes("localhost")||o.includes("hellohealthgroup")||o.every((s=>{return e=s,!isNaN(parseFloat(e))&&isFinite(e);var e}))||!i?t:i}return t}}const i=new o;i.subPath="common",process.env.NEXT_PUBLIC_DEPLOY_LOCALE&&(i.baseDomain=s[process.env.NEXT_PUBLIC_DEPLOY_LOCALE]);export{i as C,o as G};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import a,{useState as e,useEffect as t}from"react";import{L as s}from"./Subot-
|
|
1
|
+
import a,{useState as e,useEffect as t}from"react";import{L as s}from"./Subot-ae88fa88.js";import{C as l}from"./index-62e617ca.js";import{i as o,a as n,b as r,c as g,d as m,e as i,f as c,g as h,S as d,L as u,h as N}from"./utils-b9d39124.js";import{I as y}from"./index-4661402d.js";const f=({type:f,className:w,style:p,isLightLogo:E,customSize:P,badge:b,locale:A,dateForSeasonal:L,isPro:V})=>{const[x,z]=e({isChristmas:!1,isLunarNewYear:!1,isNewYear:!1,isRamadan:!1,isVNHungKing:!1,isVN3004:!1,isLabourDay:!1});return t((()=>{if(!L||isNaN(new Date(L).getTime()))return;const a=new Date(L),e=o(a),t=n.includes(A)&&r(a),l=!t&&g(a),d=m(a),u=A===s.Vietnam&&i(a),N=A===s.Vietnam&&c(a),y=A===s.Vietnam&&h(a);z({isChristmas:e,isLunarNewYear:t,isNewYear:l,isRamadan:d,isVNHungKing:u,isVN3004:N,isLabourDay:y})}),[A,new Date(L).getDate()]),a.createElement(d,{className:w,style:p,"data-logo-is-light":E||void 0,"data-has-badge":!!b,"data-seasonal":x.isRamadan?"ramadan":x.isChristmas?"christmas":x.isLunarNewYear?"lunar-new-year":x.isNewYear?"new-year":x.isVNHungKing?"hung-king":x.isVN3004?"30-04":x.isLabourDay?"labour-day":void 0,"data-type":f},x.isChristmas?a.createElement(a.Fragment,null,a.createElement(y,{alt:"left xmas logo",src:l.getAssetPath("logo/xmas-left.png"),className:"common-logo-seasonal-left"}),a.createElement(y,{alt:"right xmas logo",src:l.getAssetPath("logo/xmas-right.png"),className:"common-logo-seasonal-right"})):x.isNewYear?a.createElement(a.Fragment,null,a.createElement(y,{alt:"left new year logo",src:l.getAssetPath("logo/new-year-left.png"),className:"common-logo-seasonal-left"}),a.createElement(y,{alt:"right new year logo",src:l.getAssetPath("logo/new-year-right.png"),className:"common-logo-seasonal-right"})):x.isLunarNewYear?a.createElement(a.Fragment,null,a.createElement(y,{alt:"left lunar new year logo",loading:"lazy",src:l.getAssetPath("logo/lunar-new-year-left.png"),className:"common-logo-seasonal-left"}),a.createElement(y,{alt:"right lunar new year logo",loading:"lazy",src:l.getAssetPath("logo/lunar-new-year-right.png"),className:"common-logo-seasonal-right"})):x.isRamadan&&"hellosehat"===f?a.createElement(a.Fragment,null,a.createElement(y,{alt:"left ramadan logo",loading:"lazy",src:l.getAssetPath("logo/ramadan-sehat-left.png"),className:"common-logo-seasonal-left"}),a.createElement(y,{alt:"right ramadan logo",loading:"lazy",src:l.getAssetPath("logo/ramadan-sehat-right.png"),className:"common-logo-seasonal-right"})):x.isRamadan&&"hellodoktor"===f?a.createElement(a.Fragment,null,a.createElement(y,{alt:"left ramadan logo",loading:"lazy",src:l.getAssetPath("logo/ramadan-doktor-left.png"),className:"common-logo-seasonal-left"}),a.createElement(y,{alt:"right ramadan logo",loading:"lazy",src:l.getAssetPath("logo/ramadan-doktor-right.png"),className:"common-logo-seasonal-right"})):!x.isVNHungKing||"hellobacsi"!==f&&"marryBaby"!==f?null:a.createElement(a.Fragment,null,a.createElement(y,{alt:"Hung King logo",loading:"lazy",src:l.getAssetPath("logo/hung-king-bg.png"),className:"common-logo-seasonal-left"})),a.createElement(u,{type:f,width:null==P?void 0:P.width,height:null==P?void 0:P.height}),V?a.createElement(N,{src:l.getAssetPath("logo/pro-suffix.svg")}):null,b)};export{f as L};
|