@hhgtech/hhg-components 1.29.349 → 1.29.351-beta-1
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/{LastPeriod-3540a6b9.js → LastPeriod-0c87f604.js} +1 -1
- package/build/{MobileBottomNavigationIcon-2425b88d.js → MobileBottomNavigationIcon-dacda9b5.js} +3 -3
- package/build/{Spinner-29efc69e.js → Spinner-b1260331.js} +1 -1
- package/build/{WhatsApp-11a5928c.js → WhatsApp-e36fa113.js} +1 -1
- package/build/adapters.js +19 -19
- package/build/atoms.js +47 -47
- package/build/babyGrowth.js +83 -83
- package/build/cache.js +2 -2
- package/build/care.js +17 -17
- package/build/careBookingSearchBar.js +14 -14
- package/build/careBookingSearchBarV2.js +15 -15
- package/build/components/atoms/drawerComponent/index.d.ts +1 -0
- package/build/components/atoms/icons/Play.d.ts +4 -0
- package/build/components/molecules/index.d.ts +2 -0
- package/build/components/molecules/videoItem/index.d.ts +4 -0
- package/build/components/molecules/videoItem/index.styles.d.ts +14 -0
- package/build/components/molecules/videoItem/shorts/index.d.ts +4 -0
- package/build/components/molecules/videoItem/shorts/index.styles.d.ts +21 -0
- package/build/components/molecules/videoItem/types.d.ts +13 -0
- package/build/components/molecules/videoItem/utils.d.ts +1 -0
- package/build/components/molecules/videoItem/video/index.d.ts +4 -0
- package/build/components/molecules/videoItem/video/index.styles.d.ts +22 -0
- package/build/components/molecules/videoPlayerModal/index.d.ts +9 -0
- package/build/components/navigationV2/components/molecules/menuVideoList/Item/index.d.ts +15 -0
- package/build/components/navigationV2/components/molecules/menuVideoList/Item/index.styled.d.ts +13 -0
- package/build/components/navigationV2/components/molecules/menuVideoList/index.d.ts +9 -0
- package/build/components/navigationV2/components/molecules/menuVideoList/index.styled.d.ts +5 -0
- package/build/components/navigationV2/components/molecules/menuVideoList/videoSpotlights.d.ts +8 -0
- package/build/components/navigationV2/components/molecules/navigationBar/index.styled.d.ts +2 -0
- package/build/components/navigationV2/hooks/useNavConfig.d.ts +3 -0
- package/build/components/navigationV2/index.d.ts +9 -0
- package/build/components/navigationV2/types.d.ts +2 -2
- package/build/components/navigationV2/utils.d.ts +2 -0
- package/build/components.js +97 -91
- package/build/{constants-dcf07a2b.js → constants-ca169c5a.js} +1 -1
- package/build/constants.js +5 -3
- package/build/constantsDomainLocales.js +1 -1
- package/build/constantsRiskScreener.js +2 -2
- package/build/constantsSite.js +2 -2
- package/build/{core-bf635a4c.js → core-cf6e2af8.js} +1 -1
- package/build/dataTransform-2b78acf3.js +13 -0
- package/build/{dataTransform-e1b2da85.js → dataTransform-69f7d427.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-40cb6590.js → editor-18b9a893.js} +11 -11
- package/build/embeddedHeathToolCards_babyGrowth.js +23 -23
- package/build/embeddedHeathToolCards_babyPoop.js +19 -19
- package/build/embeddedHeathToolCards_babyVaccine.js +22 -22
- package/build/embeddedHeathToolCards_bmi_bmi.js +25 -25
- package/build/embeddedHeathToolCards_bmrBmr.js +25 -25
- package/build/embeddedHeathToolCards_dueDate_dueDate.js +22 -22
- package/build/embeddedHeathToolCards_ovulation_ovulation.js +22 -22
- package/build/embeddedHeathToolCards_pwg_pwg.js +26 -26
- package/build/embeddedHeathToolCards_targetHeartRate.js +27 -27
- package/build/esm/{LastPeriod-135ef0dc.js → LastPeriod-2875ffc2.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-c448e8fe.js → MobileBottomNavigationIcon-3b168be7.js} +3 -3
- package/build/esm/{Spinner-518e5c82.js → Spinner-c771ed5f.js} +1 -1
- package/build/esm/{WhatsApp-a50d4537.js → WhatsApp-82f6685c.js} +1 -1
- package/build/esm/adapters.js +19 -19
- package/build/esm/atoms.js +47 -47
- package/build/esm/babyGrowth.js +83 -83
- package/build/esm/cache.js +2 -2
- package/build/esm/care.js +17 -17
- package/build/esm/careBookingSearchBar.js +14 -14
- package/build/esm/careBookingSearchBarV2.js +15 -15
- package/build/esm/components/atoms/drawerComponent/index.d.ts +1 -0
- package/build/esm/components/atoms/icons/Play.d.ts +4 -0
- package/build/esm/components/molecules/index.d.ts +2 -0
- package/build/esm/components/molecules/videoItem/index.d.ts +4 -0
- package/build/esm/components/molecules/videoItem/index.styles.d.ts +14 -0
- package/build/esm/components/molecules/videoItem/shorts/index.d.ts +4 -0
- package/build/esm/components/molecules/videoItem/shorts/index.styles.d.ts +21 -0
- package/build/esm/components/molecules/videoItem/types.d.ts +13 -0
- package/build/esm/components/molecules/videoItem/utils.d.ts +1 -0
- package/build/esm/components/molecules/videoItem/video/index.d.ts +4 -0
- package/build/esm/components/molecules/videoItem/video/index.styles.d.ts +22 -0
- package/build/esm/components/molecules/videoPlayerModal/index.d.ts +9 -0
- package/build/esm/components/navigationV2/components/molecules/menuVideoList/Item/index.d.ts +15 -0
- package/build/esm/components/navigationV2/components/molecules/menuVideoList/Item/index.styled.d.ts +13 -0
- package/build/esm/components/navigationV2/components/molecules/menuVideoList/index.d.ts +9 -0
- package/build/esm/components/navigationV2/components/molecules/menuVideoList/index.styled.d.ts +5 -0
- package/build/esm/components/navigationV2/components/molecules/menuVideoList/videoSpotlights.d.ts +8 -0
- package/build/esm/components/navigationV2/components/molecules/navigationBar/index.styled.d.ts +2 -0
- package/build/esm/components/navigationV2/hooks/useNavConfig.d.ts +3 -0
- package/build/esm/components/navigationV2/index.d.ts +9 -0
- package/build/esm/components/navigationV2/types.d.ts +2 -2
- package/build/esm/components/navigationV2/utils.d.ts +2 -0
- package/build/esm/components.js +95 -91
- package/build/esm/{constants-71f01179.js → constants-25ae899e.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-af11d20d.js → core-9a48dabc.js} +1 -1
- package/build/esm/{dataTransform-f2b1a7aa.js → dataTransform-23043966.js} +1 -1
- package/build/esm/dataTransform-f555c9cc.js +11 -0
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-f4ccfcb0.js → editor-de6642e2.js} +11 -11
- package/build/esm/embeddedHeathToolCards_babyGrowth.js +23 -23
- package/build/esm/embeddedHeathToolCards_babyPoop.js +19 -19
- package/build/esm/embeddedHeathToolCards_babyVaccine.js +22 -22
- package/build/esm/embeddedHeathToolCards_bmi_bmi.js +25 -25
- package/build/esm/embeddedHeathToolCards_bmrBmr.js +25 -25
- package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +22 -22
- package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +22 -22
- package/build/esm/embeddedHeathToolCards_pwg_pwg.js +26 -26
- package/build/esm/embeddedHeathToolCards_targetHeartRate.js +27 -27
- package/build/esm/footer.js +21 -21
- package/build/esm/gAssets.js +2 -2
- package/build/esm/healthToolsCardWrapper.js +18 -18
- package/build/esm/healthToolsForm.js +33 -33
- package/build/esm/hooks/useCSSFocusPopupHelper.d.ts +1 -0
- package/build/esm/hooks.js +13 -13
- package/build/esm/i18n/translationKeys.d.ts +1 -1
- package/build/esm/i18n-values/en-PH.js +9 -0
- package/build/esm/i18n-values/hi-IN.js +9 -0
- package/build/esm/i18n-values/id-ID.js +9 -0
- package/build/esm/i18n-values/km-KH.js +9 -0
- package/build/esm/i18n-values/ms-MY.js +9 -0
- package/build/esm/i18n-values/my-MM.js +9 -0
- package/build/esm/i18n-values/th-TH.js +9 -0
- package/build/esm/i18n-values/tl-PH.js +9 -0
- package/build/esm/i18n-values/vi-VN.js +9 -0
- package/build/esm/i18n-values/vi-VN_MB.js +9 -0
- package/build/esm/i18n-values/zh-TW.js +9 -0
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-906ac212.js → index-0215aa3a.js} +7 -7
- package/build/esm/{index-e50eaf7c.js → index-0538915a.js} +5 -5
- package/build/esm/{index-8239162c.js → index-075ba1e1.js} +15 -15
- package/build/esm/{index-2d654a1a.js → index-08a1606a.js} +1 -1
- package/build/esm/{index-9f9e3aff.js → index-1142e3d3.js} +16 -16
- package/build/esm/{index-75b6adf7.js → index-18cf18ca.js} +11 -11
- package/build/esm/{index-11cf1fd0.js → index-2355bf06.js} +210 -98
- package/build/esm/{index-76a7bd9d.js → index-351f9a0c.js} +2 -2
- package/build/esm/{index-b14478e8.js → index-45d270af.js} +3 -3
- package/build/esm/{index-ff8fa730.js → index-4b466fad.js} +1 -1
- package/build/esm/{index-b605d917.js → index-4d85e9fa.js} +2 -2
- package/build/esm/{index-7598d2cd.js → index-5688184e.js} +2 -2
- package/build/esm/{index-c15ae10d.js → index-56a0dca0.js} +3 -3
- package/build/esm/{index-e4721d93.js → index-57119a2f.js} +6 -6
- package/build/esm/{index-29e95d32.js → index-63abdccd.js} +2 -2
- package/build/esm/{index-da2f59f2.js → index-63b7926a.js} +2 -2
- package/build/esm/{index-1adcbf88.js → index-6a0c99ff.js} +13 -13
- package/build/esm/{index-def423d4.js → index-6d7f28dd.js} +11 -3
- package/build/esm/index-70726722.js +54 -0
- package/build/esm/{index-314b0752.js → index-7085c360.js} +19 -233
- package/build/esm/{index-0d344f9f.js → index-72287a1e.js} +24 -24
- package/build/esm/{index-092feefb.js → index-72416d52.js} +5 -5
- package/build/esm/index-724296c1.js +225 -0
- package/build/esm/{index-8ff5843f.js → index-78ac23bf.js} +24 -24
- package/build/esm/{index-e8ec05bc.js → index-7e9f7887.js} +2 -2
- package/build/esm/{index-2f334402.js → index-80af9731.js} +32 -31
- package/build/esm/{index-16098f47.js → index-81804294.js} +17 -17
- package/build/esm/{index-20d45dcd.js → index-8630e312.js} +18 -11
- package/build/esm/{index-5de36917.js → index-8767c2da.js} +16 -16
- package/build/esm/{index-2321b154.js → index-8c90d872.js} +16 -16
- package/build/esm/{index-2a66607f.js → index-93dfd4e1.js} +8 -4
- package/build/esm/{index-85f75df4.js → index-96b168c1.js} +3 -3
- package/build/esm/{index-4201a481.js → index-977a3ce3.js} +18 -18
- package/build/esm/{index-41130e9f.js → index-99c76287.js} +3 -3
- package/build/esm/{index-4189a962.js → index-9df48d36.js} +1 -1
- package/build/esm/{index-74ad19ab.js → index-a3f242de.js} +18 -18
- package/build/esm/{index-21b4d3a4.js → index-a4a09e75.js} +2 -2
- package/build/esm/{index-50f9b41e.js → index-a7dcdbd0.js} +1 -1
- package/build/esm/{index-93fa5a80.js → index-a8a96beb.js} +6 -6
- package/build/esm/{index-d1b29da0.js → index-ae6bf889.js} +19 -7
- package/build/esm/{index-fafcf523.js → index-b699bc6a.js} +1 -1
- package/build/esm/{index-99ca43c8.js → index-b7a759a5.js} +3 -3
- package/build/esm/{index-45165697.js → index-ba1c001e.js} +21 -21
- package/build/esm/{index-30eaf96e.js → index-be48c27e.js} +13 -13
- package/build/esm/index-c34b3b5c.js +494 -0
- package/build/esm/{index-92e61bb7.js → index-c3938494.js} +17 -63
- package/build/esm/{index-c5febaaf.js → index-c61a5d08.js} +1 -1
- package/build/esm/{index-750e1404.js → index-cd8d5fb2.js} +16 -16
- package/build/esm/{index-3e24192c.js → index-d021d300.js} +6 -6
- package/build/esm/{index-59101a4f.js → index-d433c3d7.js} +3 -3
- package/build/esm/{index-14e17784.js → index-d4c65e28.js} +1 -1
- package/build/esm/{index-1bdfad00.js → index-d51287ef.js} +17 -17
- package/build/esm/{index-4517b607.js → index-d5401d04.js} +2 -2
- package/build/esm/{index-613417dd.js → index-d6e68b7a.js} +6 -6
- package/build/esm/{index-cf0e1b27.js → index-ddd68f2b.js} +13 -13
- package/build/esm/{index-4b4050f3.js → index-e2bfb2cb.js} +2 -2
- package/build/esm/{index-0ed85b02.js → index-e4fea84c.js} +2 -2
- package/build/esm/{index-5e8cc822.js → index-ea222e0d.js} +4 -4
- package/build/esm/{index-153780cf.js → index-f0bf6c7a.js} +13 -13
- package/build/esm/{index-f6b333fa.js → index-f3538c90.js} +22 -20
- package/build/esm/{index-3f770afe.js → index-f7236114.js} +2 -2
- package/build/esm/{index-f5c3297f.js → index-f8313571.js} +7 -7
- package/build/esm/{index-eb34e967.js → index-fd5c91de.js} +1 -1
- package/build/esm/{index-8601b6b7.js → index-ffbb311f.js} +31 -30
- package/build/esm/index.js +116 -113
- package/build/esm/interfaces/constants/index.d.ts +2 -0
- package/build/esm/interfaces/healthTools.d.ts +1 -0
- package/build/esm/interfaces/types/Video.d.ts +36 -0
- package/build/esm/interfaces/types/index.d.ts +1 -0
- package/build/esm/{labelSorting-03a44199.js → labelSorting-3ac74bd0.js} +4 -4
- package/build/esm/lead/helpers.d.ts +31 -0
- package/build/esm/lead/layouts/lightbox/emptyComponent.d.ts +6 -0
- package/build/esm/lead/layouts/lightbox/fields/googleLocationBlock.d.ts +7 -0
- package/build/esm/lead/layouts/lightbox/formContainer.d.ts +17 -0
- package/build/esm/lead/layouts/lightbox/headerImage.d.ts +11 -0
- package/build/esm/lead.css +1 -1
- package/build/esm/lead.js +290 -183
- package/build/esm/{logoIcon-16e71ac4.js → logoIcon-da9c0bc9.js} +2 -2
- package/build/esm/mantine.js +25 -25
- package/build/esm/misc.js +17 -16
- 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 +73 -69
- package/build/esm/moleculesArticleCard.js +6 -6
- package/build/esm/moleculesArticleCardV2.js +16 -16
- package/build/esm/navigation.js +50 -45
- package/build/esm/navigationLogoutPopup.js +9 -9
- package/build/esm/navigationProfileButton.js +23 -23
- package/build/esm/{dataTransform-61c78351.js → number-b1a85de9.js} +1 -11
- package/build/esm/onboardingV2.js +29 -29
- package/build/esm/organisms.js +53 -48
- package/build/esm/{post-ff05f592.js → post-86875f57.js} +2 -2
- package/build/esm/profileNavigation.js +19 -19
- package/build/esm/progressBar.js +1 -1
- package/build/esm/pwg.js +22 -22
- package/build/esm/ssoV2/api/featureFlag.d.ts +2 -1
- package/build/esm/ssoV2/index.d.ts +1 -0
- package/build/esm/ssoV2/utils.d.ts +6 -0
- package/build/esm/ssoV2.js +50 -56
- package/build/esm/{store-961adaba.js → store-208e5bec.js} +4 -4
- package/build/esm/subot.js +43 -42
- package/build/esm/surveyOrPremiumBanner.js +31 -31
- package/build/esm/surveyQuestionCard.js +10 -10
- package/build/esm/{surveyThankyouCard-92be9b0d.js → surveyThankyouCard-f7880df0.js} +5 -5
- package/build/esm/together.js +55 -53
- package/build/esm/togetherApiUtils.js +4 -4
- package/build/esm/togetherAtoms.js +30 -30
- package/build/esm/togetherComponentGlobalContext.js +4 -4
- package/build/esm/togetherMolecules.js +50 -48
- package/build/esm/togetherMoleculesCardAuthor.js +28 -27
- package/build/esm/togetherMoleculesPostImagePreview.js +11 -11
- package/build/esm/togetherMoleculesProfileDetail.js +38 -37
- package/build/esm/togetherOrganisms.js +56 -54
- package/build/esm/togetherRichTextEditor.js +17 -17
- package/build/esm/togetherShareBox.js +10 -10
- package/build/esm/{treePopoverMenu-64320e72.js → treePopoverMenu-fbfdb43e.js} +19 -19
- package/build/esm/{types-053f17e0.js → types-4d4636f1.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-a1beffd9.js → useCategory-7bbc646e.js} +5 -5
- package/build/esm/{useHealthToolCache-f2578df3.js → useHealthToolCache-91bfc4c2.js} +1 -1
- package/build/esm/{useMantineLocale-b482abdd.js → useMantineLocale-2f880379.js} +6 -6
- package/build/esm/{usePlacesAutocomplete-5b5c15ac.js → usePlacesAutocomplete-79c27577.js} +1 -1
- package/build/esm/{useScreenSize-a0bc6826.js → useScreenSize-b689324f.js} +2 -2
- package/build/esm/useTogetherAuthRequiredAction.js +9 -9
- package/build/esm/{utils-206705f4.js → utils-1ef10b87.js} +3 -3
- package/build/esm/{utils-5f158694.js → utils-7cf2e241.js} +2 -2
- package/build/esm/{utils-ea2d2be6.js → utils-c616d3df.js} +2 -2
- package/build/esm/utils-fcc22029.js +55 -0
- package/build/esm/vaccination.js +21 -21
- package/build/footer.js +21 -21
- package/build/gAssets.js +2 -2
- package/build/healthToolsCardWrapper.js +18 -18
- package/build/healthToolsForm.js +33 -33
- package/build/hooks/useCSSFocusPopupHelper.d.ts +1 -0
- package/build/hooks.js +13 -13
- package/build/i18n/translationKeys.d.ts +1 -1
- package/build/i18n-values/en-PH.js +9 -0
- package/build/i18n-values/hi-IN.js +9 -0
- package/build/i18n-values/id-ID.js +9 -0
- package/build/i18n-values/km-KH.js +9 -0
- package/build/i18n-values/ms-MY.js +9 -0
- package/build/i18n-values/my-MM.js +9 -0
- package/build/i18n-values/th-TH.js +9 -0
- package/build/i18n-values/tl-PH.js +9 -0
- package/build/i18n-values/vi-VN.js +9 -0
- package/build/i18n-values/vi-VN_MB.js +9 -0
- package/build/i18n-values/zh-TW.js +9 -0
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-801f831e.js → index-00e31dc7.js} +1 -1
- package/build/{index-2b8d5922.js → index-01199c59.js} +6 -6
- package/build/{index-7d74a494.js → index-046685a6.js} +2 -2
- package/build/{index-e1a39c0f.js → index-05e6202a.js} +10 -2
- package/build/{index-f4073ef9.js → index-084e0df1.js} +18 -18
- package/build/{index-d586f960.js → index-0a07827e.js} +19 -234
- package/build/{index-bacfdf72.js → index-133ec2f8.js} +17 -17
- package/build/{index-de872eb4.js → index-136c16c8.js} +31 -78
- package/build/{index-e5b187b5.js → index-2048156a.js} +16 -16
- package/build/{index-239a44cd.js → index-3c1ebd51.js} +4 -4
- package/build/{index-30e77221.js → index-3c7dbe4d.js} +13 -13
- package/build/{index-7831797f.js → index-3ddb12d3.js} +3 -3
- package/build/{index-5597150a.js → index-3f8f553c.js} +13 -13
- package/build/{index-4d2dd5d2.js → index-422e1365.js} +2 -2
- package/build/{index-7334c021.js → index-431fa632.js} +3 -3
- package/build/{index-0c666eec.js → index-56485788.js} +2 -2
- package/build/{index-9eac0534.js → index-5c2d9a9b.js} +31 -30
- package/build/{index-abe62ca7.js → index-5cbb04b0.js} +6 -6
- package/build/{index-4d72db3c.js → index-5d43260b.js} +2 -2
- package/build/{index-293b14b4.js → index-5e7965b6.js} +13 -13
- package/build/{index-c1280c9e.js → index-611b7c83.js} +3 -3
- package/build/{index-c246a805.js → index-6156831d.js} +2 -2
- package/build/{index-e79b74ad.js → index-62548512.js} +17 -17
- package/build/{index-86fb82cb.js → index-69e6de3a.js} +3 -3
- package/build/{index-d3eee893.js → index-70de7321.js} +13 -13
- package/build/{index-e785998a.js → index-71148417.js} +1 -1
- package/build/{index-10563d2d.js → index-72671071.js} +2 -2
- package/build/{index-ede81ff3.js → index-761f2bbb.js} +34 -32
- package/build/{index-f0964133.js → index-79d2fc4e.js} +21 -21
- package/build/{index-c2b6c6df.js → index-7a3a5929.js} +1 -1
- package/build/{index-2ec2e22f.js → index-7d793ec4.js} +1 -1
- package/build/{index-24f74a6c.js → index-82baad1d.js} +1 -1
- package/build/{index-684d0882.js → index-8e0ed6f2.js} +2 -2
- package/build/index-8e28098d.js +232 -0
- package/build/{index-923ca659.js → index-9022ed3c.js} +5 -5
- package/build/{index-ed9cdb03.js → index-92c94b94.js} +18 -18
- package/build/{index-4c3d9fab.js → index-9462f653.js} +6 -6
- package/build/{index-251bc19b.js → index-9e4e4f3c.js} +7 -7
- package/build/{index-818e3329.js → index-9e7d1f56.js} +18 -11
- package/build/{index-d679f0b1.js → index-9f602174.js} +24 -24
- package/build/{index-4840213b.js → index-9f669237.js} +3 -3
- package/build/{index-6c7afdca.js → index-a3c67dcf.js} +2 -2
- package/build/index-a6f688f6.js +504 -0
- package/build/{index-c44ce30e.js → index-b4f6f804.js} +7 -7
- package/build/{index-66035c29.js → index-bdbf0a5a.js} +1 -1
- package/build/{index-082c1f5c.js → index-be4367ae.js} +15 -15
- package/build/{index-92c78315.js → index-bf4b5ae2.js} +1 -1
- package/build/index-cd7f4e33.js +61 -0
- package/build/{index-293892eb.js → index-ce7e00ca.js} +5 -5
- package/build/{index-d5bd7852.js → index-ce7f45bf.js} +217 -105
- package/build/{index-7c731bb3.js → index-cff968db.js} +6 -6
- package/build/{index-da6b25ba.js → index-d71f7cfc.js} +1 -1
- package/build/{index-5ffb9c80.js → index-dab1cb47.js} +2 -2
- package/build/{index-bd8d3d98.js → index-df980c7e.js} +16 -16
- package/build/{index-2643e607.js → index-e3f36531.js} +16 -16
- package/build/{index-6624dc27.js → index-e4b4f6e4.js} +37 -36
- package/build/{index-f30ece98.js → index-e6c26fc2.js} +19 -7
- package/build/{index-d1a1f50a.js → index-eab1da9a.js} +3 -3
- package/build/{index-91f78d81.js → index-ec7f237b.js} +24 -24
- package/build/{index-69e5e1b3.js → index-f01067ba.js} +2 -2
- package/build/{index-ca0aaa30.js → index-f5477e08.js} +2 -2
- package/build/{index-6dcbaf78.js → index-f6064fa3.js} +16 -16
- package/build/{index-78c6c6cf.js → index-f91d4f9b.js} +11 -11
- package/build/{index-54096852.js → index-faf96499.js} +9 -3
- package/build/index.js +128 -123
- package/build/interfaces/constants/index.d.ts +2 -0
- package/build/interfaces/healthTools.d.ts +1 -0
- package/build/interfaces/types/Video.d.ts +36 -0
- package/build/interfaces/types/index.d.ts +1 -0
- package/build/{labelSorting-d221a981.js → labelSorting-481c7f81.js} +4 -4
- package/build/lead/helpers.d.ts +31 -0
- package/build/lead/layouts/lightbox/emptyComponent.d.ts +6 -0
- package/build/lead/layouts/lightbox/fields/googleLocationBlock.d.ts +7 -0
- package/build/lead/layouts/lightbox/formContainer.d.ts +17 -0
- package/build/lead/layouts/lightbox/headerImage.d.ts +11 -0
- package/build/lead.css +1 -1
- package/build/lead.js +290 -183
- package/build/{logoIcon-f344c366.js → logoIcon-1dded2a1.js} +2 -2
- package/build/mantine.js +22 -22
- package/build/misc.js +19 -18
- 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 +75 -69
- package/build/moleculesArticleCard.js +6 -6
- package/build/moleculesArticleCardV2.js +16 -16
- package/build/navigation.js +50 -45
- package/build/navigationLogoutPopup.js +9 -9
- package/build/navigationProfileButton.js +23 -23
- package/build/{dataTransform-cd43633f.js → number-9759d3f3.js} +0 -11
- package/build/onboardingV2.js +28 -28
- package/build/organisms.js +53 -48
- package/build/{post-68372a5c.js → post-55130c86.js} +2 -2
- package/build/profileNavigation.js +19 -19
- package/build/progressBar.js +1 -1
- package/build/pwg.js +22 -22
- package/build/ssoV2/api/featureFlag.d.ts +2 -1
- package/build/ssoV2/index.d.ts +1 -0
- package/build/ssoV2/utils.d.ts +6 -0
- package/build/ssoV2.js +65 -71
- package/build/{store-90450103.js → store-2b136a1f.js} +4 -4
- package/build/subot.js +42 -41
- package/build/surveyOrPremiumBanner.js +31 -31
- package/build/surveyQuestionCard.js +10 -10
- package/build/{surveyThankyouCard-b17d0ead.js → surveyThankyouCard-1197c929.js} +5 -5
- package/build/together.js +63 -61
- package/build/togetherApiUtils.js +4 -4
- package/build/togetherAtoms.js +30 -30
- package/build/togetherComponentGlobalContext.js +4 -4
- package/build/togetherMolecules.js +51 -49
- package/build/togetherMoleculesCardAuthor.js +28 -27
- package/build/togetherMoleculesPostImagePreview.js +11 -11
- package/build/togetherMoleculesProfileDetail.js +38 -37
- package/build/togetherOrganisms.js +56 -54
- package/build/togetherRichTextEditor.js +17 -17
- package/build/togetherShareBox.js +10 -10
- package/build/{treePopoverMenu-6493d54c.js → treePopoverMenu-e057488c.js} +19 -19
- package/build/{types-9a594994.js → types-c4ab840e.js} +2 -2
- package/build/types.js +6 -2
- package/build/{useCategory-d6102fc5.js → useCategory-044304b6.js} +5 -5
- package/build/{useHealthToolCache-6c22500d.js → useHealthToolCache-68e6225b.js} +1 -1
- package/build/{useMantineLocale-5e25dbd7.js → useMantineLocale-681887a6.js} +6 -6
- package/build/{usePlacesAutocomplete-2c39ed87.js → usePlacesAutocomplete-61107b84.js} +1 -1
- package/build/{useScreenSize-23da1322.js → useScreenSize-e44ff92b.js} +2 -2
- package/build/useTogetherAuthRequiredAction.js +9 -9
- package/build/{utils-cfd7bb44.js → utils-0ad9aa89.js} +3 -3
- package/build/utils-0ccea534.js +61 -0
- package/build/{utils-f03f5aa2.js → utils-429eb4e6.js} +2 -2
- package/build/{utils-36e81afa.js → utils-d60203c1.js} +2 -2
- package/build/vaccination.js +21 -21
- package/package.json +1 -1
- package/build/components/atoms/googleLocation/index.d.ts +0 -7
- package/build/esm/components/atoms/googleLocation/index.d.ts +0 -7
- package/build/esm/index-bd2495ce.js +0 -148
- package/build/index-74841ceb.js +0 -156
- /package/build/{BMI_BOYS.percentile.monthly-4b4ead7c.js → BMI_BOYS.percentile.monthly-38fdfcf3.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-275b5075.js → BMI_BOYS.percentile.weekly-11e5b68b.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-f45e4de7.js → BMI_BOYS.percentile.yearly-9f3013f8.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-34c01826.js → BMI_BOYS.zscore.monthly-ab152b5e.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-ff058983.js → BMI_BOYS.zscore.weekly-755750c3.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-e83db155.js → BMI_BOYS.zscore.yearly-3a7f13b4.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-5952a5f6.js → BMI_GIRLS.percentile.monthly-a263f531.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-cabf64c6.js → BMI_GIRLS.percentile.weekly-8ad3a67c.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-f7ed2115.js → BMI_GIRLS.percentile.yearly-647a8db0.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-2ddfbad7.js → BMI_GIRLS.zscore.monthly-1db27e68.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-77fbbbb2.js → BMI_GIRLS.zscore.weekly-726a04b2.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-b0778e65.js → BMI_GIRLS.zscore.yearly-83c5fe25.js} +0 -0
- /package/build/{ChevronDown-de1ece98.js → ChevronDown-15899ea8.js} +0 -0
- /package/build/{Close-f7a2dac0.js → Close-5609ab8d.js} +0 -0
- /package/build/{Google-09fa7368.js → Google-f28db01e.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-cdd4c1aa.js → HEAD CIRCUM_BOYS.percentile.monthly-93f792e5.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-0a8fb80b.js → HEAD CIRCUM_BOYS.percentile.weekly-6888ab2d.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-15ef21eb.js → HEAD CIRCUM_BOYS.percentile.yearly-29acef81.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-1780ca18.js → HEAD CIRCUM_BOYS.zscore.monthly-857fb5a2.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-d81d27c5.js → HEAD CIRCUM_BOYS.zscore.weekly-1e0f470f.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-78c7764f.js → HEAD CIRCUM_BOYS.zscore.yearly-524a0d7d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-cd5e7f71.js → HEAD CIRCUM_GIRLS.percentile.monthly-db176836.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-8ac9bd16.js → HEAD CIRCUM_GIRLS.percentile.weekly-9c96f8bd.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-10ab0a12.js → HEAD CIRCUM_GIRLS.percentile.yearly-11cd49b0.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-cb18cd53.js → HEAD CIRCUM_GIRLS.zscore.monthly-01829ce8.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-7511854b.js → HEAD CIRCUM_GIRLS.zscore.weekly-5ea492b9.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-7038e2d6.js → HEAD CIRCUM_GIRLS.zscore.yearly-d6664abb.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-8c085b60.js → HEIGHT_BOYS.percentile.monthly-611d3286.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-d307bc3f.js → HEIGHT_BOYS.percentile.weekly-0da208c0.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-aa29790b.js → HEIGHT_BOYS.percentile.yearly-f39eb767.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-6a550368.js → HEIGHT_BOYS.zscore.monthly-b2bb8b3d.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-dd015b01.js → HEIGHT_BOYS.zscore.weekly-c1259604.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-fa30f5c4.js → HEIGHT_BOYS.zscore.yearly-737046d7.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-364a4a1c.js → HEIGHT_GIRLS.percentile.monthly-e40770c9.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-b47df52c.js → HEIGHT_GIRLS.percentile.weekly-32e35024.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-fd47ff74.js → HEIGHT_GIRLS.percentile.yearly-bd45d6f8.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-92b8e61f.js → HEIGHT_GIRLS.zscore.monthly-1ea3be55.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-5f9bcf63.js → HEIGHT_GIRLS.zscore.weekly-fcafae18.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-0c498c6a.js → HEIGHT_GIRLS.zscore.yearly-51953ecf.js} +0 -0
- /package/build/{Locale-fe94e6b7.js → Locale-9a9c25ba.js} +0 -0
- /package/build/{Visible-ba7b3d53.js → Visible-3e6362ef.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-b1d92929.js → WEIGHT_BOYS.percentile.monthly-77a4ac1a.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-aaf578c7.js → WEIGHT_BOYS.percentile.weekly-05a3f734.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-2239ddd4.js → WEIGHT_BOYS.percentile.yearly-b9a64616.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-9e3d43f3.js → WEIGHT_BOYS.zscore.monthly-50cf0d34.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-a70c3f37.js → WEIGHT_BOYS.zscore.weekly-b70b5b4f.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-e4dc963c.js → WEIGHT_BOYS.zscore.yearly-6715be4d.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-8546d75a.js → WEIGHT_GIRLS.percentile.monthly-d2755260.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-0d8abcfc.js → WEIGHT_GIRLS.percentile.weekly-91f3d597.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-a252fa57.js → WEIGHT_GIRLS.percentile.yearly-eb8d0f7c.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-d8098121.js → WEIGHT_GIRLS.zscore.monthly-d6a9ea18.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-eb2ca773.js → WEIGHT_GIRLS.zscore.weekly-8c06163c.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-a7aa6f56.js → WEIGHT_GIRLS.zscore.yearly-0d274875.js} +0 -0
- /package/build/{animation-8e372e43.js → animation-2965d3fe.js} +0 -0
- /package/build/{constants-a0dcf322.js → constants-62df9928.js} +0 -0
- /package/build/{constants-adcd504a.js → constants-85011c6d.js} +0 -0
- /package/build/{constants-3dd494fd.js → constants-ad9c3894.js} +0 -0
- /package/build/{doctor-7f97e5bb.js → doctor-9c2cc449.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-daed3839.js → BMI_BOYS.percentile.monthly-2b8f295a.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-bb492b2f.js → BMI_BOYS.percentile.weekly-e5bf2e65.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-5078dcab.js → BMI_BOYS.percentile.yearly-ce87ffbd.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-b2722ac5.js → BMI_BOYS.zscore.monthly-4fd82101.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-4bc30b6b.js → BMI_BOYS.zscore.weekly-8c153610.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-a579a72b.js → BMI_BOYS.zscore.yearly-11279be6.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-f0cf5f80.js → BMI_GIRLS.percentile.monthly-2f570a7b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-d977dd24.js → BMI_GIRLS.percentile.weekly-565cc5df.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-9ad34a6a.js → BMI_GIRLS.percentile.yearly-eeff7908.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-e6677292.js → BMI_GIRLS.zscore.monthly-99cdd814.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-0aa4f907.js → BMI_GIRLS.zscore.weekly-4f73229e.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-d156197f.js → BMI_GIRLS.zscore.yearly-76d5210e.js} +0 -0
- /package/build/esm/{ChevronDown-d9b90ee4.js → ChevronDown-c3b7acfc.js} +0 -0
- /package/build/esm/{Close-82dea850.js → Close-763d013a.js} +0 -0
- /package/build/esm/{Google-5bdd036c.js → Google-c19a0256.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-ca3afd0b.js → HEAD CIRCUM_BOYS.percentile.monthly-1a5ba1df.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-b5983e55.js → HEAD CIRCUM_BOYS.percentile.weekly-ceb5e0e8.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-3bc06058.js → HEAD CIRCUM_BOYS.percentile.yearly-f85040db.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-2a3fb151.js → HEAD CIRCUM_BOYS.zscore.monthly-41dd67a5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-8093a754.js → HEAD CIRCUM_BOYS.zscore.weekly-a13e3426.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-86ff100b.js → HEAD CIRCUM_BOYS.zscore.yearly-7689391d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-4acde5cd.js → HEAD CIRCUM_GIRLS.percentile.monthly-2ece417e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-6388c74b.js → HEAD CIRCUM_GIRLS.percentile.weekly-74480197.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-2e907753.js → HEAD CIRCUM_GIRLS.percentile.yearly-a53c0242.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-da2e586c.js → HEAD CIRCUM_GIRLS.zscore.monthly-42d4ddca.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-aa5062af.js → HEAD CIRCUM_GIRLS.zscore.weekly-f56a4ced.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-d4aed2d0.js → HEAD CIRCUM_GIRLS.zscore.yearly-3b671928.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-4dfe4746.js → HEIGHT_BOYS.percentile.monthly-217e3f58.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-a6baa956.js → HEIGHT_BOYS.percentile.weekly-c7040460.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-d2011cb1.js → HEIGHT_BOYS.percentile.yearly-7f11e114.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-cdfabdff.js → HEIGHT_BOYS.zscore.monthly-3ecbf3af.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-ce164c2b.js → HEIGHT_BOYS.zscore.weekly-656f6afd.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-19bf9cf0.js → HEIGHT_BOYS.zscore.yearly-e7e70ba5.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-98b79637.js → HEIGHT_GIRLS.percentile.monthly-00021b65.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-55b39359.js → HEIGHT_GIRLS.percentile.weekly-fed985d0.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-f23da78d.js → HEIGHT_GIRLS.percentile.yearly-f69f7c5a.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-0a270c80.js → HEIGHT_GIRLS.zscore.monthly-c155ed03.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-25265133.js → HEIGHT_GIRLS.zscore.weekly-cb626fc4.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-be1f88fd.js → HEIGHT_GIRLS.zscore.yearly-ab488e2d.js} +0 -0
- /package/build/esm/{Locale-9dea4d4a.js → Locale-9b494286.js} +0 -0
- /package/build/esm/{Visible-bd26f31d.js → Visible-e5349501.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-d4fdfcb7.js → WEIGHT_BOYS.percentile.monthly-c8cb4ccb.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-f994d5b3.js → WEIGHT_BOYS.percentile.weekly-93944aaa.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-7209f636.js → WEIGHT_BOYS.percentile.yearly-1ae9d26e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-91d2ac15.js → WEIGHT_BOYS.zscore.monthly-d800d1f3.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-376e3f12.js → WEIGHT_BOYS.zscore.weekly-37eaa6fd.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-25df070f.js → WEIGHT_BOYS.zscore.yearly-69644237.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-1f2b86e4.js → WEIGHT_GIRLS.percentile.monthly-a5671b63.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-26ae073a.js → WEIGHT_GIRLS.percentile.weekly-f2207a78.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-e29254ad.js → WEIGHT_GIRLS.percentile.yearly-d929d29f.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-f855ae42.js → WEIGHT_GIRLS.zscore.monthly-1f54c6a1.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-9485b099.js → WEIGHT_GIRLS.zscore.weekly-2b45b152.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-59a78415.js → WEIGHT_GIRLS.zscore.yearly-c43a4f43.js} +0 -0
- /package/build/esm/{animation-d6ce9d00.js → animation-f91edf91.js} +0 -0
- /package/build/esm/{constants-3113c3f3.js → constants-84344d5e.js} +0 -0
- /package/build/esm/{constants-0dd52e3f.js → constants-9deb1413.js} +0 -0
- /package/build/esm/{constants-44428c3b.js → constants-aeae9501.js} +0 -0
- /package/build/esm/{doctor-79695d47.js → doctor-d288792c.js} +0 -0
- /package/build/esm/{index-9429fef2.js → index-0c911426.js} +0 -0
- /package/build/esm/{index-d60257ab.js → index-0e99d20e.js} +0 -0
- /package/build/esm/{index-e578acff.js → index-29a3b52a.js} +0 -0
- /package/build/esm/{index-9b4eb370.js → index-3b2e5262.js} +0 -0
- /package/build/esm/{index-e3dd4816.js → index-75bfe19f.js} +0 -0
- /package/build/esm/{index-68a622bd.js → index-80a9c9eb.js} +0 -0
- /package/build/esm/{index-e0c9065b.js → index-8d0259ad.js} +0 -0
- /package/build/esm/{index-ef1e92aa.js → index-c484ee95.js} +0 -0
- /package/build/esm/{index-fc4ff0c1.js → index-f07c00bd.js} +0 -0
- /package/build/esm/{index.styles-f1d20f0b.js → index.styles-4f9afc01.js} +0 -0
- /package/build/esm/{localizeNumberFormat-b58b0709.js → localizeNumberFormat-ebaff9fc.js} +0 -0
- /package/build/esm/{normalizeLink-0bbb9f2e.js → normalizeLink-356a4e59.js} +0 -0
- /package/build/esm/{other-5df2ee98.js → other-9a23db32.js} +0 -0
- /package/build/esm/{paths-79c2a942.js → paths-60eca75f.js} +0 -0
- /package/build/esm/{translationsContext-4a161a5e.js → translationsContext-6915a82a.js} +0 -0
- /package/build/esm/{tslib.es6-bea6774f.js → tslib.es6-cfddefe9.js} +0 -0
- /package/build/esm/{types-d6b560f0.js → types-f38dc69f.js} +0 -0
- /package/build/esm/{useIsInit-5cac74db.js → useIsInit-7e51de55.js} +0 -0
- /package/build/esm/{useOutsideClick-01227e67.js → useOutsideClick-557246e7.js} +0 -0
- /package/build/esm/{useScrollbarSize-94dd12a9.js → useScrollbarSize-d3cb6879.js} +0 -0
- /package/build/esm/{useUniqueId-ab3eacc1.js → useUniqueId-edcccf6c.js} +0 -0
- /package/build/esm/{utils-5a720548.js → utils-339046f6.js} +0 -0
- /package/build/{index-9b9a13c0.js → index-2f7efba5.js} +0 -0
- /package/build/{index-08dbe4bb.js → index-6b665cd9.js} +0 -0
- /package/build/{index-70053705.js → index-9eb89a78.js} +0 -0
- /package/build/{index-e5cda5ef.js → index-a63d22cb.js} +0 -0
- /package/build/{index-2340bde2.js → index-caea59ad.js} +0 -0
- /package/build/{index-2ac16096.js → index-dcbac626.js} +0 -0
- /package/build/{index-d49e78ee.js → index-e596adb8.js} +0 -0
- /package/build/{index-a9517b32.js → index-f9edb43e.js} +0 -0
- /package/build/{index-affa5696.js → index-fee7b6c8.js} +0 -0
- /package/build/{index.styles-f3cba150.js → index.styles-8510d50e.js} +0 -0
- /package/build/{localizeNumberFormat-7ba78458.js → localizeNumberFormat-92b7aec0.js} +0 -0
- /package/build/{normalizeLink-7ccd3c22.js → normalizeLink-11adaff0.js} +0 -0
- /package/build/{other-55a9988c.js → other-2bd39cad.js} +0 -0
- /package/build/{paths-1762008b.js → paths-2ed17c3a.js} +0 -0
- /package/build/{translationsContext-f04b6541.js → translationsContext-239790ff.js} +0 -0
- /package/build/{tslib.es6-400729ae.js → tslib.es6-ba92c8a7.js} +0 -0
- /package/build/{types-78001fd6.js → types-fa3f2caf.js} +0 -0
- /package/build/{useIsInit-32887485.js → useIsInit-9255576d.js} +0 -0
- /package/build/{useOutsideClick-5f93addc.js → useOutsideClick-bbd76b55.js} +0 -0
- /package/build/{useScrollbarSize-4ff147e9.js → useScrollbarSize-8af8a20d.js} +0 -0
- /package/build/{useUniqueId-31a8ced9.js → useUniqueId-11c1fa8a.js} +0 -0
- /package/build/{utils-0b96a051.js → utils-b20c27f3.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
import { _ as __rest, a as __awaiter } from './tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __awaiter } from './tslib.es6-cfddefe9.js';
|
|
2
2
|
import React__default, { useMemo, useEffect, useContext, useState, useRef, useCallback } from 'react';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { a as
|
|
3
|
+
import { V as VideoType } from './index-6d7f28dd.js';
|
|
4
|
+
import { i as isInternalLink, V as VideoItem, L as LanguageSwitcher } from './index-c34b3b5c.js';
|
|
5
|
+
import { a as CARE_LOCALES, b as CARE_BOOKING_LOCALES, T as TOGETHER_LOCALES, E as ECOM_LOCALES, c as VIDEO_LOCALES, S as STATIC_PAGES, L as LOCALE_SPECS } from './index-93dfd4e1.js';
|
|
6
|
+
import { g as getCurrentBaseUrl, a as getCurrentSsoUrl, b as getTogetherApiDomain, c as getDiscoverApiDomain, n as normalizeLink, e as normalizeLinkSlash, d as getCareApiDomain } from './normalizeLink-356a4e59.js';
|
|
7
|
+
import { a as formatCommunity, b as formatPost } from './dataTransform-23043966.js';
|
|
7
8
|
import { Close, Download } from '@hhgtech/icons/core';
|
|
8
9
|
import { createStyles, Box, Indicator, useMantineTheme } from '@mantine/core';
|
|
9
|
-
import { L as Logo } from './index-
|
|
10
|
-
import { u as useTranslations } from './index-
|
|
10
|
+
import { L as Logo } from './index-d6e68b7a.js';
|
|
11
|
+
import { u as useTranslations } from './index-fd5c91de.js';
|
|
11
12
|
import throttle from 'lodash/throttle';
|
|
12
|
-
import { I as Input } from './index-
|
|
13
|
+
import { I as Input } from './index-18cf18ca.js';
|
|
13
14
|
import '@mantine/dates';
|
|
14
|
-
import './index-
|
|
15
|
-
import
|
|
16
|
-
import './
|
|
17
|
-
import {
|
|
18
|
-
import
|
|
19
|
-
import './
|
|
20
|
-
import './translationsContext-4a161a5e.js';
|
|
15
|
+
import { C as CommonGAssets } from './index-8d0259ad.js';
|
|
16
|
+
import './useMantineLocale-2f880379.js';
|
|
17
|
+
import { T as Text } from './index-4d85e9fa.js';
|
|
18
|
+
import { B as Button$1 } from './index-4b466fad.js';
|
|
19
|
+
import './index.styles-4f9afc01.js';
|
|
20
|
+
import './translationsContext-6915a82a.js';
|
|
21
21
|
import '@mantine/hooks';
|
|
22
|
-
import { g as getBoundariesFromMediaQueryKey, M as MediaQueries } from './utils-
|
|
23
|
-
import './other-
|
|
24
|
-
import './index-
|
|
25
|
-
import { L as LOCALISED_SLUGS } from './constants-
|
|
22
|
+
import { g as getBoundariesFromMediaQueryKey, M as MediaQueries } from './utils-339046f6.js';
|
|
23
|
+
import './other-9a23db32.js';
|
|
24
|
+
import './index-56a0dca0.js';
|
|
25
|
+
import { L as LOCALISED_SLUGS } from './constants-25ae899e.js';
|
|
26
26
|
import styled from '@emotion/styled';
|
|
27
|
-
import { u as useCSSFocusPopupHelper, N as NavigationProfileButton } from './index-
|
|
28
|
-
import { u as useSSOV2Store, I as IS_SSOV2_ENABLED } from './store-
|
|
29
|
-
import { B as Button } from './index-
|
|
30
|
-
import { i as domainLocalesMarryBaby } from './utils-
|
|
27
|
+
import { u as useCSSFocusPopupHelper, N as NavigationProfileButton } from './index-8630e312.js';
|
|
28
|
+
import { u as useSSOV2Store, I as IS_SSOV2_ENABLED } from './store-208e5bec.js';
|
|
29
|
+
import { B as Button } from './index-e4fea84c.js';
|
|
30
|
+
import { i as domainLocalesMarryBaby } from './utils-1ef10b87.js';
|
|
31
31
|
import { domainLocales } from './constantsDomainLocales.js';
|
|
32
|
-
import { L as LOCALIZED_SLUGS } from './constants-
|
|
32
|
+
import { L as LOCALIZED_SLUGS } from './constants-9deb1413.js';
|
|
33
33
|
import { theme } from './miscTheme.js';
|
|
34
|
-
import { H as Heading } from './index-
|
|
35
|
-
import { I as Indicator$1 } from './index-
|
|
36
|
-
import { u as useIsInit } from './useIsInit-
|
|
34
|
+
import { H as Heading } from './index-f7236114.js';
|
|
35
|
+
import { I as Indicator$1 } from './index-d4c65e28.js';
|
|
36
|
+
import { u as useIsInit } from './useIsInit-7e51de55.js';
|
|
37
37
|
import { setDefaultClass } from './miscDefaultClassWrapper.js';
|
|
38
38
|
import dayjs from 'dayjs';
|
|
39
39
|
import relativeTime from 'dayjs/plugin/relativeTime';
|
|
40
|
-
import { U as UserAvatar } from './index-
|
|
40
|
+
import { U as UserAvatar } from './index-63abdccd.js';
|
|
41
41
|
import { ArrowRight } from '@hhgtech/icons/other';
|
|
42
42
|
import formatString from 'string-format';
|
|
43
|
-
import { C as Container } from './index-
|
|
44
|
-
import { L as LOCALE } from './Locale-
|
|
43
|
+
import { C as Container } from './index-3b2e5262.js';
|
|
44
|
+
import { L as LOCALE } from './Locale-9b494286.js';
|
|
45
45
|
import debounce from 'lodash/debounce';
|
|
46
|
-
import { g as getDataWithCache } from './core-
|
|
46
|
+
import { g as getDataWithCache } from './core-9a48dabc.js';
|
|
47
47
|
|
|
48
48
|
const getEcomUrl = ({ path, locale, }) => {
|
|
49
49
|
var _a;
|
|
@@ -119,6 +119,7 @@ const useNavConfig = ({ locale, projectType, siteType, enableBookingBtn, }) => {
|
|
|
119
119
|
const enableNavEcom = siteType !== 'marryBaby' && ECOM_LOCALES.includes(locale);
|
|
120
120
|
const enableProfileEcom = siteType !== 'marryBaby' && ECOM_LOCALES.includes(locale);
|
|
121
121
|
const enableProfileMyHealth = true;
|
|
122
|
+
const enableNavVideo = VIDEO_LOCALES.includes(locale);
|
|
122
123
|
const baseUrl = getCurrentBaseUrl(locale, siteType === 'marryBaby');
|
|
123
124
|
let fixBaseUrl = baseUrl;
|
|
124
125
|
if (typeof window !== 'undefined') {
|
|
@@ -133,6 +134,7 @@ const useNavConfig = ({ locale, projectType, siteType, enableBookingBtn, }) => {
|
|
|
133
134
|
HOME_PAGE_URL: fixBaseUrl,
|
|
134
135
|
CARE_URL_FE: `${fixBaseUrl}/care`,
|
|
135
136
|
TOGETHER_URL_FE: `${fixBaseUrl}/community`,
|
|
137
|
+
VIDEO_URL_FE: `${fixBaseUrl}/videos`,
|
|
136
138
|
SSO_URL: ssoUrl,
|
|
137
139
|
TOGETHER_API: getTogetherApiDomain(),
|
|
138
140
|
DISCOVER_API: getDiscoverApiDomain(locale),
|
|
@@ -145,13 +147,14 @@ const useNavConfig = ({ locale, projectType, siteType, enableBookingBtn, }) => {
|
|
|
145
147
|
enableNavTogether,
|
|
146
148
|
enableNavEcom,
|
|
147
149
|
enableProfileEcom,
|
|
150
|
+
enableNavVideo,
|
|
148
151
|
enableProfileMyHealth,
|
|
149
152
|
enableNavDiscover,
|
|
150
153
|
enableNavHealthTools,
|
|
151
154
|
enableProfileMySaved,
|
|
152
155
|
statics,
|
|
153
156
|
};
|
|
154
|
-
}, [
|
|
157
|
+
}, []);
|
|
155
158
|
return config;
|
|
156
159
|
};
|
|
157
160
|
|
|
@@ -282,6 +285,9 @@ const StyledItemGridLeft = styled.div `
|
|
|
282
285
|
padding: 5px 15px;
|
|
283
286
|
${MediaQueries.mbUp} {
|
|
284
287
|
border-right: 1px solid #e4e8ec;
|
|
288
|
+
display: flex;
|
|
289
|
+
flex-direction: column;
|
|
290
|
+
justify-content: space-between;
|
|
285
291
|
}
|
|
286
292
|
`;
|
|
287
293
|
const StyledItem$6 = styled.a `
|
|
@@ -305,6 +311,7 @@ const StyledItem$6 = styled.a `
|
|
|
305
311
|
.name {
|
|
306
312
|
font-size: 16px;
|
|
307
313
|
font-weight: 400;
|
|
314
|
+
line-height: 24px;
|
|
308
315
|
}
|
|
309
316
|
|
|
310
317
|
&[data-theme='marryBaby']:hover,
|
|
@@ -326,6 +333,17 @@ const StyledItem$6 = styled.a `
|
|
|
326
333
|
}
|
|
327
334
|
|
|
328
335
|
&[data-theme='marryBaby'] {
|
|
336
|
+
&.tarot-menu {
|
|
337
|
+
.icon {
|
|
338
|
+
background: linear-gradient(148deg, #fc5e9a 16.04%, #fe98bf 94.24%);
|
|
339
|
+
}
|
|
340
|
+
.name {
|
|
341
|
+
background: linear-gradient(91deg, #ea4f8a 1.24%, #fe8eb8 46.02%);
|
|
342
|
+
background-clip: text;
|
|
343
|
+
-webkit-background-clip: text;
|
|
344
|
+
-webkit-text-fill-color: transparent;
|
|
345
|
+
}
|
|
346
|
+
}
|
|
329
347
|
.icon {
|
|
330
348
|
display: flex;
|
|
331
349
|
align-items: center;
|
|
@@ -438,37 +456,41 @@ const Categories = ({ hrefViewMore, titleBtnViewMore, UrlFE, onClosePopup, menuI
|
|
|
438
456
|
const { t } = useTranslations();
|
|
439
457
|
const theme = useMantineTheme();
|
|
440
458
|
return (React__default.createElement(StyledItemGridLeft, null,
|
|
441
|
-
React__default.createElement(
|
|
442
|
-
React__default.createElement(
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
? item === null || item === void 0 ? void 0 : item.link
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
459
|
+
React__default.createElement("div", null,
|
|
460
|
+
React__default.createElement(StyledHeading$1, null,
|
|
461
|
+
React__default.createElement(Heading, { tag: siteType === 'marryBaby' ? 'h5' : 'h6', as: "p", fontWeight: "semibold" }, headingTitle)), menuItems === null || menuItems === void 0 ? void 0 :
|
|
462
|
+
menuItems.slice(0, 6).map((item, index) => {
|
|
463
|
+
const href = (item === null || item === void 0 ? void 0 : item.link)
|
|
464
|
+
? (item === null || item === void 0 ? void 0 : item.link.startsWith('http'))
|
|
465
|
+
? item === null || item === void 0 ? void 0 : item.link
|
|
466
|
+
: `${UrlFE}/${item === null || item === void 0 ? void 0 : item.link.split('/').filter(Boolean).join('/')}/`
|
|
467
|
+
: '/';
|
|
468
|
+
const isTarotItem = (item === null || item === void 0 ? void 0 : item.id) === 'game' && siteType === 'marryBaby';
|
|
469
|
+
return (React__default.createElement(StyledItem$6, Object.assign({ className: `iconMenu ${isTarotItem ? 'tarot-menu' : ''}`, "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": href, "data-is-heading-category": false, "data-active": item.id && item.id === activeItem, "data-is-mobile-tool": item.isMobileAppTool, href: href }, (!isInternalLink(href) && {
|
|
470
|
+
target: '_blank',
|
|
471
|
+
}), { "data-theme": siteType, key: index, onClick: onClosePopup }),
|
|
472
|
+
React__default.createElement("div", { className: "icon" },
|
|
473
|
+
React__default.createElement("img", { loading: "lazy", alt: item.name, src: item.thumbnail || '/images/avatar.jpg', style: {
|
|
474
|
+
width: 32,
|
|
475
|
+
height: 32,
|
|
476
|
+
maxWidth: 32,
|
|
477
|
+
maxHeight: 32,
|
|
478
|
+
overflow: 'hidden',
|
|
479
|
+
} })),
|
|
480
|
+
React__default.createElement(NewWrapper, { isNew: item.isNew },
|
|
481
|
+
React__default.createElement("div", { style: {
|
|
482
|
+
padding: '0 0.4rem',
|
|
483
|
+
paddingRight: item.isNew ? 10 : 0,
|
|
484
|
+
} },
|
|
485
|
+
React__default.createElement("p", { className: "name" }, item.name),
|
|
486
|
+
item.isMobileAppTool && (React__default.createElement(Text, { size: "n1", color: theme.fn.primaryColor(), weight: (item === null || item === void 0 ? void 0 : item.id) && (item === null || item === void 0 ? void 0 : item.id) === activeItem
|
|
487
|
+
? 'semiBold'
|
|
488
|
+
: 'regular' }, t('home.calcWithApp'))))),
|
|
489
|
+
item.isMobileAppTool && (React__default.createElement(StyledIconNav, null,
|
|
490
|
+
React__default.createElement(Phone, { className: "phone-icon", size: 16 }))),
|
|
491
|
+
React__default.createElement(StyledIconNav, { className: "arrow-icon" },
|
|
492
|
+
React__default.createElement("img", { src: CommonGAssets.getAssetPath('chevronRight.svg'), style: { width: '16px', height: '16px' }, loading: "lazy" }))));
|
|
493
|
+
})),
|
|
472
494
|
titleBtnViewMore && (React__default.createElement(StyledViewMore$1, { "data-theme": siteType, style: { textDecoration: 'none' }, href: hrefViewMore, "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": hrefViewMore },
|
|
473
495
|
React__default.createElement(StyledItemAll, { onClick: onClosePopup, "data-theme": siteType, "data-is-heading-category": false },
|
|
474
496
|
titleBtnViewMore,
|
|
@@ -478,7 +500,7 @@ const Categories = ({ hrefViewMore, titleBtnViewMore, UrlFE, onClosePopup, menuI
|
|
|
478
500
|
: CommonGAssets.getAssetPath('chevronRightActive.svg'), style: { width: '16px', height: '16px' }, loading: "lazy" })))))));
|
|
479
501
|
};
|
|
480
502
|
|
|
481
|
-
const StyledContainerItems$
|
|
503
|
+
const StyledContainerItems$5 = styled.div `
|
|
482
504
|
display: grid;
|
|
483
505
|
|
|
484
506
|
grid-template-columns: repeat(3, 1fr);
|
|
@@ -803,7 +825,7 @@ const CareSpotlights = ({ spotlights = [], hrefViewMore }) => {
|
|
|
803
825
|
const { t } = useTranslations();
|
|
804
826
|
const { siteType } = useContext(NavigationContext);
|
|
805
827
|
return (React__default.createElement(Spotlights, { title: t('home.navigator.menu.spotlightHospitals') }, spotlights.length !== 0 ? (React__default.createElement(React__default.Fragment, null,
|
|
806
|
-
React__default.createElement(StyledContainerItems$
|
|
828
|
+
React__default.createElement(StyledContainerItems$5, null, spotlights === null || spotlights === void 0 ? void 0 : spotlights.slice(0, 3).map((s, index) => (React__default.createElement(Item$4, { key: index, index: index, item: s })))),
|
|
807
829
|
React__default.createElement("div", { style: {
|
|
808
830
|
position: 'absolute',
|
|
809
831
|
bottom: '6px',
|
|
@@ -813,7 +835,7 @@ const CareSpotlights = ({ spotlights = [], hrefViewMore }) => {
|
|
|
813
835
|
React__default.createElement(Button, { theme: siteType, className: "survey-contact-submit", size: "md" }, t('home.navigator.menu.care.homeButton')))))) : (React__default.createElement(SpotlightNoData, { title: t('home.navigator.menu.care.noDatas.title'), description: t('home.navigator.menu.care.noDatas.description'), link: hrefViewMore, cta: t('home.navigator.menu.care.homeButton'), icon: CommonGAssets.getAssetPath('community.svg') }))));
|
|
814
836
|
};
|
|
815
837
|
|
|
816
|
-
const StyledContainerItems$
|
|
838
|
+
const StyledContainerItems$4 = styled.div `
|
|
817
839
|
display: grid;
|
|
818
840
|
|
|
819
841
|
grid-template-columns: repeat(4, 1fr);
|
|
@@ -879,7 +901,7 @@ const Item$3 = ({ item, index = 0 }) => {
|
|
|
879
901
|
const CategorySpotlights = ({ spotlightsList = [], hrefViewMore }) => {
|
|
880
902
|
const { t } = useTranslations();
|
|
881
903
|
const { configs: { statics }, } = useContext(NavigationContext);
|
|
882
|
-
return (React__default.createElement(Spotlights, { title: t('home.navigator.menu.spotlights'), viewMore: t('home.navigator.menu.spotlights.seeAll'), link: hrefViewMore, dataEventAction: "Spotlight See More Click" }, spotlightsList.length !== 0 ? (React__default.createElement(StyledContainerItems$
|
|
904
|
+
return (React__default.createElement(Spotlights, { title: t('home.navigator.menu.spotlights'), viewMore: t('home.navigator.menu.spotlights.seeAll'), link: hrefViewMore, dataEventAction: "Spotlight See More Click" }, spotlightsList.length !== 0 ? (React__default.createElement(StyledContainerItems$4, null, spotlightsList === null || spotlightsList === void 0 ? void 0 : spotlightsList.slice(0, 4).map((spotlight, index) => (React__default.createElement(Item$3, { key: index, index: index, item: {
|
|
883
905
|
id: spotlight.id,
|
|
884
906
|
link: statics.HOME_PAGE_URL + spotlight.permalink,
|
|
885
907
|
title: spotlight.name,
|
|
@@ -887,7 +909,7 @@ const CategorySpotlights = ({ spotlightsList = [], hrefViewMore }) => {
|
|
|
887
909
|
} }))))) : (React__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: CommonGAssets.getAssetPath('Spotlight.svg') }))));
|
|
888
910
|
};
|
|
889
911
|
|
|
890
|
-
const StyledContainerItems$
|
|
912
|
+
const StyledContainerItems$3 = styled.div `
|
|
891
913
|
display: grid;
|
|
892
914
|
grid-template-columns: repeat(2, 1fr);
|
|
893
915
|
grid-gap: 48px;
|
|
@@ -1039,10 +1061,10 @@ const Item$2 = ({ post, index = 0 }) => {
|
|
|
1039
1061
|
const CommunitySpotlights = ({ spotlights = [] }) => {
|
|
1040
1062
|
const { configs: { statics }, } = useContext(NavigationContext);
|
|
1041
1063
|
const { t } = useTranslations();
|
|
1042
|
-
return (React__default.createElement(Spotlights, { title: t('home.navigator.menu.trendingPosts'), viewMore: t('home.navigator.menu.trendingPosts.seeMore'), link: normalizeLink(statics.TOGETHER_URL_FE), dataEventAction: "Together See More Click" }, spotlights.length !== 0 ? (React__default.createElement(StyledContainerItems$
|
|
1064
|
+
return (React__default.createElement(Spotlights, { title: t('home.navigator.menu.trendingPosts'), viewMore: t('home.navigator.menu.trendingPosts.seeMore'), link: normalizeLink(statics.TOGETHER_URL_FE), dataEventAction: "Together See More Click" }, spotlights.length !== 0 ? (React__default.createElement(StyledContainerItems$3, null, spotlights === null || spotlights === void 0 ? void 0 : spotlights.slice(0, 4).map((p, index) => (React__default.createElement(Item$2, { index: index, post: p, key: p.id }))))) : (React__default.createElement(SpotlightNoData, { title: t('home.navigator.menu.together.noPosts.title'), description: t('home.navigator.menu.together.noPosts.description'), link: `${statics.HOME_PAGE_URL}/community/`, cta: t('home.navigator.menu.together.noPosts.cta'), icon: CommonGAssets.getAssetPath('community.svg') }))));
|
|
1043
1065
|
};
|
|
1044
1066
|
|
|
1045
|
-
const StyledContainerItems$
|
|
1067
|
+
const StyledContainerItems$2 = styled.div `
|
|
1046
1068
|
display: grid;
|
|
1047
1069
|
|
|
1048
1070
|
grid-template-columns: repeat(3, 1fr);
|
|
@@ -1082,7 +1104,7 @@ const EcomSpotlights = ({ helpfulUrls = [], }) => {
|
|
|
1082
1104
|
// const { siteType } = useContext(NavigationContext)
|
|
1083
1105
|
if (!helpfulUrls.length)
|
|
1084
1106
|
return null;
|
|
1085
|
-
return (React__default.createElement(Spotlights, { title: t('home.navigator.menu.spotlightEcom') }, helpfulUrls.length !== 0 ? (React__default.createElement(StyledContainerItems$
|
|
1107
|
+
return (React__default.createElement(Spotlights, { title: t('home.navigator.menu.spotlightEcom') }, helpfulUrls.length !== 0 ? (React__default.createElement(StyledContainerItems$2, null, helpfulUrls === null || helpfulUrls === void 0 ? void 0 : helpfulUrls.slice(0, 5).map((s, index) => (React__default.createElement(Item$1, { key: index, index: index, item: s }))))) : (React__default.createElement(React__default.Fragment, null)
|
|
1086
1108
|
// <SpotlightNoData
|
|
1087
1109
|
// title={t('home.navigator.menu.ecom.noDatas.title')}
|
|
1088
1110
|
// description={t('home.navigator.menu.ecom.noDatas.description')}
|
|
@@ -1093,7 +1115,7 @@ const EcomSpotlights = ({ helpfulUrls = [], }) => {
|
|
|
1093
1115
|
)));
|
|
1094
1116
|
};
|
|
1095
1117
|
|
|
1096
|
-
const StyledContainerItems = styled.div `
|
|
1118
|
+
const StyledContainerItems$1 = styled.div `
|
|
1097
1119
|
display: grid;
|
|
1098
1120
|
|
|
1099
1121
|
grid-template-columns: repeat(3, 1fr);
|
|
@@ -1495,15 +1517,32 @@ const ToolSpotlights = ({ hrefViewMore, spotlightHealthTools = [] }) => {
|
|
|
1495
1517
|
const marryBabyCardColor = ['pink', 'orange', 'green'];
|
|
1496
1518
|
const { siteType } = useContext(NavigationContext);
|
|
1497
1519
|
return (React__default.createElement(Spotlights, { title: t('home.navigator.menu.spotlightTools') },
|
|
1498
|
-
spotlightHealthTools.length !== 0 && (React__default.createElement(StyledContainerItems, null, spotlightHealthTools === null || spotlightHealthTools === void 0 ? void 0 : spotlightHealthTools.slice(0, 3).map((item, index) => siteType === 'marryBaby' ? (React__default.createElement(ItemMarryBaby, { key: index, index: index, item: item, color: marryBabyCardColor[index] })) : (React__default.createElement(Item, { key: index, index: index, item: item }))))),
|
|
1520
|
+
spotlightHealthTools.length !== 0 && (React__default.createElement(StyledContainerItems$1, null, spotlightHealthTools === null || spotlightHealthTools === void 0 ? void 0 : spotlightHealthTools.slice(0, 3).map((item, index) => siteType === 'marryBaby' ? (React__default.createElement(ItemMarryBaby, { key: index, index: index, item: item, color: marryBabyCardColor[index] })) : (React__default.createElement(Item, { key: index, index: index, item: item }))))),
|
|
1499
1521
|
spotlightHealthTools.length === 0 && (React__default.createElement(SpotlightNoData, { title: t('home.navigator.menu.healthTools.noDatas.title'), description: t('home.navigator.menu.healthTools.noDatas.description'), link: hrefViewMore, cta: t('home.navigator.menu.healthTools.noDatas.cta'), icon: CommonGAssets.getAssetPath('community.svg') }))));
|
|
1500
1522
|
};
|
|
1501
1523
|
|
|
1524
|
+
const StyledContainerItems = styled.div `
|
|
1525
|
+
display: grid;
|
|
1526
|
+
|
|
1527
|
+
grid-template-columns: repeat(4, 1fr);
|
|
1528
|
+
gap: 24px;
|
|
1529
|
+
${MediaQueries.tdDown} {
|
|
1530
|
+
gap: 12px;
|
|
1531
|
+
grid-template-columns: 1fr;
|
|
1532
|
+
}
|
|
1533
|
+
`;
|
|
1534
|
+
|
|
1535
|
+
const VideoSpotlights = ({ spotlightsList = [], layout = 'default', }) => {
|
|
1536
|
+
const { t } = useTranslations();
|
|
1537
|
+
const { configs: { statics }, } = useContext(NavigationContext);
|
|
1538
|
+
return (React__default.createElement(Spotlights, { title: t('home.navigator.menu.lastestVideos') }, spotlightsList.length !== 0 ? (React__default.createElement(StyledContainerItems, null, spotlightsList === null || spotlightsList === void 0 ? void 0 : spotlightsList.slice(0, 4).map((video, index) => (React__default.createElement(VideoItem, { key: index, data: Object.assign(Object.assign({}, video), { type: VideoType.SHORTS }), layout: layout === 'default' ? 'overlay' : 'horizon', redirectToLandingPage: true }))))) : (React__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: CommonGAssets.getAssetPath('Spotlight.svg') }))));
|
|
1539
|
+
};
|
|
1540
|
+
|
|
1502
1541
|
const MenuServiceList = ({ closePopup, menuItems = [] }) => {
|
|
1503
1542
|
var _a, _b;
|
|
1504
1543
|
const {
|
|
1505
1544
|
// siteType,
|
|
1506
|
-
ssrMenuContent: { categories, healthTools, care, together, ecom }, activeMenuService, configs: { statics }, locale, } = useContext(NavigationContext);
|
|
1545
|
+
ssrMenuContent: { categories, healthTools, care, together, ecom, videos }, activeMenuService, configs: { statics }, locale, } = useContext(NavigationContext);
|
|
1507
1546
|
const { t } = useTranslations();
|
|
1508
1547
|
return (React__default.createElement(StyledMasterMenuContainer, { id: 'categories-menu' },
|
|
1509
1548
|
React__default.createElement(StyledWrapper, null,
|
|
@@ -1512,14 +1551,13 @@ const MenuServiceList = ({ closePopup, menuItems = [] }) => {
|
|
|
1512
1551
|
activeMenuService === 'tools' && (React__default.createElement(ToolSpotlights, { spotlightHealthTools: healthTools === null || healthTools === void 0 ? void 0 : healthTools.spotlights, hrefViewMore: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}${((_a = STATIC_PAGES[locale]) === null || _a === void 0 ? void 0 : _a.HEALTH_TOOLS) || ''}` })),
|
|
1513
1552
|
activeMenuService === 'care' && (React__default.createElement(CareSpotlights, { spotlights: care === null || care === void 0 ? void 0 : care.spotlights, hrefViewMore: `${statics.CARE_URL_FE}/${(_b = LOCALIZED_SLUGS[locale]) === null || _b === void 0 ? void 0 : _b.SPECIALTIES}` })),
|
|
1514
1553
|
activeMenuService === 'together' && (React__default.createElement(CommunitySpotlights, { spotlights: together === null || together === void 0 ? void 0 : together.spotlights })),
|
|
1515
|
-
activeMenuService === 'ecom' && (React__default.createElement(EcomSpotlights, { helpfulUrls: ecom === null || ecom === void 0 ? void 0 : ecom.helpfulUrls }))
|
|
1554
|
+
activeMenuService === 'ecom' && (React__default.createElement(EcomSpotlights, { helpfulUrls: ecom === null || ecom === void 0 ? void 0 : ecom.helpfulUrls })),
|
|
1555
|
+
activeMenuService === 'video' && (React__default.createElement(VideoSpotlights, { spotlightsList: videos === null || videos === void 0 ? void 0 : videos.spotlights, layout: "stack" })))));
|
|
1516
1556
|
};
|
|
1517
1557
|
|
|
1518
1558
|
const HamburgerMenu = ({ menuItems }) => {
|
|
1519
|
-
const { siteType,
|
|
1520
|
-
|
|
1521
|
-
} = useContext(NavigationContext);
|
|
1522
|
-
const { containerRef, onContainerFocus, onContainerBlur, onButtonMouseDown, onClose, } = useCSSFocusPopupHelper();
|
|
1559
|
+
const { siteType, configs: { enableNavTarotGame }, } = useContext(NavigationContext);
|
|
1560
|
+
const { containerRef, onContainerFocus, onContainerBlur, onButtonMouseDown, onClose, } = useCSSFocusPopupHelper({ enableNavTarotGame });
|
|
1523
1561
|
return (React__default.createElement(DisplayWrapper, { mediaQueryKey: "mbDown" },
|
|
1524
1562
|
React__default.createElement("header", { className: styles$2.menuContainer },
|
|
1525
1563
|
React__default.createElement("div", { className: styles$2.menuIcon, ref: containerRef, role: "button", tabIndex: 0, onBlur: onContainerBlur, onFocus: onContainerFocus },
|
|
@@ -1638,7 +1676,7 @@ const StyledHeader = styled.div `
|
|
|
1638
1676
|
${MediaQueries.mbDown} {
|
|
1639
1677
|
position: relative;
|
|
1640
1678
|
height: 56px;
|
|
1641
|
-
background:
|
|
1679
|
+
background-color: ${(props) => props.isMarryBaby ? 'transparent' : '#fff'};
|
|
1642
1680
|
gap: 2px;
|
|
1643
1681
|
}
|
|
1644
1682
|
|
|
@@ -1947,6 +1985,26 @@ const checkAvailableSpotlight = (spotlight) => {
|
|
|
1947
1985
|
return false;
|
|
1948
1986
|
}
|
|
1949
1987
|
return true;
|
|
1988
|
+
};
|
|
1989
|
+
const formatVideoItem = (data) => {
|
|
1990
|
+
if (typeof data === 'undefined' || !data)
|
|
1991
|
+
return null;
|
|
1992
|
+
return {
|
|
1993
|
+
id: data.ID || '',
|
|
1994
|
+
videoId: data.video_id || '',
|
|
1995
|
+
url: data.video_url || '',
|
|
1996
|
+
title: data.video_title || '',
|
|
1997
|
+
type: data.type || VideoType.VIDEO,
|
|
1998
|
+
totalView: data.total_view || 0,
|
|
1999
|
+
description: data.description || '',
|
|
2000
|
+
createTime: data.create_time || '',
|
|
2001
|
+
duration: data.duration || 0,
|
|
2002
|
+
image: data.image || '',
|
|
2003
|
+
imageMedium: data.image_medium || '',
|
|
2004
|
+
imageThumbnail: data.image_thumbnail || '',
|
|
2005
|
+
active: false,
|
|
2006
|
+
articleLink: data.article_link || '',
|
|
2007
|
+
};
|
|
1950
2008
|
};
|
|
1951
2009
|
|
|
1952
2010
|
var styles = {"gridContainer":"q3nL5cp","container":"_2DNf80G","closeWrapper":"Q-glX-n"};
|
|
@@ -2037,10 +2095,35 @@ const MenuHealthToolsList = ({ locale, onClose, isOpen, spotlightHealthTools = [
|
|
|
2037
2095
|
React__default.createElement(ToolSpotlights, { spotlightHealthTools: spotlightHealthTools, hrefViewMore: hrefViewMore })));
|
|
2038
2096
|
};
|
|
2039
2097
|
|
|
2098
|
+
const MenuVideoList = ({ spotlightsList = [], onClose, isOpen }) => {
|
|
2099
|
+
const { t } = useTranslations();
|
|
2100
|
+
const { locale, configs: { statics }, } = useContext(NavigationContext);
|
|
2101
|
+
const listing = useMemo(() => [
|
|
2102
|
+
{
|
|
2103
|
+
name: t('home.navigator.menu.videos'),
|
|
2104
|
+
link: `${statics.VIDEO_URL_FE}/video/`,
|
|
2105
|
+
thumbnail: CommonGAssets.getAssetPath('nav-icons/video.svg'),
|
|
2106
|
+
},
|
|
2107
|
+
{
|
|
2108
|
+
name: t('home.navigator.menu.shorts'),
|
|
2109
|
+
link: `${statics.VIDEO_URL_FE}/short/`,
|
|
2110
|
+
thumbnail: CommonGAssets.getAssetPath('nav-icons/short.svg'),
|
|
2111
|
+
},
|
|
2112
|
+
{
|
|
2113
|
+
name: t('home.navigator.menu.podcasts'),
|
|
2114
|
+
link: `${statics.VIDEO_URL_FE}/podcast/`,
|
|
2115
|
+
thumbnail: CommonGAssets.getAssetPath('nav-icons/podcast.svg'),
|
|
2116
|
+
},
|
|
2117
|
+
], []);
|
|
2118
|
+
return (React__default.createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true },
|
|
2119
|
+
React__default.createElement(Categories, { hrefViewMore: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}/videos/`, UrlFE: statics.HOME_PAGE_URL, onClosePopup: onClose, titleBtnViewMore: t('home.navigator.menuItem.allVideos'), menuItems: listing, headingTitle: t('home.navigator.menuItem.videoCategories') }),
|
|
2120
|
+
React__default.createElement(VideoSpotlights, { spotlightsList: spotlightsList })));
|
|
2121
|
+
};
|
|
2122
|
+
|
|
2040
2123
|
const ItemNavButton = ({ item, color = 'blue' }) => {
|
|
2041
2124
|
const [Lottie, setLottie] = useState();
|
|
2042
2125
|
const [iconJson, setIconJson] = useState();
|
|
2043
|
-
const { locale, ssrMenuContent: { categories, healthTools, care, together }, } = useContext(NavigationContext);
|
|
2126
|
+
const { locale, ssrMenuContent: { categories, healthTools, care, together, videos }, } = useContext(NavigationContext);
|
|
2044
2127
|
const { containerRef, onButtonMouseDown, onClose } = useCSSFocusPopupHelper({
|
|
2045
2128
|
allowBgScroll: true,
|
|
2046
2129
|
});
|
|
@@ -2053,7 +2136,7 @@ const ItemNavButton = ({ item, color = 'blue' }) => {
|
|
|
2053
2136
|
});
|
|
2054
2137
|
}
|
|
2055
2138
|
if (item.id === 'care') {
|
|
2056
|
-
import('./doctor-
|
|
2139
|
+
import('./doctor-d288792c.js').then((data) => {
|
|
2057
2140
|
if (data === null || data === void 0 ? void 0 : data.default)
|
|
2058
2141
|
setIconJson(() => data.default);
|
|
2059
2142
|
});
|
|
@@ -2107,7 +2190,7 @@ const ItemNavButton = ({ item, color = 'blue' }) => {
|
|
|
2107
2190
|
}, style: Object.assign(Object.assign({}, buttonStyle), { padding: '6px 8px 6px 8px', color: '#262626', height: 'unset' }), size: "sm", rightIcon: item.popupType ? (React__default.createElement("div", { className: styles$1.menuIconWrapper },
|
|
2108
2191
|
React__default.createElement("svg", { width: "18", height: "18", viewBox: "0 0 18 18", fill: "none" },
|
|
2109
2192
|
React__default.createElement("path", { d: "M11.5 7.5L9 10L6.5 7.5", stroke: "#202135", strokeWidth: "1.33", strokeLinecap: "round", strokeLinejoin: "round" })))) : (React__default.createElement("div", null)), onMouseDown: onButtonMouseDown }, item.name),
|
|
2110
|
-
item.popupType === 'categories' ? (React__default.createElement(MenuCategoriesList, { categories: categories === null || categories === void 0 ? void 0 : categories.items, spotlightsList: categories === null || categories === void 0 ? void 0 : categories.spotlights, onClose: onClose })) : item.popupType === 'tools' ? (React__default.createElement(MenuHealthToolsList, { locale: locale, healthTools: healthTools === null || healthTools === void 0 ? void 0 : healthTools.items, spotlightHealthTools: healthTools === null || healthTools === void 0 ? void 0 : healthTools.spotlights, onClose: onClose })) : item.popupType === 'together' ? (React__default.createElement(MenuCommunitiesList, { communities: together === null || together === void 0 ? void 0 : together.items, spotlights: together === null || together === void 0 ? void 0 : together.spotlights, onClose: onClose })) : item.popupType === 'care' ? (React__default.createElement(MenuCareList, { careSpecialties: care === null || care === void 0 ? void 0 : care.items, spotlights: care === null || care === void 0 ? void 0 : care.spotlights, onClose: onClose })) : null));
|
|
2193
|
+
item.popupType === 'categories' ? (React__default.createElement(MenuCategoriesList, { categories: categories === null || categories === void 0 ? void 0 : categories.items, spotlightsList: categories === null || categories === void 0 ? void 0 : categories.spotlights, onClose: onClose })) : item.popupType === 'tools' ? (React__default.createElement(MenuHealthToolsList, { locale: locale, healthTools: healthTools === null || healthTools === void 0 ? void 0 : healthTools.items, spotlightHealthTools: healthTools === null || healthTools === void 0 ? void 0 : healthTools.spotlights, onClose: onClose })) : item.popupType === 'together' ? (React__default.createElement(MenuCommunitiesList, { communities: together === null || together === void 0 ? void 0 : together.items, spotlights: together === null || together === void 0 ? void 0 : together.spotlights, onClose: onClose })) : item.popupType === 'care' ? (React__default.createElement(MenuCareList, { careSpecialties: care === null || care === void 0 ? void 0 : care.items, spotlights: care === null || care === void 0 ? void 0 : care.spotlights, onClose: onClose })) : item.popupType === 'video' ? (React__default.createElement(MenuVideoList, { spotlightsList: videos === null || videos === void 0 ? void 0 : videos.spotlights, onClose: onClose })) : null));
|
|
2111
2194
|
};
|
|
2112
2195
|
|
|
2113
2196
|
const StyleInput = styled(Input) `
|
|
@@ -2212,6 +2295,7 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
|
|
|
2212
2295
|
const { siteType, isMobile = false, locale, sitewideBanner, sitewideBannerShown = true, sponsorComponent, isHomepage = false, onBookingClick, currentUrl, onLoginClick, cartNumber,
|
|
2213
2296
|
// ssrMenuContent: { categories, healthTools, care, together },
|
|
2214
2297
|
configs: { statics, enableNavCareBooking, enableSearchBar,
|
|
2298
|
+
// enableNavVideo,
|
|
2215
2299
|
// enableNavCare,
|
|
2216
2300
|
// enableProfileMyHealth,
|
|
2217
2301
|
// enableProfileMySaved,
|
|
@@ -2281,7 +2365,7 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
|
|
|
2281
2365
|
const careNavItem = menuItems.find((m) => m.id === 'care');
|
|
2282
2366
|
return (React__default.createElement(StyledHeaderWrapper, { "data-site-type": siteType, "data-sponsored": isSponsored, "data-sitewide-banner-shown": isShowingSiteWideBanner, "data-header-type": "home", "data-collapsed": isCollapsed, "data-is-displayed": true, id: "site-header", ref: headerRef },
|
|
2283
2367
|
sitewideBanner,
|
|
2284
|
-
React__default.createElement(StyledHeader, { "data-site-type": siteType },
|
|
2368
|
+
React__default.createElement(StyledHeader, { "data-site-type": siteType, isMarryBaby: siteType === 'marryBaby' },
|
|
2285
2369
|
React__default.createElement(StyledLeftGroup, { "data-site-type": siteType },
|
|
2286
2370
|
isMobile && React__default.createElement(HamburgerMenu, { menuItems: menuItems }),
|
|
2287
2371
|
logoComponent || (React__default.createElement("a", { style: {
|
|
@@ -2351,9 +2435,9 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
|
|
|
2351
2435
|
const NavigtionSearch = ({ siteType, projectType, isMobile = false, isHomepage = false, }) => (React__default.createElement(DisplayWrapper, { mediaQueryKey: "mbUp", className: `${siteType === 'marryBaby' ? 'marry-baby' : ''} ${isHomepage ? 'block-show' : ''}` },
|
|
2352
2436
|
React__default.createElement(SearchInput, { id: "desktop", projectType: projectType, isMobile: isMobile, isHomepage: isHomepage })));
|
|
2353
2437
|
const NavigationMenu = ({ menuItems }) => {
|
|
2354
|
-
const { siteType, locale, ssrMenuContent: { categories, healthTools, care, together }, } = useContext(NavigationContext);
|
|
2438
|
+
const { siteType, locale, ssrMenuContent: { categories, healthTools, care, together, videos }, } = useContext(NavigationContext);
|
|
2355
2439
|
return (React__default.createElement(DisplayWrapper, { mediaQueryKey: "mbUp", style: { height: '100%' } },
|
|
2356
|
-
React__default.createElement(StyledWrapMenuItems, { "data-site-type": siteType }, menuItems === null || menuItems === void 0 ? void 0 : menuItems.map((menuItem, index) => (React__default.createElement(ItemMenu, { key: index, item: menuItem, menu: menuItem.popupType === 'categories' ? (React__default.createElement(MenuCategoriesList, { categories: categories === null || categories === void 0 ? void 0 : categories.items, spotlightsList: categories === null || categories === void 0 ? void 0 : categories.spotlights })) : menuItem.popupType === 'tools' ? (React__default.createElement(MenuHealthToolsList, { locale: locale, healthTools: healthTools === null || healthTools === void 0 ? void 0 : healthTools.items, spotlightHealthTools: healthTools === null || healthTools === void 0 ? void 0 : healthTools.spotlights })) : menuItem.popupType === 'together' ? (React__default.createElement(MenuCommunitiesList, { communities: together === null || together === void 0 ? void 0 : together.items, spotlights: together === null || together === void 0 ? void 0 : together.spotlights })) : menuItem.popupType === 'care' ? (React__default.createElement(MenuCareList, { careSpecialties: care === null || care === void 0 ? void 0 : care.items, spotlights: care === null || care === void 0 ? void 0 : care.spotlights })) : null }))))));
|
|
2440
|
+
React__default.createElement(StyledWrapMenuItems, { "data-site-type": siteType }, menuItems === null || menuItems === void 0 ? void 0 : menuItems.map((menuItem, index) => (React__default.createElement(ItemMenu, { key: index, item: menuItem, menu: menuItem.popupType === 'categories' ? (React__default.createElement(MenuCategoriesList, { categories: categories === null || categories === void 0 ? void 0 : categories.items, spotlightsList: categories === null || categories === void 0 ? void 0 : categories.spotlights })) : menuItem.popupType === 'tools' ? (React__default.createElement(MenuHealthToolsList, { locale: locale, healthTools: healthTools === null || healthTools === void 0 ? void 0 : healthTools.items, spotlightHealthTools: healthTools === null || healthTools === void 0 ? void 0 : healthTools.spotlights })) : menuItem.popupType === 'together' ? (React__default.createElement(MenuCommunitiesList, { communities: together === null || together === void 0 ? void 0 : together.items, spotlights: together === null || together === void 0 ? void 0 : together.spotlights })) : menuItem.popupType === 'care' ? (React__default.createElement(MenuCareList, { careSpecialties: care === null || care === void 0 ? void 0 : care.items, spotlights: care === null || care === void 0 ? void 0 : care.spotlights })) : menuItem.popupType === 'video' ? (React__default.createElement(MenuVideoList, { spotlightsList: videos === null || videos === void 0 ? void 0 : videos.spotlights })) : null }))))));
|
|
2357
2441
|
};
|
|
2358
2442
|
|
|
2359
2443
|
const useHeaderHeight = ({ hasSponsoredBanners, isSponsored, isShowingSiteWideBanner, isMobile, }) => {
|
|
@@ -2454,7 +2538,7 @@ const useInsider = () => {
|
|
|
2454
2538
|
|
|
2455
2539
|
const useNavServices = () => {
|
|
2456
2540
|
const { t } = useTranslations();
|
|
2457
|
-
const { siteType, locale, configs: { enableNavDiscover, enableNavHealthTools, enableNavCare, enableNavTogether, enableNavEcom, statics, }, } = useContext(NavigationContext);
|
|
2541
|
+
const { siteType, locale, configs: { enableNavDiscover, enableNavHealthTools, enableNavCare, enableNavTogether, enableNavEcom, enableNavVideo, enableNavTarotGame, statics, }, } = useContext(NavigationContext);
|
|
2458
2542
|
const isMarryBaby = siteType === 'marryBaby';
|
|
2459
2543
|
const services = useMemo(() => {
|
|
2460
2544
|
var _a;
|
|
@@ -2463,13 +2547,22 @@ const useNavServices = () => {
|
|
|
2463
2547
|
_services.push({
|
|
2464
2548
|
name: t('home.navigator.menuItem.discover'),
|
|
2465
2549
|
id: 'categories',
|
|
2466
|
-
link: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}/categories
|
|
2550
|
+
link: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}/categories/`,
|
|
2467
2551
|
niceName: '',
|
|
2468
2552
|
thumbnail: isMarryBaby
|
|
2469
2553
|
? CommonGAssets.getAssetPath('categories-mb.svg')
|
|
2470
2554
|
: CommonGAssets.getAssetPath('nav-icons/discover.svg'),
|
|
2471
2555
|
popupType: 'categories',
|
|
2472
2556
|
});
|
|
2557
|
+
enableNavVideo &&
|
|
2558
|
+
_services.push({
|
|
2559
|
+
name: t('home.navigator.menuItem.video'),
|
|
2560
|
+
id: 'video',
|
|
2561
|
+
link: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}/videos/`,
|
|
2562
|
+
niceName: '',
|
|
2563
|
+
thumbnail: CommonGAssets.getAssetPath('nav-icons/video.svg'),
|
|
2564
|
+
popupType: 'video',
|
|
2565
|
+
});
|
|
2473
2566
|
enableNavHealthTools &&
|
|
2474
2567
|
_services.push({
|
|
2475
2568
|
name: t('home.navigator.menuItem.healthTools'),
|
|
@@ -2506,8 +2599,22 @@ const useNavServices = () => {
|
|
|
2506
2599
|
thumbnail: CommonGAssets.getAssetPath('nav-icons/care.svg'),
|
|
2507
2600
|
popupType: locale === 'id-ID' ? 'care' : null,
|
|
2508
2601
|
});
|
|
2602
|
+
enableNavTarotGame &&
|
|
2603
|
+
_services.push({
|
|
2604
|
+
name: 'MỚI - Tarot cho mẹ bầu',
|
|
2605
|
+
id: 'game',
|
|
2606
|
+
link: normalizeLinkSlash(statics.HOME_PAGE_URL + '/xem-bai-tarot-online/'),
|
|
2607
|
+
thumbnail: CommonGAssets.getAssetPath('play-card.svg'),
|
|
2608
|
+
popupType: 'none',
|
|
2609
|
+
});
|
|
2509
2610
|
return _services;
|
|
2510
|
-
}, [
|
|
2611
|
+
}, [
|
|
2612
|
+
locale,
|
|
2613
|
+
enableNavCare,
|
|
2614
|
+
enableNavTogether,
|
|
2615
|
+
enableNavEcom,
|
|
2616
|
+
enableNavTarotGame,
|
|
2617
|
+
]);
|
|
2511
2618
|
return services;
|
|
2512
2619
|
};
|
|
2513
2620
|
|
|
@@ -2566,17 +2673,19 @@ const NavigationV2 = (props) => {
|
|
|
2566
2673
|
React__default.createElement(_NavigationV2, Object.assign({}, propsWithDefaultValues))));
|
|
2567
2674
|
};
|
|
2568
2675
|
const getNavMenuContent = (locale) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2569
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y;
|
|
2676
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0;
|
|
2570
2677
|
const res = {};
|
|
2571
2678
|
const isMarryBaby = locale === 'vi-VN_MB';
|
|
2572
2679
|
try {
|
|
2573
2680
|
const customLang = locale === 'tl-PH' ? 'lang=fil' : '';
|
|
2574
2681
|
try {
|
|
2575
|
-
const [categories, spotlights, healthtools, healthtoolsFavorites] = yield Promise.all([
|
|
2682
|
+
const [categories, spotlights, healthtools, healthtoolsFavorites, videos,] = yield Promise.all([
|
|
2576
2683
|
fetch(normalizeLinkSlash(`${getDiscoverApiDomain(locale)}/wp-json/api/categories${customLang ? '?' + customLang : ''}`)).then((res) => res.json()),
|
|
2577
2684
|
fetch(normalizeLinkSlash(`${getDiscoverApiDomain(locale)}/wp-json/api/spotlights?per_page=10&order_by=start_date${customLang ? '&' + customLang : ''}`)).then((res) => res.json()),
|
|
2578
2685
|
fetch(normalizeLinkSlash(`${getDiscoverApiDomain(locale)}/wp-json/api/${isMarryBaby ? 'health-tools' : 'healthtools'}${customLang ? '?' + customLang : ''}`)).then((res) => res.json()),
|
|
2579
2686
|
fetch(normalizeLinkSlash(`${getDiscoverApiDomain(locale)}/wp-json/api/${isMarryBaby ? 'health-tools' : 'healthtools'}/favorites${customLang ? '?' + customLang : ''}`)).then((res) => res.json()),
|
|
2687
|
+
locale === LOCALE.Vietnam &&
|
|
2688
|
+
fetch(normalizeLinkSlash(`${getDiscoverApiDomain(locale)}/wp-json/api/video/navigation`)).then((res) => res.json()),
|
|
2580
2689
|
]);
|
|
2581
2690
|
res.categories = {
|
|
2582
2691
|
items: ((_b = (_a = categories === null || categories === void 0 ? void 0 : categories.data) === null || _a === void 0 ? void 0 : _a.map) === null || _b === void 0 ? void 0 : _b.call(_a, formatCategory)) || [],
|
|
@@ -2586,8 +2695,11 @@ const getNavMenuContent = (locale) => __awaiter(void 0, void 0, void 0, function
|
|
|
2586
2695
|
items: ((_h = (_g = healthtools === null || healthtools === void 0 ? void 0 : healthtools.data) === null || _g === void 0 ? void 0 : _g.map) === null || _h === void 0 ? void 0 : _h.call(_g, formatHealthTool)) || [],
|
|
2587
2696
|
spotlights: ((_k = (_j = healthtoolsFavorites === null || healthtoolsFavorites === void 0 ? void 0 : healthtoolsFavorites.data) === null || _j === void 0 ? void 0 : _j.map) === null || _k === void 0 ? void 0 : _k.call(_j, formatHealthTool)) || [],
|
|
2588
2697
|
};
|
|
2698
|
+
res.videos = {
|
|
2699
|
+
spotlights: ((_m = (_l = videos === null || videos === void 0 ? void 0 : videos.data) === null || _l === void 0 ? void 0 : _l.videos) !== null && _m !== void 0 ? _m : []).map(formatVideoItem),
|
|
2700
|
+
};
|
|
2589
2701
|
}
|
|
2590
|
-
catch (
|
|
2702
|
+
catch (_1) { }
|
|
2591
2703
|
if (isMarryBaby || TOGETHER_LOCALES.includes(locale)) {
|
|
2592
2704
|
try {
|
|
2593
2705
|
const [communities, spotlightPosts] = yield Promise.all([
|
|
@@ -2595,11 +2707,11 @@ const getNavMenuContent = (locale) => __awaiter(void 0, void 0, void 0, function
|
|
|
2595
2707
|
fetch(normalizeLinkSlash(`${getTogetherApiDomain()}/api/v1/options?website_url=https://${domainLocales[locale]}&meta_key=popular_post`)).then((res) => res.json()),
|
|
2596
2708
|
]);
|
|
2597
2709
|
res.together = {
|
|
2598
|
-
items: ((
|
|
2599
|
-
spotlights: ((
|
|
2710
|
+
items: ((_q = (_p = (_o = communities === null || communities === void 0 ? void 0 : communities.data) === null || _o === void 0 ? void 0 : _o.communities) === null || _p === void 0 ? void 0 : _p.map) === null || _q === void 0 ? void 0 : _q.call(_p, formatCommunity)) || [],
|
|
2711
|
+
spotlights: ((_t = (_s = (_r = spotlightPosts === null || spotlightPosts === void 0 ? void 0 : spotlightPosts.data) === null || _r === void 0 ? void 0 : _r.posts) === null || _s === void 0 ? void 0 : _s.map) === null || _t === void 0 ? void 0 : _t.call(_s, formatPost)) || [],
|
|
2600
2712
|
};
|
|
2601
2713
|
}
|
|
2602
|
-
catch (
|
|
2714
|
+
catch (_2) { }
|
|
2603
2715
|
}
|
|
2604
2716
|
if (CARE_LOCALES.includes(locale)) {
|
|
2605
2717
|
try {
|
|
@@ -2610,11 +2722,11 @@ const getNavMenuContent = (locale) => __awaiter(void 0, void 0, void 0, function
|
|
|
2610
2722
|
`/api/options/setting_menu?site=${domainLocales[locale]}&type=1`)).then((res) => res.json()),
|
|
2611
2723
|
]);
|
|
2612
2724
|
res.care = {
|
|
2613
|
-
items: ((
|
|
2614
|
-
spotlights: ((
|
|
2725
|
+
items: ((_x = (_w = (_v = (_u = specialties === null || specialties === void 0 ? void 0 : specialties._data) === null || _u === void 0 ? void 0 : _u.setting_menu) === null || _v === void 0 ? void 0 : _v.menu_specialty) === null || _w === void 0 ? void 0 : _w.map) === null || _x === void 0 ? void 0 : _x.call(_w, formatSpecialties)) || [],
|
|
2726
|
+
spotlights: ((_0 = (_z = (_y = hospitals === null || hospitals === void 0 ? void 0 : hospitals._data.setting_menu) === null || _y === void 0 ? void 0 : _y.menu_hospital) === null || _z === void 0 ? void 0 : _z.map) === null || _0 === void 0 ? void 0 : _0.call(_z, formatHospital)) || [],
|
|
2615
2727
|
};
|
|
2616
2728
|
}
|
|
2617
|
-
catch (
|
|
2729
|
+
catch (_3) { }
|
|
2618
2730
|
}
|
|
2619
2731
|
}
|
|
2620
2732
|
catch (e) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { u as useTranslations } from './index-
|
|
3
|
-
import { B as Button } from './index-
|
|
2
|
+
import { u as useTranslations } from './index-fd5c91de.js';
|
|
3
|
+
import { B as Button } from './index-e4fea84c.js';
|
|
4
4
|
|
|
5
5
|
var styles = {"loading":"PD6nRZX"};
|
|
6
6
|
|