@hhgtech/hhg-components 1.29.544 → 1.29.546
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-2620d1e0.js → InputDate-cfa254c9.js} +5 -5
- package/build/{LastPeriod-0b7452dd.js → LastPeriod-8e6d682c.js} +1 -1
- package/build/{MobileBottomNavigationIcon-1b59d9bc.js → MobileBottomNavigationIcon-ace5af6b.js} +3 -3
- package/build/{SiteWideBanner-20c60fbd.js → SiteWideBanner-1e4dbc2a.js} +61 -25
- package/build/{Spinner-84d3cdf0.js → Spinner-b00f7d37.js} +1 -1
- package/build/{WhatsApp-1159dc64.js → WhatsApp-ba2b6830.js} +1 -1
- package/build/adapters.js +20 -20
- package/build/atoms.js +52 -51
- package/build/babyGrowth.js +86 -86
- package/build/cache.js +2 -2
- package/build/care.js +22 -22
- package/build/careBookingSearchBar.js +14 -14
- package/build/careBookingSearchBarV2.js +19 -19
- package/build/components/molecules/pillCarousel/index.styled.d.ts +1 -1
- package/build/components/molecules/videoItem/index.d.ts +3 -1
- package/build/components/molecules/videoItem/normalizeVideoItemData.d.ts +2 -0
- package/build/components/molecules/videoItem/types.d.ts +5 -3
- package/build/components/navigationV2/applyHelloWellnessNavCategories.d.ts +22 -0
- package/build/components/navigationV2/applyHelloWellnessNavVideos.d.ts +8 -0
- package/build/components/navigationV2/components/molecules/menuVideoList/index.d.ts +2 -2
- package/build/components/navigationV2/components/molecules/menuVideoList/videoSpotlights.d.ts +2 -2
- package/build/components/navigationV2/formatHelloWellness.d.ts +3 -0
- package/build/components/navigationV2/index.d.ts +6 -2
- package/build/components/navigationV2/insertHelloWellnessMenuItem.d.ts +1 -0
- package/build/components/organisms/index.d.ts +2 -1
- package/build/components.js +110 -108
- package/build/{constants-762249c4.js → constants-f8ac7c13.js} +2 -2
- package/build/{constants-1b66eaa9.js → constants-fbbf891c.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-d07a5649.js → core-3473fe03.js} +1 -1
- package/build/{dataTransform-a2855b2e.js → dataTransform-29ff8128.js} +2 -1
- package/build/ecom.js +5 -5
- package/build/{editor-2c516070.js → editor-c1c717bf.js} +11 -11
- package/build/embeddedHeathToolCards_babyGrowth.js +25 -25
- package/build/embeddedHeathToolCards_babyPoop.js +22 -22
- package/build/embeddedHeathToolCards_babyVaccine.js +24 -24
- package/build/embeddedHeathToolCards_bmi_bmi.js +28 -28
- package/build/embeddedHeathToolCards_bmrBmr.js +28 -28
- package/build/embeddedHeathToolCards_dueDate_dueDate.js +24 -24
- package/build/embeddedHeathToolCards_ovulation_ovulation.js +24 -24
- package/build/embeddedHeathToolCards_pwg_pwg.js +28 -28
- package/build/embeddedHeathToolCards_targetHeartRate.js +29 -29
- package/build/esm/{InputDate-7f98bd21.js → InputDate-573514b3.js} +5 -5
- package/build/esm/{LastPeriod-c84be22b.js → LastPeriod-49dd3435.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-76d90292.js → MobileBottomNavigationIcon-d96f44bd.js} +3 -3
- package/build/esm/{SiteWideBanner-f124abd4.js → SiteWideBanner-8e28b605.js} +56 -20
- package/build/esm/{Spinner-d228c2bd.js → Spinner-1e2daf99.js} +1 -1
- package/build/esm/{WhatsApp-659c222b.js → WhatsApp-ffa4075c.js} +1 -1
- package/build/esm/adapters.js +20 -20
- package/build/esm/atoms.js +52 -51
- package/build/esm/babyGrowth.js +86 -86
- package/build/esm/cache.js +2 -2
- package/build/esm/care.js +22 -22
- package/build/esm/careBookingSearchBar.js +14 -14
- package/build/esm/careBookingSearchBarV2.js +19 -19
- package/build/esm/components/molecules/pillCarousel/index.styled.d.ts +1 -1
- package/build/esm/components/molecules/videoItem/index.d.ts +3 -1
- package/build/esm/components/molecules/videoItem/normalizeVideoItemData.d.ts +2 -0
- package/build/esm/components/molecules/videoItem/types.d.ts +5 -3
- package/build/esm/components/navigationV2/applyHelloWellnessNavCategories.d.ts +22 -0
- package/build/esm/components/navigationV2/applyHelloWellnessNavVideos.d.ts +8 -0
- package/build/esm/components/navigationV2/components/molecules/menuVideoList/index.d.ts +2 -2
- package/build/esm/components/navigationV2/components/molecules/menuVideoList/videoSpotlights.d.ts +2 -2
- package/build/esm/components/navigationV2/formatHelloWellness.d.ts +3 -0
- package/build/esm/components/navigationV2/index.d.ts +6 -2
- package/build/esm/components/navigationV2/insertHelloWellnessMenuItem.d.ts +1 -0
- package/build/esm/components/organisms/index.d.ts +2 -1
- package/build/esm/components.js +108 -108
- package/build/esm/{constants-67be5c94.js → constants-3b117348.js} +2 -2
- package/build/esm/{constants-e1af6937.js → constants-6e42426c.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-0cf3a3a7.js → core-80a71098.js} +1 -1
- package/build/esm/{dataTransform-35304d21.js → dataTransform-aa0323ae.js} +3 -2
- package/build/esm/ecom.js +5 -5
- package/build/esm/{editor-d65cf4d0.js → editor-76c3f459.js} +11 -11
- package/build/esm/embeddedHeathToolCards_babyGrowth.js +25 -25
- package/build/esm/embeddedHeathToolCards_babyPoop.js +22 -22
- package/build/esm/embeddedHeathToolCards_babyVaccine.js +24 -24
- package/build/esm/embeddedHeathToolCards_bmi_bmi.js +28 -28
- package/build/esm/embeddedHeathToolCards_bmrBmr.js +28 -28
- package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +24 -24
- package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +24 -24
- package/build/esm/embeddedHeathToolCards_pwg_pwg.js +28 -28
- package/build/esm/embeddedHeathToolCards_targetHeartRate.js +29 -29
- package/build/esm/footer.js +22 -22
- package/build/esm/gAssets.js +2 -2
- package/build/esm/{healthTools-304323dc.js → healthTools-ede86f0f.js} +1 -1
- package/build/esm/healthToolsCardWrapper.js +20 -20
- package/build/esm/healthToolsForm.js +36 -36
- package/build/esm/hooks.js +14 -14
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-9c46abab.js → index-05b1196c.js} +3 -3
- package/build/esm/{index-f21110d2.js → index-07394a93.js} +3 -3
- package/build/esm/{index-88fafd6a.js → index-075ffeac.js} +16 -16
- package/build/esm/{index-e3c3ad7d.js → index-09e7ebba.js} +14 -14
- package/build/esm/{index-74fcf0aa.js → index-0d3455cd.js} +2 -2
- package/build/esm/{index-f3c67a5d.js → index-10a9fdfb.js} +13 -13
- package/build/esm/{index-4b48e440.js → index-11fa45c5.js} +2 -2
- package/build/esm/{index-bee6ed79.js → index-15576942.js} +3 -3
- package/build/esm/{index-9ef06f7d.js → index-17281689.js} +11 -11
- package/build/esm/{index-579b84f2.js → index-178b300d.js} +13 -13
- package/build/esm/{index-31fe400d.js → index-19f3ffe3.js} +16 -16
- package/build/esm/{index-f71a880f.js → index-1ab8ae5a.js} +3 -3
- package/build/esm/{index-a8162282.js → index-217c5bf0.js} +2 -2
- package/build/esm/{index-eaa64027.js → index-25769871.js} +3 -3
- package/build/esm/{index-2d38fb02.js → index-2650b016.js} +18 -18
- package/build/esm/{index-96c62ad5.js → index-2815b268.js} +2 -2
- package/build/esm/{index-70e81356.js → index-287eb938.js} +4 -4
- package/build/esm/{index-91c6a49c.js → index-2920a921.js} +1 -1
- package/build/esm/{index-bcd0508c.js → index-2ec78b37.js} +304 -122
- package/build/esm/{index-1b8a552a.js → index-36f66ebd.js} +2 -2
- package/build/esm/{index-6f8dd7c5.js → index-37edbf15.js} +6 -6
- package/build/esm/{index-d0a1200e.js → index-387479d6.js} +2 -2
- package/build/esm/{index-417311da.js → index-3b209097.js} +2 -2
- package/build/esm/{index-59432dd7.js → index-41503f7e.js} +6 -6
- package/build/esm/{index-973eb541.js → index-44bb87c6.js} +2 -2
- package/build/esm/{index-aebd61a9.js → index-49bdbc34.js} +2 -2
- package/build/esm/{index-6fd14acd.js → index-4a1d5a5d.js} +341 -4
- package/build/esm/{index-c3177e04.js → index-51ed5470.js} +9 -9
- package/build/esm/{index-ea9dfed6.js → index-53c06bd7.js} +7 -7
- package/build/esm/{index-41a88cf1.js → index-546e0d4f.js} +1 -1
- package/build/esm/{index-d337e2fb.js → index-5501751d.js} +3 -3
- package/build/esm/{index-5aaa75e5.js → index-562c53c6.js} +5 -5
- package/build/esm/{index-fc085ad1.js → index-5c222453.js} +1 -1
- package/build/esm/{index-4e6b8a2b.js → index-5c543b45.js} +8 -8
- package/build/esm/{index-7601f2a1.js → index-61dd943b.js} +2 -2
- package/build/esm/{index-309f4c70.js → index-68638cdb.js} +25 -25
- package/build/esm/{index-0d2148ad.js → index-6e3ef1f5.js} +15 -15
- package/build/esm/{index-afe90ec2.js → index-7e43c3ac.js} +2 -2
- package/build/esm/{index-d9b5d0ac.js → index-86b69ab4.js} +2 -2
- package/build/esm/{index-d71a0918.js → index-89b75dae.js} +15 -15
- package/build/esm/{index-354a2bb2.js → index-8ab706c4.js} +22 -22
- package/build/esm/{index-24be25e0.js → index-8ae6873d.js} +3 -3
- package/build/esm/{index-b6f0a56f.js → index-8e1adc61.js} +1 -1
- package/build/esm/{index-7d2718d0.js → index-8f18ecf6.js} +9 -9
- package/build/esm/{index-6fbb16f8.js → index-917348da.js} +1 -1
- package/build/esm/{index-a55c76ce.js → index-96101127.js} +7 -7
- package/build/esm/{index-d615e2d4.js → index-990aef50.js} +2 -2
- package/build/esm/{index-8101d468.js → index-9c814f74.js} +32 -32
- package/build/esm/{index-9ddd1558.js → index-a03a089b.js} +4 -4
- package/build/esm/{index-e8f762ab.js → index-a1a71d3c.js} +3 -3
- package/build/esm/{index-06c9c29e.js → index-a9a8a787.js} +17 -17
- package/build/esm/{index-b0680d02.js → index-acbc8c60.js} +2 -2
- package/build/esm/{index-840e2343.js → index-ae752279.js} +16 -16
- package/build/esm/{index-1a558698.js → index-b1be1c5b.js} +2 -2
- package/build/esm/{index-6fdd63a7.js → index-bb9f8f11.js} +12 -12
- package/build/esm/{index-8ef247f2.js → index-bf23174c.js} +3 -3
- package/build/esm/{index-92c3895b.js → index-c3e90d8d.js} +21 -21
- package/build/esm/{index-5b1ba061.js → index-cb4347b8.js} +2 -2
- package/build/esm/{index-960c3169.js → index-d44de036.js} +1 -1
- package/build/esm/{index-40133f69.js → index-daaf59e4.js} +16 -16
- package/build/esm/{index-c8f5f257.js → index-db512121.js} +1 -1
- package/build/esm/{index-c86880ed.js → index-e0488f75.js} +25 -25
- package/build/esm/{index-12c0175f.js → index-e0cbdff7.js} +16 -16
- package/build/esm/{index-51f58c70.js → index-e38edc32.js} +3 -3
- package/build/esm/{index-5dd44171.js → index-e4d09256.js} +20 -20
- package/build/esm/{index-d0599279.js → index-e524b769.js} +2 -2
- package/build/esm/{index-27fc99f7.js → index-e8912614.js} +39 -37
- package/build/esm/{index-122829d2.js → index-e9862a02.js} +6 -6
- package/build/esm/{index-59ec1b79.js → index-edc388fd.js} +18 -18
- package/build/esm/{index-789049e6.js → index-eddf910f.js} +14 -14
- package/build/esm/{index-8bba0d7a.js → index-ee013fd8.js} +6 -6
- package/build/esm/{index-3e2acbf5.js → index-f4fb1dc3.js} +14 -14
- package/build/esm/index.css +1 -1
- package/build/esm/index.js +127 -127
- package/build/esm/interfaces/types/HelloWellness.d.ts +143 -0
- package/build/esm/interfaces/types/Video.d.ts +6 -2
- package/build/esm/interfaces/types/index.d.ts +1 -0
- package/build/esm/{labelSorting-c209d0ab.js → labelSorting-18caffb3.js} +4 -4
- package/build/esm/lead.js +38 -37
- package/build/esm/{logoIcon-5e351e08.js → logoIcon-4a45c71f.js} +2 -2
- package/build/esm/mantine.js +27 -27
- package/build/esm/misc/normalizeLink.d.ts +1 -0
- package/build/esm/misc/promise.d.ts +10 -0
- package/build/esm/misc.js +18 -19
- package/build/esm/miscGetDynamicHealthTool.js +4 -4
- package/build/esm/miscGetSocialList.js +7 -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 +81 -82
- package/build/esm/moleculesArticleCard.js +6 -6
- package/build/esm/moleculesArticleCardV2.js +17 -17
- package/build/esm/navigation.js +52 -51
- package/build/esm/navigationLogoutPopup.js +11 -11
- package/build/esm/navigationProfileButton.js +28 -27
- package/build/esm/{normalizeLink-0bc93fbf.js → normalizeLink-052ff6ca.js} +11 -1
- package/build/esm/onboardingV2.js +30 -30
- package/build/esm/organisms.js +65 -64
- package/build/esm/{post-501cfac5.js → post-e107cb4a.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-b88d97b9.js → store-a051a3d5.js} +3 -3
- package/build/esm/subot.js +39 -40
- package/build/esm/surveyOrPremiumBanner.js +34 -34
- package/build/esm/surveyQuestionCard.js +11 -11
- package/build/esm/{surveyThankyouCard-ebaba467.js → surveyThankyouCard-861a61af.js} +5 -5
- package/build/esm/together/hooks/useCaptureUrl.d.ts +3 -0
- package/build/esm/together/hooks/useCaptureUrlParams.d.ts +2 -0
- package/build/esm/together/hooks/useResolvedCaptureUrls.d.ts +2 -0
- package/build/esm/together/hooks/useSetCaptureUrlPageParams.d.ts +5 -0
- package/build/esm/together/index.d.ts +6 -0
- package/build/esm/together/interfaces/types.d.ts +2 -0
- package/build/esm/together/togetherComponentGlobalContext.d.ts +12 -1
- package/build/esm/together/utils/analytics.d.ts +2 -0
- package/build/esm/together/utils/captureUrlParams.d.ts +14 -0
- package/build/esm/together.js +60 -58
- package/build/esm/togetherApiUtils.js +13 -6
- package/build/esm/togetherAtoms.js +38 -37
- package/build/esm/togetherComponentGlobalContext.js +13 -6
- package/build/esm/togetherMolecules.js +54 -53
- package/build/esm/togetherMoleculesCardAuthor.js +31 -29
- package/build/esm/togetherMoleculesPostImagePreview.js +21 -14
- package/build/esm/togetherMoleculesProfileDetail.js +47 -46
- package/build/esm/togetherOrganisms.js +58 -57
- package/build/esm/togetherRichTextEditor.js +28 -21
- package/build/esm/togetherShareBox.js +20 -13
- package/build/esm/{transform-a70ceaf2.js → transform-523f6f58.js} +34 -34
- package/build/esm/{translationsProvider-12ae5b8a.js → translationsProvider-9739838d.js} +1 -1
- package/build/esm/{treePopoverMenu-b7652f55.js → treePopoverMenu-3a1cf15e.js} +19 -19
- package/build/esm/types-aa2570e3.js +13 -0
- package/build/esm/types.js +2 -2
- package/build/esm/{useCartCareService-4af08500.js → useCartCareService-f96fb57e.js} +1 -1
- package/build/esm/{useHealthToolCache-872bf831.js → useHealthToolCache-7e09e151.js} +1 -1
- package/build/esm/{usePhoneValidator-5465c728.js → usePhoneValidator-b2cfa153.js} +5 -5
- package/build/esm/{usePlacesAutocomplete-f9f424cf.js → usePlacesAutocomplete-cff51576.js} +1 -1
- package/build/esm/useResolvedCaptureUrls-1807c130.js +77 -0
- package/build/esm/useTogetherAuthRequiredAction.js +12 -10
- package/build/esm/{utils-42d7e284.js → utils-2f436b1e.js} +2 -2
- package/build/esm/{utils-5b0a0cb8.js → utils-310f958b.js} +5 -20
- package/build/esm/{utils-a34a4457.js → utils-4359f9ba.js} +2 -2
- package/build/esm/{utils-79b3c79f.js → utils-6945dc17.js} +5 -5
- package/build/esm/{utils-f5ed68ed.js → utils-9600a5f8.js} +104 -5
- package/build/esm/vaccination.js +22 -22
- package/build/footer.js +22 -22
- package/build/gAssets.js +2 -2
- package/build/{healthTools-9d73d292.js → healthTools-a3a08d8a.js} +1 -1
- package/build/healthToolsCardWrapper.js +20 -20
- package/build/healthToolsForm.js +36 -36
- package/build/hooks.js +14 -14
- package/build/i18n.js +2 -2
- package/build/i18nV2.js +1 -1
- package/build/{index-628ae6fc.js → index-03113fd0.js} +32 -32
- package/build/{index-0dee6fc7.js → index-04706a39.js} +2 -2
- package/build/{index-4fb2e074.js → index-062f7e05.js} +6 -6
- package/build/{index-024542ed.js → index-0f4bac16.js} +8 -8
- package/build/{index-7556f2cb.js → index-14b7afd9.js} +3 -3
- package/build/{index-7ab0b2c3.js → index-196a5bbd.js} +13 -13
- package/build/{index-b2bb8571.js → index-1c2c4d48.js} +3 -3
- package/build/{index-2b5bfc0c.js → index-20c05711.js} +2 -2
- package/build/{index-0f1d64dc.js → index-22c55811.js} +7 -7
- package/build/{index-a02b9dd2.js → index-25a14fa1.js} +6 -6
- package/build/{index-4dad7b3d.js → index-2b223ca3.js} +14 -14
- package/build/{index-89f1ccd4.js → index-2df3639c.js} +22 -22
- package/build/{index-50fc9ea2.js → index-32cf213d.js} +3 -3
- package/build/{index-36c48054.js → index-3a113d38.js} +348 -10
- package/build/{index-87ed9c3a.js → index-3c9642df.js} +1 -1
- package/build/{index-a1ca31f3.js → index-3ffa94f4.js} +12 -12
- package/build/{index-d54fe628.js → index-4383490a.js} +2 -2
- package/build/{index-b3bc6b66.js → index-444b3379.js} +2 -2
- package/build/{index-9ff64134.js → index-48d618f9.js} +18 -18
- package/build/{index-c5518397.js → index-508a45f3.js} +9 -9
- package/build/{index-3d563586.js → index-51c684fe.js} +3 -3
- package/build/{index-bc73e718.js → index-56661e36.js} +2 -2
- package/build/{index-eba09ec0.js → index-578e44e6.js} +3 -3
- package/build/{index-518cadb5.js → index-595201ea.js} +16 -16
- package/build/{index-b3037bdc.js → index-5c102e52.js} +14 -14
- package/build/{index-e316d555.js → index-61c09026.js} +39 -37
- package/build/{index-e85152d0.js → index-64255565.js} +11 -11
- package/build/{index-7ed6004c.js → index-6ad72a71.js} +2 -2
- package/build/{index-65d3d2a1.js → index-6bd75f25.js} +15 -15
- package/build/{index-54ad7bf3.js → index-6cfd896c.js} +337 -153
- package/build/{index-a11c6c43.js → index-73fa808e.js} +6 -6
- package/build/{index-95e46080.js → index-762ba9fe.js} +14 -14
- package/build/{index-9747120c.js → index-7962e957.js} +2 -2
- package/build/{index-5098b9bf.js → index-7a0adf70.js} +2 -2
- package/build/{index-a31ed3e1.js → index-7f556509.js} +2 -2
- package/build/{index-729f166a.js → index-8b22790e.js} +6 -6
- package/build/{index-98ac1127.js → index-929ee72a.js} +2 -2
- package/build/{index-d11d2b22.js → index-938b6a1d.js} +13 -13
- package/build/{index-6ce6e395.js → index-9a002fcd.js} +2 -2
- package/build/{index-3643ff1b.js → index-9b4e9c7c.js} +1 -1
- package/build/{index-63b0c985.js → index-9ff822d2.js} +16 -16
- package/build/{index-8734a3ed.js → index-a359ebff.js} +25 -25
- package/build/{index-2e0b951e.js → index-a421fa95.js} +2 -2
- package/build/{index-29a7579d.js → index-a5135c42.js} +3 -3
- package/build/{index-8df498d5.js → index-a73baf22.js} +4 -4
- package/build/{index-e083a917.js → index-a89607b0.js} +4 -4
- package/build/{index-c3d01be3.js → index-a8fc5988.js} +1 -1
- package/build/{index-283684b8.js → index-ae6a5d1e.js} +3 -3
- package/build/{index-64717354.js → index-af9011bf.js} +16 -16
- package/build/{index-9d9461f6.js → index-b58a598e.js} +16 -16
- package/build/{index-16480bf7.js → index-b5aa2306.js} +2 -2
- package/build/{index-4fe23b62.js → index-ba979a64.js} +16 -16
- package/build/{index-0805ded0.js → index-bde52268.js} +25 -25
- package/build/{index-d24c85ac.js → index-bf7a9d12.js} +1 -1
- package/build/{index-968f57c8.js → index-c18016f7.js} +2 -2
- package/build/{index-af9c3c64.js → index-c326c0b4.js} +2 -2
- package/build/{index-5fc323d7.js → index-d053b0c4.js} +7 -7
- package/build/{index-992544de.js → index-d3ffd1ff.js} +2 -2
- package/build/{index-5b062789.js → index-d71b830f.js} +17 -17
- package/build/{index-17dd60b9.js → index-d9b50dc9.js} +2 -2
- package/build/{index-f602c136.js → index-dda8e408.js} +20 -20
- package/build/{index-97e6dd59.js → index-df10b59f.js} +3 -3
- package/build/{index-be663749.js → index-e3a35206.js} +21 -21
- package/build/{index-e16b8fc3.js → index-e9d823a6.js} +1 -1
- package/build/{index-da3b86cd.js → index-f2d6d4fe.js} +1 -1
- package/build/{index-4e13f8c3.js → index-f313b7c5.js} +3 -3
- package/build/{index-80bd2eb2.js → index-f3b17a0e.js} +5 -5
- package/build/{index-e81131be.js → index-f8ae05bc.js} +15 -15
- package/build/{index-985cec35.js → index-f9f37905.js} +3 -3
- package/build/{index-ce74fe39.js → index-fb953d6b.js} +18 -18
- package/build/{index-1e5e2223.js → index-fbf5e628.js} +9 -9
- package/build/{index-93808d7e.js → index-fe32baa5.js} +1 -1
- package/build/index.css +1 -1
- package/build/index.js +136 -128
- package/build/interfaces/types/HelloWellness.d.ts +143 -0
- package/build/interfaces/types/Video.d.ts +6 -2
- package/build/interfaces/types/index.d.ts +1 -0
- package/build/{labelSorting-5cef27ae.js → labelSorting-baf94934.js} +4 -4
- package/build/lead.js +38 -37
- package/build/{logoIcon-8a9f9e61.js → logoIcon-698dc8cd.js} +2 -2
- package/build/mantine.js +25 -25
- package/build/misc/normalizeLink.d.ts +1 -0
- package/build/misc/promise.d.ts +10 -0
- package/build/misc.js +18 -19
- package/build/miscGetDynamicHealthTool.js +4 -4
- package/build/miscGetSocialList.js +7 -8
- package/build/miscScreenSizeContext.js +1 -1
- package/build/mobileBottomNavigation.js +5 -5
- package/build/mobileBottomNavigationIcon.js +5 -5
- package/build/molecules.js +81 -82
- package/build/moleculesArticleCard.js +6 -6
- package/build/moleculesArticleCardV2.js +17 -17
- package/build/navigation.js +54 -51
- package/build/navigationLogoutPopup.js +11 -11
- package/build/navigationProfileButton.js +28 -27
- package/build/{normalizeLink-20e290e8.js → normalizeLink-8a4b1c8b.js} +11 -0
- package/build/onboardingV2.js +29 -29
- package/build/organisms.js +67 -64
- package/build/{post-93ff5536.js → post-ca47927c.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-bb6f9909.js → store-a7a2e443.js} +3 -3
- package/build/subot.js +38 -39
- package/build/surveyOrPremiumBanner.js +34 -34
- package/build/surveyQuestionCard.js +11 -11
- package/build/{surveyThankyouCard-22929455.js → surveyThankyouCard-93b99832.js} +5 -5
- package/build/together/hooks/useCaptureUrl.d.ts +3 -0
- package/build/together/hooks/useCaptureUrlParams.d.ts +2 -0
- package/build/together/hooks/useResolvedCaptureUrls.d.ts +2 -0
- package/build/together/hooks/useSetCaptureUrlPageParams.d.ts +5 -0
- package/build/together/index.d.ts +6 -0
- package/build/together/interfaces/types.d.ts +2 -0
- package/build/together/togetherComponentGlobalContext.d.ts +12 -1
- package/build/together/utils/analytics.d.ts +2 -0
- package/build/together/utils/captureUrlParams.d.ts +14 -0
- package/build/together.js +67 -59
- package/build/togetherApiUtils.js +13 -6
- package/build/togetherAtoms.js +38 -37
- package/build/togetherComponentGlobalContext.js +13 -6
- package/build/togetherMolecules.js +54 -53
- package/build/togetherMoleculesCardAuthor.js +31 -29
- package/build/togetherMoleculesPostImagePreview.js +21 -14
- package/build/togetherMoleculesProfileDetail.js +47 -46
- package/build/togetherOrganisms.js +58 -57
- package/build/togetherRichTextEditor.js +28 -21
- package/build/togetherShareBox.js +20 -13
- package/build/{transform-52f37c86.js → transform-b5f718af.js} +34 -34
- package/build/{translationsProvider-10747450.js → translationsProvider-f3a907c1.js} +1 -1
- package/build/{treePopoverMenu-89dcd8ba.js → treePopoverMenu-e7ba2dc5.js} +19 -19
- package/build/types-aaf32496.js +16 -0
- package/build/types.js +2 -2
- package/build/{useCartCareService-35f487b0.js → useCartCareService-8e39ed3f.js} +1 -1
- package/build/{useHealthToolCache-d6ee00f6.js → useHealthToolCache-95baa740.js} +1 -1
- package/build/{usePhoneValidator-56b8b062.js → usePhoneValidator-673ce6e0.js} +5 -5
- package/build/{usePlacesAutocomplete-404907fe.js → usePlacesAutocomplete-72b1ac31.js} +1 -1
- package/build/useResolvedCaptureUrls-e87e78a5.js +83 -0
- package/build/useTogetherAuthRequiredAction.js +12 -10
- package/build/{utils-0cc6746b.js → utils-01450786.js} +5 -20
- package/build/{utils-302bc65c.js → utils-1cb09f31.js} +107 -7
- package/build/{utils-0c8cc4cf.js → utils-24dd8a9a.js} +5 -5
- package/build/{utils-7210e0bb.js → utils-329de5fe.js} +2 -2
- package/build/{utils-f5279ce3.js → utils-9dd2352f.js} +2 -2
- package/build/vaccination.js +22 -22
- package/package.json +1 -1
- package/build/esm/index-95942e9e.js +0 -339
- package/build/esm/types-22bdbe8f.js +0 -5
- package/build/index-3b44943e.js +0 -341
- package/build/types-58c36225.js +0 -7
- /package/build/{BMI_BOYS.percentile.monthly-92c8b42c.js → BMI_BOYS.percentile.monthly-20de0889.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-1483925a.js → BMI_BOYS.percentile.weekly-60f9da20.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-233db1f2.js → BMI_BOYS.percentile.yearly-92a132e2.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-b865eb84.js → BMI_BOYS.zscore.monthly-f7e083b7.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-672e873a.js → BMI_BOYS.zscore.weekly-14e5897f.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-3e4789a2.js → BMI_BOYS.zscore.yearly-bb748faf.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-635c83ca.js → BMI_GIRLS.percentile.monthly-4e4f0db2.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-9d39c2cb.js → BMI_GIRLS.percentile.weekly-33b1d52a.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-3ecdd071.js → BMI_GIRLS.percentile.yearly-fa0e1660.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-cdcb7cf7.js → BMI_GIRLS.zscore.monthly-b34d65e8.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-5dbe6397.js → BMI_GIRLS.zscore.weekly-bda464e6.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-e4f48b83.js → BMI_GIRLS.zscore.yearly-171feeea.js} +0 -0
- /package/build/{ChevronDown-8067b030.js → ChevronDown-871e5734.js} +0 -0
- /package/build/{Google-d768de84.js → Google-a155444f.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-119dcc49.js → HEAD CIRCUM_BOYS.percentile.monthly-eb22308d.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-544740ce.js → HEAD CIRCUM_BOYS.percentile.weekly-50a72086.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-a604ec58.js → HEAD CIRCUM_BOYS.percentile.yearly-af99e8a0.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-fa3433d3.js → HEAD CIRCUM_BOYS.zscore.monthly-a52aaa33.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-d6d7a650.js → HEAD CIRCUM_BOYS.zscore.weekly-a30b2222.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-71fe8cf0.js → HEAD CIRCUM_BOYS.zscore.yearly-93fb5dd0.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-4e24ca95.js → HEAD CIRCUM_GIRLS.percentile.monthly-903f6b8d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-d2d8980c.js → HEAD CIRCUM_GIRLS.percentile.weekly-9bf2d7f5.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-4cbcdd0b.js → HEAD CIRCUM_GIRLS.percentile.yearly-ab3815ca.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-090901a1.js → HEAD CIRCUM_GIRLS.zscore.monthly-6aa37902.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-a6e9a42b.js → HEAD CIRCUM_GIRLS.zscore.weekly-40904f80.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-2fa633ae.js → HEAD CIRCUM_GIRLS.zscore.yearly-a34057a2.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-4fecb89c.js → HEIGHT_BOYS.percentile.monthly-bc1c65b5.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-d5a2290a.js → HEIGHT_BOYS.percentile.weekly-2e11da4c.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-f71d2018.js → HEIGHT_BOYS.percentile.yearly-7a1fbd1e.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-934f0714.js → HEIGHT_BOYS.zscore.monthly-456b6b78.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-cab85975.js → HEIGHT_BOYS.zscore.weekly-299c07fb.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-f0ebd736.js → HEIGHT_BOYS.zscore.yearly-131982e0.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-ac78c58c.js → HEIGHT_GIRLS.percentile.monthly-2ef47c03.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-a0534589.js → HEIGHT_GIRLS.percentile.weekly-b08ed2db.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-90a24dff.js → HEIGHT_GIRLS.percentile.yearly-5ecf5fcb.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-37c48ed3.js → HEIGHT_GIRLS.zscore.monthly-a86ed21a.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-ae3ec746.js → HEIGHT_GIRLS.zscore.weekly-949cb603.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-43c72997.js → HEIGHT_GIRLS.zscore.yearly-f822a3e4.js} +0 -0
- /package/build/{Locale-fbe01177.js → Locale-e2326e86.js} +0 -0
- /package/build/{Visible-6c5d9e21.js → Visible-ac411fdc.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-55349075.js → WEIGHT_BOYS.percentile.monthly-0191e903.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-2778d520.js → WEIGHT_BOYS.percentile.weekly-e5950e03.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-57ec61bc.js → WEIGHT_BOYS.percentile.yearly-75d85edc.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-bca6cd92.js → WEIGHT_BOYS.zscore.monthly-52e679b9.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-5a1c8838.js → WEIGHT_BOYS.zscore.weekly-2ea89e1d.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-9f07e21c.js → WEIGHT_BOYS.zscore.yearly-9e128a72.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-e7c017eb.js → WEIGHT_GIRLS.percentile.monthly-8ff98035.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-f9d60c8b.js → WEIGHT_GIRLS.percentile.weekly-79a1ff76.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-07e2ff73.js → WEIGHT_GIRLS.percentile.yearly-4468986f.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-cf9a0e61.js → WEIGHT_GIRLS.zscore.monthly-1f5e4c7b.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-29c4a43e.js → WEIGHT_GIRLS.zscore.weekly-ca829025.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-c828bbf0.js → WEIGHT_GIRLS.zscore.yearly-1207de37.js} +0 -0
- /package/build/{ageGenerate-1ce5e3a8.js → ageGenerate-381def00.js} +0 -0
- /package/build/{animation-f2389c7b.js → animation-0d5720ff.js} +0 -0
- /package/build/{constants-f734b4e4.js → constants-5be0524e.js} +0 -0
- /package/build/{constants-3fbd741a.js → constants-68973efb.js} +0 -0
- /package/build/{constants-6d0b5b59.js → constants-b76add73.js} +0 -0
- /package/build/{context-f7fe7a26.js → context-8748ba19.js} +0 -0
- /package/build/{dataTransform-926e99a5.js → dataTransform-c0a2b732.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-0eb61ce7.js → BMI_BOYS.percentile.monthly-be3971e6.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-fc835346.js → BMI_BOYS.percentile.weekly-a1f21033.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-da4eceed.js → BMI_BOYS.percentile.yearly-563a6e91.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-2d0fd333.js → BMI_BOYS.zscore.monthly-012d5472.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-f46c8cb8.js → BMI_BOYS.zscore.weekly-b93b7dc6.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-737a60ee.js → BMI_BOYS.zscore.yearly-1bf678c6.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-8eb0e01b.js → BMI_GIRLS.percentile.monthly-bb0b02ec.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-8fa258c1.js → BMI_GIRLS.percentile.weekly-9ae82d56.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-23436291.js → BMI_GIRLS.percentile.yearly-48f44489.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-d5d7f2fb.js → BMI_GIRLS.zscore.monthly-4557cdf7.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-14ab18f0.js → BMI_GIRLS.zscore.weekly-5b2dd029.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-755cee44.js → BMI_GIRLS.zscore.yearly-95a7dcb7.js} +0 -0
- /package/build/esm/{ChevronDown-8ce63f9a.js → ChevronDown-5bbd4efe.js} +0 -0
- /package/build/esm/{Google-62bfe213.js → Google-0b06d09b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-b2553a11.js → HEAD CIRCUM_BOYS.percentile.monthly-63e9fbce.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-cc1e20aa.js → HEAD CIRCUM_BOYS.percentile.weekly-67349ef6.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-8f8c8bcb.js → HEAD CIRCUM_BOYS.percentile.yearly-096d54ff.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-de1416c6.js → HEAD CIRCUM_BOYS.zscore.monthly-17b1941b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-f1804f67.js → HEAD CIRCUM_BOYS.zscore.weekly-cbe157dc.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-b6844f72.js → HEAD CIRCUM_BOYS.zscore.yearly-1bfa3991.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-be09f9cc.js → HEAD CIRCUM_GIRLS.percentile.monthly-3cd288eb.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-c6258e1d.js → HEAD CIRCUM_GIRLS.percentile.weekly-182c255a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-269cfea2.js → HEAD CIRCUM_GIRLS.percentile.yearly-7fea2b05.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-4b677a4a.js → HEAD CIRCUM_GIRLS.zscore.monthly-4407912e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-99afe5c3.js → HEAD CIRCUM_GIRLS.zscore.weekly-b2dd93e7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-613740fd.js → HEAD CIRCUM_GIRLS.zscore.yearly-138e7967.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-5a964862.js → HEIGHT_BOYS.percentile.monthly-28dc3ad6.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-017e3f3b.js → HEIGHT_BOYS.percentile.weekly-71cd6f4c.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-ce3ddc99.js → HEIGHT_BOYS.percentile.yearly-6be65dea.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-7ef4f193.js → HEIGHT_BOYS.zscore.monthly-fce29ff4.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-77567b89.js → HEIGHT_BOYS.zscore.weekly-f7f54f88.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-01eaedce.js → HEIGHT_BOYS.zscore.yearly-e7c0f054.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-3424e1be.js → HEIGHT_GIRLS.percentile.monthly-022bab7f.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-61d62dde.js → HEIGHT_GIRLS.percentile.weekly-5aa29719.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-0d6bea4d.js → HEIGHT_GIRLS.percentile.yearly-265c1a41.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-db195bec.js → HEIGHT_GIRLS.zscore.monthly-3ffae570.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-c34a1a9f.js → HEIGHT_GIRLS.zscore.weekly-cedd6be6.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-011ab0ee.js → HEIGHT_GIRLS.zscore.yearly-a79b4eca.js} +0 -0
- /package/build/esm/{Locale-87b46912.js → Locale-ede70db5.js} +0 -0
- /package/build/esm/{Visible-b6a47e2b.js → Visible-197f2d49.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-7a6d8027.js → WEIGHT_BOYS.percentile.monthly-3890da59.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-44e626c2.js → WEIGHT_BOYS.percentile.weekly-3c74394a.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-6e443dd4.js → WEIGHT_BOYS.percentile.yearly-bc6df44b.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-3f27fbef.js → WEIGHT_BOYS.zscore.monthly-bc5ce7a9.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-e6f43ea3.js → WEIGHT_BOYS.zscore.weekly-e81c8c5e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-2369fe66.js → WEIGHT_BOYS.zscore.yearly-8994acd5.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-620739f9.js → WEIGHT_GIRLS.percentile.monthly-a0887217.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-466cccfd.js → WEIGHT_GIRLS.percentile.weekly-f28a2996.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-ac671914.js → WEIGHT_GIRLS.percentile.yearly-4a2d5e5b.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-03e02ae0.js → WEIGHT_GIRLS.zscore.monthly-831035de.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-772ccd46.js → WEIGHT_GIRLS.zscore.weekly-7c81d51c.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-3b4ed58b.js → WEIGHT_GIRLS.zscore.yearly-6d819e59.js} +0 -0
- /package/build/esm/{ageGenerate-831f2bfd.js → ageGenerate-ebd7b6d8.js} +0 -0
- /package/build/esm/{animation-d098c55f.js → animation-218aa641.js} +0 -0
- /package/build/esm/{constants-106f2bcb.js → constants-5a17a5ff.js} +0 -0
- /package/build/esm/{constants-2f2c9886.js → constants-81cc941f.js} +0 -0
- /package/build/esm/{constants-96288a21.js → constants-ed9f9274.js} +0 -0
- /package/build/esm/{context-e9fa0aef.js → context-fb291401.js} +0 -0
- /package/build/esm/{dataTransform-01707157.js → dataTransform-8c8e3cd8.js} +0 -0
- /package/build/esm/{index-a55fa240.js → index-03b0330e.js} +0 -0
- /package/build/esm/{index-38e03570.js → index-2f76487d.js} +0 -0
- /package/build/esm/{index-3942e08c.js → index-3715c130.js} +0 -0
- /package/build/esm/{index-43584299.js → index-3ea6e4d5.js} +0 -0
- /package/build/esm/{index-60f1945d.js → index-698df316.js} +0 -0
- /package/build/esm/{index-f5f8f564.js → index-a9ec382c.js} +0 -0
- /package/build/esm/{index-183faa8a.js → index-ad4a8f52.js} +0 -0
- /package/build/esm/{index-fd80d78b.js → index-f71febbd.js} +0 -0
- /package/build/esm/{index.styles-3ba274d2.js → index.styles-20849849.js} +0 -0
- /package/build/esm/{localizeNumberFormat-857f6d60.js → localizeNumberFormat-4c7fce8d.js} +0 -0
- /package/build/esm/{number-d952dba5.js → number-abd40f8f.js} +0 -0
- /package/build/esm/{paths-b9ad10a5.js → paths-64b44e16.js} +0 -0
- /package/build/esm/{shared-3674950a.js → shared-f518fd75.js} +0 -0
- /package/build/esm/{translationsContext-4de1415e.js → translationsContext-0dc73eea.js} +0 -0
- /package/build/esm/{tslib.es6-ab63fd84.js → tslib.es6-9f1c8d91.js} +0 -0
- /package/build/esm/{types-e758ca0d.js → types-07f64978.js} +0 -0
- /package/build/esm/{useOutsideClick-10e74687.js → useOutsideClick-ebe399fb.js} +0 -0
- /package/build/esm/{useScrollbarSize-e42d1fca.js → useScrollbarSize-ae7b5e88.js} +0 -0
- /package/build/esm/{useUniqueId-6d89c40a.js → useUniqueId-cb5f437d.js} +0 -0
- /package/build/esm/{utils-32d7d5af.js → utils-b1ab5c85.js} +0 -0
- /package/build/esm/{utils-53d796ad.js → utils-c1a6fbc6.js} +0 -0
- /package/build/{index-acf80f95.js → index-15057403.js} +0 -0
- /package/build/{index-07c3d435.js → index-5b97e2c0.js} +0 -0
- /package/build/{index-7d7d8dfe.js → index-64e0046d.js} +0 -0
- /package/build/{index-b0ce6f8f.js → index-9586920a.js} +0 -0
- /package/build/{index-7422b616.js → index-c086670a.js} +0 -0
- /package/build/{index-59a9827e.js → index-edd7dbd6.js} +0 -0
- /package/build/{index-4230e69a.js → index-fd2072b8.js} +0 -0
- /package/build/{index-edabce15.js → index-ff6d961a.js} +0 -0
- /package/build/{index.styles-691de58f.js → index.styles-41d46dff.js} +0 -0
- /package/build/{localizeNumberFormat-fd3ce573.js → localizeNumberFormat-15f302f4.js} +0 -0
- /package/build/{number-800e4b9c.js → number-58da1dc7.js} +0 -0
- /package/build/{paths-b2d1698d.js → paths-8c8ebc12.js} +0 -0
- /package/build/{shared-60ad3e5a.js → shared-68aa272f.js} +0 -0
- /package/build/{translationsContext-78113889.js → translationsContext-3dda78c8.js} +0 -0
- /package/build/{tslib.es6-2c2ed574.js → tslib.es6-c7c1810e.js} +0 -0
- /package/build/{types-2d553dd1.js → types-16a937da.js} +0 -0
- /package/build/{useOutsideClick-20d5ca9e.js → useOutsideClick-8eef4ecb.js} +0 -0
- /package/build/{useScrollbarSize-2ff6d46d.js → useScrollbarSize-4b5abf2f.js} +0 -0
- /package/build/{useUniqueId-18ea5b53.js → useUniqueId-9a00e57f.js} +0 -0
- /package/build/{utils-9e461f41.js → utils-302551b4.js} +0 -0
- /package/build/{utils-b92a8b1c.js → utils-9b8f2dca.js} +0 -0
|
@@ -1,55 +1,56 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as __awaiter, _ as __rest } from './tslib.es6-9f1c8d91.js';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import React__default, { useContext, useState, useCallback, useMemo, useEffect, useRef } from 'react';
|
|
4
|
-
import { i as isInternalLink, V as VideoItem, S as SiteWideBanner, L as LanguageSwitcher } from './SiteWideBanner-
|
|
5
|
-
import { L as LOCALE_SPECS, S as STATIC_PAGES, a as ZINDEX_HEADER, V as VIDEO_LOCALES, c as LOCALE_HAS_COMMUNITY_SITE, C as CARE_LOCALES } from './index-
|
|
6
|
-
import { e as normalizeLink, n as normalizeLinkSlash, g as getCurrentBaseUrl, c as getDiscoverApiDomain, b as getTogetherApiDomain, d as getCareApiDomain } from './normalizeLink-
|
|
7
|
-
import { f as
|
|
4
|
+
import { i as isInternalLink, V as VideoItem, S as SiteWideBanner, L as LanguageSwitcher } from './SiteWideBanner-8e28b605.js';
|
|
5
|
+
import { b as basePath, L as LOCALE_SPECS, S as STATIC_PAGES, a as ZINDEX_HEADER, V as VIDEO_LOCALES, c as LOCALE_HAS_COMMUNITY_SITE, C as CARE_LOCALES } from './index-217c5bf0.js';
|
|
6
|
+
import { r as resolveDiscoverNavLink, e as normalizeLink, n as normalizeLinkSlash, g as getCurrentBaseUrl, c as getDiscoverApiDomain, b as getTogetherApiDomain, d as getCareApiDomain } from './normalizeLink-052ff6ca.js';
|
|
7
|
+
import { f as formatArticle, a as formatCommunity, b as formatPost } from './dataTransform-aa0323ae.js';
|
|
8
8
|
import { Close, Logo } from '@hhgtech/icons/core';
|
|
9
|
-
import { I as Input, D as DEBOUNCED_TIME } from './index-
|
|
10
|
-
import './translationsContext-
|
|
11
|
-
import { L as LOCALE } from './Locale-
|
|
9
|
+
import { I as Input, D as DEBOUNCED_TIME } from './index-51ed5470.js';
|
|
10
|
+
import './translationsContext-0dc73eea.js';
|
|
11
|
+
import { L as LOCALE } from './Locale-ede70db5.js';
|
|
12
12
|
import { keyframes } from '@emotion/react';
|
|
13
13
|
import styled from '@emotion/styled';
|
|
14
14
|
import { theme } from './miscTheme.js';
|
|
15
|
-
import { a as NavigationContext, u as useCSSFocusPopupHelper, N as NavigationProfileButton, b as NavigationProvider } from './index-
|
|
15
|
+
import { a as NavigationContext, u as useCSSFocusPopupHelper, N as NavigationProfileButton, b as NavigationProvider } from './index-17281689.js';
|
|
16
16
|
import { ArrowRight, ChatAi } from '@hhgtech/icons/other';
|
|
17
17
|
import { createStyles, Box, Indicator, useMantineTheme, clsx, Flex } from '@mantine/core';
|
|
18
|
-
import { L as Logo$1 } from './index-
|
|
18
|
+
import { L as Logo$1 } from './index-37edbf15.js';
|
|
19
19
|
import throttle from 'lodash/throttle';
|
|
20
20
|
import '@mantine/dates';
|
|
21
|
-
import { V as VideoType } from './index-
|
|
22
|
-
import { C as CommonGAssets } from './index-
|
|
23
|
-
import './index-
|
|
24
|
-
import { T as Text } from './index-
|
|
25
|
-
import { B as Button } from './index-
|
|
26
|
-
import './index-
|
|
27
|
-
import './index.styles-
|
|
21
|
+
import { V as VideoType } from './index-2920a921.js';
|
|
22
|
+
import { C as CommonGAssets } from './index-3ea6e4d5.js';
|
|
23
|
+
import './index-5c543b45.js';
|
|
24
|
+
import { T as Text } from './index-387479d6.js';
|
|
25
|
+
import { B as Button } from './index-1ab8ae5a.js';
|
|
26
|
+
import './index-2f76487d.js';
|
|
27
|
+
import './index.styles-20849849.js';
|
|
28
28
|
import '@mantine/hooks';
|
|
29
|
-
import { g as getBoundariesFromMediaQueryKey, M as MediaQueries } from './utils-
|
|
30
|
-
import './index-
|
|
31
|
-
import { L as LOCALISED_SLUGS, C as CARE_BASE_PATH } from './constants-
|
|
32
|
-
import { u as useSSOV2Store, I as IS_SSOV2_ENABLED } from './store-
|
|
33
|
-
import { L as LOCALISED_SLUGS$1 } from './constants-
|
|
34
|
-
import { I as Indicator$1 } from './index-
|
|
35
|
-
import { u as useTranslations } from './index-
|
|
36
|
-
import { u as useIsInit, a as useCartCareService } from './useCartCareService-
|
|
37
|
-
import { L as LOCALIZED_SLUGS } from './constants-
|
|
29
|
+
import { g as getBoundariesFromMediaQueryKey, M as MediaQueries } from './utils-b1ab5c85.js';
|
|
30
|
+
import './index-07394a93.js';
|
|
31
|
+
import { L as LOCALISED_SLUGS, C as CARE_BASE_PATH } from './constants-6e42426c.js';
|
|
32
|
+
import { u as useSSOV2Store, I as IS_SSOV2_ENABLED } from './store-a051a3d5.js';
|
|
33
|
+
import { L as LOCALISED_SLUGS$1 } from './constants-3b117348.js';
|
|
34
|
+
import { I as Indicator$1 } from './index-917348da.js';
|
|
35
|
+
import { u as useTranslations } from './index-d44de036.js';
|
|
36
|
+
import { u as useIsInit, a as useCartCareService } from './useCartCareService-f96fb57e.js';
|
|
37
|
+
import { L as LOCALIZED_SLUGS } from './constants-5a17a5ff.js';
|
|
38
38
|
import { setDefaultClass } from './miscDefaultClassWrapper.js';
|
|
39
|
-
import { B as Button$1 } from './index-
|
|
40
|
-
import { H as Heading } from './index-
|
|
41
|
-
import { a as getCareSearchUrl, h as hexToRgb, r as rgbToHsb, b as hsbToRgb, f as formatCategory, c as formatSpotlightsList, d as checkAvailableSpotlight, e as formatHealthTool, i as formatVideoItem, j as formatSpecialties, k as formatHospital } from './utils-
|
|
42
|
-
import { C as Container } from './index-
|
|
39
|
+
import { B as Button$1 } from './index-2815b268.js';
|
|
40
|
+
import { H as Heading } from './index-7e43c3ac.js';
|
|
41
|
+
import { a as getCareSearchUrl, h as hexToRgb, r as rgbToHsb, b as hsbToRgb, f as formatCategory, c as formatSpotlightsList, d as checkAvailableSpotlight, e as formatHealthTool, i as formatVideoItem, j as formatSpecialties, k as formatHospital } from './utils-310f958b.js';
|
|
42
|
+
import { C as Container } from './index-a9ec382c.js';
|
|
43
|
+
import { b as useResolvedCaptureUrls } from './useResolvedCaptureUrls-1807c130.js';
|
|
43
44
|
import dayjs from 'dayjs';
|
|
44
45
|
import relativeTime from 'dayjs/plugin/relativeTime';
|
|
45
|
-
import { U as UserAvatar } from './index-
|
|
46
|
+
import { U as UserAvatar } from './index-49bdbc34.js';
|
|
46
47
|
import get from 'lodash/get';
|
|
47
|
-
import { Z as Z_INDEX, D as DEFAULT_HEADER_HEIGHT_MOBILE, a as DEFAULT_HEADER_HEIGHT_DESKTOP } from './constants-
|
|
48
|
+
import { Z as Z_INDEX, D as DEFAULT_HEADER_HEIGHT_MOBILE, a as DEFAULT_HEADER_HEIGHT_DESKTOP } from './constants-ed9f9274.js';
|
|
48
49
|
import isEmpty from 'lodash/isEmpty';
|
|
49
|
-
import { C as CartCareButton } from './index-
|
|
50
|
+
import { C as CartCareButton } from './index-bf23174c.js';
|
|
50
51
|
import debounce from 'lodash/debounce';
|
|
51
52
|
import { domainLocales } from './constantsDomainLocales.js';
|
|
52
|
-
import { g as getDataWithCache } from './core-
|
|
53
|
+
import { g as getDataWithCache } from './core-80a71098.js';
|
|
53
54
|
|
|
54
55
|
const HamburgerWhite = (props) => (React.createElement("svg", Object.assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
|
|
55
56
|
React.createElement("path", { d: "M4 12H20", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
@@ -60,6 +61,98 @@ const StarPair = (props) => (React.createElement("svg", Object.assign({ width: "
|
|
|
60
61
|
React.createElement("path", { d: "M6.35278 10.7516C6.42759 10.976 6.63881 11.1279 6.87534 11.1279C7.11187 11.1279 7.322 10.976 7.39791 10.7516C7.68947 9.87691 8.37585 9.19053 9.25054 8.89896C9.47497 8.82415 9.62679 8.61403 9.62679 8.3775C9.62679 8.14097 9.47497 7.93084 9.25054 7.85603C8.37585 7.56446 7.68947 6.87809 7.39791 6.00339C7.24719 5.55453 6.5046 5.55453 6.35388 6.00339C6.06231 6.87809 5.37594 7.56446 4.50125 7.85603C4.27682 7.93084 4.125 8.14097 4.125 8.3775C4.125 8.61403 4.27682 8.82415 4.50125 8.89896C5.37565 9.19043 6.06193 9.87699 6.35278 10.7516Z", fill: "#2743AD" }),
|
|
61
62
|
React.createElement("path", { d: "M20.1723 14.3286L18.5342 13.6789C16.821 12.9995 15.4655 11.6411 14.7897 9.92641L14.1396 8.27697C13.9232 7.72994 13.0262 7.72994 12.8097 8.27697L12.1597 9.92641C11.4839 11.6411 10.1284 12.9995 8.41517 13.6789L6.77705 14.3286C6.5044 14.4367 6.32422 14.7016 6.32422 14.9952C6.32422 15.2888 6.50345 15.5537 6.77705 15.6618L8.41517 16.3115C10.1284 16.991 11.4839 18.3494 12.1597 20.064L12.8097 21.7135C12.9175 21.987 13.1815 22.1668 13.4742 22.1668C13.7669 22.1668 14.031 21.987 14.1387 21.7135L14.7888 20.064C15.4646 18.3494 16.8201 16.991 18.5333 16.3115L20.1714 15.6618C20.444 15.5537 20.6242 15.2888 20.6242 14.9952C20.6242 14.7016 20.4459 14.4367 20.1723 14.3286Z", fill: "#2743AD" })));
|
|
62
63
|
|
|
64
|
+
function getSettledValue(result) {
|
|
65
|
+
var _a;
|
|
66
|
+
return result.status === 'fulfilled' ? (_a = result.value) !== null && _a !== void 0 ? _a : null : null;
|
|
67
|
+
}
|
|
68
|
+
/** Promise.allSettled polyfill for es2017 lib target */
|
|
69
|
+
function allSettled(promises) {
|
|
70
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
71
|
+
return Promise.all(Array.from(promises).map((promise) => __awaiter(this, void 0, void 0, function* () {
|
|
72
|
+
try {
|
|
73
|
+
const value = yield promise;
|
|
74
|
+
return { status: 'fulfilled', value };
|
|
75
|
+
}
|
|
76
|
+
catch (reason) {
|
|
77
|
+
return { status: 'rejected', reason };
|
|
78
|
+
}
|
|
79
|
+
})));
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
const HELLO_WELLNESS_MENU_ITEM_INDEX = 3;
|
|
84
|
+
const insertHelloWellnessMenuItem = (items, item) => {
|
|
85
|
+
if (items.length >= 4) {
|
|
86
|
+
return [
|
|
87
|
+
...items.slice(0, HELLO_WELLNESS_MENU_ITEM_INDEX),
|
|
88
|
+
item,
|
|
89
|
+
...items.slice(HELLO_WELLNESS_MENU_ITEM_INDEX),
|
|
90
|
+
];
|
|
91
|
+
}
|
|
92
|
+
return [...items, item];
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
const DEFAULT_SPOTLIGHT_IMAGE = `${basePath}/images/hhg-logo.png`;
|
|
96
|
+
const applyHelloWellnessNavCategories = ({ helloWellness, categoryItems = [], categorySpotlights = [], }) => {
|
|
97
|
+
var _a, _b, _c;
|
|
98
|
+
const helloWellnessSpotlightMenu = (_b = (_a = helloWellness === null || helloWellness === void 0 ? void 0 : helloWellness.settings) === null || _a === void 0 ? void 0 : _a.menu) === null || _b === void 0 ? void 0 : _b.spotlightMenu;
|
|
99
|
+
const helloWellnessCategory = (_c = helloWellness === null || helloWellness === void 0 ? void 0 : helloWellness.settings) === null || _c === void 0 ? void 0 : _c.helloWellnessCategory;
|
|
100
|
+
const helloWellnessCategoryPermalink = `${basePath}/hello-wellness/`;
|
|
101
|
+
const helloWellnessSpotlightPermalink = (helloWellnessSpotlightMenu === null || helloWellnessSpotlightMenu === void 0 ? void 0 : helloWellnessSpotlightMenu.url) || helloWellnessCategoryPermalink;
|
|
102
|
+
const spotlights = categorySpotlights.map((item) => (Object.assign(Object.assign({}, item), { image: item.image || DEFAULT_SPOTLIGHT_IMAGE })));
|
|
103
|
+
const helloWellnessSpotlightMenuItem = {
|
|
104
|
+
id: 0,
|
|
105
|
+
name: (helloWellnessCategory === null || helloWellnessCategory === void 0 ? void 0 : helloWellnessCategory.categoryName) || 'Hello Wellness',
|
|
106
|
+
permalink: helloWellnessSpotlightPermalink,
|
|
107
|
+
image: (helloWellnessSpotlightMenu === null || helloWellnessSpotlightMenu === void 0 ? void 0 : helloWellnessSpotlightMenu.banner) || '',
|
|
108
|
+
imageMedium: (helloWellnessSpotlightMenu === null || helloWellnessSpotlightMenu === void 0 ? void 0 : helloWellnessSpotlightMenu.banner) || '',
|
|
109
|
+
imageThumbnail: (helloWellnessSpotlightMenu === null || helloWellnessSpotlightMenu === void 0 ? void 0 : helloWellnessSpotlightMenu.banner) || '',
|
|
110
|
+
};
|
|
111
|
+
const helloWellnessCategoryItem = (helloWellness === null || helloWellness === void 0 ? void 0 : helloWellness.enabled) &&
|
|
112
|
+
(helloWellnessCategory === null || helloWellnessCategory === void 0 ? void 0 : helloWellnessCategory.icon) &&
|
|
113
|
+
(helloWellnessCategory === null || helloWellnessCategory === void 0 ? void 0 : helloWellnessCategory.categoryName)
|
|
114
|
+
? {
|
|
115
|
+
iconUrl: helloWellnessCategory.icon,
|
|
116
|
+
categoryName: helloWellnessCategory.categoryName,
|
|
117
|
+
name: helloWellnessCategory.categoryName,
|
|
118
|
+
slugName: 'hello-wellness',
|
|
119
|
+
imageColor: '',
|
|
120
|
+
displayName: helloWellnessCategory.categoryName,
|
|
121
|
+
permalink: helloWellnessCategoryPermalink,
|
|
122
|
+
slug: 'hello-wellness',
|
|
123
|
+
childCates: [],
|
|
124
|
+
}
|
|
125
|
+
: null;
|
|
126
|
+
const updatedCategoryItems = helloWellnessCategoryItem
|
|
127
|
+
? [
|
|
128
|
+
helloWellnessCategoryItem,
|
|
129
|
+
...categoryItems.filter((item) => item.slug !== 'hello-wellness' &&
|
|
130
|
+
item.slugName !== 'hello-wellness' &&
|
|
131
|
+
item.permalink !== helloWellnessCategoryPermalink),
|
|
132
|
+
]
|
|
133
|
+
: categoryItems;
|
|
134
|
+
const updatedSpotlights = (helloWellnessSpotlightMenu === null || helloWellnessSpotlightMenu === void 0 ? void 0 : helloWellnessSpotlightMenu.banner) && (helloWellnessSpotlightMenu === null || helloWellnessSpotlightMenu === void 0 ? void 0 : helloWellnessSpotlightMenu.url)
|
|
135
|
+
? insertHelloWellnessMenuItem(spotlights, helloWellnessSpotlightMenuItem)
|
|
136
|
+
: spotlights;
|
|
137
|
+
return {
|
|
138
|
+
items: updatedCategoryItems,
|
|
139
|
+
spotlights: updatedSpotlights,
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
|
|
143
|
+
const applyHelloWellnessNavVideos = ({ helloWellness, videoSpotlights = [], }) => {
|
|
144
|
+
var _a, _b;
|
|
145
|
+
const helloWellnessVideoMenu = (_b = (_a = helloWellness === null || helloWellness === void 0 ? void 0 : helloWellness.settings) === null || _a === void 0 ? void 0 : _a.menu) === null || _b === void 0 ? void 0 : _b.videoMenu;
|
|
146
|
+
const helloWellnessVideoMenuItem = {
|
|
147
|
+
url: (helloWellnessVideoMenu === null || helloWellnessVideoMenu === void 0 ? void 0 : helloWellnessVideoMenu.videoUrl) || '',
|
|
148
|
+
thumbnail: (helloWellnessVideoMenu === null || helloWellnessVideoMenu === void 0 ? void 0 : helloWellnessVideoMenu.thumbnail) || '',
|
|
149
|
+
title: (helloWellnessVideoMenu === null || helloWellnessVideoMenu === void 0 ? void 0 : helloWellnessVideoMenu.title) || '',
|
|
150
|
+
};
|
|
151
|
+
return (helloWellnessVideoMenu === null || helloWellnessVideoMenu === void 0 ? void 0 : helloWellnessVideoMenu.thumbnail) && (helloWellnessVideoMenu === null || helloWellnessVideoMenu === void 0 ? void 0 : helloWellnessVideoMenu.videoUrl)
|
|
152
|
+
? insertHelloWellnessMenuItem(videoSpotlights, helloWellnessVideoMenuItem)
|
|
153
|
+
: videoSpotlights;
|
|
154
|
+
};
|
|
155
|
+
|
|
63
156
|
const ALLOW_SHOW_SEARCH_ANIMATION = [LOCALE.Vietnam, LOCALE.Malaysia];
|
|
64
157
|
const TEXT_PLACEHOLDER_INPUT = {
|
|
65
158
|
[LOCALE.Vietnam]: [
|
|
@@ -1074,9 +1167,11 @@ const Item$3 = ({ item, index = 0 }) => {
|
|
|
1074
1167
|
const CategorySpotlights = ({ spotlightsList = [], hrefViewMore }) => {
|
|
1075
1168
|
const { t } = useTranslations();
|
|
1076
1169
|
const { configs: { statics }, } = useContext(NavigationContext);
|
|
1170
|
+
const spotlightPermalinks = useMemo(() => spotlightsList.map((spotlight) => spotlight.permalink), [spotlightsList]);
|
|
1171
|
+
const resolvedPermalinks = useResolvedCaptureUrls(spotlightPermalinks);
|
|
1077
1172
|
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: {
|
|
1078
1173
|
id: spotlight.id,
|
|
1079
|
-
link: statics.HOME_PAGE_URL
|
|
1174
|
+
link: resolveDiscoverNavLink(statics.HOME_PAGE_URL, resolvedPermalinks[index] || spotlight.permalink),
|
|
1080
1175
|
title: spotlight.name,
|
|
1081
1176
|
banner: spotlight.image,
|
|
1082
1177
|
buttonDisplay: spotlight.buttonDisplay,
|
|
@@ -1706,10 +1801,21 @@ const StyledContainerItems$1 = styled.div `
|
|
|
1706
1801
|
}
|
|
1707
1802
|
`;
|
|
1708
1803
|
|
|
1804
|
+
const isHelloWellnessVideo = (video, helloWellnessVideoUrl, helloWellnessVideoThumbnail) => Boolean(helloWellnessVideoUrl &&
|
|
1805
|
+
helloWellnessVideoThumbnail &&
|
|
1806
|
+
video.url === helloWellnessVideoUrl &&
|
|
1807
|
+
video.thumbnail === helloWellnessVideoThumbnail);
|
|
1709
1808
|
const VideoSpotlights = ({ spotlightsList = [], layout = 'default', }) => {
|
|
1809
|
+
var _a, _b, _c;
|
|
1710
1810
|
const { t } = useTranslations();
|
|
1711
|
-
const { configs: { statics }, } = useContext(NavigationContext);
|
|
1712
|
-
|
|
1811
|
+
const { configs: { statics }, ssrMenuContent, } = useContext(NavigationContext);
|
|
1812
|
+
const helloWellnessVideoMenu = (_c = (_b = (_a = ssrMenuContent === null || ssrMenuContent === void 0 ? void 0 : ssrMenuContent.helloWellness) === null || _a === void 0 ? void 0 : _a.settings) === null || _b === void 0 ? void 0 : _b.menu) === null || _c === void 0 ? void 0 : _c.videoMenu;
|
|
1813
|
+
return (React__default.createElement(Spotlights, { title: t('home.navigator.menu.lastestVideos') }, spotlightsList.length !== 0 ? (React__default.createElement(StyledContainerItems$1, null, spotlightsList === null || spotlightsList === void 0 ? void 0 : spotlightsList.slice(0, 4).map((video, index) => {
|
|
1814
|
+
const isHelloWellness = isHelloWellnessVideo(video, helloWellnessVideoMenu === null || helloWellnessVideoMenu === void 0 ? void 0 : helloWellnessVideoMenu.videoUrl, helloWellnessVideoMenu === null || helloWellnessVideoMenu === void 0 ? void 0 : helloWellnessVideoMenu.thumbnail);
|
|
1815
|
+
return (React__default.createElement(VideoItem, { key: index, data: Object.assign(Object.assign({}, video), { type: VideoType.SHORTS }), layout: layout === 'default' ? 'overlay' : 'horizon', dataEventCategory: "Hamburger Navigation", dataEventAction: isHelloWellness
|
|
1816
|
+
? 'Click to Pin Video'
|
|
1817
|
+
: `Video Click ${index + 1}`, dataEventLabel: isHelloWellness ? video.url : undefined }));
|
|
1818
|
+
}))) : (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') }))));
|
|
1713
1819
|
};
|
|
1714
1820
|
|
|
1715
1821
|
const MenuVideoList = ({ spotlightsList = [], onClose, isOpen }) => {
|
|
@@ -2599,6 +2705,7 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
|
|
|
2599
2705
|
isMobile && (React__default.createElement(HamburgerMenu, { menuItems: hamburgerMenuItems, extraMenuItems: hamburgerExtraMenuItems, isHomepage: isHomepage, projectType: projectType })),
|
|
2600
2706
|
logoComponent || (React__default.createElement("a", { style: {
|
|
2601
2707
|
flexShrink: 0,
|
|
2708
|
+
pointerEvents: 'auto',
|
|
2602
2709
|
}, href: HOME_PAGE_URL },
|
|
2603
2710
|
React__default.createElement("div", null,
|
|
2604
2711
|
React__default.createElement(Logo$1, { style: {
|
|
@@ -2652,6 +2759,71 @@ const NavigationMenu = ({ menuItems, originalMenuItems, className, }) => {
|
|
|
2652
2759
|
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 })) : menuItem.popupType === 'other' ? (React__default.createElement(MenuViewMore, { menuItems: originalMenuItems })) : null }))))));
|
|
2653
2760
|
};
|
|
2654
2761
|
|
|
2762
|
+
const formatHelloWellnessFeatureImage = (data) => ({
|
|
2763
|
+
image: (data === null || data === void 0 ? void 0 : data.image) || '',
|
|
2764
|
+
header: (data === null || data === void 0 ? void 0 : data.header) || '',
|
|
2765
|
+
description: (data === null || data === void 0 ? void 0 : data.description) || '',
|
|
2766
|
+
redirectLink: (data === null || data === void 0 ? void 0 : data.redirect_link) || '',
|
|
2767
|
+
});
|
|
2768
|
+
const formatHelloWellnessPinCategoryItem = (item) => {
|
|
2769
|
+
if (!item)
|
|
2770
|
+
return null;
|
|
2771
|
+
if (item.type === 'feature_image') {
|
|
2772
|
+
return {
|
|
2773
|
+
categoryId: item.category,
|
|
2774
|
+
type: 'feature_image',
|
|
2775
|
+
data: formatHelloWellnessFeatureImage(item.data),
|
|
2776
|
+
};
|
|
2777
|
+
}
|
|
2778
|
+
return {
|
|
2779
|
+
categoryId: item.category,
|
|
2780
|
+
type: 'pin_article',
|
|
2781
|
+
data: Object.assign(Object.assign({}, formatArticle(item.data)), { isHelloWellness: true }),
|
|
2782
|
+
};
|
|
2783
|
+
};
|
|
2784
|
+
const formatHelloWellnessSettings = (settings) => {
|
|
2785
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v;
|
|
2786
|
+
if (!settings)
|
|
2787
|
+
return {};
|
|
2788
|
+
return {
|
|
2789
|
+
menu: {
|
|
2790
|
+
spotlightMenu: {
|
|
2791
|
+
banner: ((_b = (_a = settings.menu) === null || _a === void 0 ? void 0 : _a['spotlight-menu']) === null || _b === void 0 ? void 0 : _b.banner) || '',
|
|
2792
|
+
url: ((_d = (_c = settings.menu) === null || _c === void 0 ? void 0 : _c['spotlight-menu']) === null || _d === void 0 ? void 0 : _d.url) || '',
|
|
2793
|
+
},
|
|
2794
|
+
videoMenu: {
|
|
2795
|
+
videoUrl: ((_f = (_e = settings.menu) === null || _e === void 0 ? void 0 : _e.video_menu) === null || _f === void 0 ? void 0 : _f.video_url) || '',
|
|
2796
|
+
thumbnail: typeof ((_h = (_g = settings.menu) === null || _g === void 0 ? void 0 : _g.video_menu) === null || _h === void 0 ? void 0 : _h.thumbnail_video) === 'string'
|
|
2797
|
+
? settings.menu.video_menu.thumbnail_video
|
|
2798
|
+
: '',
|
|
2799
|
+
title: ((_k = (_j = settings.menu) === null || _j === void 0 ? void 0 : _j.video_menu) === null || _k === void 0 ? void 0 : _k.title) || '',
|
|
2800
|
+
},
|
|
2801
|
+
},
|
|
2802
|
+
helloWellnessCategory: {
|
|
2803
|
+
icon: ((_l = settings.hello_wellness_category) === null || _l === void 0 ? void 0 : _l.icon) || '',
|
|
2804
|
+
categoryName: ((_m = settings.hello_wellness_category) === null || _m === void 0 ? void 0 : _m.category_name) || '',
|
|
2805
|
+
},
|
|
2806
|
+
landingPage: {
|
|
2807
|
+
bannerDesktop: ((_o = settings.landing_page) === null || _o === void 0 ? void 0 : _o.banner_desktop) || '',
|
|
2808
|
+
bannerMobile: ((_p = settings.landing_page) === null || _p === void 0 ? void 0 : _p.banner_mobile) || '',
|
|
2809
|
+
headerForCategoriesList: ((_q = settings.landing_page) === null || _q === void 0 ? void 0 : _q.header_for_categories_list) || '',
|
|
2810
|
+
categories: ((_s = (_r = settings.landing_page) === null || _r === void 0 ? void 0 : _r.category) === null || _s === void 0 ? void 0 : _s.map((category) => formatCategory(category))) || [],
|
|
2811
|
+
},
|
|
2812
|
+
pinArticleForEachCategory: {
|
|
2813
|
+
sponsorLogo: ((_t = settings.pin_article_for_each_category) === null || _t === void 0 ? void 0 : _t.sponsor_logo) || '',
|
|
2814
|
+
listCategories: ((_v = (_u = settings.pin_article_for_each_category) === null || _u === void 0 ? void 0 : _u.list_categories) === null || _v === void 0 ? void 0 : _v.map(formatHelloWellnessPinCategoryItem).filter(Boolean)) || [],
|
|
2815
|
+
},
|
|
2816
|
+
};
|
|
2817
|
+
};
|
|
2818
|
+
const formatHelloWellness = (data) => {
|
|
2819
|
+
if (!data)
|
|
2820
|
+
return {};
|
|
2821
|
+
return {
|
|
2822
|
+
enabled: Boolean(data.enabled),
|
|
2823
|
+
settings: formatHelloWellnessSettings(data.settings),
|
|
2824
|
+
};
|
|
2825
|
+
};
|
|
2826
|
+
|
|
2655
2827
|
const useHeaderHeight = ({ hasSponsoredBanners, isSponsored, isShowingSiteWideBanner, isMobile, }) => {
|
|
2656
2828
|
const headerRef = useRef(null);
|
|
2657
2829
|
const [headerHeight, setHeaderHeight] = useState(0);
|
|
@@ -2857,36 +3029,6 @@ const useNavServices = () => {
|
|
|
2857
3029
|
return services;
|
|
2858
3030
|
};
|
|
2859
3031
|
|
|
2860
|
-
const StyledContainer = styled.div `
|
|
2861
|
-
--header-z-index: ${ZINDEX_HEADER};
|
|
2862
|
-
top: 0;
|
|
2863
|
-
z-index: var(--header-z-index);
|
|
2864
|
-
|
|
2865
|
-
${MediaQueries.mbDown} {
|
|
2866
|
-
width: 100vw;
|
|
2867
|
-
max-width: 100%;
|
|
2868
|
-
}
|
|
2869
|
-
--amp-site-wide-closed: 2px;
|
|
2870
|
-
|
|
2871
|
-
-webkit-transform: translateZ(0);
|
|
2872
|
-
position: sticky;
|
|
2873
|
-
|
|
2874
|
-
&.nav-open {
|
|
2875
|
-
margin-top: 64px;
|
|
2876
|
-
}
|
|
2877
|
-
|
|
2878
|
-
&:not(.nav-open) {
|
|
2879
|
-
--amp-site-wide-closed: 66px;
|
|
2880
|
-
}
|
|
2881
|
-
pointer-events: none;
|
|
2882
|
-
> section
|
|
2883
|
-
*:not([data-cart-menu] *):not([data-search-animation-wrapper] *):not(
|
|
2884
|
-
[data-search-animation-wrapper]
|
|
2885
|
-
) {
|
|
2886
|
-
pointer-events: auto;
|
|
2887
|
-
}
|
|
2888
|
-
`;
|
|
2889
|
-
|
|
2890
3032
|
const CSS_VAR_DEFAULT_HEADER_HEIGHT = '--default-header-height';
|
|
2891
3033
|
const CSS_VAR_HEADER_HEIGHT = '--header-height';
|
|
2892
3034
|
const setRootCSSVariable = (name, value) => {
|
|
@@ -2913,6 +3055,30 @@ const useSetGlobalHeaderHeight = ({ headerHeight, defaultHeaderHeight, allowRoot
|
|
|
2913
3055
|
}, [defaultHeaderHeight, finalHeaderHeight]);
|
|
2914
3056
|
};
|
|
2915
3057
|
|
|
3058
|
+
const StyledContainer = styled.div `
|
|
3059
|
+
--header-z-index: ${ZINDEX_HEADER};
|
|
3060
|
+
top: 0;
|
|
3061
|
+
z-index: var(--header-z-index);
|
|
3062
|
+
|
|
3063
|
+
${MediaQueries.mbDown} {
|
|
3064
|
+
width: 100vw;
|
|
3065
|
+
max-width: 100%;
|
|
3066
|
+
}
|
|
3067
|
+
--amp-site-wide-closed: 2px;
|
|
3068
|
+
|
|
3069
|
+
-webkit-transform: translateZ(0);
|
|
3070
|
+
position: sticky;
|
|
3071
|
+
|
|
3072
|
+
&.nav-open {
|
|
3073
|
+
margin-top: 64px;
|
|
3074
|
+
}
|
|
3075
|
+
|
|
3076
|
+
&:not(.nav-open) {
|
|
3077
|
+
--amp-site-wide-closed: 66px;
|
|
3078
|
+
}
|
|
3079
|
+
pointer-events: none;
|
|
3080
|
+
`;
|
|
3081
|
+
|
|
2916
3082
|
const _NavigationV2 = (props) => {
|
|
2917
3083
|
var _a, _b;
|
|
2918
3084
|
const { isMobile, locale, onTopBarAppears, languageOptions, sponsorComponent, sitewideBanner, sitewideBannerShown, className, logoComponent, subHead, projectType, customClasses = {}, } = props;
|
|
@@ -2948,61 +3114,77 @@ const getNavMenuContent = (locale) => __awaiter(void 0, void 0, void 0, function
|
|
|
2948
3114
|
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;
|
|
2949
3115
|
const res = {};
|
|
2950
3116
|
const isMarryBaby = locale === 'vi-VN_MB';
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
|
|
2961
|
-
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
]);
|
|
2996
|
-
res.care = {
|
|
2997
|
-
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)) || [],
|
|
2998
|
-
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)) || [],
|
|
2999
|
-
};
|
|
3000
|
-
}
|
|
3001
|
-
catch (_3) { }
|
|
3002
|
-
}
|
|
3117
|
+
const customLang = locale === 'tl-PH' ? 'lang=fil' : '';
|
|
3118
|
+
const discoverDomain = getDiscoverApiDomain(locale);
|
|
3119
|
+
const healthToolsPath = isMarryBaby ? 'health-tools' : 'healthtools';
|
|
3120
|
+
const langSuffix = customLang ? '?' + customLang : '';
|
|
3121
|
+
const langAmpSuffix = customLang ? '&' + customLang : '';
|
|
3122
|
+
const fetchJson = (url) => fetch(normalizeLinkSlash(url)).then((response) => response.json());
|
|
3123
|
+
const [categoriesResult, spotlightsResult, healthtoolsResult, healthtoolsFavoritesResult, videosResult, helloWellnessResult,] = yield allSettled([
|
|
3124
|
+
fetchJson(`${discoverDomain}/wp-json/api/categories${langSuffix}`),
|
|
3125
|
+
fetchJson(`${discoverDomain}/wp-json/api/spotlights?per_page=10&order_by=start_date${langAmpSuffix}`),
|
|
3126
|
+
fetchJson(`${discoverDomain}/wp-json/api/${healthToolsPath}${langSuffix}`),
|
|
3127
|
+
fetchJson(`${discoverDomain}/wp-json/api/${healthToolsPath}/favorites${langSuffix}`),
|
|
3128
|
+
VIDEO_LOCALES.includes(locale)
|
|
3129
|
+
? fetchJson(`${discoverDomain}/wp-json/api/video/navigation`)
|
|
3130
|
+
: Promise.resolve(null),
|
|
3131
|
+
fetchJson(`${discoverDomain}/wp-json/api/hello-wellness`),
|
|
3132
|
+
]);
|
|
3133
|
+
const categories = getSettledValue(categoriesResult);
|
|
3134
|
+
const spotlights = getSettledValue(spotlightsResult);
|
|
3135
|
+
const healthtools = getSettledValue(healthtoolsResult);
|
|
3136
|
+
const healthtoolsFavorites = getSettledValue(healthtoolsFavoritesResult);
|
|
3137
|
+
const videos = getSettledValue(videosResult);
|
|
3138
|
+
const helloWellnessResponse = getSettledValue(helloWellnessResult);
|
|
3139
|
+
const helloWellness = (helloWellnessResponse === null || helloWellnessResponse === void 0 ? void 0 : helloWellnessResponse.status) === 1 && (helloWellnessResponse === null || helloWellnessResponse === void 0 ? void 0 : helloWellnessResponse.data)
|
|
3140
|
+
? formatHelloWellness(helloWellnessResponse.data)
|
|
3141
|
+
: null;
|
|
3142
|
+
res.categories = applyHelloWellnessNavCategories({
|
|
3143
|
+
helloWellness,
|
|
3144
|
+
categoryItems: ((_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)) || [],
|
|
3145
|
+
categorySpotlights: ((_f = (_e = (_d = (_c = spotlights === null || spotlights === void 0 ? void 0 : spotlights.data) === null || _c === void 0 ? void 0 : _c.articles) === null || _d === void 0 ? void 0 : _d.map) === null || _e === void 0 ? void 0 : _e.call(_d, formatSpotlightsList)) === null || _f === void 0 ? void 0 : _f.filter(checkAvailableSpotlight)) || [],
|
|
3146
|
+
});
|
|
3147
|
+
res.healthTools = {
|
|
3148
|
+
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)) || [],
|
|
3149
|
+
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)) || [],
|
|
3150
|
+
};
|
|
3151
|
+
res.videos = {
|
|
3152
|
+
spotlights: applyHelloWellnessNavVideos({
|
|
3153
|
+
helloWellness,
|
|
3154
|
+
videoSpotlights: ((_m = (_l = videos === null || videos === void 0 ? void 0 : videos.data) === null || _l === void 0 ? void 0 : _l.videos) !== null && _m !== void 0 ? _m : [])
|
|
3155
|
+
.map(formatVideoItem)
|
|
3156
|
+
.filter((item) => !!item),
|
|
3157
|
+
}),
|
|
3158
|
+
};
|
|
3159
|
+
if (helloWellness) {
|
|
3160
|
+
res.helloWellness = helloWellness;
|
|
3003
3161
|
}
|
|
3004
|
-
|
|
3005
|
-
|
|
3162
|
+
if (isMarryBaby || LOCALE_HAS_COMMUNITY_SITE.includes(locale)) {
|
|
3163
|
+
const [communitiesResult, spotlightPostsResult] = yield allSettled([
|
|
3164
|
+
fetchJson(`${getTogetherApiDomain()}/api/v1/community?website_url=https://${domainLocales[locale]}`),
|
|
3165
|
+
fetchJson(`${getTogetherApiDomain()}/api/v1/options?website_url=https://${domainLocales[locale]}&meta_key=popular_post`),
|
|
3166
|
+
]);
|
|
3167
|
+
const communities = getSettledValue(communitiesResult);
|
|
3168
|
+
const spotlightPosts = getSettledValue(spotlightPostsResult);
|
|
3169
|
+
res.together = {
|
|
3170
|
+
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)) || [],
|
|
3171
|
+
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)) || [],
|
|
3172
|
+
};
|
|
3173
|
+
}
|
|
3174
|
+
if (CARE_LOCALES.includes(locale)) {
|
|
3175
|
+
const [specialtiesResult, hospitalsResult] = yield allSettled([
|
|
3176
|
+
fetchJson(getCareApiDomain() +
|
|
3177
|
+
`/api/options/setting_menu?site=${domainLocales[locale]}&type=0`),
|
|
3178
|
+
fetchJson(getCareApiDomain() +
|
|
3179
|
+
`/api/options/setting_menu?site=${domainLocales[locale]}&type=1`),
|
|
3180
|
+
]);
|
|
3181
|
+
const specialties = getSettledValue(specialtiesResult);
|
|
3182
|
+
const hospitals = getSettledValue(hospitalsResult);
|
|
3183
|
+
res.care = {
|
|
3184
|
+
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)) || [],
|
|
3185
|
+
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)) ||
|
|
3186
|
+
[],
|
|
3187
|
+
};
|
|
3006
3188
|
}
|
|
3007
3189
|
return res;
|
|
3008
3190
|
});
|
|
@@ -3010,4 +3192,4 @@ const getNavMenuContentWithCache = (locale) => __awaiter(void 0, void 0, void 0,
|
|
|
3010
3192
|
return (yield getDataWithCache('nav-menu-content', () => getNavMenuContent(locale || 'en-PH'), (data) => { var _a, _b; return !!((_b = (_a = data === null || data === void 0 ? void 0 : data.categories) === null || _a === void 0 ? void 0 : _a.items) === null || _b === void 0 ? void 0 : _b.length); })) || {};
|
|
3011
3193
|
});
|
|
3012
3194
|
|
|
3013
|
-
export { HamburgerWhite as H, NavigationV2 as N, StarPair as S, getNavMenuContentWithCache as a,
|
|
3195
|
+
export { HamburgerWhite as H, NavigationV2 as N, StarPair as S, getNavMenuContentWithCache as a, formatHelloWellnessSettings as b, HHG_SEARCH_BACK_KEY as c, formatHelloWellness as f, getNavMenuContent as g };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createStyles, clsx, Box, useMantineTheme } from '@mantine/core';
|
|
2
|
-
import { G as GlobalTextStyleNew, C as CustomStylesType } from './index-
|
|
3
|
-
import { _ as __rest } from './tslib.es6-
|
|
2
|
+
import { G as GlobalTextStyleNew, C as CustomStylesType } from './index-2f76487d.js';
|
|
3
|
+
import { _ as __rest } from './tslib.es6-9f1c8d91.js';
|
|
4
4
|
import React__default, { createContext, useState, useEffect, useContext, useCallback } from 'react';
|
|
5
5
|
import { useClickOutside } from '@mantine/hooks';
|
|
6
6
|
import { css } from '@emotion/react';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React__default, { useState, useEffect } from 'react';
|
|
2
|
-
import { L as LOCALE } from './Locale-
|
|
3
|
-
import { C as CommonGAssets } from './index-
|
|
2
|
+
import { L as LOCALE } from './Locale-ede70db5.js';
|
|
3
|
+
import { C as CommonGAssets } from './index-3ea6e4d5.js';
|
|
4
4
|
import styled from '@emotion/styled';
|
|
5
|
-
import { M as MediaQueries } from './utils-
|
|
6
|
-
import { L as LogoIcon } from './logoIcon-
|
|
7
|
-
import './index-
|
|
8
|
-
import { I as ImageWrap } from './index-
|
|
5
|
+
import { M as MediaQueries } from './utils-b1ab5c85.js';
|
|
6
|
+
import { L as LogoIcon } from './logoIcon-4a45c71f.js';
|
|
7
|
+
import './index-2920a921.js';
|
|
8
|
+
import { I as ImageWrap } from './index-0d3455cd.js';
|
|
9
9
|
|
|
10
10
|
const StyledLogo = styled.div `
|
|
11
11
|
position: relative;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-9f1c8d91.js';
|
|
2
2
|
import React__default, { forwardRef } from 'react';
|
|
3
3
|
import { createStyles, useMantineTheme, Text as Text$1 } from '@mantine/core';
|
|
4
|
-
import { a as GlobalTextStyle, C as CustomStylesType, F as FontWeight, u as useTemplateVariant } from './index-
|
|
4
|
+
import { a as GlobalTextStyle, C as CustomStylesType, F as FontWeight, u as useTemplateVariant } from './index-2f76487d.js';
|
|
5
5
|
|
|
6
6
|
var useStyles = createStyles((theme, _params) => {
|
|
7
7
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import React__default, { useState, useCallback, useMemo, useEffect } from 'react';
|
|
3
|
-
import { _ as __rest } from './tslib.es6-
|
|
3
|
+
import { _ as __rest } from './tslib.es6-9f1c8d91.js';
|
|
4
4
|
import { clsx } from '@mantine/core';
|
|
5
5
|
import { Drawer } from 'vaul';
|
|
6
6
|
import styled from '@emotion/styled';
|
|
7
|
-
import { Z as ZINDEX_SSO } from './index-
|
|
7
|
+
import { Z as ZINDEX_SSO } from './index-217c5bf0.js';
|
|
8
8
|
|
|
9
9
|
/* eslint-disable prettier/prettier */
|
|
10
10
|
const Close = (props) => (React.createElement("svg", Object.assign({ width: "1em", height: "1em", viewBox: "0 0 16 16", fill: "currentColor" }, props),
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { a as __awaiter } from './tslib.es6-
|
|
1
|
+
import { a as __awaiter } from './tslib.es6-9f1c8d91.js';
|
|
2
2
|
import React__default, { useState, useEffect, useRef, useContext, useMemo, useCallback, useLayoutEffect } from 'react';
|
|
3
3
|
import { Box, useMantineTheme } from '@mantine/core';
|
|
4
|
-
import { I as ImageWrap } from './index-
|
|
5
|
-
import { T as TogetherComponentGlobalContext, c as callApi, f as getApiPath } from './utils-
|
|
4
|
+
import { I as ImageWrap } from './index-0d3455cd.js';
|
|
5
|
+
import { T as TogetherComponentGlobalContext, c as callApi, f as getApiPath } from './utils-9600a5f8.js';
|
|
6
6
|
import styled from '@emotion/styled';
|
|
7
7
|
import { PATHS } from './togetherApiPaths.js';
|
|
8
|
-
import { a as DEFAULT_IMG } from './constants-
|
|
9
|
-
import { y as youtubeVidIdGetter } from './post-
|
|
10
|
-
import { L as Loading } from './index-
|
|
8
|
+
import { a as DEFAULT_IMG } from './constants-3b117348.js';
|
|
9
|
+
import { y as youtubeVidIdGetter } from './post-e107cb4a.js';
|
|
10
|
+
import { L as Loading } from './index-11fa45c5.js';
|
|
11
11
|
|
|
12
12
|
const StyledSocialLinkPreview = styled.div `
|
|
13
13
|
.link-info-container {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { I as Icon } from './index-
|
|
3
|
-
import { u as useTranslations } from './index-
|
|
2
|
+
import { I as Icon } from './index-e38edc32.js';
|
|
3
|
+
import { u as useTranslations } from './index-d44de036.js';
|
|
4
4
|
|
|
5
5
|
var styles = {"loading":"tliWyii"};
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-9f1c8d91.js';
|
|
2
2
|
import React__default, { useContext, useState } from 'react';
|
|
3
|
-
import { T as TogetherComponentGlobalContext } from './utils-
|
|
3
|
+
import { T as TogetherComponentGlobalContext } from './utils-9600a5f8.js';
|
|
4
4
|
import styled from '@emotion/styled';
|
|
5
5
|
import { theme } from './miscTheme.js';
|
|
6
6
|
|