@hhgtech/hhg-components 1.29.447 → 1.29.448
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/{InputDate-4913f9bb.js → InputDate-029e5e4d.js} +5 -5
- package/build/{LastPeriod-bf3d3436.js → LastPeriod-6e9d0598.js} +1 -1
- package/build/{MobileBottomNavigationIcon-fd311112.js → MobileBottomNavigationIcon-0066ada4.js} +3 -3
- package/build/{Spinner-2c21fde8.js → Spinner-b04b16b0.js} +1 -1
- package/build/{WhatsApp-18a9382f.js → WhatsApp-f3f9d19b.js} +1 -1
- package/build/adapters.js +20 -20
- package/build/atoms.js +50 -50
- package/build/babyGrowth.js +85 -85
- package/build/cache.js +2 -2
- package/build/care/components/organisms/bookingSearchBarV2/index.d.ts +2 -1
- package/build/care/components/organisms/bookingSearchBarV2/tabSearch/index.d.ts +2 -1
- package/build/care.js +18 -18
- package/build/careBookingSearchBar.js +14 -14
- package/build/careBookingSearchBarV2.js +46 -48
- package/build/components/molecules/embeddedHeathToolCards/helpers.d.ts +4 -0
- package/build/components/molecules/healthTools/form/bmiForm/context.d.ts +1 -0
- package/build/components/molecules/healthTools/form/bmiForm/index.d.ts +1 -1
- package/build/components/navigationV2/components/molecules/menuCategoriesList/Item/index.d.ts +5 -0
- package/build/components/navigationV2/components/molecules/menuCategoriesList/Item/index.styled.d.ts +7 -0
- package/build/components/navigationV2/types.d.ts +10 -0
- package/build/components/navigationV2/utils.d.ts +14 -0
- package/build/components.js +103 -103
- package/build/{constants-8bca9138.js → constants-9576ed38.js} +1 -1
- package/build/constants.js +3 -3
- package/build/constantsDomainLocales.js +1 -1
- package/build/constantsRiskScreener.js +2 -2
- package/build/constantsSite.js +2 -2
- package/build/{core-9308c14e.js → core-d40a3728.js} +1 -1
- package/build/{dataTransform-f2d07361.js → dataTransform-d30942f7.js} +1 -1
- package/build/ecom.js +5 -5
- package/build/{editor-1594d420.js → editor-0d3b27a2.js} +11 -11
- package/build/embeddedHeathToolCards_babyGrowth.js +24 -24
- package/build/embeddedHeathToolCards_babyPoop.js +20 -20
- package/build/embeddedHeathToolCards_babyVaccine.js +23 -23
- package/build/embeddedHeathToolCards_bmi_bmi.js +26 -26
- package/build/embeddedHeathToolCards_bmrBmr.js +26 -26
- package/build/embeddedHeathToolCards_dueDate_dueDate.js +23 -23
- package/build/embeddedHeathToolCards_ovulation_ovulation.js +23 -23
- package/build/embeddedHeathToolCards_pwg_pwg.js +27 -27
- package/build/embeddedHeathToolCards_targetHeartRate.js +28 -28
- package/build/esm/{InputDate-90c0cff5.js → InputDate-1d43c386.js} +5 -5
- package/build/esm/{LastPeriod-be9eb032.js → LastPeriod-28c890db.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-f2ddb853.js → MobileBottomNavigationIcon-34510404.js} +3 -3
- package/build/esm/{Spinner-9fe584c3.js → Spinner-8b8558fa.js} +1 -1
- package/build/esm/{WhatsApp-e6cbb3d7.js → WhatsApp-f52e7a45.js} +1 -1
- package/build/esm/adapters.js +20 -20
- package/build/esm/atoms.js +50 -50
- package/build/esm/babyGrowth.js +85 -85
- package/build/esm/cache.js +2 -2
- package/build/esm/care/components/organisms/bookingSearchBarV2/index.d.ts +2 -1
- package/build/esm/care/components/organisms/bookingSearchBarV2/tabSearch/index.d.ts +2 -1
- package/build/esm/care.js +18 -18
- package/build/esm/careBookingSearchBar.js +14 -14
- package/build/esm/careBookingSearchBarV2.js +46 -48
- package/build/esm/components/molecules/embeddedHeathToolCards/helpers.d.ts +4 -0
- package/build/esm/components/molecules/healthTools/form/bmiForm/context.d.ts +1 -0
- package/build/esm/components/molecules/healthTools/form/bmiForm/index.d.ts +1 -1
- package/build/esm/components/navigationV2/components/molecules/menuCategoriesList/Item/index.d.ts +5 -0
- package/build/esm/components/navigationV2/components/molecules/menuCategoriesList/Item/index.styled.d.ts +7 -0
- package/build/esm/components/navigationV2/types.d.ts +10 -0
- package/build/esm/components/navigationV2/utils.d.ts +14 -0
- package/build/esm/components.js +103 -103
- package/build/esm/{constants-68442954.js → constants-5f6fa0d8.js} +1 -1
- package/build/esm/constants.js +3 -3
- package/build/esm/constantsDomainLocales.js +1 -1
- package/build/esm/constantsRiskScreener.js +2 -2
- package/build/esm/constantsSite.js +2 -2
- package/build/esm/{core-44616e6a.js → core-6275b986.js} +1 -1
- package/build/esm/{dataTransform-d43fdd1a.js → dataTransform-eec5e584.js} +1 -1
- package/build/esm/ecom.js +5 -5
- package/build/esm/{editor-30aa3ad6.js → editor-f73afea6.js} +11 -11
- package/build/esm/embeddedHeathToolCards_babyGrowth.js +24 -24
- package/build/esm/embeddedHeathToolCards_babyPoop.js +20 -20
- package/build/esm/embeddedHeathToolCards_babyVaccine.js +23 -23
- package/build/esm/embeddedHeathToolCards_bmi_bmi.js +26 -26
- package/build/esm/embeddedHeathToolCards_bmrBmr.js +26 -26
- package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +23 -23
- package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +23 -23
- package/build/esm/embeddedHeathToolCards_pwg_pwg.js +27 -27
- package/build/esm/embeddedHeathToolCards_targetHeartRate.js +28 -28
- package/build/esm/footer.js +22 -22
- package/build/esm/gAssets.js +2 -2
- package/build/esm/{healthTools-8d31ba4c.js → healthTools-1431e4b4.js} +1 -1
- package/build/esm/healthToolsCardWrapper.js +19 -19
- package/build/esm/healthToolsForm.js +34 -34
- package/build/esm/hooks.js +13 -13
- package/build/esm/i18n/translationKeys.d.ts +1 -1
- package/build/esm/i18n-values/en-PH.js +7 -0
- package/build/esm/i18n-values/hi-IN.js +7 -0
- package/build/esm/i18n-values/id-ID.js +7 -0
- package/build/esm/i18n-values/km-KH.js +7 -0
- package/build/esm/i18n-values/ms-MY.js +7 -0
- package/build/esm/i18n-values/my-MM.js +7 -0
- package/build/esm/i18n-values/th-TH.js +7 -0
- package/build/esm/i18n-values/tl-PH.js +7 -0
- package/build/esm/i18n-values/vi-VN.js +7 -0
- package/build/esm/i18n-values/vi-VN_MB.js +7 -0
- package/build/esm/i18n-values/zh-SG.js +7 -0
- package/build/esm/i18n-values/zh-TW.js +10 -3
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-62cad5ea.js → index-011585c5.js} +32 -32
- package/build/esm/{index-689e35a5.js → index-033aae54.js} +13 -13
- package/build/esm/index-09024936.js +207 -0
- package/build/esm/{index-58908973.js → index-0a5c217f.js} +9 -9
- package/build/esm/{index-e539fbcb.js → index-0ad840cc.js} +16 -16
- package/build/esm/{index-b967a2f5.js → index-1457df3c.js} +1 -1
- package/build/esm/{index-d50d23fa.js → index-14ddbaca.js} +2 -2
- package/build/esm/{index-7954bc16.js → index-191bb5e3.js} +339 -226
- package/build/esm/{index-bf012932.js → index-1f04f5cd.js} +6 -6
- package/build/esm/{index-b5a3b1e3.js → index-20707afb.js} +1 -1
- package/build/esm/{index-c81867e9.js → index-21547f9b.js} +17 -17
- package/build/esm/{index-47d3c758.js → index-27d4922c.js} +3 -3
- package/build/esm/{index-d830bd64.js → index-2870af04.js} +8 -8
- package/build/esm/{index-48b4a8da.js → index-296428c2.js} +2 -2
- package/build/esm/{index-176c6145.js → index-326ff299.js} +2 -2
- package/build/esm/{index-b79fc8a1.js → index-341ed865.js} +2 -2
- package/build/esm/{index-ef25e2e6.js → index-3fe05a17.js} +2 -2
- package/build/esm/{index-73f4d56a.js → index-43c88049.js} +2 -2
- package/build/esm/{index-0e69e754.js → index-48fced9b.js} +1 -1
- package/build/esm/{index-01c420c3.js → index-4a66a7c9.js} +2 -2
- package/build/esm/{index-5f94e77c.js → index-4ad33a18.js} +2 -2
- package/build/esm/{index-4dec57f9.js → index-5165f018.js} +32 -32
- package/build/esm/{index-c2e955e0.js → index-5179d870.js} +6 -6
- package/build/esm/{index-75316c1e.js → index-523c76b6.js} +13 -13
- package/build/esm/{index-472541a7.js → index-53bd2c80.js} +15 -15
- package/build/esm/{index-6757dd1d.js → index-55bfc6f0.js} +4 -4
- package/build/esm/{index-52825707.js → index-5d09fff6.js} +1 -1
- package/build/esm/{index-623e7f2c.js → index-602c10bf.js} +2 -2
- package/build/esm/{index-8e283493.js → index-63216e2a.js} +22 -22
- package/build/esm/{index-f91f9374.js → index-63d2f250.js} +3 -3
- package/build/esm/{index-59da60a7.js → index-64827257.js} +1 -1
- package/build/esm/{index-26bf6bd3.js → index-69465c7e.js} +3 -3
- package/build/esm/{index-89ad9053.js → index-6c0a8369.js} +5 -4
- package/build/esm/{index-0765c99d.js → index-7b4efb28.js} +2 -2
- package/build/esm/{index-2bfb2578.js → index-7dd06998.js} +6 -6
- package/build/esm/{index-50141363.js → index-7fedc0ef.js} +1 -1
- package/build/esm/{index-6e32904f.js → index-8f9ff5fc.js} +25 -25
- package/build/esm/{index-13586e44.js → index-92ea8383.js} +3 -3
- package/build/esm/{index-85894b46.js → index-94204073.js} +9 -9
- package/build/esm/{index-b0854ce5.js → index-9676d497.js} +2 -2
- package/build/esm/{index-5efeab14.js → index-9a3adb7b.js} +2 -2
- package/build/esm/{index-d7959b93.js → index-9e0b0aa0.js} +17 -17
- package/build/esm/{index-2dda251a.js → index-9f47f90d.js} +2 -2
- package/build/esm/{index-6c8bb941.js → index-a18a1879.js} +17 -17
- package/build/esm/{index-09db0e94.js → index-a45be0c7.js} +13 -13
- package/build/esm/{index-54914b2a.js → index-a4d8dbc0.js} +2 -2
- package/build/esm/{index-c802034c.js → index-ac6cb3b8.js} +11 -30
- package/build/esm/{index-5232f650.js → index-b47f6205.js} +20 -20
- package/build/esm/{index-4f2ea78b.js → index-b4c8b075.js} +7 -7
- package/build/esm/{index-efe47c94.js → index-b5a61389.js} +15 -15
- package/build/esm/{index-3b3f2f77.js → index-bb7e2e3c.js} +14 -13
- package/build/esm/{index-c01214fe.js → index-bcd359f3.js} +2 -2
- package/build/esm/{index-0a769c42.js → index-bd65bdb6.js} +13 -13
- package/build/esm/{index-7aeb3d7d.js → index-c3f8797c.js} +1 -1
- package/build/esm/{index-f65d577c.js → index-c68a533e.js} +2 -2
- package/build/esm/{index-9d2a8f4d.js → index-c8a1a131.js} +7 -7
- package/build/esm/{index-8d52f569.js → index-cae97dff.js} +21 -21
- package/build/esm/{index-206b9bef.js → index-cc305f99.js} +3 -3
- package/build/esm/{index-99a46d0d.js → index-d1e7fa3d.js} +5 -5
- package/build/esm/{index-cc8ccf46.js → index-d8e2d38e.js} +2 -2
- package/build/esm/{index-bdd4f96f.js → index-d8f13395.js} +13 -13
- package/build/esm/{index-e2a6f850.js → index-db4a401f.js} +6 -6
- package/build/esm/{index-7428f659.js → index-e0ef6db8.js} +16 -16
- package/build/esm/{index-6d667650.js → index-e90acae8.js} +11 -11
- package/build/esm/{index-9e6e8335.js → index-ea0f1051.js} +5 -5
- package/build/esm/{index-980f99fd.js → index-ea6106bd.js} +15 -15
- package/build/esm/{index-ea6fdd20.js → index-ea865493.js} +3 -3
- package/build/esm/{index-d1ad341c.js → index-f0d53ac2.js} +14 -14
- package/build/esm/{index-4ef48768.js → index-f31f28e1.js} +26 -26
- package/build/esm/{index-a106b9cb.js → index-fc84a739.js} +3 -3
- package/build/esm/{index-2076022b.js → index-fd60b159.js} +3 -3
- package/build/esm/index.js +124 -124
- package/build/esm/{labelSorting-72c7e85c.js → labelSorting-1dfefae2.js} +4 -4
- package/build/esm/lead.js +36 -36
- package/build/esm/{logoIcon-8eb95814.js → logoIcon-c8b46788.js} +2 -2
- package/build/esm/mantine.js +26 -26
- package/build/esm/misc.js +19 -19
- package/build/esm/miscGetDynamicHealthTool.js +4 -4
- package/build/esm/miscGetSocialList.js +8 -8
- package/build/esm/miscScreenSizeContext.js +1 -1
- package/build/esm/mobileBottomNavigation.js +5 -5
- package/build/esm/mobileBottomNavigationIcon.js +5 -5
- package/build/esm/molecules.js +77 -77
- package/build/esm/moleculesArticleCard.js +6 -6
- package/build/esm/moleculesArticleCardV2.js +17 -17
- package/build/esm/navigation.js +47 -47
- package/build/esm/navigationLogoutPopup.js +11 -11
- package/build/esm/navigationProfileButton.js +27 -27
- package/build/esm/onboardingV2.js +30 -30
- package/build/esm/organisms.js +57 -57
- package/build/esm/{post-012251c0.js → post-14b3b54f.js} +2 -2
- package/build/esm/profileNavigation.js +20 -20
- package/build/esm/progressBar.js +1 -1
- package/build/esm/pwg.js +23 -23
- package/build/esm/ssoV2.js +31 -31
- package/build/esm/{store-de1bfc44.js → store-13ef6e74.js} +3 -3
- package/build/esm/subot.js +37 -37
- package/build/esm/surveyOrPremiumBanner.js +34 -34
- package/build/esm/surveyQuestionCard.js +11 -11
- package/build/esm/{surveyThankyouCard-7fa6731d.js → surveyThankyouCard-997410e7.js} +5 -5
- package/build/esm/together.js +57 -57
- package/build/esm/togetherApiUtils.js +4 -4
- package/build/esm/togetherAtoms.js +31 -31
- package/build/esm/togetherComponentGlobalContext.js +4 -4
- package/build/esm/togetherMolecules.js +52 -52
- package/build/esm/togetherMoleculesCardAuthor.js +29 -29
- package/build/esm/togetherMoleculesPostImagePreview.js +11 -11
- package/build/esm/togetherMoleculesProfileDetail.js +40 -40
- package/build/esm/togetherOrganisms.js +51 -51
- package/build/esm/togetherRichTextEditor.js +18 -18
- package/build/esm/togetherShareBox.js +10 -10
- package/build/esm/{translationsProvider-d462a8ab.js → translationsProvider-dcc4d62b.js} +1 -1
- package/build/esm/{treePopoverMenu-6cabe5c3.js → treePopoverMenu-534afcf8.js} +19 -19
- package/build/esm/types.js +2 -2
- package/build/esm/{useHealthToolCache-b6025b32.js → useHealthToolCache-b63178ff.js} +1 -1
- package/build/esm/{usePhoneValidator-448d2161.js → usePhoneValidator-840edecb.js} +5 -5
- package/build/esm/{usePlacesAutocomplete-4bb4e161.js → usePlacesAutocomplete-3714e595.js} +1 -1
- package/build/esm/useTogetherAuthRequiredAction.js +10 -10
- package/build/esm/{utils-9480c800.js → utils-07e3ab93.js} +5 -5
- package/build/esm/{utils-b5b80f58.js → utils-1ca14c97.js} +2 -2
- package/build/esm/{utils-50327fb1.js → utils-4fd72289.js} +2 -2
- package/build/esm/{utils-766da2de.js → utils-cd8ba782.js} +3 -3
- package/build/esm/{utils-80afcb99.js → utils-fc7d0d7d.js} +1 -1
- package/build/esm/vaccination.js +22 -22
- package/build/footer.js +22 -22
- package/build/gAssets.js +2 -2
- package/build/{healthTools-3d8bcbfb.js → healthTools-bec8414b.js} +1 -1
- package/build/healthToolsCardWrapper.js +19 -19
- package/build/healthToolsForm.js +34 -34
- package/build/hooks.js +13 -13
- package/build/i18n/translationKeys.d.ts +1 -1
- package/build/i18n-values/en-PH.js +7 -0
- package/build/i18n-values/hi-IN.js +7 -0
- package/build/i18n-values/id-ID.js +7 -0
- package/build/i18n-values/km-KH.js +7 -0
- package/build/i18n-values/ms-MY.js +7 -0
- package/build/i18n-values/my-MM.js +7 -0
- package/build/i18n-values/th-TH.js +7 -0
- package/build/i18n-values/tl-PH.js +7 -0
- package/build/i18n-values/vi-VN.js +7 -0
- package/build/i18n-values/vi-VN_MB.js +7 -0
- package/build/i18n-values/zh-SG.js +7 -0
- package/build/i18n-values/zh-TW.js +10 -3
- package/build/i18n.js +2 -2
- package/build/i18nV2.js +1 -1
- package/build/{index-fcc313b5.js → index-02050d00.js} +4 -4
- package/build/{index-ce54f2cc.js → index-05d37808.js} +32 -32
- package/build/{index-cbea48d4.js → index-0b2b69fc.js} +6 -6
- package/build/{index-e0f647d1.js → index-0d47b185.js} +16 -16
- package/build/{index-07f21795.js → index-0f643834.js} +11 -30
- package/build/{index-6199d4c9.js → index-10f085e9.js} +15 -15
- package/build/{index-59de52c5.js → index-167b4f67.js} +11 -11
- package/build/{index-881089df.js → index-1a0f66a4.js} +15 -15
- package/build/{index-e1f2cfda.js → index-1a78668d.js} +14 -14
- package/build/{index-265a4e19.js → index-1f6c98e4.js} +1 -1
- package/build/{index-4870a37e.js → index-1fc45552.js} +3 -3
- package/build/{index-df85eb4f.js → index-26a35ab3.js} +13 -13
- package/build/{index-d22d99f1.js → index-2952ef30.js} +5 -4
- package/build/{index-2c04aff5.js → index-2e2320d5.js} +2 -2
- package/build/{index-de070f76.js → index-3079d639.js} +2 -2
- package/build/{index-ae031fa6.js → index-35041282.js} +20 -20
- package/build/{index-c88a15b0.js → index-359e599a.js} +7 -7
- package/build/{index-39350a42.js → index-378ce6d8.js} +1 -1
- package/build/{index-b4c1f59f.js → index-38610dda.js} +2 -2
- package/build/{index-2a28b6d9.js → index-3b13d28b.js} +13 -13
- package/build/{index-a20d76a9.js → index-3bac4159.js} +17 -17
- package/build/{index-e5dbd40e.js → index-44cafc35.js} +2 -2
- package/build/{index-d78a97ab.js → index-4b540111.js} +25 -25
- package/build/{index-505b1d6d.js → index-4ecc708d.js} +2 -2
- package/build/{index-ddb9f70e.js → index-4f4901ef.js} +15 -15
- package/build/{index-f245fc9d.js → index-515ec2da.js} +2 -2
- package/build/{index-f4721ca5.js → index-56a991f7.js} +2 -2
- package/build/{index-6782d333.js → index-5905554c.js} +13 -13
- package/build/{index-ef2aecbb.js → index-5aa58551.js} +22 -22
- package/build/{index-9c679fe3.js → index-62962bcd.js} +17 -17
- package/build/{index-42f7dc62.js → index-6485416f.js} +14 -13
- package/build/{index-d17e8880.js → index-68e72fb0.js} +2 -2
- package/build/{index-a79cb92d.js → index-743a7542.js} +2 -2
- package/build/{index-56eb0cbb.js → index-75bb7acd.js} +2 -2
- package/build/{index-1dcdb312.js → index-80e5eb4a.js} +6 -6
- package/build/{index-230f438f.js → index-8128ad91.js} +8 -8
- package/build/index-81fc112f.js +213 -0
- package/build/{index-bf412e77.js → index-85844168.js} +17 -17
- package/build/{index-de177d58.js → index-8aa0eefe.js} +3 -3
- package/build/{index-915e37e3.js → index-8c59d04c.js} +2 -2
- package/build/{index-88d01c13.js → index-8f425df7.js} +26 -26
- package/build/{index-0db0741a.js → index-97177e19.js} +3 -3
- package/build/{index-9d1e4d5a.js → index-a02ac8e8.js} +32 -32
- package/build/{index-931e5c64.js → index-a14a933c.js} +16 -16
- package/build/{index-6a961c75.js → index-a608d70c.js} +5 -5
- package/build/{index-53717590.js → index-a8acf5b5.js} +1 -1
- package/build/{index-a85ac47f.js → index-aaf078ac.js} +1 -1
- package/build/{index-7f3b90c3.js → index-b04908bf.js} +1 -1
- package/build/{index-31a6d507.js → index-b715f592.js} +6 -6
- package/build/{index-f8ac1bf2.js → index-c0083606.js} +1 -1
- package/build/{index-ef1b650e.js → index-c0315715.js} +2 -2
- package/build/{index-f28e34d9.js → index-cb1024b8.js} +5 -5
- package/build/{index-aaaea7c1.js → index-cb14a9dc.js} +8 -8
- package/build/{index-dc205198.js → index-cbebb87e.js} +3 -3
- package/build/{index-d74c3072.js → index-d395161d.js} +2 -2
- package/build/{index-55f9c668.js → index-d3b61b31.js} +3 -3
- package/build/{index-09854086.js → index-d5e59cc1.js} +342 -229
- package/build/{index-12319903.js → index-d8b7b7c8.js} +2 -2
- package/build/{index-65b55bb1.js → index-d978efdd.js} +3 -3
- package/build/{index-30599a41.js → index-dbe81403.js} +13 -13
- package/build/{index-d28a3eaa.js → index-e161ca2e.js} +2 -2
- package/build/{index-f34a04cd.js → index-e53ca5e8.js} +7 -7
- package/build/{index-da2c5878.js → index-e9eecc93.js} +1 -1
- package/build/{index-38b56ca0.js → index-edff4458.js} +3 -3
- package/build/{index-8e8d2c4e.js → index-f4f1f9fc.js} +21 -21
- package/build/{index-b9744f83.js → index-f7c90d4b.js} +6 -6
- package/build/{index-8341a85f.js → index-f8bcbae7.js} +3 -3
- package/build/{index-f63bff2e.js → index-f9082c79.js} +2 -2
- package/build/{index-632f6242.js → index-fa93d808.js} +13 -13
- package/build/{index-19db08d3.js → index-fb092414.js} +9 -9
- package/build/{index-d6d389d5.js → index-fb50037f.js} +2 -2
- package/build/index.js +124 -124
- package/build/{labelSorting-9ffbfef0.js → labelSorting-70baac48.js} +4 -4
- package/build/lead.js +36 -36
- package/build/{logoIcon-77792f69.js → logoIcon-a70f51a2.js} +2 -2
- package/build/mantine.js +24 -24
- package/build/misc.js +19 -19
- package/build/miscGetDynamicHealthTool.js +4 -4
- package/build/miscGetSocialList.js +8 -8
- package/build/miscScreenSizeContext.js +1 -1
- package/build/mobileBottomNavigation.js +5 -5
- package/build/mobileBottomNavigationIcon.js +5 -5
- package/build/molecules.js +77 -77
- package/build/moleculesArticleCard.js +6 -6
- package/build/moleculesArticleCardV2.js +17 -17
- package/build/navigation.js +47 -47
- package/build/navigationLogoutPopup.js +11 -11
- package/build/navigationProfileButton.js +27 -27
- package/build/onboardingV2.js +29 -29
- package/build/organisms.js +57 -57
- package/build/{post-f8bebecf.js → post-6e58d107.js} +2 -2
- package/build/profileNavigation.js +20 -20
- package/build/progressBar.js +1 -1
- package/build/pwg.js +23 -23
- package/build/ssoV2.js +29 -29
- package/build/{store-0ef81ac8.js → store-f82fa8bf.js} +3 -3
- package/build/subot.js +36 -36
- package/build/surveyOrPremiumBanner.js +34 -34
- package/build/surveyQuestionCard.js +11 -11
- package/build/{surveyThankyouCard-043fcdfe.js → surveyThankyouCard-aa078f53.js} +5 -5
- package/build/together.js +57 -57
- package/build/togetherApiUtils.js +4 -4
- package/build/togetherAtoms.js +31 -31
- package/build/togetherComponentGlobalContext.js +4 -4
- package/build/togetherMolecules.js +52 -52
- package/build/togetherMoleculesCardAuthor.js +29 -29
- package/build/togetherMoleculesPostImagePreview.js +11 -11
- package/build/togetherMoleculesProfileDetail.js +40 -40
- package/build/togetherOrganisms.js +51 -51
- package/build/togetherRichTextEditor.js +18 -18
- package/build/togetherShareBox.js +10 -10
- package/build/{translationsProvider-56b09602.js → translationsProvider-3b00eb52.js} +1 -1
- package/build/{treePopoverMenu-f2a3f062.js → treePopoverMenu-5529c23b.js} +19 -19
- package/build/types.js +2 -2
- package/build/{useHealthToolCache-e2349f7c.js → useHealthToolCache-3076b5c8.js} +1 -1
- package/build/{usePhoneValidator-9fde44ba.js → usePhoneValidator-e9add5f4.js} +5 -5
- package/build/{usePlacesAutocomplete-58b6d3b2.js → usePlacesAutocomplete-65e2fbad.js} +1 -1
- package/build/useTogetherAuthRequiredAction.js +10 -10
- package/build/{utils-8834e04e.js → utils-5c52fed4.js} +2 -2
- package/build/{utils-e739a670.js → utils-6767deba.js} +5 -5
- package/build/{utils-a6d1698a.js → utils-a1aae294.js} +2 -2
- package/build/{utils-9137d090.js → utils-d77f3661.js} +3 -3
- package/build/{utils-b8c2d5f2.js → utils-fe24c3a5.js} +1 -1
- package/build/vaccination.js +22 -22
- package/package.json +1 -1
- package/build/esm/index-b1e6d0d1.js +0 -149
- package/build/index-b1eee79c.js +0 -155
- /package/build/{BMI_BOYS.percentile.monthly-ce3809ba.js → BMI_BOYS.percentile.monthly-da7c2b76.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-78d35760.js → BMI_BOYS.percentile.weekly-36e93144.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-5a647f21.js → BMI_BOYS.percentile.yearly-b952ddf7.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-51c41d06.js → BMI_BOYS.zscore.monthly-393a3d0f.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-a027c001.js → BMI_BOYS.zscore.weekly-5db3f066.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-b0dc31fe.js → BMI_BOYS.zscore.yearly-7745b164.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-5cc2bce0.js → BMI_GIRLS.percentile.monthly-f619936d.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-c9de3fbd.js → BMI_GIRLS.percentile.weekly-43f28507.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-c9fcfd04.js → BMI_GIRLS.percentile.yearly-92385aba.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-ab34391f.js → BMI_GIRLS.zscore.monthly-9e4ea35e.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-65cf6a62.js → BMI_GIRLS.zscore.weekly-0e323025.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-d9119e98.js → BMI_GIRLS.zscore.yearly-da246490.js} +0 -0
- /package/build/{ChevronDown-e4525f19.js → ChevronDown-369694d8.js} +0 -0
- /package/build/{Close-0e7526fe.js → Close-9f01c61d.js} +0 -0
- /package/build/{Google-58e9167c.js → Google-af0c19bf.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-9205451a.js → HEAD CIRCUM_BOYS.percentile.monthly-956f83e6.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-51dcf96d.js → HEAD CIRCUM_BOYS.percentile.weekly-ba3b863d.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-63177395.js → HEAD CIRCUM_BOYS.percentile.yearly-91db46be.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-ba10a62c.js → HEAD CIRCUM_BOYS.zscore.monthly-531da531.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-4bb526b9.js → HEAD CIRCUM_BOYS.zscore.weekly-57510036.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-d7a4ab21.js → HEAD CIRCUM_BOYS.zscore.yearly-6afd8845.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-b5f612d0.js → HEAD CIRCUM_GIRLS.percentile.monthly-863a0376.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-4b36a997.js → HEAD CIRCUM_GIRLS.percentile.weekly-93f2ea69.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-5a550f83.js → HEAD CIRCUM_GIRLS.percentile.yearly-d1c36e4d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-f64f370d.js → HEAD CIRCUM_GIRLS.zscore.monthly-429cb164.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-51a8ba5e.js → HEAD CIRCUM_GIRLS.zscore.weekly-71f3821f.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-d9c182b3.js → HEAD CIRCUM_GIRLS.zscore.yearly-79c4b04a.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-f68e5eab.js → HEIGHT_BOYS.percentile.monthly-3456f0cb.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-914462c2.js → HEIGHT_BOYS.percentile.weekly-ae85b9f6.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-281e01c1.js → HEIGHT_BOYS.percentile.yearly-8a6980b6.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-41b1f57a.js → HEIGHT_BOYS.zscore.monthly-950d77f5.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-bce2de25.js → HEIGHT_BOYS.zscore.weekly-69ee9724.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-72c4b64c.js → HEIGHT_BOYS.zscore.yearly-47710590.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-af10bb78.js → HEIGHT_GIRLS.percentile.monthly-ae799e77.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-557ba737.js → HEIGHT_GIRLS.percentile.weekly-32a1b779.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-5d7be953.js → HEIGHT_GIRLS.percentile.yearly-f7775162.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-ad6cf645.js → HEIGHT_GIRLS.zscore.monthly-e7a27f99.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-e05a8a39.js → HEIGHT_GIRLS.zscore.weekly-b6a8df2e.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-89763cff.js → HEIGHT_GIRLS.zscore.yearly-96f03702.js} +0 -0
- /package/build/{Locale-b35b0a4c.js → Locale-0044edae.js} +0 -0
- /package/build/{Visible-4bc73de5.js → Visible-1fb79422.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-d588f52b.js → WEIGHT_BOYS.percentile.monthly-1ef5a5e4.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-134a22e1.js → WEIGHT_BOYS.percentile.weekly-84862d51.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-046bc901.js → WEIGHT_BOYS.percentile.yearly-6c6cb991.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-6343c788.js → WEIGHT_BOYS.zscore.monthly-ca2ace12.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-95513544.js → WEIGHT_BOYS.zscore.weekly-21ba294f.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-59a6e517.js → WEIGHT_BOYS.zscore.yearly-54b72eec.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-5ae1dff3.js → WEIGHT_GIRLS.percentile.monthly-a0e6d915.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-27df29a9.js → WEIGHT_GIRLS.percentile.weekly-937afb81.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-3eb0a95c.js → WEIGHT_GIRLS.percentile.yearly-94d8c774.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-7658abd8.js → WEIGHT_GIRLS.zscore.monthly-4d54288d.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-6cc2557f.js → WEIGHT_GIRLS.zscore.weekly-9a8824c8.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-87b18cd1.js → WEIGHT_GIRLS.zscore.yearly-88d3858b.js} +0 -0
- /package/build/{ageGenerate-cf978c22.js → ageGenerate-7f00a24f.js} +0 -0
- /package/build/{animation-6cf72a84.js → animation-2b332b85.js} +0 -0
- /package/build/{constants-e8cf502b.js → constants-2d7796a3.js} +0 -0
- /package/build/{constants-86f7b021.js → constants-7429c104.js} +0 -0
- /package/build/{constants-c6f7152d.js → constants-e864d238.js} +0 -0
- /package/build/{dataTransform-ee6c1539.js → dataTransform-baee4b15.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-40441275.js → BMI_BOYS.percentile.monthly-9184c751.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-a6ec9c11.js → BMI_BOYS.percentile.weekly-084e4f49.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-8972669c.js → BMI_BOYS.percentile.yearly-8dc0713a.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-8963a5f4.js → BMI_BOYS.zscore.monthly-f545316c.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-ca568aae.js → BMI_BOYS.zscore.weekly-98c25b46.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-a12439e1.js → BMI_BOYS.zscore.yearly-01dee79f.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-d5483c9e.js → BMI_GIRLS.percentile.monthly-94532077.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-a376069b.js → BMI_GIRLS.percentile.weekly-f1026864.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-2eb8acbc.js → BMI_GIRLS.percentile.yearly-d804fa32.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-e367c711.js → BMI_GIRLS.zscore.monthly-cf005b96.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-e1ca0aa3.js → BMI_GIRLS.zscore.weekly-2676a2ff.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-c2901b95.js → BMI_GIRLS.zscore.yearly-8e42dcac.js} +0 -0
- /package/build/esm/{ChevronDown-068736f0.js → ChevronDown-d71f0d8d.js} +0 -0
- /package/build/esm/{Close-7bb48333.js → Close-94e1dd74.js} +0 -0
- /package/build/esm/{Google-3c433d7f.js → Google-8b33e0a6.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-002461b0.js → HEAD CIRCUM_BOYS.percentile.monthly-20d3e265.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-3834e91d.js → HEAD CIRCUM_BOYS.percentile.weekly-403a59ba.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-25a59ddf.js → HEAD CIRCUM_BOYS.percentile.yearly-c4137552.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-be3dc7b3.js → HEAD CIRCUM_BOYS.zscore.monthly-925586b0.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-3df397e8.js → HEAD CIRCUM_BOYS.zscore.weekly-d044cfd3.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-31f6f30f.js → HEAD CIRCUM_BOYS.zscore.yearly-a28edab0.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-71b3efb8.js → HEAD CIRCUM_GIRLS.percentile.monthly-d02ec7be.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-72fb84d7.js → HEAD CIRCUM_GIRLS.percentile.weekly-3b855990.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-f2b9a2ca.js → HEAD CIRCUM_GIRLS.percentile.yearly-b3d836c4.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-8d9a727c.js → HEAD CIRCUM_GIRLS.zscore.monthly-ac065b18.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-6b3b77c4.js → HEAD CIRCUM_GIRLS.zscore.weekly-3f4572e0.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-0cb2b413.js → HEAD CIRCUM_GIRLS.zscore.yearly-e102092b.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-67cf78bf.js → HEIGHT_BOYS.percentile.monthly-d73c85ea.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-a50f523e.js → HEIGHT_BOYS.percentile.weekly-302379a2.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-2124968e.js → HEIGHT_BOYS.percentile.yearly-f6572e0b.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-8aa6c4b6.js → HEIGHT_BOYS.zscore.monthly-fd27fe99.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-a17466d7.js → HEIGHT_BOYS.zscore.weekly-9192bed9.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-12daea7f.js → HEIGHT_BOYS.zscore.yearly-71b530ef.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-fb440fea.js → HEIGHT_GIRLS.percentile.monthly-af02014f.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-a93a99a9.js → HEIGHT_GIRLS.percentile.weekly-b2a5a5f7.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-09dc9fd9.js → HEIGHT_GIRLS.percentile.yearly-9e9a266e.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-09605dba.js → HEIGHT_GIRLS.zscore.monthly-a2aba2cb.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-58598b18.js → HEIGHT_GIRLS.zscore.weekly-bb990188.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-b7b3d01e.js → HEIGHT_GIRLS.zscore.yearly-8cc6c8ae.js} +0 -0
- /package/build/esm/{Locale-4ae68452.js → Locale-bb880082.js} +0 -0
- /package/build/esm/{Visible-1b567464.js → Visible-9f993273.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-97f22c05.js → WEIGHT_BOYS.percentile.monthly-90a3d8e3.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-e342ec15.js → WEIGHT_BOYS.percentile.weekly-bc87a6a9.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-a032d854.js → WEIGHT_BOYS.percentile.yearly-bd508a21.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-65dd93ff.js → WEIGHT_BOYS.zscore.monthly-5af3f0c4.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-d52cfec8.js → WEIGHT_BOYS.zscore.weekly-cda0dcfc.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-81f5e0da.js → WEIGHT_BOYS.zscore.yearly-3fe3b97a.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-50d8b9e9.js → WEIGHT_GIRLS.percentile.monthly-41457971.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-176c3358.js → WEIGHT_GIRLS.percentile.weekly-c131ca9d.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-7885114a.js → WEIGHT_GIRLS.percentile.yearly-b786c053.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-f9314af0.js → WEIGHT_GIRLS.zscore.monthly-9b5cdd06.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-3331ca0f.js → WEIGHT_GIRLS.zscore.weekly-a99e121a.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-239ffb74.js → WEIGHT_GIRLS.zscore.yearly-5c37a8d5.js} +0 -0
- /package/build/esm/{ageGenerate-dab5fce5.js → ageGenerate-5497e5d7.js} +0 -0
- /package/build/esm/{animation-86d8094f.js → animation-ead41901.js} +0 -0
- /package/build/esm/{constants-27521278.js → constants-024f4863.js} +0 -0
- /package/build/esm/{constants-e72098ce.js → constants-78e39ac0.js} +0 -0
- /package/build/esm/{constants-ebbd4a69.js → constants-bddfc09c.js} +0 -0
- /package/build/esm/{dataTransform-496d68bd.js → dataTransform-5633492b.js} +0 -0
- /package/build/esm/{index-94baa100.js → index-140dcef4.js} +0 -0
- /package/build/esm/{index-3e2f300a.js → index-24fb3416.js} +0 -0
- /package/build/esm/{index-21c0f6e6.js → index-263a763c.js} +0 -0
- /package/build/esm/{index-7e25eace.js → index-39d9811c.js} +0 -0
- /package/build/esm/{index-f8e98880.js → index-47741b88.js} +0 -0
- /package/build/esm/{index-f59d4d8a.js → index-a35d5bd3.js} +0 -0
- /package/build/esm/{index-e97a55a1.js → index-af7af639.js} +0 -0
- /package/build/esm/{index-4cd8b0f6.js → index-c29fad1a.js} +0 -0
- /package/build/esm/{index.styles-590ff17d.js → index.styles-e737cd1b.js} +0 -0
- /package/build/esm/{localizeNumberFormat-267bdf98.js → localizeNumberFormat-24b8e33f.js} +0 -0
- /package/build/esm/{normalizeLink-fdde228f.js → normalizeLink-5a2e92c9.js} +0 -0
- /package/build/esm/{number-3ea886ef.js → number-a224c433.js} +0 -0
- /package/build/esm/{paths-012e6e0e.js → paths-eaeaed07.js} +0 -0
- /package/build/esm/{shared-c74f5553.js → shared-16fcefec.js} +0 -0
- /package/build/esm/{text-6f2656a6.js → text-db324baf.js} +0 -0
- /package/build/esm/{translationsContext-59e5652c.js → translationsContext-581baa38.js} +0 -0
- /package/build/esm/{tslib.es6-5a49ecfc.js → tslib.es6-91093dfb.js} +0 -0
- /package/build/esm/{types-4964ad63.js → types-171a9859.js} +0 -0
- /package/build/esm/{types-e92eb45b.js → types-60c723b6.js} +0 -0
- /package/build/esm/{useIsInit-b90ecc6e.js → useIsInit-e24533db.js} +0 -0
- /package/build/esm/{useOutsideClick-375c11e9.js → useOutsideClick-74eb5151.js} +0 -0
- /package/build/esm/{useScrollbarSize-7e9ecaa8.js → useScrollbarSize-7bb8c325.js} +0 -0
- /package/build/esm/{useUniqueId-e98a7e5c.js → useUniqueId-ccd8c09f.js} +0 -0
- /package/build/esm/{utils-05e3b4d6.js → utils-54809471.js} +0 -0
- /package/build/{index-adb5909a.js → index-0ed1aa76.js} +0 -0
- /package/build/{index-8c027c97.js → index-140042b2.js} +0 -0
- /package/build/{index-8b9b85a9.js → index-234e9365.js} +0 -0
- /package/build/{index-4a27456a.js → index-7fd03876.js} +0 -0
- /package/build/{index-fd0f8117.js → index-bd2ba244.js} +0 -0
- /package/build/{index-7baedd26.js → index-e198e2af.js} +0 -0
- /package/build/{index-ba94aaa4.js → index-e4fb4d26.js} +0 -0
- /package/build/{index-bf57499f.js → index-f0d40aad.js} +0 -0
- /package/build/{index.styles-c7f5e0dc.js → index.styles-9aebaca8.js} +0 -0
- /package/build/{localizeNumberFormat-77ecfc43.js → localizeNumberFormat-660b2913.js} +0 -0
- /package/build/{normalizeLink-2cee64ac.js → normalizeLink-25e0ec54.js} +0 -0
- /package/build/{number-b0514703.js → number-931b087a.js} +0 -0
- /package/build/{paths-fbc086ac.js → paths-d9348f30.js} +0 -0
- /package/build/{shared-d3336c48.js → shared-25c64a9a.js} +0 -0
- /package/build/{text-e637affa.js → text-4cc51fce.js} +0 -0
- /package/build/{translationsContext-69b4e29c.js → translationsContext-8aeaf409.js} +0 -0
- /package/build/{tslib.es6-9b06c729.js → tslib.es6-a0b3636d.js} +0 -0
- /package/build/{types-959011e5.js → types-3d622f17.js} +0 -0
- /package/build/{types-c86d703c.js → types-5819aa24.js} +0 -0
- /package/build/{useIsInit-5355be57.js → useIsInit-de483edb.js} +0 -0
- /package/build/{useOutsideClick-382457e5.js → useOutsideClick-f9988d3a.js} +0 -0
- /package/build/{useScrollbarSize-89b7608c.js → useScrollbarSize-c962bd7f.js} +0 -0
- /package/build/{useUniqueId-349868ac.js → useUniqueId-d4842b12.js} +0 -0
- /package/build/{utils-3ea8ef9f.js → utils-2a996ffd.js} +0 -0
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require('./tslib.es6-
|
|
3
|
+
var tslib_es6 = require('./tslib.es6-a0b3636d.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var index$
|
|
6
|
-
var index$8 = require('./index-
|
|
7
|
-
var index$3 = require('./index-
|
|
8
|
-
var normalizeLink = require('./normalizeLink-
|
|
9
|
-
var dataTransform = require('./dataTransform-
|
|
5
|
+
var index$a = require('./index-c0083606.js');
|
|
6
|
+
var index$8 = require('./index-0f643834.js');
|
|
7
|
+
var index$3 = require('./index-d8b7b7c8.js');
|
|
8
|
+
var normalizeLink = require('./normalizeLink-25e0ec54.js');
|
|
9
|
+
var dataTransform = require('./dataTransform-d30942f7.js');
|
|
10
10
|
var core = require('@hhgtech/icons/core');
|
|
11
|
-
require('./translationsContext-
|
|
11
|
+
require('./translationsContext-8aeaf409.js');
|
|
12
12
|
var styled = require('@emotion/styled');
|
|
13
|
-
var index = require('./index-
|
|
13
|
+
var index = require('./index-8128ad91.js');
|
|
14
14
|
var miscTheme = require('./miscTheme.js');
|
|
15
|
-
var navigationProfileButton = require('./index-
|
|
15
|
+
var navigationProfileButton = require('./index-167b4f67.js');
|
|
16
16
|
var other = require('@hhgtech/icons/other');
|
|
17
17
|
var core$1 = require('@mantine/core');
|
|
18
|
-
var index$d = require('./index-
|
|
18
|
+
var index$d = require('./index-80e5eb4a.js');
|
|
19
19
|
var throttle = require('lodash/throttle');
|
|
20
20
|
require('@mantine/dates');
|
|
21
|
-
var index$5 = require('./index-
|
|
22
|
-
require('./index-
|
|
23
|
-
var index$4 = require('./index-
|
|
24
|
-
var index$2 = require('./index-
|
|
25
|
-
require('./index.styles-
|
|
21
|
+
var index$5 = require('./index-7fd03876.js');
|
|
22
|
+
require('./index-cb14a9dc.js');
|
|
23
|
+
var index$4 = require('./index-4ecc708d.js');
|
|
24
|
+
var index$2 = require('./index-edff4458.js');
|
|
25
|
+
require('./index.styles-9aebaca8.js');
|
|
26
26
|
require('@mantine/hooks');
|
|
27
|
-
require('./text-
|
|
28
|
-
var utils = require('./utils-
|
|
29
|
-
require('./index-
|
|
30
|
-
var constants = require('./constants-
|
|
31
|
-
var store = require('./store-
|
|
32
|
-
var constants$1 = require('./constants-
|
|
33
|
-
var index$1 = require('./index-
|
|
34
|
-
var index$7 = require('./index-
|
|
35
|
-
var index$6 = require('./index-
|
|
36
|
-
var useIsInit = require('./useIsInit-
|
|
27
|
+
require('./text-4cc51fce.js');
|
|
28
|
+
var utils = require('./utils-2a996ffd.js');
|
|
29
|
+
require('./index-cbebb87e.js');
|
|
30
|
+
var constants = require('./constants-9576ed38.js');
|
|
31
|
+
var store = require('./store-f82fa8bf.js');
|
|
32
|
+
var constants$1 = require('./constants-e864d238.js');
|
|
33
|
+
var index$1 = require('./index-aaf078ac.js');
|
|
34
|
+
var index$7 = require('./index-743a7542.js');
|
|
35
|
+
var index$6 = require('./index-b04908bf.js');
|
|
36
|
+
var useIsInit = require('./useIsInit-de483edb.js');
|
|
37
37
|
var miscDefaultClassWrapper = require('./miscDefaultClassWrapper.js');
|
|
38
|
-
var index$9 = require('./index-
|
|
39
|
-
var dayjs = require('dayjs');
|
|
40
|
-
var relativeTime = require('dayjs/plugin/relativeTime');
|
|
41
|
-
var index$a = require('./index-e5dbd40e.js');
|
|
38
|
+
var index$9 = require('./index-75bb7acd.js');
|
|
42
39
|
var formatString = require('string-format');
|
|
43
40
|
var constantsDomainLocales = require('./constantsDomainLocales.js');
|
|
44
|
-
var
|
|
41
|
+
var dayjs = require('dayjs');
|
|
42
|
+
var relativeTime = require('dayjs/plugin/relativeTime');
|
|
43
|
+
var index$b = require('./index-44cafc35.js');
|
|
44
|
+
var index$c = require('./index-234e9365.js');
|
|
45
45
|
var debounce = require('lodash/debounce');
|
|
46
|
-
var Locale = require('./Locale-
|
|
47
|
-
var core$2 = require('./core-
|
|
46
|
+
var Locale = require('./Locale-0044edae.js');
|
|
47
|
+
var core$2 = require('./core-d40a3728.js');
|
|
48
48
|
|
|
49
49
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
50
50
|
|
|
51
51
|
var React__default = /*#__PURE__*/_interopDefault(React);
|
|
52
52
|
var styled__default = /*#__PURE__*/_interopDefault(styled);
|
|
53
53
|
var throttle__default = /*#__PURE__*/_interopDefault(throttle);
|
|
54
|
+
var formatString__default = /*#__PURE__*/_interopDefault(formatString);
|
|
54
55
|
var dayjs__default = /*#__PURE__*/_interopDefault(dayjs);
|
|
55
56
|
var relativeTime__default = /*#__PURE__*/_interopDefault(relativeTime);
|
|
56
|
-
var formatString__default = /*#__PURE__*/_interopDefault(formatString);
|
|
57
57
|
var debounce__default = /*#__PURE__*/_interopDefault(debounce);
|
|
58
58
|
|
|
59
59
|
const StyleInput = styled__default["default"](index.Input) `
|
|
@@ -834,11 +834,252 @@ const StyledContainerItems$4 = styled__default["default"].div `
|
|
|
834
834
|
}
|
|
835
835
|
`;
|
|
836
836
|
|
|
837
|
+
const TOGETHER_PATHS = {
|
|
838
|
+
COMMUNITIES: 'community?website_url={websiteUrl}',
|
|
839
|
+
MENU_TOPIC: 'topic?community_id={communityId}&website_url={websiteUrl}',
|
|
840
|
+
GET_USER_POSTS: 'profile/posts?website_url={websiteUrl}',
|
|
841
|
+
};
|
|
842
|
+
const Z_INDEX = {
|
|
843
|
+
adBlock: 48,
|
|
844
|
+
headerContainerHome: 99,
|
|
845
|
+
headerContainerPopup: 300,
|
|
846
|
+
headerContainerPopupSUbLevel: 400,
|
|
847
|
+
menuCategoryPopupWrapper: 200,
|
|
848
|
+
menuCategoryPopupContainer: 210,
|
|
849
|
+
menuSearchInputPopup: 5,
|
|
850
|
+
menuSearchInputDisplayIcon: 6,
|
|
851
|
+
menuSearchPopup: 300,
|
|
852
|
+
homeSearchComponent: 200,
|
|
853
|
+
};
|
|
854
|
+
|
|
855
|
+
const formatSponsor = (sponsor) => {
|
|
856
|
+
if (!sponsor)
|
|
857
|
+
return {};
|
|
858
|
+
return {
|
|
859
|
+
title: sponsor.title,
|
|
860
|
+
logo: sponsor.logo,
|
|
861
|
+
link: sponsor.link,
|
|
862
|
+
};
|
|
863
|
+
};
|
|
864
|
+
const formatReviewedCategory = (data) => {
|
|
865
|
+
return {
|
|
866
|
+
postTitle: data.post_title,
|
|
867
|
+
permalink: data.permalink,
|
|
868
|
+
};
|
|
869
|
+
};
|
|
870
|
+
const formatFaqsCategory = (data) => {
|
|
871
|
+
return {
|
|
872
|
+
title: data.title,
|
|
873
|
+
content: data.content,
|
|
874
|
+
};
|
|
875
|
+
};
|
|
876
|
+
const formatCategory = (category) => {
|
|
877
|
+
var _a, _b;
|
|
878
|
+
if (!category)
|
|
879
|
+
return {};
|
|
880
|
+
return {
|
|
881
|
+
termId: category.term_id || null,
|
|
882
|
+
sponsor: category.sponsor ? formatSponsor(category.sponsor) : null,
|
|
883
|
+
isSponsored: category.is_sponsored || null,
|
|
884
|
+
categoryName: category.cat_name || category.name || null,
|
|
885
|
+
name: category.name || null,
|
|
886
|
+
iconUrl: category.icon || '',
|
|
887
|
+
slugName: category.category_nicename || null,
|
|
888
|
+
description: category.description || null,
|
|
889
|
+
featureImage: category.thumbnail || category.image || null,
|
|
890
|
+
displayName: category.name || null,
|
|
891
|
+
parent: category.parent || null,
|
|
892
|
+
permalink: category.permalink || null,
|
|
893
|
+
slug: category.slug || null,
|
|
894
|
+
childCates: ((_a = category.child_cates) === null || _a === void 0 ? void 0 : _a.map((childCate) => {
|
|
895
|
+
return formatCategory(childCate);
|
|
896
|
+
})) || [],
|
|
897
|
+
thumnailColor: category.thumnail_color ||
|
|
898
|
+
['#FFEAF1', '#E0E9FB', '#FFF9EB', '#F2FCF7', '#F3F3F3'][(Math.random() * 5) | 0],
|
|
899
|
+
colorFeatureImage: category.color_feature_image || null,
|
|
900
|
+
imageColor: category.image_color || null,
|
|
901
|
+
textColor: category.text_color || null,
|
|
902
|
+
catParent: ((_b = category.cat_parent) === null || _b === void 0 ? void 0 : _b.name)
|
|
903
|
+
? {
|
|
904
|
+
name: category.cat_parent.name,
|
|
905
|
+
permalink: category.cat_parent.permalink,
|
|
906
|
+
}
|
|
907
|
+
: {},
|
|
908
|
+
metaTag: category.meta_tag || '',
|
|
909
|
+
reviewedBy: category.reviewed_by
|
|
910
|
+
? formatReviewedCategory(category.reviewed_by)
|
|
911
|
+
: null,
|
|
912
|
+
reviewedDate: category.reviewed_date || '',
|
|
913
|
+
faqs: category.faqs
|
|
914
|
+
? category.faqs.map((faq) => formatFaqsCategory(faq))
|
|
915
|
+
: null,
|
|
916
|
+
customizedUrl: category.customized_url || null,
|
|
917
|
+
};
|
|
918
|
+
};
|
|
919
|
+
const formatHealthTool = (healthTool) => {
|
|
920
|
+
var _a, _b;
|
|
921
|
+
if (!healthTool)
|
|
922
|
+
return {};
|
|
923
|
+
const isBot = (_a = healthTool.link) === null || _a === void 0 ? void 0 : _a.includes('/bot/');
|
|
924
|
+
const hasFilPrefix = (_b = healthTool.link) === null || _b === void 0 ? void 0 : _b.startsWith('/fil/');
|
|
925
|
+
const link = healthTool.link
|
|
926
|
+
? healthTool.link.startsWith('http')
|
|
927
|
+
? healthTool.link
|
|
928
|
+
: isBot
|
|
929
|
+
? healthTool.link
|
|
930
|
+
: hasFilPrefix
|
|
931
|
+
? healthTool.link
|
|
932
|
+
.replace('/health-tools/', '/')
|
|
933
|
+
.replace('/fil/', '/fil/health-tools/')
|
|
934
|
+
: `/health-tools${healthTool.link.replace('/health-tools/', '/')}`
|
|
935
|
+
: undefined;
|
|
936
|
+
return {
|
|
937
|
+
icon: healthTool.icon,
|
|
938
|
+
link,
|
|
939
|
+
subtitle: healthTool.subtitle,
|
|
940
|
+
title: healthTool.title,
|
|
941
|
+
isMobileAppTool: !!(healthTool === null || healthTool === void 0 ? void 0 : healthTool.is_mobile_app_tool),
|
|
942
|
+
};
|
|
943
|
+
};
|
|
944
|
+
const formatSpecialties = (specialties) => {
|
|
945
|
+
var _a, _b, _c, _d, _e;
|
|
946
|
+
if (!specialties || !(specialties === null || specialties === void 0 ? void 0 : specialties.object_id))
|
|
947
|
+
return {};
|
|
948
|
+
return {
|
|
949
|
+
thumbnail: ((_a = specialties === null || specialties === void 0 ? void 0 : specialties.object_id) === null || _a === void 0 ? void 0 : _a.logo) || '',
|
|
950
|
+
link: ((_b = specialties === null || specialties === void 0 ? void 0 : specialties.object_id) === null || _b === void 0 ? void 0 : _b.slug) || '',
|
|
951
|
+
subtitle: ((_c = specialties.object_id) === null || _c === void 0 ? void 0 : _c.name) || '',
|
|
952
|
+
name: ((_d = specialties.object_id) === null || _d === void 0 ? void 0 : _d.name) || '',
|
|
953
|
+
slug: ((_e = specialties.object_id) === null || _e === void 0 ? void 0 : _e.slug) || '',
|
|
954
|
+
};
|
|
955
|
+
};
|
|
956
|
+
const formatHospital = (hospital) => {
|
|
957
|
+
var _a, _b, _c, _d, _e;
|
|
958
|
+
if (!hospital || !(hospital === null || hospital === void 0 ? void 0 : hospital.object_id))
|
|
959
|
+
return {};
|
|
960
|
+
return {
|
|
961
|
+
id: (_a = hospital.object_id) === null || _a === void 0 ? void 0 : _a.id,
|
|
962
|
+
name: ((_b = hospital.object_id) === null || _b === void 0 ? void 0 : _b.name) || '',
|
|
963
|
+
logo: ((_c = hospital === null || hospital === void 0 ? void 0 : hospital.object_id) === null || _c === void 0 ? void 0 : _c.logo) || '',
|
|
964
|
+
description: ((_d = hospital.object_id) === null || _d === void 0 ? void 0 : _d.description) || '',
|
|
965
|
+
slug: ((_e = hospital.object_id) === null || _e === void 0 ? void 0 : _e.slug) || '',
|
|
966
|
+
};
|
|
967
|
+
};
|
|
968
|
+
const getTogetherUserPostsApiPath = (locale, isMarryBaby, apiDomain, params) => {
|
|
969
|
+
const apiUrl = apiDomain || `https://together.hellohealthgroup.com/`;
|
|
970
|
+
return (apiUrl +
|
|
971
|
+
'api/v1/' +
|
|
972
|
+
formatString__default["default"](TOGETHER_PATHS.GET_USER_POSTS, Object.assign(Object.assign({}, params), { websiteUrl: isMarryBaby
|
|
973
|
+
? 'https://marrybaby.vn'
|
|
974
|
+
: `https://${constantsDomainLocales.domainLocales[locale]}` })));
|
|
975
|
+
};
|
|
976
|
+
const getCareSearchUrl = ({ type, specialtySlug, locale, }) => {
|
|
977
|
+
var _a, _b;
|
|
978
|
+
return `${(_a = constants$1.LOCALIZED_SLUGS[locale]) === null || _a === void 0 ? void 0 : _a.ALL}/${((_b = constants$1.LOCALIZED_SLUGS[locale]) === null || _b === void 0 ? void 0 : _b[type]) || 'doctor'}/${specialtySlug !== null && specialtySlug !== void 0 ? specialtySlug : ''}`;
|
|
979
|
+
};
|
|
980
|
+
const formatSpotlightsList = (spotlight) => {
|
|
981
|
+
if (!spotlight)
|
|
982
|
+
return {};
|
|
983
|
+
return {
|
|
984
|
+
id: spotlight.ID,
|
|
985
|
+
name: spotlight.name,
|
|
986
|
+
permalink: spotlight.permalink,
|
|
987
|
+
image: (spotlight === null || spotlight === void 0 ? void 0 : spotlight.small_banner) || (spotlight === null || spotlight === void 0 ? void 0 : spotlight.image) || '',
|
|
988
|
+
imageMedium: (spotlight === null || spotlight === void 0 ? void 0 : spotlight.image_medium) || null,
|
|
989
|
+
imageThumbnail: (spotlight === null || spotlight === void 0 ? void 0 : spotlight.image_thumbnail) || null,
|
|
990
|
+
startDate: spotlight === null || spotlight === void 0 ? void 0 : spotlight.start_date,
|
|
991
|
+
endDate: spotlight === null || spotlight === void 0 ? void 0 : spotlight.end_date,
|
|
992
|
+
buttonDisplay: spotlight.button_display || null,
|
|
993
|
+
};
|
|
994
|
+
};
|
|
995
|
+
const checkAvailableSpotlight = (spotlight) => {
|
|
996
|
+
const today = new Date();
|
|
997
|
+
if (spotlight === null || spotlight === void 0 ? void 0 : spotlight.startDate) {
|
|
998
|
+
const startDate = new Date(spotlight.startDate);
|
|
999
|
+
if (today.getTime() < startDate.getTime())
|
|
1000
|
+
return false;
|
|
1001
|
+
}
|
|
1002
|
+
if (spotlight === null || spotlight === void 0 ? void 0 : spotlight.endDate) {
|
|
1003
|
+
const endDate = new Date(spotlight.endDate);
|
|
1004
|
+
if (today.getTime() > endDate.getTime())
|
|
1005
|
+
return false;
|
|
1006
|
+
}
|
|
1007
|
+
return true;
|
|
1008
|
+
};
|
|
1009
|
+
const formatVideoItem = (data) => {
|
|
1010
|
+
if (typeof data === 'undefined' || !data)
|
|
1011
|
+
return null;
|
|
1012
|
+
return {
|
|
1013
|
+
id: data.ID || '',
|
|
1014
|
+
videoId: data.video_id || '',
|
|
1015
|
+
url: data.video_url || '',
|
|
1016
|
+
title: data.video_title || '',
|
|
1017
|
+
type: data.type || index$a.VideoType.VIDEO,
|
|
1018
|
+
totalView: data.total_view || 0,
|
|
1019
|
+
description: data.description || '',
|
|
1020
|
+
createTime: data.create_time || '',
|
|
1021
|
+
duration: data.duration || 0,
|
|
1022
|
+
image: data.image || '',
|
|
1023
|
+
imageMedium: data.image_medium || '',
|
|
1024
|
+
imageThumbnail: data.image_thumbnail || '',
|
|
1025
|
+
active: false,
|
|
1026
|
+
articleLink: data.article_link || '',
|
|
1027
|
+
};
|
|
1028
|
+
};
|
|
1029
|
+
function hexToRgb(hex, returnObj = false) {
|
|
1030
|
+
let alpha = false, h = hex.slice(hex.startsWith('#') ? 1 : 0);
|
|
1031
|
+
if (h.length === 3)
|
|
1032
|
+
h = [...h].map((x) => x + x).join('');
|
|
1033
|
+
else if (h.length === 8)
|
|
1034
|
+
alpha = true;
|
|
1035
|
+
h = parseInt(h, 16);
|
|
1036
|
+
const obj = {
|
|
1037
|
+
r: h >>> (alpha ? 24 : 16),
|
|
1038
|
+
g: (h & (alpha ? 0x00ff0000 : 0x00ff00)) >>> (alpha ? 16 : 8),
|
|
1039
|
+
b: (h & (alpha ? 0x0000ff00 : 0x0000ff)) >>> (alpha ? 8 : 0),
|
|
1040
|
+
};
|
|
1041
|
+
return returnObj
|
|
1042
|
+
? obj
|
|
1043
|
+
: 'rgb' +
|
|
1044
|
+
(alpha ? 'a' : '') +
|
|
1045
|
+
'(' +
|
|
1046
|
+
obj.r +
|
|
1047
|
+
', ' +
|
|
1048
|
+
obj.g +
|
|
1049
|
+
', ' +
|
|
1050
|
+
obj.b +
|
|
1051
|
+
(alpha ? `, ${h & 0x000000ff}` : '') +
|
|
1052
|
+
')';
|
|
1053
|
+
}
|
|
1054
|
+
function rgbToHsb(r, g, b) {
|
|
1055
|
+
r /= 255;
|
|
1056
|
+
g /= 255;
|
|
1057
|
+
b /= 255;
|
|
1058
|
+
const v = Math.max(r, g, b), n = v - Math.min(r, g, b);
|
|
1059
|
+
const h = n === 0
|
|
1060
|
+
? 0
|
|
1061
|
+
: n && v === r
|
|
1062
|
+
? (g - b) / n
|
|
1063
|
+
: v === g
|
|
1064
|
+
? 2 + (b - r) / n
|
|
1065
|
+
: 4 + (r - g) / n;
|
|
1066
|
+
return [60 * (h < 0 ? h + 6 : h), v && (n / v) * 100, v * 100];
|
|
1067
|
+
}
|
|
1068
|
+
function hsbToRgb(h, s, b) {
|
|
1069
|
+
s /= 100;
|
|
1070
|
+
b /= 100;
|
|
1071
|
+
const k = (n) => (n + h / 60) % 6;
|
|
1072
|
+
const f = (n) => b * (1 - s * Math.max(0, Math.min(k(n), 4 - k(n), 1)));
|
|
1073
|
+
return [255 * f(5), 255 * f(3), 255 * f(1)];
|
|
1074
|
+
}
|
|
1075
|
+
|
|
837
1076
|
const StyledItem$4 = styled__default["default"].a `
|
|
1077
|
+
position: relative;
|
|
838
1078
|
width: 100%;
|
|
839
1079
|
display: flex;
|
|
840
1080
|
align-items: center;
|
|
841
1081
|
text-decoration: none;
|
|
1082
|
+
|
|
842
1083
|
* {
|
|
843
1084
|
pointer-events: none;
|
|
844
1085
|
}
|
|
@@ -865,6 +1106,57 @@ const StyledImageCard$2 = styled__default["default"].div `
|
|
|
865
1106
|
padding-top: 100px;
|
|
866
1107
|
}
|
|
867
1108
|
`;
|
|
1109
|
+
const StyledButton = styled__default["default"].a `
|
|
1110
|
+
${utils.MediaQueries.tdDown} {
|
|
1111
|
+
position: relative;
|
|
1112
|
+
bottom: 0;
|
|
1113
|
+
left: 16px;
|
|
1114
|
+
right: 0;
|
|
1115
|
+
padding: 4px 8px;
|
|
1116
|
+
width: 90px;
|
|
1117
|
+
height: 24px;
|
|
1118
|
+
font-size: 11px;
|
|
1119
|
+
line-height: 16px;
|
|
1120
|
+
}
|
|
1121
|
+
|
|
1122
|
+
position: absolute;
|
|
1123
|
+
bottom: 8px;
|
|
1124
|
+
left: 8px;
|
|
1125
|
+
right: 8px;
|
|
1126
|
+
height: 32px;
|
|
1127
|
+
padding: 6px 12px;
|
|
1128
|
+
|
|
1129
|
+
background: ${(props) => props.bgColor};
|
|
1130
|
+
border-radius: 10px;
|
|
1131
|
+
border: none;
|
|
1132
|
+
transition: all 0.2s ease-in-out;
|
|
1133
|
+
|
|
1134
|
+
color: ${(props) => props.textColor};
|
|
1135
|
+
font-family: 'Inter';
|
|
1136
|
+
font-weight: 500;
|
|
1137
|
+
font-size: 14px;
|
|
1138
|
+
line-height: 20px;
|
|
1139
|
+
text-align: center;
|
|
1140
|
+
white-space: nowrap;
|
|
1141
|
+
overflow: hidden;
|
|
1142
|
+
text-overflow: ellipsis;
|
|
1143
|
+
|
|
1144
|
+
&:hover {
|
|
1145
|
+
background: ${(props) => {
|
|
1146
|
+
const bgColor = props.bgColor.toLowerCase();
|
|
1147
|
+
if (bgColor === '#ffffff' || bgColor === 'white' || bgColor === '#fff') {
|
|
1148
|
+
return '#f0f0f0';
|
|
1149
|
+
}
|
|
1150
|
+
if (typeof bgColor === 'string') {
|
|
1151
|
+
const rgb = hexToRgb(bgColor, true);
|
|
1152
|
+
const hsb = rgbToHsb(rgb.r, rgb.g, rgb.b);
|
|
1153
|
+
const newPattern1 = hsbToRgb(hsb[0], hsb[1] + 16, hsb[2] - 16);
|
|
1154
|
+
return `rgb(${newPattern1[0]},${newPattern1[1]},${newPattern1[2]})`;
|
|
1155
|
+
}
|
|
1156
|
+
return '';
|
|
1157
|
+
}};
|
|
1158
|
+
}
|
|
1159
|
+
`;
|
|
868
1160
|
const StyledTitle$3 = styled__default["default"].p `
|
|
869
1161
|
font-size: 16px;
|
|
870
1162
|
font-weight: 400;
|
|
@@ -880,10 +1172,22 @@ const StyledTitle$3 = styled__default["default"].p `
|
|
|
880
1172
|
const Item$3 = ({ item, index = 0 }) => {
|
|
881
1173
|
if (!item)
|
|
882
1174
|
return null;
|
|
883
|
-
|
|
1175
|
+
const linkProps = {
|
|
1176
|
+
href: item.link,
|
|
1177
|
+
'data-event-category': 'Hamburger Navigation',
|
|
1178
|
+
'data-event-action': `Spotlight Click ${index + 1}`,
|
|
1179
|
+
'data-event-label': item.link,
|
|
1180
|
+
};
|
|
1181
|
+
return (React__default["default"].createElement(StyledItem$4, Object.assign({ key: item.id, as: item.buttonDisplay ? 'div' : 'a' }, linkProps),
|
|
884
1182
|
React__default["default"].createElement(StyledImageCard$2, null,
|
|
885
1183
|
React__default["default"].createElement("img", { loading: "lazy", alt: item.title, src: item.banner || '/images/notFound-min-small.jpg' })),
|
|
886
|
-
React__default["default"].createElement(
|
|
1184
|
+
React__default["default"].createElement("div", { style: {
|
|
1185
|
+
display: 'flex',
|
|
1186
|
+
flexDirection: 'column',
|
|
1187
|
+
gap: 8,
|
|
1188
|
+
} },
|
|
1189
|
+
React__default["default"].createElement(StyledTitle$3, null, item.title),
|
|
1190
|
+
!!item.buttonDisplay && (React__default["default"].createElement(StyledButton, Object.assign({ bgColor: item.buttonDisplay.button_background_color, textColor: item.buttonDisplay.button_text_color }, linkProps), item.buttonDisplay.button_label)))));
|
|
887
1191
|
};
|
|
888
1192
|
|
|
889
1193
|
const CategorySpotlights = ({ spotlightsList = [], hrefViewMore }) => {
|
|
@@ -894,6 +1198,7 @@ const CategorySpotlights = ({ spotlightsList = [], hrefViewMore }) => {
|
|
|
894
1198
|
link: statics.HOME_PAGE_URL + spotlight.permalink,
|
|
895
1199
|
title: spotlight.name,
|
|
896
1200
|
banner: spotlight.image,
|
|
1201
|
+
buttonDisplay: spotlight.buttonDisplay,
|
|
897
1202
|
} }))))) : (React__default["default"].createElement(SpotlightNoData, { title: t('home.navigator.menu.category.noDatas.title'), description: t('home.navigator.menu.category.noDatas.description'), link: hrefViewMore, cta: t('home.navigator.menu.category.noDatas.cta'), icon: index$5.CommonGAssets.getAssetPath('Spotlight.svg') }))));
|
|
898
1203
|
};
|
|
899
1204
|
|
|
@@ -1032,7 +1337,7 @@ const Item$2 = ({ post, index = 0 }) => {
|
|
|
1032
1337
|
return (React__default["default"].createElement(StyledItem$3, { href: postUrl, "data-event-category": "Hamburger Navigation", "data-event-action": `Together Click ${index + 1}`, "data-event-label": postUrl },
|
|
1033
1338
|
React__default["default"].createElement(StyledContent$1, null,
|
|
1034
1339
|
React__default["default"].createElement(StyledInfoUser, null,
|
|
1035
|
-
React__default["default"].createElement(index$
|
|
1340
|
+
React__default["default"].createElement(index$b.UserAvatar, { avatar: (_b = post.author) === null || _b === void 0 ? void 0 : _b.avatar, username: ((_c = post.author) === null || _c === void 0 ? void 0 : _c.name) || ((_d = post.author) === null || _d === void 0 ? void 0 : _d.username) }),
|
|
1036
1341
|
React__default["default"].createElement(StyledWrapInfo, null,
|
|
1037
1342
|
React__default["default"].createElement(StyledName, { "data-theme": siteType }, (_e = post.author) === null || _e === void 0 ? void 0 : _e.name),
|
|
1038
1343
|
React__default["default"].createElement(StyledInfo, null,
|
|
@@ -1523,7 +1828,7 @@ const StyledContainerItems = styled__default["default"].div `
|
|
|
1523
1828
|
const VideoSpotlights = ({ spotlightsList = [], layout = 'default', }) => {
|
|
1524
1829
|
const { t } = index$1.useTranslations();
|
|
1525
1830
|
const { configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
1526
|
-
return (React__default["default"].createElement(Spotlights, { title: t('home.navigator.menu.lastestVideos') }, spotlightsList.length !== 0 ? (React__default["default"].createElement(StyledContainerItems, null, spotlightsList === null || spotlightsList === void 0 ? void 0 : spotlightsList.slice(0, 4).map((video, index) => (React__default["default"].createElement(index$8.VideoItem, { key: index, data: Object.assign(Object.assign({}, video), { type: index$
|
|
1831
|
+
return (React__default["default"].createElement(Spotlights, { title: t('home.navigator.menu.lastestVideos') }, spotlightsList.length !== 0 ? (React__default["default"].createElement(StyledContainerItems, null, spotlightsList === null || spotlightsList === void 0 ? void 0 : spotlightsList.slice(0, 4).map((video, index) => (React__default["default"].createElement(index$8.VideoItem, { key: index, data: Object.assign(Object.assign({}, video), { type: index$a.VideoType.SHORTS }), layout: layout === 'default' ? 'overlay' : 'horizon', redirectToLandingPage: true, dataEventCategory: "Hamburger Navigation", dataEventAction: `Video Click ${index + 1}` }))))) : (React__default["default"].createElement(SpotlightNoData, { title: t('home.navigator.menu.category.noDatas.title'), description: t('home.navigator.menu.category.noDatas.description'), link: `${statics.VIDEO_URL_FE}/`, cta: t('home.navigator.menu.category.noDatas.cta'), icon: index$5.CommonGAssets.getAssetPath('Spotlight.svg') }))));
|
|
1527
1832
|
};
|
|
1528
1833
|
|
|
1529
1834
|
const MenuServiceList = ({ closePopup, menuItems = [], projectType, isHomepage = false, }) => {
|
|
@@ -1555,24 +1860,6 @@ const HamburgerMenu = ({ menuItems, isHomepage, projectType }) => {
|
|
|
1555
1860
|
React__default["default"].createElement(MenuServiceList, { menuItems: menuItems, isHomepage: isHomepage, projectType: projectType, closePopup: onClose })))));
|
|
1556
1861
|
};
|
|
1557
1862
|
|
|
1558
|
-
const TOGETHER_PATHS = {
|
|
1559
|
-
COMMUNITIES: 'community?website_url={websiteUrl}',
|
|
1560
|
-
MENU_TOPIC: 'topic?community_id={communityId}&website_url={websiteUrl}',
|
|
1561
|
-
GET_USER_POSTS: 'profile/posts?website_url={websiteUrl}',
|
|
1562
|
-
};
|
|
1563
|
-
const Z_INDEX = {
|
|
1564
|
-
adBlock: 48,
|
|
1565
|
-
headerContainerHome: 99,
|
|
1566
|
-
headerContainerPopup: 300,
|
|
1567
|
-
headerContainerPopupSUbLevel: 400,
|
|
1568
|
-
menuCategoryPopupWrapper: 200,
|
|
1569
|
-
menuCategoryPopupContainer: 210,
|
|
1570
|
-
menuSearchInputPopup: 5,
|
|
1571
|
-
menuSearchInputDisplayIcon: 6,
|
|
1572
|
-
menuSearchPopup: 300,
|
|
1573
|
-
homeSearchComponent: 200,
|
|
1574
|
-
};
|
|
1575
|
-
|
|
1576
1863
|
const StyledHeaderWrapper = styled__default["default"].div `
|
|
1577
1864
|
z-index: 201;
|
|
1578
1865
|
width: 100%;
|
|
@@ -1783,180 +2070,6 @@ const StyleButtonAiChat = styled__default["default"](index$2.Button) `
|
|
|
1783
2070
|
}
|
|
1784
2071
|
`;
|
|
1785
2072
|
|
|
1786
|
-
const formatSponsor = (sponsor) => {
|
|
1787
|
-
if (!sponsor)
|
|
1788
|
-
return {};
|
|
1789
|
-
return {
|
|
1790
|
-
title: sponsor.title,
|
|
1791
|
-
logo: sponsor.logo,
|
|
1792
|
-
link: sponsor.link,
|
|
1793
|
-
};
|
|
1794
|
-
};
|
|
1795
|
-
const formatReviewedCategory = (data) => {
|
|
1796
|
-
return {
|
|
1797
|
-
postTitle: data.post_title,
|
|
1798
|
-
permalink: data.permalink,
|
|
1799
|
-
};
|
|
1800
|
-
};
|
|
1801
|
-
const formatFaqsCategory = (data) => {
|
|
1802
|
-
return {
|
|
1803
|
-
title: data.title,
|
|
1804
|
-
content: data.content,
|
|
1805
|
-
};
|
|
1806
|
-
};
|
|
1807
|
-
const formatCategory = (category) => {
|
|
1808
|
-
var _a, _b;
|
|
1809
|
-
if (!category)
|
|
1810
|
-
return {};
|
|
1811
|
-
return {
|
|
1812
|
-
termId: category.term_id || null,
|
|
1813
|
-
sponsor: category.sponsor ? formatSponsor(category.sponsor) : null,
|
|
1814
|
-
isSponsored: category.is_sponsored || null,
|
|
1815
|
-
categoryName: category.cat_name || category.name || null,
|
|
1816
|
-
name: category.name || null,
|
|
1817
|
-
iconUrl: category.icon || '',
|
|
1818
|
-
slugName: category.category_nicename || null,
|
|
1819
|
-
description: category.description || null,
|
|
1820
|
-
featureImage: category.thumbnail || category.image || null,
|
|
1821
|
-
displayName: category.name || null,
|
|
1822
|
-
parent: category.parent || null,
|
|
1823
|
-
permalink: category.permalink || null,
|
|
1824
|
-
slug: category.slug || null,
|
|
1825
|
-
childCates: ((_a = category.child_cates) === null || _a === void 0 ? void 0 : _a.map((childCate) => {
|
|
1826
|
-
return formatCategory(childCate);
|
|
1827
|
-
})) || [],
|
|
1828
|
-
thumnailColor: category.thumnail_color ||
|
|
1829
|
-
['#FFEAF1', '#E0E9FB', '#FFF9EB', '#F2FCF7', '#F3F3F3'][(Math.random() * 5) | 0],
|
|
1830
|
-
colorFeatureImage: category.color_feature_image || null,
|
|
1831
|
-
imageColor: category.image_color || null,
|
|
1832
|
-
textColor: category.text_color || null,
|
|
1833
|
-
catParent: ((_b = category.cat_parent) === null || _b === void 0 ? void 0 : _b.name)
|
|
1834
|
-
? {
|
|
1835
|
-
name: category.cat_parent.name,
|
|
1836
|
-
permalink: category.cat_parent.permalink,
|
|
1837
|
-
}
|
|
1838
|
-
: {},
|
|
1839
|
-
metaTag: category.meta_tag || '',
|
|
1840
|
-
reviewedBy: category.reviewed_by
|
|
1841
|
-
? formatReviewedCategory(category.reviewed_by)
|
|
1842
|
-
: null,
|
|
1843
|
-
reviewedDate: category.reviewed_date || '',
|
|
1844
|
-
faqs: category.faqs
|
|
1845
|
-
? category.faqs.map((faq) => formatFaqsCategory(faq))
|
|
1846
|
-
: null,
|
|
1847
|
-
customizedUrl: category.customized_url || null,
|
|
1848
|
-
};
|
|
1849
|
-
};
|
|
1850
|
-
const formatHealthTool = (healthTool) => {
|
|
1851
|
-
var _a, _b;
|
|
1852
|
-
if (!healthTool)
|
|
1853
|
-
return {};
|
|
1854
|
-
const isBot = (_a = healthTool.link) === null || _a === void 0 ? void 0 : _a.includes('/bot/');
|
|
1855
|
-
const hasFilPrefix = (_b = healthTool.link) === null || _b === void 0 ? void 0 : _b.startsWith('/fil/');
|
|
1856
|
-
const link = healthTool.link
|
|
1857
|
-
? healthTool.link.startsWith('http')
|
|
1858
|
-
? healthTool.link
|
|
1859
|
-
: isBot
|
|
1860
|
-
? healthTool.link
|
|
1861
|
-
: hasFilPrefix
|
|
1862
|
-
? healthTool.link
|
|
1863
|
-
.replace('/health-tools/', '/')
|
|
1864
|
-
.replace('/fil/', '/fil/health-tools/')
|
|
1865
|
-
: `/health-tools${healthTool.link.replace('/health-tools/', '/')}`
|
|
1866
|
-
: undefined;
|
|
1867
|
-
return {
|
|
1868
|
-
icon: healthTool.icon,
|
|
1869
|
-
link,
|
|
1870
|
-
subtitle: healthTool.subtitle,
|
|
1871
|
-
title: healthTool.title,
|
|
1872
|
-
isMobileAppTool: !!(healthTool === null || healthTool === void 0 ? void 0 : healthTool.is_mobile_app_tool),
|
|
1873
|
-
};
|
|
1874
|
-
};
|
|
1875
|
-
const formatSpecialties = (specialties) => {
|
|
1876
|
-
var _a, _b, _c, _d, _e;
|
|
1877
|
-
if (!specialties || !(specialties === null || specialties === void 0 ? void 0 : specialties.object_id))
|
|
1878
|
-
return {};
|
|
1879
|
-
return {
|
|
1880
|
-
thumbnail: ((_a = specialties === null || specialties === void 0 ? void 0 : specialties.object_id) === null || _a === void 0 ? void 0 : _a.logo) || '',
|
|
1881
|
-
link: ((_b = specialties === null || specialties === void 0 ? void 0 : specialties.object_id) === null || _b === void 0 ? void 0 : _b.slug) || '',
|
|
1882
|
-
subtitle: ((_c = specialties.object_id) === null || _c === void 0 ? void 0 : _c.name) || '',
|
|
1883
|
-
name: ((_d = specialties.object_id) === null || _d === void 0 ? void 0 : _d.name) || '',
|
|
1884
|
-
slug: ((_e = specialties.object_id) === null || _e === void 0 ? void 0 : _e.slug) || '',
|
|
1885
|
-
};
|
|
1886
|
-
};
|
|
1887
|
-
const formatHospital = (hospital) => {
|
|
1888
|
-
var _a, _b, _c, _d, _e;
|
|
1889
|
-
if (!hospital || !(hospital === null || hospital === void 0 ? void 0 : hospital.object_id))
|
|
1890
|
-
return {};
|
|
1891
|
-
return {
|
|
1892
|
-
id: (_a = hospital.object_id) === null || _a === void 0 ? void 0 : _a.id,
|
|
1893
|
-
name: ((_b = hospital.object_id) === null || _b === void 0 ? void 0 : _b.name) || '',
|
|
1894
|
-
logo: ((_c = hospital === null || hospital === void 0 ? void 0 : hospital.object_id) === null || _c === void 0 ? void 0 : _c.logo) || '',
|
|
1895
|
-
description: ((_d = hospital.object_id) === null || _d === void 0 ? void 0 : _d.description) || '',
|
|
1896
|
-
slug: ((_e = hospital.object_id) === null || _e === void 0 ? void 0 : _e.slug) || '',
|
|
1897
|
-
};
|
|
1898
|
-
};
|
|
1899
|
-
const getTogetherUserPostsApiPath = (locale, isMarryBaby, apiDomain, params) => {
|
|
1900
|
-
const apiUrl = apiDomain || `https://together.hellohealthgroup.com/`;
|
|
1901
|
-
return (apiUrl +
|
|
1902
|
-
'api/v1/' +
|
|
1903
|
-
formatString__default["default"](TOGETHER_PATHS.GET_USER_POSTS, Object.assign(Object.assign({}, params), { websiteUrl: isMarryBaby
|
|
1904
|
-
? 'https://marrybaby.vn'
|
|
1905
|
-
: `https://${constantsDomainLocales.domainLocales[locale]}` })));
|
|
1906
|
-
};
|
|
1907
|
-
const getCareSearchUrl = ({ type, specialtySlug, locale, }) => {
|
|
1908
|
-
var _a, _b;
|
|
1909
|
-
return `${(_a = constants$1.LOCALIZED_SLUGS[locale]) === null || _a === void 0 ? void 0 : _a.ALL}/${((_b = constants$1.LOCALIZED_SLUGS[locale]) === null || _b === void 0 ? void 0 : _b[type]) || 'doctor'}/${specialtySlug !== null && specialtySlug !== void 0 ? specialtySlug : ''}`;
|
|
1910
|
-
};
|
|
1911
|
-
const formatSpotlightsList = (spotlight) => {
|
|
1912
|
-
if (!spotlight)
|
|
1913
|
-
return {};
|
|
1914
|
-
return {
|
|
1915
|
-
id: spotlight.ID,
|
|
1916
|
-
name: spotlight.name,
|
|
1917
|
-
permalink: spotlight.permalink,
|
|
1918
|
-
image: (spotlight === null || spotlight === void 0 ? void 0 : spotlight.small_banner) || (spotlight === null || spotlight === void 0 ? void 0 : spotlight.image) || '',
|
|
1919
|
-
imageMedium: (spotlight === null || spotlight === void 0 ? void 0 : spotlight.image_medium) || null,
|
|
1920
|
-
imageThumbnail: (spotlight === null || spotlight === void 0 ? void 0 : spotlight.image_thumbnail) || null,
|
|
1921
|
-
startDate: spotlight === null || spotlight === void 0 ? void 0 : spotlight.start_date,
|
|
1922
|
-
endDate: spotlight === null || spotlight === void 0 ? void 0 : spotlight.end_date,
|
|
1923
|
-
};
|
|
1924
|
-
};
|
|
1925
|
-
const checkAvailableSpotlight = (spotlight) => {
|
|
1926
|
-
const today = new Date();
|
|
1927
|
-
if (spotlight === null || spotlight === void 0 ? void 0 : spotlight.startDate) {
|
|
1928
|
-
const startDate = new Date(spotlight.startDate);
|
|
1929
|
-
if (today.getTime() < startDate.getTime())
|
|
1930
|
-
return false;
|
|
1931
|
-
}
|
|
1932
|
-
if (spotlight === null || spotlight === void 0 ? void 0 : spotlight.endDate) {
|
|
1933
|
-
const endDate = new Date(spotlight.endDate);
|
|
1934
|
-
if (today.getTime() > endDate.getTime())
|
|
1935
|
-
return false;
|
|
1936
|
-
}
|
|
1937
|
-
return true;
|
|
1938
|
-
};
|
|
1939
|
-
const formatVideoItem = (data) => {
|
|
1940
|
-
if (typeof data === 'undefined' || !data)
|
|
1941
|
-
return null;
|
|
1942
|
-
return {
|
|
1943
|
-
id: data.ID || '',
|
|
1944
|
-
videoId: data.video_id || '',
|
|
1945
|
-
url: data.video_url || '',
|
|
1946
|
-
title: data.video_title || '',
|
|
1947
|
-
type: data.type || index$b.VideoType.VIDEO,
|
|
1948
|
-
totalView: data.total_view || 0,
|
|
1949
|
-
description: data.description || '',
|
|
1950
|
-
createTime: data.create_time || '',
|
|
1951
|
-
duration: data.duration || 0,
|
|
1952
|
-
image: data.image || '',
|
|
1953
|
-
imageMedium: data.image_medium || '',
|
|
1954
|
-
imageThumbnail: data.image_thumbnail || '',
|
|
1955
|
-
active: false,
|
|
1956
|
-
articleLink: data.article_link || '',
|
|
1957
|
-
};
|
|
1958
|
-
};
|
|
1959
|
-
|
|
1960
2073
|
var styles = {"gridContainer":"q3nL5cp","container":"_2DNf80G","closeWrapper":"Q-glX-n"};
|
|
1961
2074
|
|
|
1962
2075
|
const BtnClosePopup = ({ onClosePopup }) => {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var locale = require('date-fns/locale');
|
|
4
|
-
require('./index-
|
|
4
|
+
require('./index-c0083606.js');
|
|
5
5
|
var constantsSite = require('./constantsSite.js');
|
|
6
6
|
var constantsDomainLocales = require('./constantsDomainLocales.js');
|
|
7
7
|
var constantsRiskScreener = require('./constantsRiskScreener.js');
|
|
8
8
|
var constantsIsProduction = require('./constantsIsProduction.js');
|
|
9
|
-
var Locale = require('./Locale-
|
|
9
|
+
var Locale = require('./Locale-0044edae.js');
|
|
10
10
|
|
|
11
11
|
const basePath = process.env.NEXT_PUBLIC_DEPLOY_LOCALE === 'tl-PH' ? '/fil' : '';
|
|
12
12
|
const SSO_URL = process.env.NEXT_PUBLIC_SSO;
|