@hhgtech/hhg-components 1.28.62 → 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-604516f4.js → Plus-ae3f1f1c.js} +1 -1
- package/build/{WhatsApp-f1d6b14e.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-bb162521.js → constants-d09c9d40.js} +1 -1
- package/build/{constants-415311f2.js → constants-dc97041d.js} +1 -1
- package/build/constants.js +1 -1
- package/build/{core-bd3b4346.js → core-ceb177b7.js} +1 -1
- package/build/{dataTransform-2a34e3b5.js → dataTransform-6589809b.js} +1 -1
- package/build/ecom.js +1 -1
- package/build/esm/{Plus-de7131f8.js → Plus-f9baa442.js} +1 -1
- package/build/esm/{WhatsApp-7f4b19b1.js → WhatsApp-fa4f9c9a.js} +1 -1
- package/build/esm/babyGrowth.js +4 -4
- 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-901cc927.js → constants-7f4574f8.js} +1 -1
- package/build/esm/{constants-b0eef95d.js → constants-b5618857.js} +1 -1
- package/build/esm/constants.js +1 -1
- package/build/esm/{core-7b295697.js → core-bbffde52.js} +1 -1
- package/build/esm/{dataTransform-153b0415.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-c03b6d02.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-69fe47fc.js → index-0298e7d5.js} +5 -5
- package/build/esm/{index-daa02c08.js → index-0c53b603.js} +1 -1
- package/build/esm/{index-59996cf7.js → index-0d75a9cd.js} +2 -2
- package/build/esm/{index-b9ec0fe0.js → index-25c7e6d3.js} +1 -1
- package/build/esm/{index-9c612b46.js → index-2c1e3436.js} +1 -1
- package/build/esm/{index-7f709461.js → index-2d727db7.js} +13 -13
- package/build/esm/index-2ed10a0e.js +1 -0
- package/build/esm/{index-1af07d9c.js → index-38ef8472.js} +1 -1
- package/build/esm/{index-91a6562c.js → index-4661402d.js} +1 -1
- package/build/esm/index-493554d0.js +1 -0
- package/build/esm/index-498fc282.js +1 -0
- package/build/esm/{index-d9a9aa1f.js → index-4f722c15.js} +1 -1
- package/build/esm/index-51bfcbb2.js +1 -0
- package/build/esm/{index-caec98f9.js → index-605281ba.js} +1 -1
- package/build/esm/{index-4012f8e2.js → index-62e617ca.js} +1 -1
- package/build/esm/{index-b3cc51da.js → index-7fd69a08.js} +1 -1
- package/build/esm/{index-86b52a2c.js → index-ae2e10d3.js} +1 -1
- package/build/esm/index-b30afac1.js +1 -0
- package/build/esm/{index-cc381bc4.js → index-b3a4e983.js} +1 -1
- package/build/esm/{index-1058ab05.js → index-c04854ca.js} +1 -1
- package/build/esm/index-e7376795.js +1 -0
- package/build/esm/{index-8fbbf717.js → index-ed172b37.js} +4 -4
- package/build/esm/{index-03a17874.js → index-f1daae70.js} +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-8e599c48.js → index.styled-3e90a056.js} +1 -1
- package/build/esm/{index.styles-9931a6ae.js → index.styles-b54bd8c1.js} +1 -1
- package/build/esm/lead.js +1 -1
- package/build/esm/mantine.js +1 -1
- package/build/esm/misc.js +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/esm/onboardingV2.js +5 -5
- package/build/esm/pwg.js +2 -2
- package/build/esm/{routing-f0695fda.js → routing-b25f56a7.js} +1 -1
- package/build/esm/subot.js +4 -4
- package/build/esm/together.js +1 -1
- package/build/esm/{types-fcdfea25.js → types-72e00020.js} +1 -1
- package/build/esm/{types-872087bd.js → types-ccefb5e5.js} +1 -1
- package/build/esm/types.js +1 -1
- package/build/esm/{useCategory-5c852aa2.js → useCategory-4cd6dfaf.js} +1 -1
- package/build/esm/{useHealthToolCache-43e8e8f9.js → useHealthToolCache-8b6e1132.js} +1 -1
- package/build/esm/{usePlacesAutocomplete-90deab26.js → usePlacesAutocomplete-72c9f622.js} +1 -1
- package/build/esm/{useTranslations-d3fe4d57.js → useTranslations-0bb35954.js} +1 -1
- package/build/esm/{utils-5c800314.js → utils-2b792e4e.js} +2 -2
- package/build/esm/{utils-20c841cf.js → utils-b9d39124.js} +1 -1
- package/build/esm/{utils-310ee32d.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-bc55248a.js → getDynamicHealthTool-ae96b303.js} +1 -1
- package/build/{getSocialList-c6e3d542.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-239adc41.js → index-14762a87.js} +1 -1
- package/build/{index-2af4652a.js → index-180724c1.js} +4 -4
- package/build/{index-44cde1cb.js → index-1abb8f88.js} +1 -1
- package/build/{index-8728ee32.js → index-3382263b.js} +2 -2
- package/build/{index-28c95254.js → index-36fc1e59.js} +1 -1
- package/build/{index-a85994ad.js → index-3e70ce5b.js} +1 -1
- package/build/{index-78f49c14.js → index-4c97e71b.js} +1 -1
- package/build/{index-26e2258d.js → index-54a7debd.js} +1 -1
- package/build/{index-2cbfcb5f.js → index-562409e6.js} +1 -1
- package/build/{index-c8909641.js → index-792d8012.js} +1 -1
- package/build/{index-307d7dff.js → index-79e6fda5.js} +1 -1
- package/build/{index-6cf34cb9.js → index-84bceb91.js} +1 -1
- package/build/{index-af999763.js → index-8a1ab578.js} +1 -1
- package/build/{index-60ee6b9b.js → index-9c3a324e.js} +1 -1
- package/build/index-a0adc072.js +1 -0
- package/build/{index-936719bb.js → index-a607ab1d.js} +1 -1
- package/build/{index-817f8fa1.js → index-aec13cfc.js} +1 -1
- package/build/{index-83c139a1.js → index-bc58ea87.js} +1 -1
- package/build/{index-bd2b578c.js → index-be13ca0c.js} +1 -1
- package/build/{index-3d997052.js → index-bf4de588.js} +1 -1
- package/build/{index-02d3d16c.js → index-dc6d1d9a.js} +1 -1
- package/build/{index-e5a02049.js → index-f236c6ce.js} +1 -1
- package/build/index-f2ffd65d.js +1 -0
- package/build/index.js +1 -1
- package/build/{index.styled-a5d71af4.js → index.styled-54e422d1.js} +1 -1
- package/build/{index.styles-75680e35.js → index.styles-db50e54a.js} +1 -1
- package/build/lead.js +1 -1
- package/build/mantine.js +1 -1
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/onboardingV2.js +1 -1
- package/build/pwg.js +1 -1
- package/build/{routing-c4813a3e.js → routing-1640409f.js} +1 -1
- package/build/subot.js +4 -4
- package/build/together.js +1 -1
- package/build/{types-dd525096.js → types-5bd287ac.js} +1 -1
- package/build/{types-637880d1.js → types-e554c5c4.js} +1 -1
- package/build/types.js +1 -1
- package/build/{useCategory-51b86a53.js → useCategory-e4dfcb8a.js} +1 -1
- package/build/{useHealthToolCache-f2fa636c.js → useHealthToolCache-b26a7cf9.js} +1 -1
- package/build/{usePlacesAutocomplete-4a353bb8.js → usePlacesAutocomplete-0ec84410.js} +1 -1
- package/build/{useTranslations-ea594f2b.js → useTranslations-048502c3.js} +1 -1
- package/build/{utils-daaf711a.js → utils-18176c91.js} +1 -1
- package/build/{utils-fd656785.js → utils-3423e2dc.js} +1 -1
- package/build/{utils-a2d1259c.js → utils-8795aba5.js} +1 -1
- package/build/vaccination.js +1 -1
- package/package.json +1 -1
- package/build/esm/getDynamicHealthTool-537d729a.js +0 -1
- package/build/esm/index-1e807f75.js +0 -1
- package/build/esm/index-2fa5855e.js +0 -1
- package/build/esm/index-3725cdc6.js +0 -1
- package/build/esm/index-a53d934d.js +0 -1
- package/build/esm/index-e9275a06.js +0 -1
- package/build/esm/index-fc3adf89.js +0 -1
- package/build/index-51e2c6f1.js +0 -1
- package/build/index-72d3e24c.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-91879f17.js → BMI_BOYS.percentile.monthly-91736295.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-b7c97457.js → BMI_BOYS.percentile.weekly-7daa3f43.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-af9ec85d.js → BMI_BOYS.percentile.yearly-e1a194ed.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-bdd0ca91.js → BMI_BOYS.zscore.monthly-dc557672.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-868299a4.js → BMI_BOYS.zscore.weekly-4236c342.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-5f89953f.js → BMI_BOYS.zscore.yearly-93119dc0.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-4f7e96ef.js → BMI_GIRLS.percentile.monthly-4e19faea.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-29a9ca25.js → BMI_GIRLS.percentile.weekly-4d61bb8f.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-30482b74.js → BMI_GIRLS.percentile.yearly-536a1834.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-b0f291b8.js → BMI_GIRLS.zscore.monthly-df08f573.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-7a2a9d63.js → BMI_GIRLS.zscore.weekly-aba2b3cb.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-a696d690.js → BMI_GIRLS.zscore.yearly-6e156a08.js} +0 -0
- /package/build/{ChevronDown-5f8f0c72.js → ChevronDown-5665d3a9.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-f17f696a.js → HEAD CIRCUM_BOYS.percentile.monthly-32d6c29a.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-3073af11.js → HEAD CIRCUM_BOYS.percentile.weekly-9e8ba5f2.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-fa373553.js → HEAD CIRCUM_BOYS.percentile.yearly-98d70e74.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-bd4c1a07.js → HEAD CIRCUM_BOYS.zscore.monthly-549098ac.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-0642163a.js → HEAD CIRCUM_BOYS.zscore.weekly-32b3a232.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-39e55c5d.js → HEAD CIRCUM_BOYS.zscore.yearly-e99db18a.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-8d30efa1.js → HEAD CIRCUM_GIRLS.percentile.monthly-a342d1d0.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-aef68e2e.js → HEAD CIRCUM_GIRLS.percentile.weekly-e5b7ce81.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-59c53c3a.js → HEAD CIRCUM_GIRLS.percentile.yearly-41a19f44.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-062a5b64.js → HEAD CIRCUM_GIRLS.zscore.monthly-6ae8b224.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-6944bd4b.js → HEAD CIRCUM_GIRLS.zscore.weekly-f6da7e3b.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-ecec062f.js → HEAD CIRCUM_GIRLS.zscore.yearly-b1fa7d33.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-728d5989.js → HEIGHT_BOYS.percentile.monthly-3bb95ea8.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-e6e06816.js → HEIGHT_BOYS.percentile.weekly-9db86f8e.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-d4fad20a.js → HEIGHT_BOYS.percentile.yearly-f2286be8.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-0beb7dbe.js → HEIGHT_BOYS.zscore.monthly-930c7ee5.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-8ca86553.js → HEIGHT_BOYS.zscore.weekly-71b8b008.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-4f6b24fe.js → HEIGHT_BOYS.zscore.yearly-1a3198a2.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-d1ab6259.js → HEIGHT_GIRLS.percentile.monthly-061c62e1.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-f73159c1.js → HEIGHT_GIRLS.percentile.weekly-d5d01d57.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-4f15d1b3.js → HEIGHT_GIRLS.percentile.yearly-026c20ce.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-20d6b0db.js → HEIGHT_GIRLS.zscore.monthly-a3124ea8.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-de6c980d.js → HEIGHT_GIRLS.zscore.weekly-627056f9.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-ec74caf6.js → HEIGHT_GIRLS.zscore.yearly-37df79df.js} +0 -0
- /package/build/{Subot-143686ec.js → Subot-e6872850.js} +0 -0
- /package/build/{Visible-f012c649.js → Visible-6aa69048.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-7ba7d852.js → WEIGHT_BOYS.percentile.monthly-a38f00d2.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-f29380a4.js → WEIGHT_BOYS.percentile.weekly-be120ac2.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-71aa679f.js → WEIGHT_BOYS.percentile.yearly-f6753964.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-1782ea7b.js → WEIGHT_BOYS.zscore.monthly-2014191f.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-fd93fd9d.js → WEIGHT_BOYS.zscore.weekly-7f8356a0.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-01d000bb.js → WEIGHT_BOYS.zscore.yearly-63366da9.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-af7c166c.js → WEIGHT_GIRLS.percentile.monthly-4bba1508.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-b0e59949.js → WEIGHT_GIRLS.percentile.weekly-f319703a.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-04ecd1a3.js → WEIGHT_GIRLS.percentile.yearly-4f67e080.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-1f357197.js → WEIGHT_GIRLS.zscore.monthly-18f02e99.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-1b182249.js → WEIGHT_GIRLS.zscore.weekly-2cfd7b20.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-0d1f0581.js → WEIGHT_GIRLS.zscore.yearly-80d8a567.js} +0 -0
- /package/build/{animation-20581243.js → animation-f9bf49c2.js} +0 -0
- /package/build/{cookieHelper-373906e4.js → cookieHelper-ef7d953a.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-8a2cfc06.js → BMI_BOYS.percentile.monthly-ddb48063.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-7508c88d.js → BMI_BOYS.percentile.weekly-c0648245.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-c0c198e1.js → BMI_BOYS.percentile.yearly-7ff90e19.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-0762b9fa.js → BMI_BOYS.zscore.monthly-1a391aa0.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-e4410b26.js → BMI_BOYS.zscore.weekly-87c07f97.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-43e71415.js → BMI_BOYS.zscore.yearly-8096818b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-d5d59e17.js → BMI_GIRLS.percentile.monthly-cf77c289.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-bab5db9b.js → BMI_GIRLS.percentile.weekly-873165af.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-c8c8ac68.js → BMI_GIRLS.percentile.yearly-5faf3c3c.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-b831e939.js → BMI_GIRLS.zscore.monthly-f1702f43.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-464bc4e0.js → BMI_GIRLS.zscore.weekly-30ea07c3.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-a20db236.js → BMI_GIRLS.zscore.yearly-19075227.js} +0 -0
- /package/build/esm/{ChevronDown-6f4503d4.js → ChevronDown-66f1b917.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-9c7d3ef6.js → HEAD CIRCUM_BOYS.percentile.monthly-631ecc2d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-051d5464.js → HEAD CIRCUM_BOYS.percentile.weekly-04c837f8.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-6e70a5bf.js → HEAD CIRCUM_BOYS.percentile.yearly-d7ede8cf.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-92904253.js → HEAD CIRCUM_BOYS.zscore.monthly-2d92e608.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-6cca65cb.js → HEAD CIRCUM_BOYS.zscore.weekly-546dbe8a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-b946c213.js → HEAD CIRCUM_BOYS.zscore.yearly-ec70d56e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-c0ffffac.js → HEAD CIRCUM_GIRLS.percentile.monthly-11befe30.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-ee77c7e0.js → HEAD CIRCUM_GIRLS.percentile.weekly-3bbe3128.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-40c1cc09.js → HEAD CIRCUM_GIRLS.percentile.yearly-8b2c3da7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-16084891.js → HEAD CIRCUM_GIRLS.zscore.monthly-4418244b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-a48e5e27.js → HEAD CIRCUM_GIRLS.zscore.weekly-6915d31f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-25f60ca3.js → HEAD CIRCUM_GIRLS.zscore.yearly-025805ed.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-ac7ecba0.js → HEIGHT_BOYS.percentile.monthly-7f7afc76.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-d6fd590e.js → HEIGHT_BOYS.percentile.weekly-78c4cabc.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-63457955.js → HEIGHT_BOYS.percentile.yearly-02d04b6a.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-258348fd.js → HEIGHT_BOYS.zscore.monthly-bfbf5622.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-07e91e5b.js → HEIGHT_BOYS.zscore.weekly-e38e4796.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-547ce422.js → HEIGHT_BOYS.zscore.yearly-9cc84666.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-4950327f.js → HEIGHT_GIRLS.percentile.monthly-a986e7f0.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-33c532f4.js → HEIGHT_GIRLS.percentile.weekly-11d7c175.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-13a4a903.js → HEIGHT_GIRLS.percentile.yearly-b25e4a9c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-ec739839.js → HEIGHT_GIRLS.zscore.monthly-4487afd2.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-7f3a86a4.js → HEIGHT_GIRLS.zscore.weekly-785a4d30.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-fb36113c.js → HEIGHT_GIRLS.zscore.yearly-daab73f1.js} +0 -0
- /package/build/esm/{Subot-7999ad6e.js → Subot-ae88fa88.js} +0 -0
- /package/build/esm/{Visible-e9ec4456.js → Visible-3434e154.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-60f7caf6.js → WEIGHT_BOYS.percentile.monthly-4c9cce58.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-f3e5aafd.js → WEIGHT_BOYS.percentile.weekly-438354dd.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-fb1228c5.js → WEIGHT_BOYS.percentile.yearly-6800346f.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-f22f79c7.js → WEIGHT_BOYS.zscore.monthly-bfbc201e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-0d4dcd68.js → WEIGHT_BOYS.zscore.weekly-3251f2f5.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-a1eadbc3.js → WEIGHT_BOYS.zscore.yearly-123ef8c6.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-bb237c3d.js → WEIGHT_GIRLS.percentile.monthly-089ed7e3.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-baf1c8d4.js → WEIGHT_GIRLS.percentile.weekly-7d5db947.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-caa434cd.js → WEIGHT_GIRLS.percentile.yearly-03f5e773.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-06327e26.js → WEIGHT_GIRLS.zscore.monthly-3eb5d8b7.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-d24b3bf3.js → WEIGHT_GIRLS.zscore.weekly-34fd0aa9.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-226fa6ae.js → WEIGHT_GIRLS.zscore.yearly-808f27c4.js} +0 -0
- /package/build/esm/{animation-ca214256.js → animation-4417ca20.js} +0 -0
- /package/build/esm/{cookieHelper-98938238.js → cookieHelper-ed3b7d86.js} +0 -0
- /package/build/esm/{index-a5b48867.js → index-a560a5aa.js} +0 -0
- /package/build/esm/{index-c6013396.js → index-ac44db10.js} +0 -0
- /package/build/esm/{index-ee9f2801.js → index-f998d6e1.js} +0 -0
- /package/build/esm/{isProduction-cddd37e8.js → isProduction-d523789a.js} +0 -0
- /package/build/esm/{localizeNumberFormat-a4a3d77c.js → localizeNumberFormat-81df3d98.js} +0 -0
- /package/build/esm/{normalizeLink-749bc2d3.js → normalizeLink-c5577ba3.js} +0 -0
- /package/build/esm/{number-93f55e6b.js → number-82cebac3.js} +0 -0
- /package/build/esm/{paths-fc50949c.js → paths-30fd4a63.js} +0 -0
- /package/build/esm/{theme-75976adf.js → theme-99eb2455.js} +0 -0
- /package/build/esm/{translationsContext-3fcad9db.js → translationsContext-4cf58baa.js} +0 -0
- /package/build/esm/{tslib.es6-d2e63c2c.js → tslib.es6-b1e43fda.js} +0 -0
- /package/build/esm/{types-59584a1b.js → types-2ea48d96.js} +0 -0
- /package/build/esm/{useIsInit-42b0fd9d.js → useIsInit-8b39989a.js} +0 -0
- /package/build/esm/{useOutsideClick-11fa2147.js → useOutsideClick-b485b2e7.js} +0 -0
- /package/build/esm/{useScrollbarSize-99a6d12c.js → useScrollbarSize-146cf043.js} +0 -0
- /package/build/esm/{utils-f9f05267.js → utils-f9036688.js} +0 -0
- /package/build/{index-6479f2e3.js → index-0a1cca85.js} +0 -0
- /package/build/{index-b3d93572.js → index-aa048810.js} +0 -0
- /package/build/{index-a9d22e63.js → index-b7501b94.js} +0 -0
- /package/build/{isProduction-c131ac6d.js → isProduction-fce4c411.js} +0 -0
- /package/build/{localizeNumberFormat-e9289a8d.js → localizeNumberFormat-d7e05dd7.js} +0 -0
- /package/build/{normalizeLink-9186a29d.js → normalizeLink-b6635fa0.js} +0 -0
- /package/build/{number-adca7871.js → number-ddaf812a.js} +0 -0
- /package/build/{paths-96308e55.js → paths-c422db6f.js} +0 -0
- /package/build/{theme-642223e9.js → theme-1e27b9db.js} +0 -0
- /package/build/{translationsContext-7536ee11.js → translationsContext-c8376758.js} +0 -0
- /package/build/{tslib.es6-77ffe29f.js → tslib.es6-f581f504.js} +0 -0
- /package/build/{types-ee160eb3.js → types-09c003bf.js} +0 -0
- /package/build/{useIsInit-a9fb1d1f.js → useIsInit-79bacc2e.js} +0 -0
- /package/build/{useOutsideClick-2d095eba.js → useOutsideClick-2c2b4a08.js} +0 -0
- /package/build/{useScrollbarSize-7706add7.js → useScrollbarSize-dabf7fd9.js} +0 -0
- /package/build/{utils-460cc1b1.js → utils-97861e62.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("date-fns/locale"),o=require("./Subot-143686ec.js"),l=require("./isProduction-c131ac6d.js");const i={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"},t={HELLO_HEALTH_GROUP:{lng:o.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:10},HELLO_DOCTOR:{lng:o.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:5},HELLO_DOCTOR_FIL:{lng:o.LOCALE.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",siteId:5},HELLO_KRUPET:{lng:o.LOCALE.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",siteId:4},HELLO_SWASTHYA:{lng:o.LOCALE.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",siteId:9},HELLO_SEHAT:{lng:o.LOCALE.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",siteId:2},HELLO_SAYARWON:{lng:o.LOCALE.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",siteId:7},HELLO_DOKTOR:{lng:o.LOCALE.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",siteId:3},HELLO_KHUNMOR:{lng:o.LOCALE.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",siteId:6},HELLO_YISHI:{lng:o.LOCALE.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",siteId:8},HELLO_BACSI:{lng:o.LOCALE.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",siteId:1},MARRY_BABY:{lng:o.LOCALE.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",siteId:11}};exports.RISK_SCREENER_NAME=void 0,(exports.RISK_SCREENER_NAME||(exports.RISK_SCREENER_NAME={})).HPV="hpv";const n={[o.LOCALE.Vietnam]:{[exports.RISK_SCREENER_NAME.HPV]:"hpv-vaccine"},[o.LOCALE.Indonesia]:{[exports.RISK_SCREENER_NAME.HPV]:"deteksi-dini-hpv"}},a="tl-PH"===process.env.NEXT_PUBLIC_DEPLOY_LOCALE?"/fil":"",s=process.env.NEXT_PUBLIC_SSO,E="userGeoLocationCoordinates",O={"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"},c={[o.LOCALE.Vietnam]:"hellobacsi.com",[o.LOCALE.Indonesia]:"hellosehat.com",[o.LOCALE.Malaysia]:"hellodoktor.com",[o.LOCALE.Cambodia]:"hellokrupet.com",[o.LOCALE.PhilippinesEnglish]:"hellodoctor.com.ph",[o.LOCALE.PhilippinesTagalog]:"hellodoctor.com.ph",[o.LOCALE.Thailand]:"hellokhunmor.com",[o.LOCALE.Myanmar]:"hellosayarwon.com",[o.LOCALE.Taiwan]:"helloyishi.com.tw",[o.LOCALE.India]:"helloswasthya.com"},h={"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"}},r={"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"}},I="user",T=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],p=["vi-VN"],_=["vi-VN","id-ID"],A=["vi-VN","id-ID"],m={"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 L;exports.QUERY_HEALTH_TOOL=void 0,(L=exports.QUERY_HEALTH_TOOL||(exports.QUERY_HEALTH_TOOL={})).bmi="mi",L.gender="gndr",L.age="ge",L.slug="slug",L.resultId="resultId",L.bmr="mr",L.height="gt",L.weight="wght",L.source="surc",L.type="tp",L.startDate="sd",L.additional="tnl",L.week="wk",L.twins="twn",L.weightBefore="wb",L.yourself="yrslf",L.intensity="sy",L.rate="rt",L.method="mthd",L.day="dy",L.pwg="pwg",L.cycle="le",L.period="prd",L.access_token="tkn",L.name="nm",L.id="id";const C={[o.LOCALE.Vietnam]:{dateFormat:"DD/MM/YYYY",separator:","},[o.LOCALE.Cambodia]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.India]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.Indonesia]:{dateFormat:"DD/MM/YYYY",separator:","},[o.LOCALE.Malaysia]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.Thailand]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.Taiwan]:{dateFormat:"YYYY/MM/DD",separator:","},[o.LOCALE.PhilippinesTagalog]:{dateFormat:"MM/DD/YYYY",separator:"."},[o.LOCALE.PhilippinesEnglish]:{dateFormat:"MM/DD/YYYY",separator:"."},[o.LOCALE.Myanmar]:{dateFormat:"DD/MM/YYYY",separator:","}},S="hhg_user_token",N={[o.LOCALE.PhilippinesEnglish]:e.enUS,[o.LOCALE.Vietnam]:e.vi,[o.LOCALE.Cambodia]:e.km,[o.LOCALE.India]:e.hi,[o.LOCALE.Indonesia]:e.id,[o.LOCALE.Myanmar]:e.enUS,[o.LOCALE.Malaysia]:e.ms,[o.LOCALE.Thailand]:e.th,[o.LOCALE.Taiwan]:e.zhTW},u="https://cdn.hellohealthgroup.com/countries",y="YYYY-MM-DD",R="dd-MM-yyyy";var g=Object.freeze({__proto__:null,basePath:a,SSO_URL:s,USER_GEOLOCATION_COORDINATES_COOKIE:E,domainLocales:O,MAP_DOMAIN_BY_LOCALE:c,LOCALE_SPECS:h,STATIC_PAGES:r,UP_BASEPATH:I,TOGETHER_LOCALES:T,ECOM_LOCALES:p,CARE_LOCALES:_,CARE_BOOKING_LOCALES:A,FAVICONS:m,get QUERY_HEALTH_TOOL(){return exports.QUERY_HEALTH_TOOL},ISO_FORMAT:C,BEARER_TOKEN_COOKIE:S,DATE_FNS_LOCALE:N,CDN_ADDRESS:u,GA_TOKEN_COOKIE:"_ga",API_DATE_FORMAT:y,DATE_FNS_DATE_FORMAT:R,siteHost:i,siteOptions:t,get RISK_SCREENER_NAME(){return exports.RISK_SCREENER_NAME},RISK_SCREENER_SLUG:n,isProduction:l.isProduction});exports.API_DATE_FORMAT=y,exports.BEARER_TOKEN_COOKIE=S,exports.CARE_BOOKING_LOCALES=A,exports.CARE_LOCALES=_,exports.CDN_ADDRESS=u,exports.DATE_FNS_DATE_FORMAT=R,exports.DATE_FNS_LOCALE=N,exports.ECOM_LOCALES=p,exports.FAVICONS=m,exports.GA_TOKEN_COOKIE="_ga",exports.ISO_FORMAT=C,exports.LOCALE_SPECS=h,exports.MAP_DOMAIN_BY_LOCALE=c,exports.RISK_SCREENER_SLUG=n,exports.SSO_URL=s,exports.STATIC_PAGES=r,exports.TOGETHER_LOCALES=T,exports.UP_BASEPATH=I,exports.USER_GEOLOCATION_COORDINATES_COOKIE=E,exports.basePath=a,exports.domainLocales=O,exports.index=g,exports.siteHost=i,exports.siteOptions=t;
|
|
1
|
+
"use strict";var e=require("date-fns/locale"),o=require("./Subot-e6872850.js"),l=require("./isProduction-fce4c411.js");const i={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"},t={HELLO_HEALTH_GROUP:{lng:o.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:10},HELLO_DOCTOR:{lng:o.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:5},HELLO_DOCTOR_FIL:{lng:o.LOCALE.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",siteId:5},HELLO_KRUPET:{lng:o.LOCALE.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",siteId:4},HELLO_SWASTHYA:{lng:o.LOCALE.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",siteId:9},HELLO_SEHAT:{lng:o.LOCALE.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",siteId:2},HELLO_SAYARWON:{lng:o.LOCALE.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",siteId:7},HELLO_DOKTOR:{lng:o.LOCALE.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",siteId:3},HELLO_KHUNMOR:{lng:o.LOCALE.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",siteId:6},HELLO_YISHI:{lng:o.LOCALE.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",siteId:8},HELLO_BACSI:{lng:o.LOCALE.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",siteId:1},MARRY_BABY:{lng:o.LOCALE.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",siteId:11}};exports.RISK_SCREENER_NAME=void 0,(exports.RISK_SCREENER_NAME||(exports.RISK_SCREENER_NAME={})).HPV="hpv";const n={[o.LOCALE.Vietnam]:{[exports.RISK_SCREENER_NAME.HPV]:"hpv-vaccine"},[o.LOCALE.Indonesia]:{[exports.RISK_SCREENER_NAME.HPV]:"deteksi-dini-hpv"}},a="tl-PH"===process.env.NEXT_PUBLIC_DEPLOY_LOCALE?"/fil":"",s=process.env.NEXT_PUBLIC_SSO,E="userGeoLocationCoordinates",O={"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"},c={[o.LOCALE.Vietnam]:"hellobacsi.com",[o.LOCALE.Indonesia]:"hellosehat.com",[o.LOCALE.Malaysia]:"hellodoktor.com",[o.LOCALE.Cambodia]:"hellokrupet.com",[o.LOCALE.PhilippinesEnglish]:"hellodoctor.com.ph",[o.LOCALE.PhilippinesTagalog]:"hellodoctor.com.ph",[o.LOCALE.Thailand]:"hellokhunmor.com",[o.LOCALE.Myanmar]:"hellosayarwon.com",[o.LOCALE.Taiwan]:"helloyishi.com.tw",[o.LOCALE.India]:"helloswasthya.com"},h={"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"}},r={"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"}},I="user",T=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],p=["vi-VN"],_=["vi-VN","id-ID"],A=["vi-VN","id-ID"],m={"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 L;exports.QUERY_HEALTH_TOOL=void 0,(L=exports.QUERY_HEALTH_TOOL||(exports.QUERY_HEALTH_TOOL={})).bmi="mi",L.gender="gndr",L.age="ge",L.slug="slug",L.resultId="resultId",L.bmr="mr",L.height="gt",L.weight="wght",L.source="surc",L.type="tp",L.startDate="sd",L.additional="tnl",L.week="wk",L.twins="twn",L.weightBefore="wb",L.yourself="yrslf",L.intensity="sy",L.rate="rt",L.method="mthd",L.day="dy",L.pwg="pwg",L.cycle="le",L.period="prd",L.access_token="tkn",L.name="nm",L.id="id";const C={[o.LOCALE.Vietnam]:{dateFormat:"DD/MM/YYYY",separator:","},[o.LOCALE.Cambodia]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.India]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.Indonesia]:{dateFormat:"DD/MM/YYYY",separator:","},[o.LOCALE.Malaysia]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.Thailand]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.Taiwan]:{dateFormat:"YYYY/MM/DD",separator:","},[o.LOCALE.PhilippinesTagalog]:{dateFormat:"MM/DD/YYYY",separator:"."},[o.LOCALE.PhilippinesEnglish]:{dateFormat:"MM/DD/YYYY",separator:"."},[o.LOCALE.Myanmar]:{dateFormat:"DD/MM/YYYY",separator:","}},S="hhg_user_token",N={[o.LOCALE.PhilippinesEnglish]:e.enUS,[o.LOCALE.Vietnam]:e.vi,[o.LOCALE.Cambodia]:e.km,[o.LOCALE.India]:e.hi,[o.LOCALE.Indonesia]:e.id,[o.LOCALE.Myanmar]:e.enUS,[o.LOCALE.Malaysia]:e.ms,[o.LOCALE.Thailand]:e.th,[o.LOCALE.Taiwan]:e.zhTW},u="https://cdn.hellohealthgroup.com/countries",y="YYYY-MM-DD",R="dd-MM-yyyy";var g=Object.freeze({__proto__:null,basePath:a,SSO_URL:s,USER_GEOLOCATION_COORDINATES_COOKIE:E,domainLocales:O,MAP_DOMAIN_BY_LOCALE:c,LOCALE_SPECS:h,STATIC_PAGES:r,UP_BASEPATH:I,TOGETHER_LOCALES:T,ECOM_LOCALES:p,CARE_LOCALES:_,CARE_BOOKING_LOCALES:A,FAVICONS:m,get QUERY_HEALTH_TOOL(){return exports.QUERY_HEALTH_TOOL},ISO_FORMAT:C,BEARER_TOKEN_COOKIE:S,DATE_FNS_LOCALE:N,CDN_ADDRESS:u,GA_TOKEN_COOKIE:"_ga",API_DATE_FORMAT:y,DATE_FNS_DATE_FORMAT:R,siteHost:i,siteOptions:t,get RISK_SCREENER_NAME(){return exports.RISK_SCREENER_NAME},RISK_SCREENER_SLUG:n,isProduction:l.isProduction});exports.API_DATE_FORMAT=y,exports.BEARER_TOKEN_COOKIE=S,exports.CARE_BOOKING_LOCALES=A,exports.CARE_LOCALES=_,exports.CDN_ADDRESS=u,exports.DATE_FNS_DATE_FORMAT=R,exports.DATE_FNS_LOCALE=N,exports.ECOM_LOCALES=p,exports.FAVICONS=m,exports.GA_TOKEN_COOKIE="_ga",exports.ISO_FORMAT=C,exports.LOCALE_SPECS=h,exports.MAP_DOMAIN_BY_LOCALE=c,exports.RISK_SCREENER_SLUG=n,exports.SSO_URL=s,exports.STATIC_PAGES=r,exports.TOGETHER_LOCALES=T,exports.UP_BASEPATH=I,exports.USER_GEOLOCATION_COORDINATES_COOKIE=E,exports.basePath=a,exports.domainLocales=O,exports.index=g,exports.siteHost=i,exports.siteOptions=t;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var e=require("react"),t=require("./Plus-604516f4.js"),a=require("./index.styles-75680e35.js"),l=require("./utils-460cc1b1.js"),n=require("./index-44cde1cb.js"),i=require("./index-51e2c6f1.js"),o=require("./useTranslations-ea594f2b.js"),r=require("./index-936719bb.js"),s=require("./theme-642223e9.js"),d=require("./tslib.es6-77ffe29f.js"),c=require("@mantine/core"),m=require("innertext");require("@mantine/dates");var u=require("./index-78f49c14.js"),p=require("./Subot-143686ec.js");require("./translationsContext-7536ee11.js"),require("string-format");var g=require("@mantine/hooks"),h=require("./index-e5a02049.js"),f=require("styled-components"),v=require("lodash/throttle"),b=require("./index-6cf34cb9.js"),y=require("./index-a85994ad.js"),x=require("./index-60ee6b9b.js"),E=require("html-react-parser"),w=require("./isProduction-c131ac6d.js"),C=require("date-fns"),k=require("dayjs");require("./utils-daaf711a.js");var B=require("./index-3d997052.js");require("./index.styled-a5d71af4.js"),require("./index-b3d93572.js");var T=require("./constants-bb162521.js"),S=require("./utils-fd656785.js"),N=require("./types-ee160eb3.js"),A=require("./index-2cbfcb5f.js"),M=require("./index-817f8fa1.js"),P=require("./index-bd2b578c.js"),D=require("./index-8728ee32.js"),z=require("./index-a9d22e63.js"),L=require("react-hook-form"),I=require("./useHealthToolCache-f2fa636c.js"),$=require("@hookform/resolvers/yup"),_=require("./index-28c95254.js"),O=require("./index-c8909641.js");require("./WhatsApp-f1d6b14e.js");var j=require("./useOutsideClick-2d095eba.js"),F=require("date-fns/locale/en-US"),H=require("date-fns/locale/id"),R=require("date-fns/locale/vi"),G=require("date-fns/locale/zh-TW"),U=require("./getSocialList-c6e3d542.js"),W=require("uuid"),V=require("./routing-c4813a3e.js"),q=require("@mantine/form"),Q=require("./index-02d3d16c.js"),Z=require("js-cookie"),Y=require("lodash/flatten"),K=require("lodash/uniqBy"),X=require("./cookieHelper-373906e4.js"),J=require("./normalizeLink-9186a29d.js");function ee(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var te=ee(e),ae=ee(m),le=ee(f),ne=ee(v),ie=ee(E),oe=ee(k),re=ee(F),se=ee(H),de=ee(R),ce=ee(G),me=ee(Z),ue=ee(Y),pe=ee(K),ge="CHw-fZZ",he="_03U6VRS",fe="EO828Vv";const ve={xs:28,small:32,medium:40,large:48,xl:64,xxl:80,xxxl:96},be=({type:t="square",size:l,avatarImg:i,avatarUrl:o,firstLetter:r,backgroundColor:s,onClick:d,style:c,className:m,width:u,height:p,alt:g})=>{const h=l?ve[l]:void 0,[f,v]=e.useState(!1);e.useEffect((()=>{if(o){const e=document.createElement("img");e.setAttribute("src",o),e.addEventListener("error",(()=>{v(!0)}))}}),[o,v]);const b=(!o&&!i||f)&&r;return te.default.createElement(a.StyledAvatar,{style:Object.assign(Object.assign({},c),{"--size":h?h+"px":void 0,"--width-prop":u?u+"px":void 0,"--height-prop":p?p+"px":void 0,"--background-color":s}),"data-has-max":!(!u||!p),"data-avatar-type":t,onClick:d,className:m,avatarUrl:o,"data-custom-size":!!l},i,o&&!f&&te.default.createElement(n.ImageWrap,{src:o,alt:g||"avatar"}),b&&r)},ye=()=>te.default.createElement("style",null,".file-dropdown-path{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}"),xe=()=>te.default.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",viewBox:"0 0 12.17 14.83"},te.default.createElement("defs",null,te.default.createElement("clipPath",{id:"prefix__clip-path",transform:"translate(-1.92 -1.54)"},te.default.createElement("path",{fill:"none",d:"M0 .96h16v16H0z"}))),te.default.createElement("title",null,"File"),te.default.createElement("g",{clipPath:"url(#prefix__clip-path)"},te.default.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)"}),te.default.createElement("path",{className:"file-dropdown-path",d:"M8.67 2.29V7h4.66",transform:"translate(-1.92 -1.54)"}))),Ee=()=>te.default.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",viewBox:"0 0 13.5 13.5"},te.default.createElement("title",null,"download"),te.default.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)"})),we=()=>te.default.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",viewBox:"0 0 13.5 13.5"},te.default.createElement("title",null,"upload"),te.default.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)"})),Ce=({pagesAmount:t,activePage:n,handlePageChange:i,handleClick:o,href:r,queryPageName:s="page"})=>{const d=[...Array(t)].map(((e,t)=>t+1)),[c,m]=e.useState(n<=4?d.slice(0,5):n>=d.length-3?d.slice(d.length-5,d.length):d.slice(n-2,n+1));return e.useEffect((()=>{n<=4?m(d.slice(0,5)):n>=d.length-3?m(d.slice(d.length-5,d.length)):m(d.slice(n-2,n+1))}),[n]),te.default.createElement(e.Fragment,null,n>4&&te.default.createElement(e.Fragment,null,te.default.createElement(a.StyledPaginationBlock,{onClick:()=>i(1)},r?te.default.createElement("a",{href:r,onClick:o},1):1),te.default.createElement(a.StyledPaginationBlock,null,"...")),c.map((e=>te.default.createElement(a.StyledPaginationBlock,{key:`pagination+${e}`,"data-page-active":e===n||void 0,onClick:()=>i(e)},r?te.default.createElement("a",{href:l.formatUrlWithPageParam(r,e,s),onClick:o},e):e))),n<d.length-3&&te.default.createElement(e.Fragment,null,te.default.createElement(a.StyledPaginationBlock,null,"..."),te.default.createElement(a.StyledPaginationBlock,{onClick:()=>i(d.length)},r?te.default.createElement("a",{href:l.formatUrlWithPageParam(r,d.length,s),onClick:o},d.length):d.length)))},ke=({label:e,name:t,checked:l,className:n,isDisabled:i,onChange:o,value:r,isRectangle:s,inputDataTestId:d,siteType:c})=>te.default.createElement(a.StyledCheckbox,{className:n,"data-disabled":i||void 0,"data-is-rectangle":s||void 0,"data-label-text":e,"data-theme":c},te.default.createElement("input",{type:"checkbox",checked:l,name:t,onChange:()=>o(r,!l),disabled:i,value:r,id:`${t}-${r}`,"data-label-text":e,"data-testid":d}),!s&&te.default.createElement("label",{htmlFor:`${t}-${r}`},e)),Be=e=>te.default.createElement("svg",Object.assign({},e,{viewBox:"0 0 32 32",fill:"none"}),te.default.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"})),Te=e=>te.default.createElement("svg",Object.assign({},e,{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none"}),te.default.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"})),Se=e=>{const t=o.useUniqueId();return te.default.createElement("svg",Object.assign({},e,{viewBox:"0 0 24 24",fill:"none"}),te.default.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"}),te.default.createElement("mask",{id:t,maskUnits:"userSpaceOnUse",x:"2",y:"0",width:"10",height:"24"},te.default.createElement("rect",{x:"2",width:"10",height:"24",fill:"#C4C4C4"})),te.default.createElement("g",{mask:`url(#${t})`},te.default.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"})))},Ne=l=>{var{label:n,availableValue:i,styles:s,isBaby:m,genderValue:u={male:"male",female:"female"}}=l,p=d.__rest(l,["label","availableValue","styles","isBaby","genderValue"]);const{t:g}=o.useTranslations(),{classes:h,cx:f}=a.useStyles(void 0,{name:"GenderOptionControl",styles:s}),[v,b]=e.useState(),y=e.useRef(null),x=e.useMemo((()=>[{value:u.male,label:g(m?"gender.boy":"gender.male"),icon:r.CommonGAssets.getAssetPath(m?"health-tools/boy-icon.svg":"health-tools/male-icon.svg")},{value:u.female,label:g(m?"gender.girl":"gender.female"),icon:r.CommonGAssets.getAssetPath(m?"health-tools/girl-icon.svg":"health-tools/female-icon.svg")}]),[]);return e.useEffect((()=>{b(i)}),[i]),te.default.createElement(c.Box,{ref:y,className:h.root},te.default.createElement(c.Radio.Group,Object.assign({className:"radio-group",label:te.default.createElement(t.Text,{as:"label",size:"s4",weight:"semiBold"},n||g(m?"tools.selectBabyGender":"tools.selectGender")),size:"lg"},p,{classNames:{error:h.groupErr}}),te.default.createElement(c.Flex,{className:f(h.wrapper)},x.map((e=>te.default.createElement(c.Radio,Object.assign({className:"gender-item",classNames:{root:h.itemRoot,labelWrapper:h.itemLabelWrapper,label:h.itemLabel,inner:h.itemInner},key:e.value,value:e.value},v&&e.value!==v&&{disabled:!0},{label:te.default.createElement(c.Flex,{gap:c.rem(8),align:"center",justify:"center",sx:{zIndex:0}},te.default.createElement("img",{src:e.icon,className:"gender-image",alt:"female",loading:"lazy"}),te.default.createElement(t.Text,{size:"p3"},e.label))})))))))};var Ae="PiqKaXk",Me="HgbW6-m",Pe="_6lkfLYy",De="j7c-onH";const ze=({avatarImg:e,authorName:a,authorLink:l,uploadTime:n,size:i})=>te.default.createElement("div",{className:De},te.default.createElement("div",{className:"author"},te.default.createElement("div",{className:"avatar","data-size":i},e),te.default.createElement("div",{className:"poster","data-is-disabled-url":!l},te.default.createElement(t.Text,{size:"lg"===i?"p3":"p4"},te.default.createElement("a",{href:l},te.default.createElement("span",{className:"name"},a),"•"," "),te.default.createElement("span",null,n))))),Le=({isMobile:e,avatarImg:l,name:n,link:i,size:o="lg",specialty:r})=>te.default.createElement("div",{className:De},te.default.createElement("div",{className:"author"},te.default.createElement("div",{className:"expert-avatar","data-size":o},l),te.default.createElement("div",{className:"expert","data-is-disabled-url":!i},e?te.default.createElement("a",{href:i},"lg"===o?te.default.createElement(te.default.Fragment,null,te.default.createElement(a.Heading,{tag:"h6",className:"expert__name",color:s.theme.colors.gray600},n),te.default.createElement(t.Text,{color:s.theme.colors.gray500,size:"p3",className:"specialty"},r)):te.default.createElement(te.default.Fragment,null,te.default.createElement(a.Heading,{tag:"h6",className:"expert__name",color:s.theme.colors.gray600},n))):te.default.createElement("a",{href:i},"lg"===o?te.default.createElement(te.default.Fragment,null,te.default.createElement(a.Heading,{tag:"h6",className:"expert__name",color:s.theme.colors.gray600},n),te.default.createElement(t.Text,{color:s.theme.colors.gray500,size:"p3",className:"specialty"},r)):te.default.createElement(te.default.Fragment,null,te.default.createElement("h6",{color:s.theme.colors.gray600,className:`${Ae} expert__name`},n),te.default.createElement(t.Text,{color:s.theme.colors.gray500,size:"p4",className:"specialty"},r)))))),Ie=e.memo((()=>te.default.createElement("div",{className:"shoppable"},te.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},te.default.createElement("rect",{width:"24",height:"24",rx:"12",fill:"#1B3250"}),te.default.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"}))))),$e=e.memo((({dataEventCategoryForBookmark:e,dataEventActionForBookmark:t,dataEventLabelForBookmark:a})=>te.default.createElement("svg",{"data-event-category":e,"data-event-action":t,"data-event-label":a,width:"14",height:"16",viewBox:"0 0 14 16",fill:"none"},te.default.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"})))),_e=e.memo((({dataEventCategoryForBookmark:e,dataEventActionForBookmark:t,dataEventLabelForBookmark:a})=>te.default.createElement("svg",{"data-event-category":e,"data-event-action":t,"data-event-label":a,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},te.default.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"})))),Oe=e=>{var a,l,i,{article:o,author:r,authorAvatar:s,badge:m="",hideDescription:u=!1,isBookmarked:p=!1,onBookmark:g,time:h,tracking:f}=e,v=d.__rest(e,["article","author","authorAvatar","badge","hideDescription","isBookmarked","onBookmark","time","tracking"]);const{isMobile:b}=n.useScreenSize();return console.log({article:o}),te.default.createElement(c.Card,Object.assign({padding:0,radius:0,sx:{display:"flex",flexDirection:"row",gap:24}},v),te.default.createElement(c.Card.Section,{w:"100%",h:"100%",miw:264,m:0,className:"pointer"},te.default.createElement("img",{src:(b?o.featureImageMobile:o.featureImage)||o.featureImage,alt:o.postName,style:{width:"100%"},loading:"lazy"})),te.default.createElement(c.Card.Section,null,te.default.createElement(c.Group,{position:"apart",mt:16,mb:4},te.default.createElement(n.Anchor,{href:(null===(a=null==o?void 0:o.primaryCategory)||void 0===a?void 0:a.permalink)||"#"},te.default.createElement(t.Text,{size:"p4",color:"blue.6"},null===(l=null==o?void 0:o.primaryCategory)||void 0===l?void 0:l.displayName)),te.default.createElement(c.Box,{sx:{cursor:"pointer"},role:"button",onClick:g},p?te.default.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==f?void 0:f.bookmark),te.default.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"})):te.default.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==f?void 0:f.bookmark),te.default.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"})))),te.default.createElement(t.Text,{size:u?"s2":"s1",mb:8,weight:"semiBold",className:"pointer"},o.postTitle||o.postName||""),!u&&te.default.createElement(t.Text,{size:"p2",mb:16,lineClamp:3,className:"pointer"},ae.default(o.excerpt||o.description||(null===(i=o.postContent)||void 0===i?void 0:i.split("\r\n")[0])||"")),te.default.createElement(c.Flex,{gap:12,align:"center"},te.default.createElement(n.Avatar,{size:32,src:s,withIndicator:!0,indicatorConfig:{offset:5,size:18,label:te.default.createElement("img",{loading:"lazy",src:m,alt:""})}},"A"),te.default.createElement(t.Text,{size:"n1",c:"gray.6"},r," • ",h))))};var je=c.createStyles(((e,{})=>({root:{},image:{},title:{},category:{},description:{},author:{}})));const Fe=648/440,He=1.5,Re=a=>{var l,i,o,{article:r,author:s,authorAvatar:m,badge:u="",bannerImageWrapProps:p,hideDescription:g=!1,isBookmarked:h=!1,onBookmark:f,time:v,tracking:b,classNames:y,styles:x,unstyled:E,className:w}=a,C=d.__rest(a,["article","author","authorAvatar","badge","bannerImageWrapProps","hideDescription","isBookmarked","onBookmark","time","tracking","classNames","styles","unstyled","className"]);const{isMobile:k}=n.useScreenSize(),{classes:B,cx:T}=je({},{name:"ArticleCard",classNames:y,styles:x,unstyled:E}),S=e.useMemo((()=>g?He:Fe),[g]);return te.default.createElement(c.Card,Object.assign({className:T(B.root,w),padding:"lg",radius:0},C),te.default.createElement(c.Card.Section,{className:T(B.image,"pointer")},te.default.createElement(n.AspectRatio,Object.assign({ratio:S},p),te.default.createElement("img",{src:(k?r.featureImageMobile:r.featureImage)||r.featureImage,alt:r.postName,style:{objectFit:"cover"}}))),te.default.createElement(c.Card.Section,null,te.default.createElement(c.Group,{position:"apart",mt:16,mb:4},te.default.createElement(n.Anchor,{className:B.category,href:(null===(l=null==r?void 0:r.primaryCategory)||void 0===l?void 0:l.permalink)||"#"},te.default.createElement(t.Text,{size:"p4",color:"blue.6"},null===(i=null==r?void 0:r.primaryCategory)||void 0===i?void 0:i.displayName)),te.default.createElement(c.Box,{sx:{cursor:"pointer"},role:"button",onClick:f},h?te.default.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==b?void 0:b.bookmark),te.default.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"})):te.default.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==b?void 0:b.bookmark),te.default.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"})))),te.default.createElement(t.Text,{className:T(B.title,"pointer"),size:g?"s2":"s1",mb:8,weight:"semiBold"},r.postTitle||r.postName||""),!g&&te.default.createElement(t.Text,{className:T(B.description,"pointer"),size:"p2",mb:16,lineClamp:3},ae.default(r.excerpt||r.description||(null===(o=r.postContent)||void 0===o?void 0:o.split("\r\n")[0])||"")),te.default.createElement(c.Flex,{className:B.author,gap:12,align:"center"},te.default.createElement(n.Avatar,{size:32,src:m,withIndicator:!0,indicatorConfig:{offset:5,size:18,label:te.default.createElement("img",{loading:"lazy",src:u,alt:""})}},"A"),te.default.createElement(t.Text,{size:"n1",c:"gray.6"},s," • ",v))))},Ge=le.default.a`
|
|
1
|
+
"use strict";var e=require("react"),t=require("./Plus-ae3f1f1c.js"),a=require("./index.styles-db50e54a.js"),l=require("./utils-97861e62.js"),n=require("./index-1abb8f88.js"),i=require("./index-a0adc072.js"),o=require("./useTranslations-048502c3.js"),r=require("./index-a607ab1d.js"),s=require("./theme-1e27b9db.js"),d=require("./tslib.es6-f581f504.js"),c=require("@mantine/core"),m=require("innertext");require("@mantine/dates");var u=require("./index-4c97e71b.js"),p=require("./Subot-e6872850.js");require("./translationsContext-c8376758.js"),require("string-format");var g=require("@mantine/hooks"),h=require("./index-f236c6ce.js"),f=require("styled-components"),v=require("lodash/throttle"),b=require("./index-84bceb91.js"),y=require("./index-3e70ce5b.js"),x=require("./index-9c3a324e.js"),E=require("html-react-parser"),w=require("./isProduction-fce4c411.js"),C=require("date-fns"),k=require("dayjs");require("./utils-18176c91.js");var B=require("./index-bf4de588.js");require("./index.styled-54e422d1.js"),require("./index-aa048810.js");var T=require("./constants-d09c9d40.js"),S=require("./utils-3423e2dc.js"),N=require("./types-09c003bf.js"),A=require("./index-562409e6.js"),M=require("./index-aec13cfc.js"),P=require("./index-be13ca0c.js"),D=require("./index-3382263b.js"),z=require("./index-b7501b94.js"),L=require("react-hook-form"),I=require("./useHealthToolCache-b26a7cf9.js"),$=require("@hookform/resolvers/yup"),_=require("./index-36fc1e59.js"),O=require("./index-792d8012.js");require("./WhatsApp-9c647c87.js");var j=require("./useOutsideClick-2c2b4a08.js"),F=require("date-fns/locale/en-US"),H=require("date-fns/locale/id"),R=require("date-fns/locale/vi"),G=require("date-fns/locale/zh-TW"),U=require("./getSocialList-e7c280a8.js"),W=require("uuid"),V=require("./routing-1640409f.js"),q=require("@mantine/form"),Q=require("./index-dc6d1d9a.js"),Z=require("js-cookie"),Y=require("lodash/flatten"),K=require("lodash/uniqBy"),X=require("./cookieHelper-ef7d953a.js"),J=require("./normalizeLink-b6635fa0.js");function ee(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var te=ee(e),ae=ee(m),le=ee(f),ne=ee(v),ie=ee(E),oe=ee(k),re=ee(F),se=ee(H),de=ee(R),ce=ee(G),me=ee(Z),ue=ee(Y),pe=ee(K),ge="CHw-fZZ",he="_03U6VRS",fe="EO828Vv";const ve={xs:28,small:32,medium:40,large:48,xl:64,xxl:80,xxxl:96},be=({type:t="square",size:l,avatarImg:i,avatarUrl:o,firstLetter:r,backgroundColor:s,onClick:d,style:c,className:m,width:u,height:p,alt:g})=>{const h=l?ve[l]:void 0,[f,v]=e.useState(!1);e.useEffect((()=>{if(o){const e=document.createElement("img");e.setAttribute("src",o),e.addEventListener("error",(()=>{v(!0)}))}}),[o,v]);const b=(!o&&!i||f)&&r;return te.default.createElement(a.StyledAvatar,{style:Object.assign(Object.assign({},c),{"--size":h?h+"px":void 0,"--width-prop":u?u+"px":void 0,"--height-prop":p?p+"px":void 0,"--background-color":s}),"data-has-max":!(!u||!p),"data-avatar-type":t,onClick:d,className:m,avatarUrl:o,"data-custom-size":!!l},i,o&&!f&&te.default.createElement(n.ImageWrap,{src:o,alt:g||"avatar"}),b&&r)},ye=()=>te.default.createElement("style",null,".file-dropdown-path{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}"),xe=()=>te.default.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",viewBox:"0 0 12.17 14.83"},te.default.createElement("defs",null,te.default.createElement("clipPath",{id:"prefix__clip-path",transform:"translate(-1.92 -1.54)"},te.default.createElement("path",{fill:"none",d:"M0 .96h16v16H0z"}))),te.default.createElement("title",null,"File"),te.default.createElement("g",{clipPath:"url(#prefix__clip-path)"},te.default.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)"}),te.default.createElement("path",{className:"file-dropdown-path",d:"M8.67 2.29V7h4.66",transform:"translate(-1.92 -1.54)"}))),Ee=()=>te.default.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",viewBox:"0 0 13.5 13.5"},te.default.createElement("title",null,"download"),te.default.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)"})),we=()=>te.default.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",viewBox:"0 0 13.5 13.5"},te.default.createElement("title",null,"upload"),te.default.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)"})),Ce=({pagesAmount:t,activePage:n,handlePageChange:i,handleClick:o,href:r,queryPageName:s="page"})=>{const d=[...Array(t)].map(((e,t)=>t+1)),[c,m]=e.useState(n<=4?d.slice(0,5):n>=d.length-3?d.slice(d.length-5,d.length):d.slice(n-2,n+1));return e.useEffect((()=>{n<=4?m(d.slice(0,5)):n>=d.length-3?m(d.slice(d.length-5,d.length)):m(d.slice(n-2,n+1))}),[n]),te.default.createElement(e.Fragment,null,n>4&&te.default.createElement(e.Fragment,null,te.default.createElement(a.StyledPaginationBlock,{onClick:()=>i(1)},r?te.default.createElement("a",{href:r,onClick:o},1):1),te.default.createElement(a.StyledPaginationBlock,null,"...")),c.map((e=>te.default.createElement(a.StyledPaginationBlock,{key:`pagination+${e}`,"data-page-active":e===n||void 0,onClick:()=>i(e)},r?te.default.createElement("a",{href:l.formatUrlWithPageParam(r,e,s),onClick:o},e):e))),n<d.length-3&&te.default.createElement(e.Fragment,null,te.default.createElement(a.StyledPaginationBlock,null,"..."),te.default.createElement(a.StyledPaginationBlock,{onClick:()=>i(d.length)},r?te.default.createElement("a",{href:l.formatUrlWithPageParam(r,d.length,s),onClick:o},d.length):d.length)))},ke=({label:e,name:t,checked:l,className:n,isDisabled:i,onChange:o,value:r,isRectangle:s,inputDataTestId:d,siteType:c})=>te.default.createElement(a.StyledCheckbox,{className:n,"data-disabled":i||void 0,"data-is-rectangle":s||void 0,"data-label-text":e,"data-theme":c},te.default.createElement("input",{type:"checkbox",checked:l,name:t,onChange:()=>o(r,!l),disabled:i,value:r,id:`${t}-${r}`,"data-label-text":e,"data-testid":d}),!s&&te.default.createElement("label",{htmlFor:`${t}-${r}`},e)),Be=e=>te.default.createElement("svg",Object.assign({},e,{viewBox:"0 0 32 32",fill:"none"}),te.default.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"})),Te=e=>te.default.createElement("svg",Object.assign({},e,{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none"}),te.default.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"})),Se=e=>{const t=o.useUniqueId();return te.default.createElement("svg",Object.assign({},e,{viewBox:"0 0 24 24",fill:"none"}),te.default.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"}),te.default.createElement("mask",{id:t,maskUnits:"userSpaceOnUse",x:"2",y:"0",width:"10",height:"24"},te.default.createElement("rect",{x:"2",width:"10",height:"24",fill:"#C4C4C4"})),te.default.createElement("g",{mask:`url(#${t})`},te.default.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"})))},Ne=l=>{var{label:n,availableValue:i,styles:s,isBaby:m,genderValue:u={male:"male",female:"female"}}=l,p=d.__rest(l,["label","availableValue","styles","isBaby","genderValue"]);const{t:g}=o.useTranslations(),{classes:h,cx:f}=a.useStyles(void 0,{name:"GenderOptionControl",styles:s}),[v,b]=e.useState(),y=e.useRef(null),x=e.useMemo((()=>[{value:u.male,label:g(m?"gender.boy":"gender.male"),icon:r.CommonGAssets.getAssetPath(m?"health-tools/boy-icon.svg":"health-tools/male-icon.svg")},{value:u.female,label:g(m?"gender.girl":"gender.female"),icon:r.CommonGAssets.getAssetPath(m?"health-tools/girl-icon.svg":"health-tools/female-icon.svg")}]),[]);return e.useEffect((()=>{b(i)}),[i]),te.default.createElement(c.Box,{ref:y,className:h.root},te.default.createElement(c.Radio.Group,Object.assign({className:"radio-group",label:te.default.createElement(t.Text,{as:"label",size:"s4",weight:"semiBold"},n||g(m?"tools.selectBabyGender":"tools.selectGender")),size:"lg"},p,{classNames:{error:h.groupErr}}),te.default.createElement(c.Flex,{className:f(h.wrapper)},x.map((e=>te.default.createElement(c.Radio,Object.assign({className:"gender-item",classNames:{root:h.itemRoot,labelWrapper:h.itemLabelWrapper,label:h.itemLabel,inner:h.itemInner},key:e.value,value:e.value},v&&e.value!==v&&{disabled:!0},{label:te.default.createElement(c.Flex,{gap:c.rem(8),align:"center",justify:"center",sx:{zIndex:0}},te.default.createElement("img",{src:e.icon,className:"gender-image",alt:"female",loading:"lazy"}),te.default.createElement(t.Text,{size:"p3"},e.label))})))))))};var Ae="PiqKaXk",Me="HgbW6-m",Pe="_6lkfLYy",De="j7c-onH";const ze=({avatarImg:e,authorName:a,authorLink:l,uploadTime:n,size:i})=>te.default.createElement("div",{className:De},te.default.createElement("div",{className:"author"},te.default.createElement("div",{className:"avatar","data-size":i},e),te.default.createElement("div",{className:"poster","data-is-disabled-url":!l},te.default.createElement(t.Text,{size:"lg"===i?"p3":"p4"},te.default.createElement("a",{href:l},te.default.createElement("span",{className:"name"},a),"•"," "),te.default.createElement("span",null,n))))),Le=({isMobile:e,avatarImg:l,name:n,link:i,size:o="lg",specialty:r})=>te.default.createElement("div",{className:De},te.default.createElement("div",{className:"author"},te.default.createElement("div",{className:"expert-avatar","data-size":o},l),te.default.createElement("div",{className:"expert","data-is-disabled-url":!i},e?te.default.createElement("a",{href:i},"lg"===o?te.default.createElement(te.default.Fragment,null,te.default.createElement(a.Heading,{tag:"h6",className:"expert__name",color:s.theme.colors.gray600},n),te.default.createElement(t.Text,{color:s.theme.colors.gray500,size:"p3",className:"specialty"},r)):te.default.createElement(te.default.Fragment,null,te.default.createElement(a.Heading,{tag:"h6",className:"expert__name",color:s.theme.colors.gray600},n))):te.default.createElement("a",{href:i},"lg"===o?te.default.createElement(te.default.Fragment,null,te.default.createElement(a.Heading,{tag:"h6",className:"expert__name",color:s.theme.colors.gray600},n),te.default.createElement(t.Text,{color:s.theme.colors.gray500,size:"p3",className:"specialty"},r)):te.default.createElement(te.default.Fragment,null,te.default.createElement("h6",{color:s.theme.colors.gray600,className:`${Ae} expert__name`},n),te.default.createElement(t.Text,{color:s.theme.colors.gray500,size:"p4",className:"specialty"},r)))))),Ie=e.memo((()=>te.default.createElement("div",{className:"shoppable"},te.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},te.default.createElement("rect",{width:"24",height:"24",rx:"12",fill:"#1B3250"}),te.default.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"}))))),$e=e.memo((({dataEventCategoryForBookmark:e,dataEventActionForBookmark:t,dataEventLabelForBookmark:a})=>te.default.createElement("svg",{"data-event-category":e,"data-event-action":t,"data-event-label":a,width:"14",height:"16",viewBox:"0 0 14 16",fill:"none"},te.default.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"})))),_e=e.memo((({dataEventCategoryForBookmark:e,dataEventActionForBookmark:t,dataEventLabelForBookmark:a})=>te.default.createElement("svg",{"data-event-category":e,"data-event-action":t,"data-event-label":a,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},te.default.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"})))),Oe=e=>{var a,l,i,{article:o,author:r,authorAvatar:s,badge:m="",hideDescription:u=!1,isBookmarked:p=!1,onBookmark:g,time:h,tracking:f}=e,v=d.__rest(e,["article","author","authorAvatar","badge","hideDescription","isBookmarked","onBookmark","time","tracking"]);const{isMobile:b}=n.useScreenSize();return console.log({article:o}),te.default.createElement(c.Card,Object.assign({padding:0,radius:0,sx:{display:"flex",flexDirection:"row",gap:24}},v),te.default.createElement(c.Card.Section,{w:"100%",h:"100%",miw:264,m:0,className:"pointer"},te.default.createElement("img",{src:(b?o.featureImageMobile:o.featureImage)||o.featureImage,alt:o.postName,style:{width:"100%"},loading:"lazy"})),te.default.createElement(c.Card.Section,null,te.default.createElement(c.Group,{position:"apart",mt:16,mb:4},te.default.createElement(n.Anchor,{href:(null===(a=null==o?void 0:o.primaryCategory)||void 0===a?void 0:a.permalink)||"#"},te.default.createElement(t.Text,{size:"p4",color:"blue.6"},null===(l=null==o?void 0:o.primaryCategory)||void 0===l?void 0:l.displayName)),te.default.createElement(c.Box,{sx:{cursor:"pointer"},role:"button",onClick:g},p?te.default.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==f?void 0:f.bookmark),te.default.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"})):te.default.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==f?void 0:f.bookmark),te.default.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"})))),te.default.createElement(t.Text,{size:u?"s2":"s1",mb:8,weight:"semiBold",className:"pointer"},o.postTitle||o.postName||""),!u&&te.default.createElement(t.Text,{size:"p2",mb:16,lineClamp:3,className:"pointer"},ae.default(o.excerpt||o.description||(null===(i=o.postContent)||void 0===i?void 0:i.split("\r\n")[0])||"")),te.default.createElement(c.Flex,{gap:12,align:"center"},te.default.createElement(n.Avatar,{size:32,src:s,withIndicator:!0,indicatorConfig:{offset:5,size:18,label:te.default.createElement("img",{loading:"lazy",src:m,alt:""})}},"A"),te.default.createElement(t.Text,{size:"n1",c:"gray.6"},r," • ",h))))};var je=c.createStyles(((e,{})=>({root:{},image:{},title:{},category:{},description:{},author:{}})));const Fe=648/440,He=1.5,Re=a=>{var l,i,o,{article:r,author:s,authorAvatar:m,badge:u="",bannerImageWrapProps:p,hideDescription:g=!1,isBookmarked:h=!1,onBookmark:f,time:v,tracking:b,classNames:y,styles:x,unstyled:E,className:w}=a,C=d.__rest(a,["article","author","authorAvatar","badge","bannerImageWrapProps","hideDescription","isBookmarked","onBookmark","time","tracking","classNames","styles","unstyled","className"]);const{isMobile:k}=n.useScreenSize(),{classes:B,cx:T}=je({},{name:"ArticleCard",classNames:y,styles:x,unstyled:E}),S=e.useMemo((()=>g?He:Fe),[g]);return te.default.createElement(c.Card,Object.assign({className:T(B.root,w),padding:"lg",radius:0},C),te.default.createElement(c.Card.Section,{className:T(B.image,"pointer")},te.default.createElement(n.AspectRatio,Object.assign({ratio:S},p),te.default.createElement("img",{src:(k?r.featureImageMobile:r.featureImage)||r.featureImage,alt:r.postName,style:{objectFit:"cover"}}))),te.default.createElement(c.Card.Section,null,te.default.createElement(c.Group,{position:"apart",mt:16,mb:4},te.default.createElement(n.Anchor,{className:B.category,href:(null===(l=null==r?void 0:r.primaryCategory)||void 0===l?void 0:l.permalink)||"#"},te.default.createElement(t.Text,{size:"p4",color:"blue.6"},null===(i=null==r?void 0:r.primaryCategory)||void 0===i?void 0:i.displayName)),te.default.createElement(c.Box,{sx:{cursor:"pointer"},role:"button",onClick:f},h?te.default.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==b?void 0:b.bookmark),te.default.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"})):te.default.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==b?void 0:b.bookmark),te.default.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"})))),te.default.createElement(t.Text,{className:T(B.title,"pointer"),size:g?"s2":"s1",mb:8,weight:"semiBold"},r.postTitle||r.postName||""),!g&&te.default.createElement(t.Text,{className:T(B.description,"pointer"),size:"p2",mb:16,lineClamp:3},ae.default(r.excerpt||r.description||(null===(o=r.postContent)||void 0===o?void 0:o.split("\r\n")[0])||"")),te.default.createElement(c.Flex,{className:B.author,gap:12,align:"center"},te.default.createElement(n.Avatar,{size:32,src:m,withIndicator:!0,indicatorConfig:{offset:5,size:18,label:te.default.createElement("img",{loading:"lazy",src:u,alt:""})}},"A"),te.default.createElement(t.Text,{size:"n1",c:"gray.6"},s," • ",v))))},Ge=le.default.a`
|
|
2
2
|
display: flex;
|
|
3
3
|
height: 125px;
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var e=require("react"),a=require("./index-
|
|
1
|
+
"use strict";var e=require("react"),a=require("./index-bf4de588.js"),t=require("./useTranslations-048502c3.js"),r=require("date-fns"),i=require("react-day-picker/DayPickerInput"),o=require("styled-components"),n=require("./theme-1e27b9db.js");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=c(e),l=c(i),s=c(o),p="tliWyii";const u={"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":["जनवरी","फ़रवरी","जुलूस","अप्रैल","मई","जून","जुलाई","अगस्त","सितंबर","अक्टूबर","नवंबर","दिसंबर"]},y=s.default.div`
|
|
2
2
|
.pickerContainer {
|
|
3
3
|
position: relative;
|
|
4
4
|
padding-top: 0;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var e=require("react"),i=require("./utils-
|
|
1
|
+
"use strict";var e=require("react"),i=require("./utils-97861e62.js"),t=require("styled-components"),o=require("./theme-1e27b9db.js"),l=require("./tslib.es6-f581f504.js"),n=require("./utils-3423e2dc.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=a(e),d=a(t);const s=d.default.div`
|
|
2
2
|
position: fixed;
|
|
3
3
|
left: 50%;
|
|
4
4
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("react"),a=require("./index.styles-
|
|
1
|
+
"use strict";var e=require("react"),a=require("./index.styles-db50e54a.js"),o=require("./tslib.es6-f581f504.js"),t=require("./useTranslations-048502c3.js"),l=require("./index-1abb8f88.js"),i=require("./paths-c422db6f.js"),d=require("./constants-d09c9d40.js"),r=require("./index-4c97e71b.js"),n=require("./utils-3423e2dc.js"),s=require("./isProduction-fce4c411.js");function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var c=u(e);const v={admin:"cardAuthor.admin",moderator:"cardAuthor.moderator",ambassador:"cardAuthor.ambassador",expert:"cardAuthor.expert",sponsor:"cardAuthor.sponsor",guide:"cardAuthor.guide",influencer:"cardAuthor.influencer"};var g="Dudns9-";exports.AuthorBadge=e=>{var{siteType:l,role:i,title:d,styles:r,className:n}=e,s=o.__rest(e,["siteType","role","title","styles","className"]);const{t:u}=t.useTranslations(),g=i?(e=>["admin","moderator","ambassador","expert","sponsor","guide","influencer"].find((a=>a===e)))(i):"",{classes:m,cx:b}=a.useStyles$1(void 0,{name:"AuthorBadge",styles:r});return g&&v[g]?c.default.createElement("div",Object.assign({className:b(m.root,n),"data-label-type":g,"data-is-marrybaby":"marryBaby"===l},s),d||u(v[g])):null},exports.BookingBtn=a=>{var{label:u,bookingId:v,bookingType:g="doctor",locale:m="vi-VN"}=a,b=o.__rest(a,["label","bookingId","bookingType","locale"]);const{t:y}=t.useTranslations(),[p,E]=e.useState(!1),f=e.useMemo((()=>"undefined"!=typeof window?window.location.href:""),[]),A=e.useCallback((()=>o.__awaiter(void 0,void 0,void 0,(function*(){var e,a,o,t,l,u,c,b,y,p,f,A,h,_,S;const T="doctor"===g?i.PATHS.GET_DOCTOR_DETAIL:"hospital"===g?i.PATHS.GET_HOSPITAL_DETAIL:"service"===g?i.PATHS.GET_SERVICE_DETAIL:"";try{E(!0);const i=yield n.callApi(n.getCarePath(T,{id:v,site:r.domainLocales[m]}),"get");if(1===(null==i?void 0:i._status)){const n="doctor"===g?{id:null===(a=null===(e=null==i?void 0:i._data)||void 0===e?void 0:e.doctor)||void 0===a?void 0:a.id,slug:null===(t=null===(o=null==i?void 0:i._data)||void 0===o?void 0:o.doctor)||void 0===t?void 0:t.slug,localSlug:null===(l=d.LOCALIZED_SLUGS[m])||void 0===l?void 0:l.DOCTOR}:"hospital"===g?{id:null===(c=null===(u=null==i?void 0:i._data)||void 0===u?void 0:u.branch)||void 0===c?void 0:c.id,slug:null===(y=null===(b=null==i?void 0:i._data)||void 0===b?void 0:b.branch)||void 0===y?void 0:y.slug,localSlug:null===(p=d.LOCALIZED_SLUGS[m])||void 0===p?void 0:p.HOSPITAL}:{id:null===(A=null===(f=null==i?void 0:i._data)||void 0===f?void 0:f.service)||void 0===A?void 0:A.id,slug:null===(_=null===(h=null==i?void 0:i._data)||void 0===h?void 0:h.service)||void 0===_?void 0:_.slug,localSlug:null===(S=d.LOCALIZED_SLUGS[m])||void 0===S?void 0:S.SERVICE};window.location.href=`https://${s.isProduction?"":"discover."}${r.domainLocales[m]}/care/${n.localSlug}/${n.slug}-${n.id}/`}else E(!1)}catch(e){console.log(e),E(!1)}}))),[]);return v&&g?c.default.createElement(l.Button,Object.assign({dataEventCategory:"Care",dataEventAction:"Comment - Quick Booking",dataEventLabel:f,onClick:A,loading:p},b),u||y("careBooking.bookAnAppointment")):null},exports.BtnChoice=({value:a,choices:o,onChange:t})=>{const[i,d]=e.useState(a);return e.useEffect((()=>{d(a)}),[a]),c.default.createElement("div",{className:g},o.map(((e,a)=>c.default.createElement(l.Button,{dataEventCategory:e.dataEventCategory,dataEventAction:e.dataEventAction,dataEventLabel:e.dataEventLabel,size:"sm",variant:e.value===i?"primary":"tertiary",key:a,onClick:()=>{d(e.value),null==t||t(e.value)}},e.label||""))))},exports.Divider=({type:e="solid",className:o,style:t})=>c.default.createElement(a.StyledDivider,{style:t,className:o,"data-diver-type":e,dividerType:e});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("react"),a=require("./Subot-
|
|
1
|
+
"use strict";var e=require("react"),a=require("./Subot-e6872850.js"),t=require("./index-a607ab1d.js"),s=require("./utils-18176c91.js"),l=require("./index-1abb8f88.js");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=o(e);exports.Logo=({type:o,className:r,style:g,isLightLogo:m,customSize:i,badge:u,locale:d,dateForSeasonal:c,isPro:f})=>{const[h,N]=e.useState({isChristmas:!1,isLunarNewYear:!1,isNewYear:!1,isRamadan:!1,isVNHungKing:!1,isVN3004:!1,isLabourDay:!1});return e.useEffect((()=>{if(!c||isNaN(new Date(c).getTime()))return;const e=new Date(c),t=s.isChristmas(e),l=s.LunarNewYearLocale.includes(d)&&s.isLunarNewYear(e),o=!l&&s.isNewYear(e),n=s.isRamadan(e),r=d===a.LOCALE.Vietnam&&s.isVNHungKing(e),g=d===a.LOCALE.Vietnam&&s.isVN3004(e),m=d===a.LOCALE.Vietnam&&s.isLabourDay(e);N({isChristmas:t,isLunarNewYear:l,isNewYear:o,isRamadan:n,isVNHungKing:r,isVN3004:g,isLabourDay:m})}),[d,new Date(c).getDate()]),n.default.createElement(s.StyledLogo,{className:r,style:g,"data-logo-is-light":m||void 0,"data-has-badge":!!u,"data-seasonal":h.isRamadan?"ramadan":h.isChristmas?"christmas":h.isLunarNewYear?"lunar-new-year":h.isNewYear?"new-year":h.isVNHungKing?"hung-king":h.isVN3004?"30-04":h.isLabourDay?"labour-day":void 0,"data-type":o},h.isChristmas?n.default.createElement(n.default.Fragment,null,n.default.createElement(l.ImageWrap,{alt:"left xmas logo",src:t.CommonGAssets.getAssetPath("logo/xmas-left.png"),className:"common-logo-seasonal-left"}),n.default.createElement(l.ImageWrap,{alt:"right xmas logo",src:t.CommonGAssets.getAssetPath("logo/xmas-right.png"),className:"common-logo-seasonal-right"})):h.isNewYear?n.default.createElement(n.default.Fragment,null,n.default.createElement(l.ImageWrap,{alt:"left new year logo",src:t.CommonGAssets.getAssetPath("logo/new-year-left.png"),className:"common-logo-seasonal-left"}),n.default.createElement(l.ImageWrap,{alt:"right new year logo",src:t.CommonGAssets.getAssetPath("logo/new-year-right.png"),className:"common-logo-seasonal-right"})):h.isLunarNewYear?n.default.createElement(n.default.Fragment,null,n.default.createElement(l.ImageWrap,{alt:"left lunar new year logo",loading:"lazy",src:t.CommonGAssets.getAssetPath("logo/lunar-new-year-left.png"),className:"common-logo-seasonal-left"}),n.default.createElement(l.ImageWrap,{alt:"right lunar new year logo",loading:"lazy",src:t.CommonGAssets.getAssetPath("logo/lunar-new-year-right.png"),className:"common-logo-seasonal-right"})):h.isRamadan&&"hellosehat"===o?n.default.createElement(n.default.Fragment,null,n.default.createElement(l.ImageWrap,{alt:"left ramadan logo",loading:"lazy",src:t.CommonGAssets.getAssetPath("logo/ramadan-sehat-left.png"),className:"common-logo-seasonal-left"}),n.default.createElement(l.ImageWrap,{alt:"right ramadan logo",loading:"lazy",src:t.CommonGAssets.getAssetPath("logo/ramadan-sehat-right.png"),className:"common-logo-seasonal-right"})):h.isRamadan&&"hellodoktor"===o?n.default.createElement(n.default.Fragment,null,n.default.createElement(l.ImageWrap,{alt:"left ramadan logo",loading:"lazy",src:t.CommonGAssets.getAssetPath("logo/ramadan-doktor-left.png"),className:"common-logo-seasonal-left"}),n.default.createElement(l.ImageWrap,{alt:"right ramadan logo",loading:"lazy",src:t.CommonGAssets.getAssetPath("logo/ramadan-doktor-right.png"),className:"common-logo-seasonal-right"})):!h.isVNHungKing||"hellobacsi"!==o&&"marryBaby"!==o?null:n.default.createElement(n.default.Fragment,null,n.default.createElement(l.ImageWrap,{alt:"Hung King logo",loading:"lazy",src:t.CommonGAssets.getAssetPath("logo/hung-king-bg.png"),className:"common-logo-seasonal-left"})),n.default.createElement(s.LogoIcon,{type:o,width:null==i?void 0:i.width,height:null==i?void 0:i.height}),f?n.default.createElement(s.StyledProLogo,{src:t.CommonGAssets.getAssetPath("logo/pro-suffix.svg")}):null,u)};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("react"),t=require("./index-a85994ad.js"),a=require("./index-a9d22e63.js"),l=require("dayjs"),n=require("./index-78f49c14.js"),o=require("./theme-642223e9.js");require("./index-44cde1cb.js");var i=require("@mantine/core");require("@mantine/dates"),require("./Subot-143686ec.js"),require("./index-936719bb.js");var r=require("./Plus-604516f4.js"),d=require("./useTranslations-ea594f2b.js");require("@mantine/hooks"),require("./utils-460cc1b1.js");var c=require("./index-6cf34cb9.js"),s=require("./index-bd2b578c.js");function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./translationsContext-7536ee11.js"),require("string-format");var m=u(e),v=u(l),f="Lj0qoTD",E="OO-qFWT";const g=({url:e,isMobile:t,dataEventCategory:a,dataEventAction:l,dataEventLabel:n})=>m.default.createElement("div",{className:E,"data-is-mobile":t},m.default.createElement("img",{loading:"lazy",className:"country-flag",src:e,alt:"Country Flag","data-event-category":a,"data-event-action":l,"data-content-label":n})),y=({className:e,type:l="main",footerInfo:i,isMobile:c,locale:s})=>{var u,E,y,b,p,N,h,k,x,T,F,$,z,q,L,M,C,j,_,S,w,H,I,B,A,G,D,U;const{t:J}=d.useTranslations(),K=null==i?void 0:i.menu,O=(null===(E=null===(u=null==i?void 0:i.general)||void 0===u?void 0:u.verified)||void 0===E?void 0:E.filter(Boolean))||[];return m.default.createElement("footer",{className:`${f} ${e||""}`,style:"mini"===l?{backgroundColor:o.theme.colors.neutral50}:{}},m.default.createElement(a.Container,null,m.default.createElement("div",{className:"inner","data-type":l},"main"===l?m.default.createElement(m.default.Fragment,null,m.default.createElement("a",{href:"/"},m.default.createElement("img",{loading:"lazy",className:"footer-logo",src:null===(y=null==i?void 0:i.general)||void 0===y?void 0:y.logo,alt:"Logo","data-is-sehat":"id-ID"===s})),m.default.createElement("div",{className:"columns"},m.default.createElement("div",{className:"newsletter"},m.default.createElement(r.Text,{size:"p1",weight:"bold"},null===(b=null==i?void 0:i.general)||void 0===b?void 0:b.content),m.default.createElement(t.Button,{className:"signupButton",color:"primary",size:"lg"},J("footer.signUp")),m.default.createElement("div",{className:"social"},m.default.createElement(r.Text,{size:"sm"},null===(p=null==i?void 0:i.social)||void 0===p?void 0:p.title),m.default.createElement("div",{className:"icons"},null===(h=null===(N=null==i?void 0:i.social)||void 0===N?void 0:N.socials)||void 0===h?void 0:h.map(((e,t)=>m.default.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,href:e.url},m.default.createElement("img",{loading:"lazy","data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,src:e.icon,alt:"Logo Social",className:"social-icon"}))))),m.default.createElement("hr",{className:"hrMobile"}))),m.default.createElement("div",null,K&&m.default.createElement(m.default.Fragment,null,m.default.createElement("div",{className:"biglinks"},null===(x=null===(k=K[0])||void 0===k?void 0:k.items)||void 0===x?void 0:x.map(((e,t)=>m.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${n.domainLocales[s]}${e.url}`,className:"bigLink",key:t,href:e.url},e.title)))),m.default.createElement("hr",{className:"hrMobile"}),m.default.createElement("div",{className:"mHalf"},m.default.createElement(r.Text,{size:"sm",className:"linkTitle"},null===(T=K[1])||void 0===T?void 0:T.menu_title),null===($=null===(F=K[1])||void 0===F?void 0:F.items)||void 0===$?void 0:$.map(((e,t)=>m.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${n.domainLocales[s]}${e.url}`,className:"link",href:e.url,key:t},m.default.createElement(r.Text,{size:"sm",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:`https://${n.domainLocales[s]}${e.url}`},e.title))))),m.default.createElement("div",{className:"mHalf"},m.default.createElement(r.Text,{size:"sm",className:"linkTitle"},null===(z=K[2])||void 0===z?void 0:z.menu_title),null===(L=null===(q=K[2])||void 0===q?void 0:q.items)||void 0===L?void 0:L.map(((e,t)=>e.url&&m.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url,className:"link",href:e.url,key:t},m.default.createElement(r.Text,{size:"sm",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title)))))),m.default.createElement("hr",{className:"hrMobile"}),m.default.createElement("div",{className:"otherSites"},m.default.createElement(r.Text,{size:"sm",className:"linkTitle"},null===(M=null==i?void 0:i.branch)||void 0===M?void 0:M.title),m.default.createElement("div",{className:"flags"},null===(j=null===(C=null==i?void 0:i.branch)||void 0===C?void 0:C.branch)||void 0===j?void 0:j.map(((e,t)=>m.default.createElement("a",{className:"link",href:e.url,key:t,"data-event-category":"Footer","data-event-action":e.name,"data-event-label":e.url},m.default.createElement(g,{url:e.flag,isMobile:c,dataEventCategory:"Footer",dataEventAction:e.name,dataEventLabel:e.url})))))))),m.default.createElement("hr",null),m.default.createElement("div",{className:"copyright"},m.default.createElement("div",{className:"copyright-image-wrapper"},O.length?O.map(((e,t)=>m.default.createElement("a",{href:e.url,key:t,className:"copyright-image"},m.default.createElement("img",{loading:"lazy",src:e.image,alt:"DMCA Icon"})))):null),m.default.createElement(r.Text,{size:"xs",className:"copyright-content",as:"div"},m.default.createElement("div",{dangerouslySetInnerHTML:{__html:null===(_=null==i?void 0:i.general)||void 0===_?void 0:_.copyright.replace(/{currentYear}/gi,v.default().get("year").toString())}})))):m.default.createElement(m.default.Fragment,null,(null==i?void 0:i.menu)&&m.default.createElement("div",{className:"columns"},m.default.createElement("div",{className:"mHalf"},m.default.createElement(r.Text,{size:"sm",className:"linkTitle"},null===(S=null==i?void 0:i.menu[1])||void 0===S?void 0:S.menu_title),null===(H=null===(w=null==i?void 0:i.menu[1])||void 0===w?void 0:w.items)||void 0===H?void 0:H.map((e=>m.default.createElement("a",{className:"link",href:e.url,key:e.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":e.title,"data-content-id":`https://${n.domainLocales[s]}${e.url}`,"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${n.domainLocales[s]}${e.url}`},m.default.createElement(r.Text,{dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:`https://${n.domainLocales[s]}${e.url}`,size:"sm",style:{color:o.theme.colors.gray800}},e.title))))),m.default.createElement("div",{className:"mHalf"},m.default.createElement(r.Text,{size:"sm",className:"linkTitle"},null===(I=null==i?void 0:i.menu[2])||void 0===I?void 0:I.menu_title),null===(A=null===(B=null==i?void 0:i.menu[2])||void 0===B?void 0:B.items)||void 0===A?void 0:A.map(((e,t)=>m.default.createElement("a",{className:"link",href:e.url,key:t,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":e.title,"data-content-id":e.url,"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url},m.default.createElement(r.Text,{size:"sm",color:o.theme.colors.gray800,dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title))))),"mini"!==l&&m.default.createElement("hr",{className:"hrMobile"}),m.default.createElement("div",{className:"newsletter"},m.default.createElement("div",{className:"social"},m.default.createElement(r.Text,{size:"sm"},null===(G=null==i?void 0:i.social)||void 0===G?void 0:G.title),m.default.createElement("div",{className:"icons"},null===(U=null===(D=null==i?void 0:i.social)||void 0===D?void 0:D.socials)||void 0===U?void 0:U.map(((e,t)=>m.default.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,href:e.url},m.default.createElement("img",{"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,src:e.icon,alt:"Logo Social",loading:"lazy",className:"social-icon"}))))))))))))};var b="B6-KmWK",p="GS-7mbG",N="qc5bEb3",h="CQGVeuT",k="_8eUT8Jr",x="_6JMoel-",T="pFG7UH3";const F=({logoType:e="marryBaby",footerMenu:t,background:l})=>{var n;if(!t)return null;const{general:d,menu:u,socials:f}=t;return m.default.createElement("footer",{className:b,style:{backgroundColor:l||"none"}},m.default.createElement(a.Container,null,m.default.createElement("div",{className:p},null==u?void 0:u.map((({menu_title:e,items:t},a)=>m.default.createElement("div",{className:N,key:`mbf${a}`},m.default.createElement(s.MarryBabyText,{className:"title",type:"subtitle-1",color:o.theme.mbColors.pink},e),null==t?void 0:t.map((({title:e,url:t},a)=>m.default.createElement("a",{"data-event-category":"Footer","data-event-action":"Click","data-event-label":`${t}`,className:"link",href:t,key:`footer-links-${a}`},m.default.createElement("div",{className:h,key:`mbitem${a}`},m.default.createElement(s.MarryBabyText,{type:"bodytext-2",color:o.theme.mbColors.gray},e)))))))))),m.default.createElement(a.Container,null,m.default.createElement("div",{className:x},m.default.createElement(i.Flex,{gap:"24px",sx:e=>({[e.fn.largerThan("sm")]:{".info-item":{flexGrow:1,width:"50%"}},[e.fn.smallerThan("sm")]:{flexDirection:"column"}})},m.default.createElement(i.Stack,{spacing:"24px",className:"info-item"},m.default.createElement(c.Logo,{className:"logo",type:e}),m.default.createElement(r.Text,{size:"p4",as:"div"},m.default.createElement("div",{dangerouslySetInnerHTML:{__html:null==d?void 0:d.content}})),m.default.createElement("div",{className:T},null==f?void 0:f.map((({icon:e,name:t,url:a},l)=>m.default.createElement("a",{key:`social${l}`,target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":`Follow us - ${t}`,"data-content-label":t,href:a},m.default.createElement("img",{className:"social-logo",loading:"lazy",src:e,alt:t})))))),m.default.createElement(i.Box,{className:"info-item",sx:{paddingTop:"7px"}},m.default.createElement(r.Text,{size:"p4",as:"div"},m.default.createElement("div",{dangerouslySetInnerHTML:{__html:null==d?void 0:d.information}})))))),m.default.createElement("div",{className:k},m.default.createElement(a.Container,null,m.default.createElement("div",{className:"content"},m.default.createElement(r.Text,{size:"p5",color:"#fff",as:"div"},m.default.createElement("div",{dangerouslySetInnerHTML:{__html:null==d?void 0:d.copyright.replace(/{currentYear}/gi,v.default().get("year").toString())}})),m.default.createElement("div",{className:"verify"},null===(n=null==d?void 0:d.verified)||void 0===n?void 0:n.map((({image:e,url:t},a)=>m.default.createElement("img",{loading:"lazy",key:`imgMbFt${a}`,src:e,alt:t}))))))))};exports.Footer=({type:e,isMobile:t=!0,locale:a,footerInfo:l,siteType:n,background:o})=>"helloSites"===n?m.default.createElement(y,{isMobile:t,type:e,locale:a,footerInfo:l||{}}):m.default.createElement(F,{footerMenu:l,background:o});
|
|
1
|
+
"use strict";var e=require("react"),t=require("./index-3e70ce5b.js"),a=require("./index-b7501b94.js"),l=require("dayjs"),n=require("./index-4c97e71b.js"),o=require("./theme-1e27b9db.js");require("./index-1abb8f88.js");var i=require("@mantine/core");require("@mantine/dates"),require("./Subot-e6872850.js"),require("./index-a607ab1d.js");var r=require("./Plus-ae3f1f1c.js"),d=require("./useTranslations-048502c3.js");require("@mantine/hooks"),require("./utils-97861e62.js");var c=require("./index-84bceb91.js"),s=require("./index-be13ca0c.js");function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./translationsContext-c8376758.js"),require("string-format");var m=u(e),v=u(l),f="Lj0qoTD",E="OO-qFWT";const g=({url:e,isMobile:t,dataEventCategory:a,dataEventAction:l,dataEventLabel:n})=>m.default.createElement("div",{className:E,"data-is-mobile":t},m.default.createElement("img",{loading:"lazy",className:"country-flag",src:e,alt:"Country Flag","data-event-category":a,"data-event-action":l,"data-content-label":n})),y=({className:e,type:l="main",footerInfo:i,isMobile:c,locale:s})=>{var u,E,y,b,p,N,h,k,x,T,F,$,z,q,L,M,C,j,_,S,w,H,I,B,A,G,D,U;const{t:J}=d.useTranslations(),K=null==i?void 0:i.menu,O=(null===(E=null===(u=null==i?void 0:i.general)||void 0===u?void 0:u.verified)||void 0===E?void 0:E.filter(Boolean))||[];return m.default.createElement("footer",{className:`${f} ${e||""}`,style:"mini"===l?{backgroundColor:o.theme.colors.neutral50}:{}},m.default.createElement(a.Container,null,m.default.createElement("div",{className:"inner","data-type":l},"main"===l?m.default.createElement(m.default.Fragment,null,m.default.createElement("a",{href:"/"},m.default.createElement("img",{loading:"lazy",className:"footer-logo",src:null===(y=null==i?void 0:i.general)||void 0===y?void 0:y.logo,alt:"Logo","data-is-sehat":"id-ID"===s})),m.default.createElement("div",{className:"columns"},m.default.createElement("div",{className:"newsletter"},m.default.createElement(r.Text,{size:"p1",weight:"bold"},null===(b=null==i?void 0:i.general)||void 0===b?void 0:b.content),m.default.createElement(t.Button,{className:"signupButton",color:"primary",size:"lg"},J("footer.signUp")),m.default.createElement("div",{className:"social"},m.default.createElement(r.Text,{size:"sm"},null===(p=null==i?void 0:i.social)||void 0===p?void 0:p.title),m.default.createElement("div",{className:"icons"},null===(h=null===(N=null==i?void 0:i.social)||void 0===N?void 0:N.socials)||void 0===h?void 0:h.map(((e,t)=>m.default.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,href:e.url},m.default.createElement("img",{loading:"lazy","data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,src:e.icon,alt:"Logo Social",className:"social-icon"}))))),m.default.createElement("hr",{className:"hrMobile"}))),m.default.createElement("div",null,K&&m.default.createElement(m.default.Fragment,null,m.default.createElement("div",{className:"biglinks"},null===(x=null===(k=K[0])||void 0===k?void 0:k.items)||void 0===x?void 0:x.map(((e,t)=>m.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${n.domainLocales[s]}${e.url}`,className:"bigLink",key:t,href:e.url},e.title)))),m.default.createElement("hr",{className:"hrMobile"}),m.default.createElement("div",{className:"mHalf"},m.default.createElement(r.Text,{size:"sm",className:"linkTitle"},null===(T=K[1])||void 0===T?void 0:T.menu_title),null===($=null===(F=K[1])||void 0===F?void 0:F.items)||void 0===$?void 0:$.map(((e,t)=>m.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${n.domainLocales[s]}${e.url}`,className:"link",href:e.url,key:t},m.default.createElement(r.Text,{size:"sm",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:`https://${n.domainLocales[s]}${e.url}`},e.title))))),m.default.createElement("div",{className:"mHalf"},m.default.createElement(r.Text,{size:"sm",className:"linkTitle"},null===(z=K[2])||void 0===z?void 0:z.menu_title),null===(L=null===(q=K[2])||void 0===q?void 0:q.items)||void 0===L?void 0:L.map(((e,t)=>e.url&&m.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url,className:"link",href:e.url,key:t},m.default.createElement(r.Text,{size:"sm",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title)))))),m.default.createElement("hr",{className:"hrMobile"}),m.default.createElement("div",{className:"otherSites"},m.default.createElement(r.Text,{size:"sm",className:"linkTitle"},null===(M=null==i?void 0:i.branch)||void 0===M?void 0:M.title),m.default.createElement("div",{className:"flags"},null===(j=null===(C=null==i?void 0:i.branch)||void 0===C?void 0:C.branch)||void 0===j?void 0:j.map(((e,t)=>m.default.createElement("a",{className:"link",href:e.url,key:t,"data-event-category":"Footer","data-event-action":e.name,"data-event-label":e.url},m.default.createElement(g,{url:e.flag,isMobile:c,dataEventCategory:"Footer",dataEventAction:e.name,dataEventLabel:e.url})))))))),m.default.createElement("hr",null),m.default.createElement("div",{className:"copyright"},m.default.createElement("div",{className:"copyright-image-wrapper"},O.length?O.map(((e,t)=>m.default.createElement("a",{href:e.url,key:t,className:"copyright-image"},m.default.createElement("img",{loading:"lazy",src:e.image,alt:"DMCA Icon"})))):null),m.default.createElement(r.Text,{size:"xs",className:"copyright-content",as:"div"},m.default.createElement("div",{dangerouslySetInnerHTML:{__html:null===(_=null==i?void 0:i.general)||void 0===_?void 0:_.copyright.replace(/{currentYear}/gi,v.default().get("year").toString())}})))):m.default.createElement(m.default.Fragment,null,(null==i?void 0:i.menu)&&m.default.createElement("div",{className:"columns"},m.default.createElement("div",{className:"mHalf"},m.default.createElement(r.Text,{size:"sm",className:"linkTitle"},null===(S=null==i?void 0:i.menu[1])||void 0===S?void 0:S.menu_title),null===(H=null===(w=null==i?void 0:i.menu[1])||void 0===w?void 0:w.items)||void 0===H?void 0:H.map((e=>m.default.createElement("a",{className:"link",href:e.url,key:e.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":e.title,"data-content-id":`https://${n.domainLocales[s]}${e.url}`,"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${n.domainLocales[s]}${e.url}`},m.default.createElement(r.Text,{dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:`https://${n.domainLocales[s]}${e.url}`,size:"sm",style:{color:o.theme.colors.gray800}},e.title))))),m.default.createElement("div",{className:"mHalf"},m.default.createElement(r.Text,{size:"sm",className:"linkTitle"},null===(I=null==i?void 0:i.menu[2])||void 0===I?void 0:I.menu_title),null===(A=null===(B=null==i?void 0:i.menu[2])||void 0===B?void 0:B.items)||void 0===A?void 0:A.map(((e,t)=>m.default.createElement("a",{className:"link",href:e.url,key:t,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":e.title,"data-content-id":e.url,"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url},m.default.createElement(r.Text,{size:"sm",color:o.theme.colors.gray800,dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title))))),"mini"!==l&&m.default.createElement("hr",{className:"hrMobile"}),m.default.createElement("div",{className:"newsletter"},m.default.createElement("div",{className:"social"},m.default.createElement(r.Text,{size:"sm"},null===(G=null==i?void 0:i.social)||void 0===G?void 0:G.title),m.default.createElement("div",{className:"icons"},null===(U=null===(D=null==i?void 0:i.social)||void 0===D?void 0:D.socials)||void 0===U?void 0:U.map(((e,t)=>m.default.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,href:e.url},m.default.createElement("img",{"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,src:e.icon,alt:"Logo Social",loading:"lazy",className:"social-icon"}))))))))))))};var b="B6-KmWK",p="GS-7mbG",N="qc5bEb3",h="CQGVeuT",k="_8eUT8Jr",x="_6JMoel-",T="pFG7UH3";const F=({logoType:e="marryBaby",footerMenu:t,background:l})=>{var n;if(!t)return null;const{general:d,menu:u,socials:f}=t;return m.default.createElement("footer",{className:b,style:{backgroundColor:l||"none"}},m.default.createElement(a.Container,null,m.default.createElement("div",{className:p},null==u?void 0:u.map((({menu_title:e,items:t},a)=>m.default.createElement("div",{className:N,key:`mbf${a}`},m.default.createElement(s.MarryBabyText,{className:"title",type:"subtitle-1",color:o.theme.mbColors.pink},e),null==t?void 0:t.map((({title:e,url:t},a)=>m.default.createElement("a",{"data-event-category":"Footer","data-event-action":"Click","data-event-label":`${t}`,className:"link",href:t,key:`footer-links-${a}`},m.default.createElement("div",{className:h,key:`mbitem${a}`},m.default.createElement(s.MarryBabyText,{type:"bodytext-2",color:o.theme.mbColors.gray},e)))))))))),m.default.createElement(a.Container,null,m.default.createElement("div",{className:x},m.default.createElement(i.Flex,{gap:"24px",sx:e=>({[e.fn.largerThan("sm")]:{".info-item":{flexGrow:1,width:"50%"}},[e.fn.smallerThan("sm")]:{flexDirection:"column"}})},m.default.createElement(i.Stack,{spacing:"24px",className:"info-item"},m.default.createElement(c.Logo,{className:"logo",type:e}),m.default.createElement(r.Text,{size:"p4",as:"div"},m.default.createElement("div",{dangerouslySetInnerHTML:{__html:null==d?void 0:d.content}})),m.default.createElement("div",{className:T},null==f?void 0:f.map((({icon:e,name:t,url:a},l)=>m.default.createElement("a",{key:`social${l}`,target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":`Follow us - ${t}`,"data-content-label":t,href:a},m.default.createElement("img",{className:"social-logo",loading:"lazy",src:e,alt:t})))))),m.default.createElement(i.Box,{className:"info-item",sx:{paddingTop:"7px"}},m.default.createElement(r.Text,{size:"p4",as:"div"},m.default.createElement("div",{dangerouslySetInnerHTML:{__html:null==d?void 0:d.information}})))))),m.default.createElement("div",{className:k},m.default.createElement(a.Container,null,m.default.createElement("div",{className:"content"},m.default.createElement(r.Text,{size:"p5",color:"#fff",as:"div"},m.default.createElement("div",{dangerouslySetInnerHTML:{__html:null==d?void 0:d.copyright.replace(/{currentYear}/gi,v.default().get("year").toString())}})),m.default.createElement("div",{className:"verify"},null===(n=null==d?void 0:d.verified)||void 0===n?void 0:n.map((({image:e,url:t},a)=>m.default.createElement("img",{loading:"lazy",key:`imgMbFt${a}`,src:e,alt:t}))))))))};exports.Footer=({type:e,isMobile:t=!0,locale:a,footerInfo:l,siteType:n,background:o})=>"helloSites"===n?m.default.createElement(y,{isMobile:t,type:e,locale:a,footerInfo:l||{}}):m.default.createElement(F,{footerMenu:l,background:o});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-f581f504.js"),a=require("react"),t=require("@mantine/core"),n=require("./constants-d09c9d40.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=l(a);exports.Input=l=>{var{name:s,value:o,errorMessage:i,isNumerousKeyboard:c=!1,showErrorMessage:u=!0,actionIcon:d,displayIcon:m,onActionClick:p,label:y,className:b,onChange:v,isDisabled:C,CustomInput:f,size:g,style:h,autoComplete:E="off",type:I="text",inputClassName:N,trackingAttributes:M,enterKeyHint:A}=l,k=e.__rest(l,["name","value","errorMessage","isNumerousKeyboard","showErrorMessage","actionIcon","displayIcon","onActionClick","label","className","onChange","isDisabled","CustomInput","size","style","autoComplete","type","inputClassName","trackingAttributes","enterKeyHint"]);const K=t.useMantineTheme(),L=a.useMemo((()=>M?{"data-event-category":M.dataEventCategory,"data-event-action":M.dataEventAction,"data-event-label":M.dataEventLabel}:{}),[M]);return r.default.createElement(n.StyledInput,{"data-size":g,className:b,"data-has-action-icon":!!d||void 0,"data-has-display-icon":!!m||void 0,"data-has-error":i&&i.length>0||void 0,color:K.fn.primaryColor(),shadowColor:K.colors[K.primaryColor][0],style:h},y&&r.default.createElement(n.Label,{size:"label2",htmlFor:s,className:"inputLabel"},y),r.default.createElement("div",{style:{position:"relative"}},f||r.default.createElement("input",Object.assign({id:s,name:s,onChange:e=>v&&v(e.target.value),type:I,"aria-label":I,value:o,disabled:C,autoComplete:E,inputMode:c||"number"===I?"numeric":I,pattern:c?"[0-9]*":".*",className:N,enterKeyHint:A},L,k)),m&&r.default.createElement(n.StyledDisplayIcon,{className:"displayIcon"},m),d&&r.default.createElement(n.StyledActionIcon,{className:"actionIcon",onClick:p},d)),i&&i.length>0&&u&&r.default.createElement(n.StyledErrorLabel,{className:"errorLabel"},i))};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e=require("./tslib.es6-f581f504.js"),r=require("react");require("./index-1abb8f88.js"),require("@mantine/core"),require("@mantine/dates"),require("./index-4c97e71b.js"),require("./Subot-e6872850.js"),require("./index-a607ab1d.js");var t=require("./Plus-ae3f1f1c.js");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./theme-1e27b9db.js"),require("./translationsContext-c8376758.js"),require("string-format"),require("@mantine/hooks"),require("./utils-97861e62.js");var s=i(r);exports.Text=r=>{var{size:i="base",type:u="regular"}=r,a=e.__rest(r,["size","type"]);return s.default.createElement(t.Text,Object.assign({size:i,weight:"caption"===u?"bold":u},a))};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var s=require("./index-
|
|
1
|
+
"use strict";var s=require("./index-4c97e71b.js"),e=require("./isProduction-fce4c411.js");const o="hellosehat.com";class t{constructor(){this.baseDomain="",this.subPath="",this.getAssetPath=(s,o,t)=>{const i="https://hhg-common."+[o||this.getBaseDomain(),t||this.subPath,s].join("/");return e.isProduction||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,t=e.split("."),i=s.domainLocales[Object.keys(s.domainLocales).find((o=>e.includes(s.domainLocales[o])))];return t.includes("localhost")||t.includes("hellohealthgroup")||t.every((s=>{return e=s,!isNaN(parseFloat(e))&&isFinite(e);var e}))||!i?o:i}return o}}const i=new t;i.subPath="common",process.env.NEXT_PUBLIC_DEPLOY_LOCALE&&(i.baseDomain=s.domainLocales[process.env.NEXT_PUBLIC_DEPLOY_LOCALE]),exports.CommonGAssets=i,exports.GAssets=t;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-f581f504.js"),t=require("react"),n=require("@mantine/hooks"),a=require("./index-1abb8f88.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=l(t);exports.Slider=l=>{var{color:o,withControl:i,onChange:s,value:u,min:c,max:d,isStatic:m,containerClassName:h,containerStyle:f}=l,E=e.__rest(l,["color","withControl","onChange","value","min","max","isStatic","containerClassName","containerStyle"]);const[v,g]=t.useState(u||c||0),[k]=n.useDebouncedValue(v,a.DEBOUNCED_TIME);return t.useEffect((()=>{null==s||s(k)}),[k]),t.useEffect((()=>{g(u)}),[u]),r.default.createElement(a.StyledSliderWrapper,{className:h,style:f},i&&r.default.createElement(a.Button,{type:"button",size:"sm",color:"ghost",onClick:()=>{g((e=>c&&e===c?e:e-1))}},r.default.createElement("svg",{width:"10",height:"10",fill:"none",viewBox:"0 0 12 3"},r.default.createElement("path",{d:"M1 1.004h8",stroke:o,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))),r.default.createElement(a.StyledSlider,Object.assign({thumbSize:21,labelAlwaysOn:!0,radius:"xl",color:o,value:v,onChange:m?()=>null:g,min:c,max:d},E,{className:"hhg-mantine-slider "+(E.className||"")})),i&&r.default.createElement(a.Button,{type:"button",size:"sm",variant:"ghost",onClick:()=>{g((e=>d&&e===d?e:e+1))}},r.default.createElement("svg",{width:"16",height:"20",fill:"none",viewBox:"0 0 16 16"},r.default.createElement("path",{d:"M8 4v8M4 8h8",stroke:o,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))))};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-f581f504.js"),t=require("react"),r=require("@mantine/core"),i=require("@mantine/dates"),a=require("./index-4c97e71b.js"),s=require("./Subot-e6872850.js"),n=require("./index-a607ab1d.js"),l=require("./index-1abb8f88.js");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=o(t);exports.DatePicker=t=>{var o,{value:c,fullWidth:d=!0}=t,v=e.__rest(t,["value","fullWidth"]);return u.default.createElement(i.DatePickerInput,Object.assign({locale:l.MAPPED_LOCALE[process.env.UNIFY_LOCALE||s.LOCALE.Vietnam],valueFormat:null===(o=a.ISO_FORMAT[process.env.UNIFY_LOCALE||s.LOCALE.Vietnam])||void 0===o?void 0:o.dateFormat,size:"md",clearable:!1,popoverProps:d?{styles:{dropdown:{minWidth:"100%",display:"flex",justifyContent:"center",alignItems:"center"}}}:{},styles:{root:{position:"relative"},rightSection:{pointerEvents:"none",cursor:"default"}},rightSection:u.default.createElement(r.Image,{src:n.CommonGAssets.getAssetPath(v.isMB?"MB-calendar.svg":"OutlineCalendar.svg"),width:16,height:16}),value:c},v,{className:`input-control ${(null==v?void 0:v.className)||""}`}))};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-f581f504.js"),t=require("react"),r=require("./index.styled-54e422d1.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=a(t);exports.MarryBabyHeading=t=>{var{type:a,color:l,style:n}=t,y=e.__rest(t,["type","color","style"]);return s.default.createElement(r.StyledHeading,Object.assign({type:a,"data-type":{h1:"headline-1",h2:"headline-2",h3:"headline-3",h4:"headline-4"}[a],style:Object.assign(Object.assign({},l&&{"--text-color":l}),n)},y))},exports.MarryBabyText=t=>{var{type:a,color:l,style:n}=t,y=e.__rest(t,["type","color","style"]);return s.default.createElement(r.StyledText,Object.assign({"data-type":a,style:Object.assign(Object.assign({},n),l&&{"--text-color":l})},y))};
|