@hhgtech/hhg-components 1.29.401-beta-3 → 1.29.402
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-3301238a.js → InputDate-67ffe3ac.js} +3 -3
- package/build/{LastPeriod-9e256687.js → LastPeriod-470b5a3a.js} +1 -1
- package/build/{MobileBottomNavigationIcon-2859b4f7.js → MobileBottomNavigationIcon-2e8b07fc.js} +3 -3
- package/build/{Spinner-51f1bce0.js → Spinner-fb8508c3.js} +1 -1
- package/build/{WhatsApp-b138c0ac.js → WhatsApp-0550652f.js} +1 -1
- package/build/adapters.js +19 -19
- package/build/atoms.js +48 -48
- 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/navigationV2/components/molecules/navigationBar/index.d.ts +1 -3
- package/build/components/navigationV2/index.d.ts +1 -13
- package/build/components/organisms/navigationProfileButton/index.d.ts +1 -2
- package/build/components.js +97 -97
- package/build/{constants-e29d81e7.js → constants-ab799375.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-50f5683f.js → core-ef14789d.js} +1 -1
- package/build/{dataTransform-1b9503ec.js → dataTransform-25557600.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-eac4a4c7.js → editor-30a816d5.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/{InputDate-cfb5fca4.js → InputDate-93c5e459.js} +3 -3
- package/build/esm/{LastPeriod-acfa656c.js → LastPeriod-b83426ec.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-d5b7062f.js → MobileBottomNavigationIcon-9154c653.js} +3 -3
- package/build/esm/{Spinner-53db7461.js → Spinner-8d172e17.js} +1 -1
- package/build/esm/{WhatsApp-aa3bde9c.js → WhatsApp-6c807beb.js} +1 -1
- package/build/esm/adapters.js +19 -19
- package/build/esm/atoms.js +48 -48
- 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/navigationV2/components/molecules/navigationBar/index.d.ts +1 -3
- package/build/esm/components/navigationV2/index.d.ts +1 -13
- package/build/esm/components/organisms/navigationProfileButton/index.d.ts +1 -2
- package/build/esm/components.js +97 -97
- package/build/esm/{constants-3a44c3ba.js → constants-1ce79c4b.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-31744f06.js → core-bb5eeda6.js} +1 -1
- package/build/esm/{dataTransform-09ed2033.js → dataTransform-a0af498d.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-1a97b314.js → editor-296581b7.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/{healthTools-cc4b447d.js → healthTools-e6af67e9.js} +1 -1
- package/build/esm/healthToolsCardWrapper.js +18 -18
- package/build/esm/healthToolsForm.js +33 -33
- package/build/esm/hooks.js +13 -13
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-f7a344bc.js → index-03267752.js} +16 -16
- package/build/esm/{index-6f5e0645.js → index-06f14c1f.js} +2 -2
- package/build/esm/{index-7ad8fae4.js → index-092d00a3.js} +6 -6
- package/build/esm/{index-0fbd4205.js → index-0bd9d2a5.js} +7 -7
- package/build/esm/{index-a9bf2b82.js → index-0cad27be.js} +1 -1
- package/build/esm/{index-e68f7b97.js → index-0d2bab3b.js} +2 -2
- package/build/esm/{index-5aeb3388.js → index-0e04697d.js} +17 -17
- package/build/esm/{index-ae4270c5.js → index-0f74b8cb.js} +3 -3
- package/build/esm/{index-d4661ab1.js → index-10a82486.js} +21 -21
- package/build/esm/{index-d8bf0a80.js → index-193d45aa.js} +14 -114
- package/build/esm/{index-61960f27.js → index-1c9e9b74.js} +7 -7
- package/build/esm/{index-6c09d069.js → index-1f43c861.js} +5 -5
- package/build/esm/{index-64aed95f.js → index-21f64a4d.js} +22 -22
- package/build/esm/{index-983bee56.js → index-22c8bd62.js} +1 -1
- package/build/esm/{index-f19312a7.js → index-25bf0d9d.js} +2 -2
- package/build/esm/{index-f5e3b905.js → index-282d718f.js} +2 -2
- package/build/esm/{index-58334708.js → index-3ad5fa37.js} +18 -18
- package/build/esm/{index-beb2c0ac.js → index-3b5ccfc0.js} +1 -1
- package/build/esm/{index-fd4af8eb.js → index-3e0d83fd.js} +2 -2
- package/build/esm/{index-7139c75c.js → index-43f8236b.js} +16 -16
- package/build/esm/{index-ea4cb556.js → index-44e575be.js} +2 -2
- package/build/esm/{index-280bc7dc.js → index-50a6a5d1.js} +1 -1
- package/build/esm/{index-81a12262.js → index-571f47ff.js} +24 -24
- package/build/esm/{index-e967b9ce.js → index-5dc9c599.js} +5 -5
- package/build/esm/{index-a8277b84.js → index-6635520d.js} +6 -6
- package/build/esm/{index-5408bd1f.js → index-66848657.js} +15 -15
- package/build/esm/{index-0776f9ee.js → index-703b551a.js} +2 -2
- package/build/esm/{index-81fcfd93.js → index-70a1642d.js} +11 -11
- package/build/esm/{index-d5688659.js → index-7b2adace.js} +6 -6
- package/build/esm/{index-ef1c26f4.js → index-7e63be44.js} +13 -13
- package/build/esm/{index-af1f1585.js → index-8490f612.js} +2 -2
- package/build/esm/{index-82a8ca7e.js → index-872110dc.js} +32 -32
- package/build/esm/{index-9866c45d.js → index-878de0b3.js} +1 -1
- package/build/esm/{index-69823589.js → index-8aac2805.js} +2 -2
- package/build/esm/{index-6ef0abce.js → index-8c9bac8b.js} +1 -1
- package/build/esm/{index-90614f09.js → index-8f1bdb43.js} +3 -3
- package/build/esm/{index-b6c53ce5.js → index-90bd827d.js} +3 -3
- package/build/esm/{index-88d52326.js → index-9d55c9d9.js} +142 -48
- package/build/esm/{index-761b6a16.js → index-9e8f52d7.js} +13 -13
- package/build/esm/{index-f0f94438.js → index-a18a92c9.js} +4 -4
- package/build/esm/{index-0e1d4c67.js → index-a670cbef.js} +6 -6
- package/build/esm/{index-818b7743.js → index-a7c5c23f.js} +6 -6
- package/build/esm/{index-fad18891.js → index-a8aef664.js} +2 -2
- package/build/esm/{index-8e6bd707.js → index-ae3f7020.js} +25 -25
- package/build/esm/{index-8b25641e.js → index-b276a790.js} +2 -2
- package/build/esm/{index-c3c39950.js → index-b3d8b128.js} +18 -18
- package/build/esm/{index-bdb63324.js → index-b4498fcc.js} +3 -3
- package/build/esm/{index-d8038158.js → index-baddb2b4.js} +16 -16
- package/build/esm/{index-46c8e893.js → index-be4cf09d.js} +1 -1
- package/build/esm/{index-f94fe0c3.js → index-c26fffb5.js} +13 -13
- package/build/esm/{index-bbd518e3.js → index-c96858e6.js} +2 -2
- package/build/esm/{index-d6764280.js → index-d0a137c8.js} +2 -2
- package/build/esm/{index-2d339d33.js → index-db00fff1.js} +31 -31
- package/build/esm/{index-581d786e.js → index-dc25a628.js} +17 -17
- package/build/esm/{index-61646261.js → index-e0337e4f.js} +13 -13
- package/build/esm/{index-bdbd41a8.js → index-e8904085.js} +3 -3
- package/build/esm/{index-43ce025d.js → index-e9dc7648.js} +17 -17
- package/build/esm/{index-6acf2d91.js → index-ebabe771.js} +4 -4
- package/build/esm/{index-ead09260.js → index-ee2df990.js} +2 -2
- package/build/esm/{index-6fb87d77.js → index-f151c217.js} +3 -3
- package/build/esm/{index-7e064d78.js → index-f16e6912.js} +10 -10
- package/build/esm/{index-ed04ccd5.js → index-f21074eb.js} +17 -17
- package/build/esm/{index-8ae2d23b.js → index-f87618fa.js} +1 -1
- package/build/esm/{index-ed3dfc2b.js → index-f8d01876.js} +16 -16
- package/build/esm/{index-499c76c0.js → index-fc644071.js} +1 -1
- package/build/esm/index.js +118 -118
- package/build/esm/{labelSorting-4c4b4225.js → labelSorting-e5d4543c.js} +4 -4
- package/build/esm/lead.js +32 -32
- package/build/esm/{logoIcon-e1a5efa2.js → logoIcon-028913dd.js} +2 -2
- package/build/esm/mantine.js +25 -25
- package/build/esm/misc.js +17 -17
- 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 +74 -74
- package/build/esm/moleculesArticleCard.js +6 -6
- package/build/esm/moleculesArticleCardV2.js +16 -16
- package/build/esm/navigation.js +46 -46
- package/build/esm/navigationLogoutPopup.js +9 -9
- package/build/esm/navigationProfileButton.js +23 -30
- package/build/esm/onboardingV2.js +29 -29
- package/build/esm/organisms.js +50 -50
- package/build/esm/{post-4bb78482.js → post-e9fe15f8.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 +1 -2
- package/build/esm/ssoV2.js +40 -52
- package/build/esm/{store-77093ff1.js → store-2e2ab65a.js} +3 -3
- package/build/esm/subot.js +36 -36
- package/build/esm/surveyOrPremiumBanner.js +33 -33
- package/build/esm/surveyQuestionCard.js +10 -10
- package/build/esm/{surveyThankyouCard-013b2ac6.js → surveyThankyouCard-bb45e1bd.js} +5 -5
- package/build/esm/together.js +56 -56
- 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 +51 -51
- package/build/esm/togetherMoleculesCardAuthor.js +28 -28
- package/build/esm/togetherMoleculesPostImagePreview.js +11 -11
- package/build/esm/togetherMoleculesProfileDetail.js +39 -39
- package/build/esm/togetherOrganisms.js +50 -50
- package/build/esm/togetherRichTextEditor.js +17 -17
- package/build/esm/togetherShareBox.js +10 -10
- package/build/esm/{translationsProvider-f792e2f2.js → translationsProvider-50360420.js} +1 -1
- package/build/esm/{treePopoverMenu-a3dd3015.js → treePopoverMenu-687d32a0.js} +19 -19
- package/build/esm/{types-cf8a9dda.js → types-c1130ac4.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-d970d257.js → useCategory-4bf8de5d.js} +5 -5
- package/build/esm/{useHealthToolCache-cf0a8614.js → useHealthToolCache-2ba765ea.js} +1 -1
- package/build/esm/{useMantineLocale-2f1f416a.js → useMantineLocale-3cf49008.js} +6 -6
- package/build/esm/{usePlacesAutocomplete-49b62bb2.js → usePlacesAutocomplete-ed12ac6b.js} +1 -1
- package/build/esm/{useScreenSize-94f83190.js → useScreenSize-a92a9419.js} +2 -2
- package/build/esm/useTogetherAuthRequiredAction.js +10 -10
- package/build/esm/{utils-822fd220.js → utils-4efed82e.js} +2 -2
- package/build/esm/{utils-4df724a2.js → utils-7d0b551e.js} +3 -3
- package/build/esm/{utils-d3877258.js → utils-803e26a6.js} +5 -5
- package/build/esm/{utils-252fec4f.js → utils-c779dd3d.js} +2 -2
- package/build/esm/vaccination.js +21 -21
- package/build/footer.js +21 -21
- package/build/gAssets.js +2 -2
- package/build/{healthTools-5f1849d2.js → healthTools-e74db509.js} +1 -1
- package/build/healthToolsCardWrapper.js +18 -18
- package/build/healthToolsForm.js +33 -33
- package/build/hooks.js +13 -13
- package/build/i18n.js +2 -2
- package/build/i18nV2.js +1 -1
- package/build/{index-08accc17.js → index-050a270b.js} +7 -7
- package/build/{index-f03537af.js → index-063f89e4.js} +31 -31
- package/build/{index-2485e361.js → index-1f234442.js} +2 -2
- package/build/{index-12ad75c0.js → index-2076e957.js} +13 -13
- package/build/{index-847667eb.js → index-20f5cfe4.js} +2 -2
- package/build/{index-636214ac.js → index-24338ab8.js} +1 -1
- package/build/{index-7147a1d5.js → index-2aff761c.js} +6 -6
- package/build/{index-76b76480.js → index-2c87c546.js} +6 -6
- package/build/{index-fbb577c2.js → index-2ce4f4eb.js} +17 -17
- package/build/{index-c77e16d0.js → index-2cee03ab.js} +4 -4
- package/build/{index-2b59a01d.js → index-2dcee304.js} +1 -1
- package/build/{index-79a675b1.js → index-31b49abb.js} +2 -2
- package/build/{index-55ba31a9.js → index-3406e829.js} +1 -1
- package/build/{index-fd683887.js → index-3768e39f.js} +1 -1
- package/build/{index-b4a458a2.js → index-3b0a2479.js} +16 -16
- package/build/{index-f82a9861.js → index-3d7e1dd3.js} +2 -2
- package/build/{index-f55889b9.js → index-40e5c4aa.js} +13 -13
- package/build/{index-24ca10e2.js → index-4534946a.js} +1 -1
- package/build/{index-c56e2f2d.js → index-4691b825.js} +4 -4
- package/build/{index-9cd59f7a.js → index-47cfb19b.js} +3 -3
- package/build/{index-a0335763.js → index-4f4ba0a8.js} +1 -1
- package/build/{index-7e731e85.js → index-50c1bfbc.js} +2 -2
- package/build/{index-a4d3d873.js → index-52f518fc.js} +17 -17
- package/build/{index-1a52dc6a.js → index-59c774a0.js} +17 -17
- package/build/{index-c4b362d6.js → index-5dd64df6.js} +3 -3
- package/build/{index-0c90229d.js → index-5f6c750b.js} +2 -2
- package/build/{index-8640fe1e.js → index-689f4355.js} +2 -2
- package/build/{index-a5c91be7.js → index-6a1e186d.js} +13 -13
- package/build/{index-f2bec224.js → index-6ade5916.js} +1 -1
- package/build/{index-e94b7236.js → index-71b569d9.js} +11 -11
- package/build/{index-883d6be4.js → index-744a87f3.js} +22 -22
- package/build/{index-9bd12b99.js → index-746596a0.js} +25 -25
- package/build/{index-954e8f88.js → index-75f70f79.js} +13 -13
- package/build/{index-a684935c.js → index-79cf629b.js} +5 -5
- package/build/{index-38068168.js → index-7a410af2.js} +2 -2
- package/build/{index-cb701e68.js → index-7b7d474a.js} +16 -16
- package/build/{index-a70bbd1b.js → index-881c47f5.js} +2 -2
- package/build/{index-18a1a71f.js → index-8874551c.js} +237 -143
- package/build/{index-0c71dd5e.js → index-8ec9f980.js} +10 -10
- package/build/{index-05eeee52.js → index-902998c7.js} +3 -3
- package/build/{index-fe2ac2f6.js → index-a2ac5bb2.js} +16 -16
- package/build/{index-1cb408ad.js → index-a3c7205b.js} +21 -21
- package/build/{index-124b7c11.js → index-adb6c6d5.js} +17 -17
- package/build/{index-59ef4544.js → index-b090eec3.js} +2 -2
- package/build/{index-8f03ab83.js → index-b81c269b.js} +20 -123
- package/build/{index-895ed10a.js → index-ba9bce1f.js} +3 -3
- package/build/{index-103462fe.js → index-bcb8a9f1.js} +2 -2
- package/build/{index-df014e27.js → index-bd2f99d3.js} +2 -2
- package/build/{index-4409c782.js → index-c0b2ea34.js} +24 -24
- package/build/{index-76f897df.js → index-c1f9826a.js} +6 -6
- package/build/{index-69db8b00.js → index-c41a2a48.js} +2 -2
- package/build/{index-eb70b6c2.js → index-ca77c680.js} +1 -1
- package/build/{index-af767137.js → index-cb9f7cd1.js} +16 -16
- package/build/{index-1cdf7e90.js → index-ce149746.js} +5 -5
- package/build/{index-bb87b13e.js → index-d5adf67a.js} +2 -2
- package/build/{index-39fcbf76.js → index-d9d0233e.js} +1 -1
- package/build/{index-4c3ac233.js → index-dab28688.js} +32 -32
- package/build/{index-9c32c1ed.js → index-e1eb1ae6.js} +18 -18
- package/build/{index-fb52e481.js → index-e32d8ee8.js} +6 -6
- package/build/{index-d5057cb0.js → index-e5314b10.js} +7 -7
- package/build/{index-cd65415e.js → index-e6f5b01d.js} +6 -6
- package/build/{index-81aab683.js → index-ebd567fe.js} +18 -18
- package/build/{index-f584e761.js → index-f0a0331f.js} +3 -3
- package/build/{index-ee2fdae4.js → index-f33829fe.js} +15 -15
- package/build/{index-55dd6391.js → index-fe93dd8b.js} +3 -3
- package/build/index.js +118 -118
- package/build/{labelSorting-d43bd43f.js → labelSorting-7107d76b.js} +4 -4
- package/build/lead.js +32 -32
- package/build/{logoIcon-b35ca467.js → logoIcon-05e7d336.js} +2 -2
- package/build/mantine.js +22 -22
- package/build/misc.js +17 -17
- 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 +74 -74
- package/build/moleculesArticleCard.js +6 -6
- package/build/moleculesArticleCardV2.js +16 -16
- package/build/navigation.js +46 -46
- package/build/navigationLogoutPopup.js +9 -9
- package/build/navigationProfileButton.js +23 -30
- package/build/onboardingV2.js +28 -28
- package/build/organisms.js +50 -50
- package/build/{post-60cc4729.js → post-1067b79d.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 +1 -2
- package/build/ssoV2.js +38 -50
- package/build/{store-bc7c5944.js → store-1f54641f.js} +3 -3
- package/build/subot.js +35 -35
- package/build/surveyOrPremiumBanner.js +33 -33
- package/build/surveyQuestionCard.js +10 -10
- package/build/{surveyThankyouCard-5215bd84.js → surveyThankyouCard-c7976c91.js} +5 -5
- package/build/together.js +56 -56
- package/build/togetherApiUtils.js +4 -4
- package/build/togetherAtoms.js +30 -30
- package/build/togetherComponentGlobalContext.js +4 -4
- package/build/togetherMolecules.js +51 -51
- package/build/togetherMoleculesCardAuthor.js +28 -28
- package/build/togetherMoleculesPostImagePreview.js +11 -11
- package/build/togetherMoleculesProfileDetail.js +39 -39
- package/build/togetherOrganisms.js +50 -50
- package/build/togetherRichTextEditor.js +17 -17
- package/build/togetherShareBox.js +10 -10
- package/build/{translationsProvider-703f29b2.js → translationsProvider-f5eb62fb.js} +1 -1
- package/build/{treePopoverMenu-e0da73d9.js → treePopoverMenu-81dcc2fb.js} +19 -19
- package/build/{types-7b6c59e7.js → types-5b1915d0.js} +2 -2
- package/build/types.js +2 -2
- package/build/{useCategory-ed6475ce.js → useCategory-dbc7493b.js} +5 -5
- package/build/{useHealthToolCache-bfcb8b57.js → useHealthToolCache-d04dee20.js} +1 -1
- package/build/{useMantineLocale-ed91768f.js → useMantineLocale-99977b2c.js} +6 -6
- package/build/{usePlacesAutocomplete-287f75b0.js → usePlacesAutocomplete-a724c682.js} +1 -1
- package/build/{useScreenSize-78323052.js → useScreenSize-024eee79.js} +2 -2
- package/build/useTogetherAuthRequiredAction.js +10 -10
- package/build/{utils-0ab9dbe5.js → utils-034228be.js} +5 -5
- package/build/{utils-6098fd4d.js → utils-24309a20.js} +2 -2
- package/build/{utils-1dfc1e5f.js → utils-2ad45ccf.js} +3 -3
- package/build/{utils-1624b0c0.js → utils-81f4dc9f.js} +2 -2
- package/build/vaccination.js +21 -21
- package/package.json +1 -1
- /package/build/{BMI_BOYS.percentile.monthly-cc0b281f.js → BMI_BOYS.percentile.monthly-0f0e8950.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-8a1d9193.js → BMI_BOYS.percentile.weekly-6ca5cfd8.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-ece30eca.js → BMI_BOYS.percentile.yearly-d5dd265f.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-9ddbce3f.js → BMI_BOYS.zscore.monthly-af6471a6.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-7129444e.js → BMI_BOYS.zscore.weekly-bd53fb96.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-204bc2a7.js → BMI_BOYS.zscore.yearly-6a8635e8.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-5d77a004.js → BMI_GIRLS.percentile.monthly-b28425d2.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-62dba29c.js → BMI_GIRLS.percentile.weekly-36193f76.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-bc7f6008.js → BMI_GIRLS.percentile.yearly-c37c6bb6.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-6bf84029.js → BMI_GIRLS.zscore.monthly-e785f7fb.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-ff824793.js → BMI_GIRLS.zscore.weekly-988b1c9a.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-a206fa0a.js → BMI_GIRLS.zscore.yearly-04c202f8.js} +0 -0
- /package/build/{ChevronDown-fb470e12.js → ChevronDown-3676e93a.js} +0 -0
- /package/build/{Close-c10e4fe3.js → Close-43ee1c1b.js} +0 -0
- /package/build/{Google-dbe883dc.js → Google-d182206e.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-13f0e0f4.js → HEAD CIRCUM_BOYS.percentile.monthly-03b27715.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-f80241c6.js → HEAD CIRCUM_BOYS.percentile.weekly-196467fc.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-1d490bf2.js → HEAD CIRCUM_BOYS.percentile.yearly-eaf66dde.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-eefdd3b9.js → HEAD CIRCUM_BOYS.zscore.monthly-5ddad122.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-1fec24b9.js → HEAD CIRCUM_BOYS.zscore.weekly-d86fb0f8.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-21b3561d.js → HEAD CIRCUM_BOYS.zscore.yearly-b6b3f27f.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-a8011a3a.js → HEAD CIRCUM_GIRLS.percentile.monthly-2c4f561e.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-18198f2f.js → HEAD CIRCUM_GIRLS.percentile.weekly-dd2ff4f7.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-3a835e4a.js → HEAD CIRCUM_GIRLS.percentile.yearly-1bd44bba.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-d1552366.js → HEAD CIRCUM_GIRLS.zscore.monthly-4bda5db5.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-26f8a242.js → HEAD CIRCUM_GIRLS.zscore.weekly-d22c28c4.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-804b1e68.js → HEAD CIRCUM_GIRLS.zscore.yearly-150114e8.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-a099123c.js → HEIGHT_BOYS.percentile.monthly-5b9bfc7d.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-87ef3389.js → HEIGHT_BOYS.percentile.weekly-93d468ba.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-7517cd51.js → HEIGHT_BOYS.percentile.yearly-b1a7ed6f.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-7c144be8.js → HEIGHT_BOYS.zscore.monthly-8e05042a.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-ef810089.js → HEIGHT_BOYS.zscore.weekly-5996389e.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-14c243df.js → HEIGHT_BOYS.zscore.yearly-974dbf12.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-9f962fd2.js → HEIGHT_GIRLS.percentile.monthly-9ce96b3c.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-49c607e4.js → HEIGHT_GIRLS.percentile.weekly-057f240f.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-21581fbf.js → HEIGHT_GIRLS.percentile.yearly-b1a82027.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-0dfaf477.js → HEIGHT_GIRLS.zscore.monthly-c258b871.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-d5bd59a6.js → HEIGHT_GIRLS.zscore.weekly-e7c9b122.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-2aea45fd.js → HEIGHT_GIRLS.zscore.yearly-54e927c1.js} +0 -0
- /package/build/{Locale-1022f919.js → Locale-c6661f1a.js} +0 -0
- /package/build/{Visible-0ae17bbc.js → Visible-95461448.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-0b40f5f0.js → WEIGHT_BOYS.percentile.monthly-b92e599b.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-fddbc162.js → WEIGHT_BOYS.percentile.weekly-9483202e.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-27f60545.js → WEIGHT_BOYS.percentile.yearly-e12a495f.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-e6a75479.js → WEIGHT_BOYS.zscore.monthly-07d3e811.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-a11d0776.js → WEIGHT_BOYS.zscore.weekly-9c41e1c2.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-3cad1175.js → WEIGHT_BOYS.zscore.yearly-b5a6b07e.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-080c8719.js → WEIGHT_GIRLS.percentile.monthly-a625e91d.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-070bbfad.js → WEIGHT_GIRLS.percentile.weekly-50d3d18c.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-b00a167f.js → WEIGHT_GIRLS.percentile.yearly-3dbcab37.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-7946031e.js → WEIGHT_GIRLS.zscore.monthly-052de283.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-c59818bc.js → WEIGHT_GIRLS.zscore.weekly-0304ddc7.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-074f4ed6.js → WEIGHT_GIRLS.zscore.yearly-8a4af2fc.js} +0 -0
- /package/build/{animation-2710eee3.js → animation-4181334d.js} +0 -0
- /package/build/{constants-0c1ca8fb.js → constants-1de7952c.js} +0 -0
- /package/build/{constants-7fcf7556.js → constants-67f1c1a7.js} +0 -0
- /package/build/{constants-e31af8e7.js → constants-fde8e1b6.js} +0 -0
- /package/build/{dataTransform-f379b4da.js → dataTransform-463ec7c6.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-de411c91.js → BMI_BOYS.percentile.monthly-0f987438.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-efff133b.js → BMI_BOYS.percentile.weekly-94619144.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-6e60290c.js → BMI_BOYS.percentile.yearly-a3e6a596.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-a3176f19.js → BMI_BOYS.zscore.monthly-5a4de73f.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-e4ca05b6.js → BMI_BOYS.zscore.weekly-e0ccc680.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-7954f0f4.js → BMI_BOYS.zscore.yearly-6259d48b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-c59ec92c.js → BMI_GIRLS.percentile.monthly-c8a2f7b0.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-1f223170.js → BMI_GIRLS.percentile.weekly-84020e17.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-799d02d4.js → BMI_GIRLS.percentile.yearly-b26bc2da.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-6138e435.js → BMI_GIRLS.zscore.monthly-1cca48d8.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-1e4a712a.js → BMI_GIRLS.zscore.weekly-2f948ef8.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-5ec5cbeb.js → BMI_GIRLS.zscore.yearly-6951eb0c.js} +0 -0
- /package/build/esm/{ChevronDown-968bcacd.js → ChevronDown-3ac1406c.js} +0 -0
- /package/build/esm/{Close-75047c6b.js → Close-17ff85ca.js} +0 -0
- /package/build/esm/{Google-677246db.js → Google-69447578.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-7aca7165.js → HEAD CIRCUM_BOYS.percentile.monthly-10c43e03.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-da8f196f.js → HEAD CIRCUM_BOYS.percentile.weekly-6d265c6c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-dbb3f222.js → HEAD CIRCUM_BOYS.percentile.yearly-651b7863.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-6b80bae2.js → HEAD CIRCUM_BOYS.zscore.monthly-24aebf5f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-ed562e43.js → HEAD CIRCUM_BOYS.zscore.weekly-85003772.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-97386cb5.js → HEAD CIRCUM_BOYS.zscore.yearly-5d799bf4.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-21d06e57.js → HEAD CIRCUM_GIRLS.percentile.monthly-171262e7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-fadc5ad9.js → HEAD CIRCUM_GIRLS.percentile.weekly-7b2f08bb.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-ace3a84d.js → HEAD CIRCUM_GIRLS.percentile.yearly-02ca680f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-ae62d782.js → HEAD CIRCUM_GIRLS.zscore.monthly-78ba93e4.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-4901b511.js → HEAD CIRCUM_GIRLS.zscore.weekly-1b3d2e84.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-a3fea235.js → HEAD CIRCUM_GIRLS.zscore.yearly-193adc49.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-b273d3a7.js → HEIGHT_BOYS.percentile.monthly-c64753ce.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-28e70fdc.js → HEIGHT_BOYS.percentile.weekly-6c28fe0a.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-1edb1f1a.js → HEIGHT_BOYS.percentile.yearly-eefdb67a.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-3c4b3ad1.js → HEIGHT_BOYS.zscore.monthly-dda9d0d0.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-ce5f7304.js → HEIGHT_BOYS.zscore.weekly-7f2ba8b0.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-76405fbd.js → HEIGHT_BOYS.zscore.yearly-0ffa8881.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-98e1769f.js → HEIGHT_GIRLS.percentile.monthly-e8291e32.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-04dfdb79.js → HEIGHT_GIRLS.percentile.weekly-9fbf10d2.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-39cbb890.js → HEIGHT_GIRLS.percentile.yearly-82649515.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-5b02aed7.js → HEIGHT_GIRLS.zscore.monthly-8c913348.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-529ba779.js → HEIGHT_GIRLS.zscore.weekly-f40f4ea2.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-c7d56691.js → HEIGHT_GIRLS.zscore.yearly-4490bfe0.js} +0 -0
- /package/build/esm/{Locale-56671604.js → Locale-d66f3a35.js} +0 -0
- /package/build/esm/{Visible-063a8f8b.js → Visible-3205e4d9.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-d8a5024e.js → WEIGHT_BOYS.percentile.monthly-ecd63c2a.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-3e406c3f.js → WEIGHT_BOYS.percentile.weekly-7101cd47.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-613eea3e.js → WEIGHT_BOYS.percentile.yearly-538c1f35.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-4e5ca14a.js → WEIGHT_BOYS.zscore.monthly-ef6d5e32.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-93cfec95.js → WEIGHT_BOYS.zscore.weekly-ae26b922.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-f0aaa846.js → WEIGHT_BOYS.zscore.yearly-8a3e3ad8.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-ebdeecb9.js → WEIGHT_GIRLS.percentile.monthly-819eac3b.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-37291bea.js → WEIGHT_GIRLS.percentile.weekly-6e7f4f28.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-fbaa5445.js → WEIGHT_GIRLS.percentile.yearly-9da1f5e7.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-58e45124.js → WEIGHT_GIRLS.zscore.monthly-c5fad87a.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-de5155b0.js → WEIGHT_GIRLS.zscore.weekly-a2343c87.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-d59deddf.js → WEIGHT_GIRLS.zscore.yearly-9df486d2.js} +0 -0
- /package/build/esm/{animation-81cc70a7.js → animation-d78bce40.js} +0 -0
- /package/build/esm/{constants-96c8d2c1.js → constants-44a758f4.js} +0 -0
- /package/build/esm/{constants-2ac6150b.js → constants-bf245cfc.js} +0 -0
- /package/build/esm/{constants-edfab35e.js → constants-f0d695be.js} +0 -0
- /package/build/esm/{dataTransform-a77a8ff5.js → dataTransform-b06549ef.js} +0 -0
- /package/build/esm/{index-9ce3c111.js → index-08e71721.js} +0 -0
- /package/build/esm/{index-aea9623e.js → index-23cfa29e.js} +0 -0
- /package/build/esm/{index-49df4eb0.js → index-553a8acd.js} +0 -0
- /package/build/esm/{index-67612b81.js → index-7a64cf8c.js} +0 -0
- /package/build/esm/{index-2fb5b8f8.js → index-86928e1c.js} +0 -0
- /package/build/esm/{index-d829ec66.js → index-a0256d40.js} +0 -0
- /package/build/esm/{index-f6853c9f.js → index-e18e8904.js} +0 -0
- /package/build/esm/{index-662a82a8.js → index-f4fd0a19.js} +0 -0
- /package/build/esm/{index.styles-b47168e7.js → index.styles-f9fed606.js} +0 -0
- /package/build/esm/{localizeNumberFormat-1137a34a.js → localizeNumberFormat-6ed13ae9.js} +0 -0
- /package/build/esm/{normalizeLink-8d065cd3.js → normalizeLink-d94e4b86.js} +0 -0
- /package/build/esm/{number-2f04c16e.js → number-1af06f44.js} +0 -0
- /package/build/esm/{other-3bb46385.js → other-40404e5b.js} +0 -0
- /package/build/esm/{paths-f4605b7a.js → paths-a4786e69.js} +0 -0
- /package/build/esm/{translationsContext-f3330ff4.js → translationsContext-c6c49512.js} +0 -0
- /package/build/esm/{tslib.es6-4f44df2c.js → tslib.es6-c5c88a1a.js} +0 -0
- /package/build/esm/{types-7fded068.js → types-81949c69.js} +0 -0
- /package/build/esm/{useIsInit-a375353c.js → useIsInit-30f5f78e.js} +0 -0
- /package/build/esm/{useOutsideClick-dc8d9961.js → useOutsideClick-6787788b.js} +0 -0
- /package/build/esm/{useScrollbarSize-56e26793.js → useScrollbarSize-55e0077a.js} +0 -0
- /package/build/esm/{useUniqueId-5fcbabd6.js → useUniqueId-f3059730.js} +0 -0
- /package/build/esm/{utils-b1a89806.js → utils-08e14341.js} +0 -0
- /package/build/{index-700d0768.js → index-3310c89c.js} +0 -0
- /package/build/{index-422f91f2.js → index-69d6b55a.js} +0 -0
- /package/build/{index-30598d32.js → index-6bf92899.js} +0 -0
- /package/build/{index-de998399.js → index-bfa52b7e.js} +0 -0
- /package/build/{index-d31a251c.js → index-e147368a.js} +0 -0
- /package/build/{index-9853ced0.js → index-e8f27a51.js} +0 -0
- /package/build/{index-81e7bfc0.js → index-fb29ea2e.js} +0 -0
- /package/build/{index-4dfa09eb.js → index-fc6206bb.js} +0 -0
- /package/build/{index.styles-1658d3cf.js → index.styles-ad0e2a1c.js} +0 -0
- /package/build/{localizeNumberFormat-5b65e18b.js → localizeNumberFormat-1e9ffba9.js} +0 -0
- /package/build/{normalizeLink-6f8d9362.js → normalizeLink-29ad1a48.js} +0 -0
- /package/build/{number-ed734fec.js → number-a1d1a3e8.js} +0 -0
- /package/build/{other-aad06791.js → other-a24227cb.js} +0 -0
- /package/build/{paths-c835a9f9.js → paths-ba427992.js} +0 -0
- /package/build/{translationsContext-7c0f3698.js → translationsContext-88001140.js} +0 -0
- /package/build/{tslib.es6-7b052e47.js → tslib.es6-2e1003f0.js} +0 -0
- /package/build/{types-3ea7710b.js → types-a9fd2be7.js} +0 -0
- /package/build/{useIsInit-a0be9269.js → useIsInit-aa8fcf21.js} +0 -0
- /package/build/{useOutsideClick-bd1ba210.js → useOutsideClick-d6024eed.js} +0 -0
- /package/build/{useScrollbarSize-cf8249c7.js → useScrollbarSize-b0a1940c.js} +0 -0
- /package/build/{useUniqueId-35ce6cc3.js → useUniqueId-5d011c4f.js} +0 -0
- /package/build/{utils-31bd80e9.js → utils-72b35cc7.js} +0 -0
|
@@ -1,50 +1,51 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require('./tslib.es6-
|
|
3
|
+
var tslib_es6 = require('./tslib.es6-2e1003f0.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var index$
|
|
6
|
-
var index$
|
|
7
|
-
var index$
|
|
8
|
-
var normalizeLink = require('./normalizeLink-
|
|
9
|
-
var dataTransform = require('./dataTransform-
|
|
5
|
+
var index$9 = require('./index-4f4ba0a8.js');
|
|
6
|
+
var index$6 = require('./index-8ec9f980.js');
|
|
7
|
+
var index$1 = require('./index-689f4355.js');
|
|
8
|
+
var normalizeLink = require('./normalizeLink-29ad1a48.js');
|
|
9
|
+
var dataTransform = require('./dataTransform-25557600.js');
|
|
10
10
|
var other = require('@hhgtech/icons/other');
|
|
11
11
|
var core = require('@mantine/core');
|
|
12
|
-
var index$d = require('./index-
|
|
12
|
+
var index$d = require('./index-2aff761c.js');
|
|
13
13
|
var throttle = require('lodash/throttle');
|
|
14
|
-
var index$b = require('./index-
|
|
14
|
+
var index$b = require('./index-71b569d9.js');
|
|
15
15
|
require('@mantine/dates');
|
|
16
|
-
var index$
|
|
17
|
-
require('./useMantineLocale-
|
|
18
|
-
var index = require('./index-
|
|
19
|
-
var index$a = require('./index-
|
|
20
|
-
require('./index.styles-
|
|
21
|
-
require('./translationsContext-
|
|
16
|
+
var index$2 = require('./index-fb29ea2e.js');
|
|
17
|
+
require('./useMantineLocale-99977b2c.js');
|
|
18
|
+
var index = require('./index-b090eec3.js');
|
|
19
|
+
var index$a = require('./index-6ade5916.js');
|
|
20
|
+
require('./index.styles-ad0e2a1c.js');
|
|
21
|
+
require('./translationsContext-88001140.js');
|
|
22
22
|
require('@mantine/hooks');
|
|
23
|
-
var utils = require('./utils-
|
|
24
|
-
require('./other-
|
|
25
|
-
require('./index-
|
|
26
|
-
var constants = require('./constants-
|
|
23
|
+
var utils = require('./utils-72b35cc7.js');
|
|
24
|
+
require('./other-a24227cb.js');
|
|
25
|
+
require('./index-5dd64df6.js');
|
|
26
|
+
var constants = require('./constants-ab799375.js');
|
|
27
27
|
var styled = require('@emotion/styled');
|
|
28
|
-
var navigationProfileButton = require('./index-
|
|
29
|
-
var store = require('./store-
|
|
30
|
-
var
|
|
31
|
-
var
|
|
28
|
+
var navigationProfileButton = require('./index-b81c269b.js');
|
|
29
|
+
var store = require('./store-1f54641f.js');
|
|
30
|
+
var togetherComponentGlobalContext = require('./utils-2ad45ccf.js');
|
|
31
|
+
var constantsDomainLocales = require('./constantsDomainLocales.js');
|
|
32
|
+
var constants$1 = require('./constants-1de7952c.js');
|
|
33
|
+
var index$3 = require('./index-2dcee304.js');
|
|
32
34
|
var miscTheme = require('./miscTheme.js');
|
|
33
|
-
var index$
|
|
35
|
+
var index$5 = require('./index-3d7e1dd3.js');
|
|
34
36
|
var core$1 = require('@hhgtech/icons/core');
|
|
35
|
-
var index$
|
|
36
|
-
var useIsInit = require('./useIsInit-
|
|
37
|
+
var index$4 = require('./index-3768e39f.js');
|
|
38
|
+
var useIsInit = require('./useIsInit-aa8fcf21.js');
|
|
37
39
|
var miscDefaultClassWrapper = require('./miscDefaultClassWrapper.js');
|
|
38
|
-
var index$
|
|
40
|
+
var index$7 = require('./index-bcb8a9f1.js');
|
|
39
41
|
var dayjs = require('dayjs');
|
|
40
42
|
var relativeTime = require('dayjs/plugin/relativeTime');
|
|
41
|
-
var index$
|
|
43
|
+
var index$8 = require('./index-d5adf67a.js');
|
|
42
44
|
var formatString = require('string-format');
|
|
43
|
-
var
|
|
44
|
-
var index$c = require('./index-9853ced0.js');
|
|
45
|
+
var index$c = require('./index-e8f27a51.js');
|
|
45
46
|
var debounce = require('lodash/debounce');
|
|
46
|
-
var Locale = require('./Locale-
|
|
47
|
-
var core$2 = require('./core-
|
|
47
|
+
var Locale = require('./Locale-c6661f1a.js');
|
|
48
|
+
var core$2 = require('./core-ef14789d.js');
|
|
48
49
|
|
|
49
50
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
50
51
|
|
|
@@ -99,6 +100,100 @@ const DisplayWrapper = ({ forceDisplay, mediaQueryKey, children, className, styl
|
|
|
99
100
|
|
|
100
101
|
var styles$2 = {"menuContainer":"y5VJdvw","menuIcon":"oVhOSCy","menuIconWrapper":"pX8OXTM"};
|
|
101
102
|
|
|
103
|
+
const useNavConfig = ({ locale, projectType, siteType, enableBookingBtn, }) => {
|
|
104
|
+
const config = React.useMemo(() => {
|
|
105
|
+
const enableSearchBar = projectType === 'discover' ||
|
|
106
|
+
projectType === 'together' ||
|
|
107
|
+
projectType === 'marryBaby' ||
|
|
108
|
+
(projectType === 'profile' && siteType === 'marryBaby');
|
|
109
|
+
const enableNavCare = siteType !== 'marryBaby' &&
|
|
110
|
+
projectType !== 'marryBaby' &&
|
|
111
|
+
index$1.CARE_LOCALES.includes(locale);
|
|
112
|
+
const enableNavCareBooking = enableBookingBtn &&
|
|
113
|
+
projectType !== 'marryBaby' &&
|
|
114
|
+
projectType === 'discover' &&
|
|
115
|
+
siteType !== 'marryBaby' &&
|
|
116
|
+
index$1.CARE_BOOKING_LOCALES.includes(locale);
|
|
117
|
+
const enableNavTogether = projectType === 'marryBaby' || index$1.TOGETHER_LOCALES.includes(locale);
|
|
118
|
+
const enableNavDiscover = true;
|
|
119
|
+
const enableNavHealthTools = true;
|
|
120
|
+
const enableProfileMySaved = true;
|
|
121
|
+
const enableNavEcom = siteType !== 'marryBaby' && index$1.ECOM_LOCALES.includes(locale);
|
|
122
|
+
const enableProfileEcom = siteType !== 'marryBaby' && index$1.ECOM_LOCALES.includes(locale);
|
|
123
|
+
const enableProfileMyHealth = true;
|
|
124
|
+
const enableNavVideo = index$1.VIDEO_LOCALES.includes(locale);
|
|
125
|
+
const baseUrl = normalizeLink.getCurrentBaseUrl(locale, siteType === 'marryBaby');
|
|
126
|
+
let fixBaseUrl = baseUrl;
|
|
127
|
+
if (typeof window !== 'undefined') {
|
|
128
|
+
if (fixBaseUrl.includes('//id.'))
|
|
129
|
+
fixBaseUrl = fixBaseUrl.replace('id.', '');
|
|
130
|
+
if (fixBaseUrl.includes('//staging-id.'))
|
|
131
|
+
fixBaseUrl = fixBaseUrl.replace('staging-id.', 'discover.');
|
|
132
|
+
}
|
|
133
|
+
const ssoUrl = normalizeLink.getCurrentSsoUrl(locale, siteType === 'marryBaby');
|
|
134
|
+
const statics = (() => {
|
|
135
|
+
return {
|
|
136
|
+
HOME_PAGE_URL: fixBaseUrl,
|
|
137
|
+
CARE_URL_FE: `${fixBaseUrl}/care`,
|
|
138
|
+
TOGETHER_URL_FE: `${fixBaseUrl}/community`,
|
|
139
|
+
VIDEO_URL_FE: `${fixBaseUrl}/videos`,
|
|
140
|
+
SSO_URL: ssoUrl,
|
|
141
|
+
TOGETHER_API: normalizeLink.getTogetherApiDomain(),
|
|
142
|
+
DISCOVER_API: normalizeLink.getDiscoverApiDomain(locale),
|
|
143
|
+
};
|
|
144
|
+
})();
|
|
145
|
+
return {
|
|
146
|
+
enableSearchBar,
|
|
147
|
+
enableNavCare,
|
|
148
|
+
enableNavCareBooking,
|
|
149
|
+
enableNavTogether,
|
|
150
|
+
enableNavEcom,
|
|
151
|
+
enableProfileEcom,
|
|
152
|
+
enableNavVideo,
|
|
153
|
+
enableProfileMyHealth,
|
|
154
|
+
enableNavDiscover,
|
|
155
|
+
enableNavHealthTools,
|
|
156
|
+
enableProfileMySaved,
|
|
157
|
+
statics,
|
|
158
|
+
};
|
|
159
|
+
}, []);
|
|
160
|
+
return config;
|
|
161
|
+
};
|
|
162
|
+
|
|
163
|
+
const NavigationContext = React__default["default"].createContext({});
|
|
164
|
+
const NavigationProvider = (_a) => {
|
|
165
|
+
var { children } = _a, props = tslib_es6.__rest(_a, ["children"]);
|
|
166
|
+
const [currentUrl, setCurrentUrl] = React__default["default"].useState(() => {
|
|
167
|
+
return (props.currentUrl ||
|
|
168
|
+
`https://${props.siteType === 'marryBaby'
|
|
169
|
+
? togetherComponentGlobalContext.domainLocalesMarryBaby[props.locale || 'en-PH']
|
|
170
|
+
: constantsDomainLocales.domainLocales[props.locale || 'en-PH']}${props.projectType === 'together'
|
|
171
|
+
? '/community'
|
|
172
|
+
: props.projectType === 'ecom'
|
|
173
|
+
? '/ecom'
|
|
174
|
+
: props.projectType === 'care'
|
|
175
|
+
? '/care'
|
|
176
|
+
: ''}/`);
|
|
177
|
+
});
|
|
178
|
+
React.useEffect(() => {
|
|
179
|
+
const update = () => {
|
|
180
|
+
setCurrentUrl(window.location.href);
|
|
181
|
+
};
|
|
182
|
+
window.addEventListener('popstate', update);
|
|
183
|
+
update();
|
|
184
|
+
return () => {
|
|
185
|
+
window.removeEventListener('popstate', update);
|
|
186
|
+
};
|
|
187
|
+
}, []);
|
|
188
|
+
const configs = useNavConfig({
|
|
189
|
+
locale: props.locale,
|
|
190
|
+
projectType: props.projectType,
|
|
191
|
+
siteType: props.siteType,
|
|
192
|
+
enableBookingBtn: props.enableBookingBtn,
|
|
193
|
+
});
|
|
194
|
+
return (React__default["default"].createElement(NavigationContext.Provider, { value: Object.assign(Object.assign({}, props), { configs: Object.assign(Object.assign({}, configs), props.configs), currentUrl: props.currentUrl || currentUrl }) }, children));
|
|
195
|
+
};
|
|
196
|
+
|
|
102
197
|
function ClosePopupIcon({ className }) {
|
|
103
198
|
return (React__default["default"].createElement("div", null,
|
|
104
199
|
React__default["default"].createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", className: className },
|
|
@@ -109,8 +204,8 @@ function HamburgerIcon({ siteType, enableSearch, className, style, }) {
|
|
|
109
204
|
if (siteType === 'helloSites') {
|
|
110
205
|
return (React__default["default"].createElement("div", { className: "hamburger-container" },
|
|
111
206
|
React__default["default"].createElement("img", { "data-list-type": "Header", "data-content-type": "Navigation", "data-content-topic": "Hamburger", src: enableSearch
|
|
112
|
-
? index$
|
|
113
|
-
: index$
|
|
207
|
+
? index$2.CommonGAssets.getAssetPath('hamburgerMenuNewWithSearch.svg')
|
|
208
|
+
: index$2.CommonGAssets.getAssetPath('hamburgerMenuNew.svg'), style: Object.assign({ width: '24px', height: '24px' }, style), alt: "home", className: className, loading: "lazy" })));
|
|
114
209
|
}
|
|
115
210
|
/** Marry Baby */
|
|
116
211
|
return (React__default["default"].createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", className: className },
|
|
@@ -325,9 +420,9 @@ const ItemMenu = ({ item, menu }) => {
|
|
|
325
420
|
: null)));
|
|
326
421
|
};
|
|
327
422
|
const NewWrapper = ({ isNew, children, }) => {
|
|
328
|
-
const { t } = index$
|
|
423
|
+
const { t } = index$3.useTranslations();
|
|
329
424
|
if (isNew) {
|
|
330
|
-
return (React__default["default"].createElement(index$
|
|
425
|
+
return (React__default["default"].createElement(index$4.Indicator, { color: "green", label: t('home.navigator.menuItem.new'), size: 20, styles: {
|
|
331
426
|
root: {
|
|
332
427
|
paddingRight: 10,
|
|
333
428
|
},
|
|
@@ -337,22 +432,22 @@ const NewWrapper = ({ isNew, children, }) => {
|
|
|
337
432
|
};
|
|
338
433
|
|
|
339
434
|
const Categories = ({ hrefViewMore, titleBtnViewMore, UrlFE, onClosePopup, menuItems, headingTitle, activeItem, }) => {
|
|
340
|
-
const { siteType } = React.useContext(
|
|
341
|
-
const { t } = index$
|
|
435
|
+
const { siteType } = React.useContext(NavigationContext);
|
|
436
|
+
const { t } = index$3.useTranslations();
|
|
342
437
|
const theme = core.useMantineTheme();
|
|
343
438
|
return (React__default["default"].createElement(StyledItemGridLeft, null,
|
|
344
439
|
React__default["default"].createElement("div", null,
|
|
345
440
|
React__default["default"].createElement(StyledHeading$1, null,
|
|
346
|
-
React__default["default"].createElement(index$
|
|
347
|
-
menuItems.slice(0, 6).map((item, index$
|
|
441
|
+
React__default["default"].createElement(index$5.Heading, { tag: siteType === 'marryBaby' ? 'h5' : 'h6', as: "p", fontWeight: "semibold" }, headingTitle)), menuItems === null || menuItems === void 0 ? void 0 :
|
|
442
|
+
menuItems.slice(0, 6).map((item, index$1) => {
|
|
348
443
|
const href = (item === null || item === void 0 ? void 0 : item.link)
|
|
349
444
|
? (item === null || item === void 0 ? void 0 : item.link.startsWith('http'))
|
|
350
445
|
? item === null || item === void 0 ? void 0 : item.link
|
|
351
446
|
: `${UrlFE}/${item === null || item === void 0 ? void 0 : item.link.split('/').filter(Boolean).join('/')}/`
|
|
352
447
|
: '/';
|
|
353
|
-
return (React__default["default"].createElement(StyledItem$6, Object.assign({ className: "iconMenu", "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 }, (!index$
|
|
448
|
+
return (React__default["default"].createElement(StyledItem$6, Object.assign({ className: "iconMenu", "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 }, (!index$6.isInternalLink(href) && {
|
|
354
449
|
target: '_blank',
|
|
355
|
-
}), { "data-theme": siteType, key: index$
|
|
450
|
+
}), { "data-theme": siteType, key: index$1, onClick: onClosePopup }),
|
|
356
451
|
React__default["default"].createElement("div", { className: "icon" },
|
|
357
452
|
React__default["default"].createElement("img", { loading: "lazy", alt: item.name, src: item.thumbnail || '/images/avatar.jpg', style: {
|
|
358
453
|
width: 32,
|
|
@@ -371,15 +466,15 @@ const Categories = ({ hrefViewMore, titleBtnViewMore, UrlFE, onClosePopup, menuI
|
|
|
371
466
|
item.isMobileAppTool && (React__default["default"].createElement(StyledIconNav, null,
|
|
372
467
|
React__default["default"].createElement(Phone, { className: "phone-icon", size: 16 }))),
|
|
373
468
|
React__default["default"].createElement(StyledIconNav, { className: "arrow-icon" },
|
|
374
|
-
React__default["default"].createElement("img", { src: index$
|
|
469
|
+
React__default["default"].createElement("img", { src: index$2.CommonGAssets.getAssetPath('chevronRight.svg'), style: { width: '16px', height: '16px' }, loading: "lazy" }))));
|
|
375
470
|
})),
|
|
376
471
|
titleBtnViewMore && (React__default["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 },
|
|
377
472
|
React__default["default"].createElement(StyledItemAll, { onClick: onClosePopup, "data-theme": siteType, "data-is-heading-category": false },
|
|
378
473
|
titleBtnViewMore,
|
|
379
474
|
React__default["default"].createElement(StyledImageWrapper, null,
|
|
380
475
|
React__default["default"].createElement("img", { className: "svg", src: siteType === 'marryBaby'
|
|
381
|
-
? index$
|
|
382
|
-
: index$
|
|
476
|
+
? index$2.CommonGAssets.getAssetPath('chevronRightPink.svg')
|
|
477
|
+
: index$2.CommonGAssets.getAssetPath('chevronRightActive.svg'), style: { width: '16px', height: '16px' }, loading: "lazy" })))))));
|
|
383
478
|
};
|
|
384
479
|
|
|
385
480
|
const StyledContainerItems$5 = styled__default["default"].div `
|
|
@@ -545,13 +640,13 @@ const StyledItem$5 = styled__default["default"].a `
|
|
|
545
640
|
|
|
546
641
|
const Item$4 = ({ item, index = 0 }) => {
|
|
547
642
|
var _a;
|
|
548
|
-
const { t } = index$
|
|
549
|
-
const { locale, configs: { statics }, } = React.useContext(
|
|
643
|
+
const { t } = index$3.useTranslations();
|
|
644
|
+
const { locale, configs: { statics }, } = React.useContext(NavigationContext);
|
|
550
645
|
if (!item)
|
|
551
646
|
return null;
|
|
552
647
|
const href = `${statics.CARE_URL_FE}/${(_a = constants$1.LOCALIZED_SLUGS[locale]) === null || _a === void 0 ? void 0 : _a.HOSPITAL}/${item.slug}-${item.id}`;
|
|
553
648
|
return (React__default["default"].createElement(StyledItem$5, { key: item.id, href: href, "data-event-category": "Hamburger Navigation", "data-event-action": `Care Click ${index + 1}`, "data-event-label": href },
|
|
554
|
-
React__default["default"].createElement("img", { src: index$
|
|
649
|
+
React__default["default"].createElement("img", { src: index$2.CommonGAssets.getAssetPath('navCareCardBg.svg'), alt: "", className: "bg-svg", loading: "lazy" }),
|
|
555
650
|
React__default["default"].createElement(StyledImageCard$3, null,
|
|
556
651
|
React__default["default"].createElement(StyledImageCardInner, null,
|
|
557
652
|
React__default["default"].createElement("img", { loading: "lazy", alt: item.name, src: item.logo || '/images/avatar.jpg' }))),
|
|
@@ -560,7 +655,7 @@ const Item$4 = ({ item, index = 0 }) => {
|
|
|
560
655
|
React__default["default"].createElement(StyledDes$2, null, item.description),
|
|
561
656
|
React__default["default"].createElement(StyledBtnView$2, null,
|
|
562
657
|
t('home.seeMore'),
|
|
563
|
-
React__default["default"].createElement("img", { src: index$
|
|
658
|
+
React__default["default"].createElement("img", { src: index$2.CommonGAssets.getAssetPath('chevronRightActive.svg'), style: {
|
|
564
659
|
width: '16px',
|
|
565
660
|
height: '16px',
|
|
566
661
|
marginTop: '3px',
|
|
@@ -635,19 +730,19 @@ const StyledLeft = styled__default["default"].div `
|
|
|
635
730
|
`;
|
|
636
731
|
|
|
637
732
|
const SpotlightNoData = ({ title, link, description, cta, icon }) => {
|
|
638
|
-
const { siteType } = React.useContext(
|
|
733
|
+
const { siteType } = React.useContext(NavigationContext);
|
|
639
734
|
return (React__default["default"].createElement(StyledContainerNoPosts, { "data-theme": siteType },
|
|
640
735
|
React__default["default"].createElement(StyledLeft, null,
|
|
641
736
|
React__default["default"].createElement("img", { src: siteType === 'marryBaby'
|
|
642
|
-
? index$
|
|
643
|
-
: index$
|
|
737
|
+
? index$2.CommonGAssets.getAssetPath('navMBSpotlightBgNoData.svg')
|
|
738
|
+
: index$2.CommonGAssets.getAssetPath('navSpotlightBgNoData.svg'), alt: "", loading: "lazy", className: "bg-svg" }),
|
|
644
739
|
React__default["default"].createElement(StyledContentLeft, null, icon && React__default["default"].createElement("img", { src: icon, width: 64, height: 64, loading: "lazy" }))),
|
|
645
740
|
React__default["default"].createElement("div", null,
|
|
646
741
|
title && React__default["default"].createElement(StyledTitle$4, null, title),
|
|
647
742
|
description && React__default["default"].createElement(StyledDescription, null, description),
|
|
648
743
|
cta && (React__default["default"].createElement("div", null,
|
|
649
744
|
React__default["default"].createElement("a", { href: link },
|
|
650
|
-
React__default["default"].createElement(index$
|
|
745
|
+
React__default["default"].createElement(index$7.Button, { theme: siteType, className: "survey-contact-submit", size: "md" }, cta)))))));
|
|
651
746
|
};
|
|
652
747
|
|
|
653
748
|
const StyledItemGridRight = styled__default["default"].div `
|
|
@@ -691,21 +786,21 @@ const StyledViewMore = styled__default["default"].a `
|
|
|
691
786
|
`;
|
|
692
787
|
|
|
693
788
|
const Spotlights = ({ title, viewMore, children, link, dataEventAction = '', }) => {
|
|
694
|
-
const { siteType } = React.useContext(
|
|
789
|
+
const { siteType } = React.useContext(NavigationContext);
|
|
695
790
|
return (React__default["default"].createElement(StyledItemGridRight, null,
|
|
696
791
|
React__default["default"].createElement(StyledHeading, null,
|
|
697
|
-
React__default["default"].createElement(index$
|
|
792
|
+
React__default["default"].createElement(index$5.Heading, { tag: siteType === 'marryBaby' ? 'h5' : 'h6', as: "p", fontWeight: "semibold" }, title),
|
|
698
793
|
viewMore && (React__default["default"].createElement(StyledViewMore, { "data-event-category": "Hamburger Navigation", "data-event-action": dataEventAction, "data-event-label": link, href: link, "data-theme": siteType },
|
|
699
794
|
viewMore,
|
|
700
795
|
React__default["default"].createElement("img", { src: siteType === 'marryBaby'
|
|
701
|
-
? index$
|
|
702
|
-
: index$
|
|
796
|
+
? index$2.CommonGAssets.getAssetPath('chevronRightPink.svg')
|
|
797
|
+
: index$2.CommonGAssets.getAssetPath('chevronRightActive.svg'), style: { width: '16px', height: '16px' }, loading: "lazy" })))),
|
|
703
798
|
children));
|
|
704
799
|
};
|
|
705
800
|
|
|
706
801
|
const CareSpotlights = ({ spotlights = [], hrefViewMore }) => {
|
|
707
|
-
const { t } = index$
|
|
708
|
-
const { siteType } = React.useContext(
|
|
802
|
+
const { t } = index$3.useTranslations();
|
|
803
|
+
const { siteType } = React.useContext(NavigationContext);
|
|
709
804
|
return (React__default["default"].createElement(Spotlights, { title: t('home.navigator.menu.spotlightHospitals') }, spotlights.length !== 0 ? (React__default["default"].createElement(React__default["default"].Fragment, null,
|
|
710
805
|
React__default["default"].createElement(StyledContainerItems$5, null, spotlights === null || spotlights === void 0 ? void 0 : spotlights.slice(0, 3).map((s, index) => (React__default["default"].createElement(Item$4, { key: index, index: index, item: s })))),
|
|
711
806
|
React__default["default"].createElement("div", { style: {
|
|
@@ -714,7 +809,7 @@ const CareSpotlights = ({ spotlights = [], hrefViewMore }) => {
|
|
|
714
809
|
right: '1rem',
|
|
715
810
|
} },
|
|
716
811
|
React__default["default"].createElement("a", { href: hrefViewMore },
|
|
717
|
-
React__default["default"].createElement(index$
|
|
812
|
+
React__default["default"].createElement(index$7.Button, { theme: siteType, className: "survey-contact-submit", size: "md" }, t('home.navigator.menu.care.homeButton')))))) : (React__default["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: index$2.CommonGAssets.getAssetPath('community.svg') }))));
|
|
718
813
|
};
|
|
719
814
|
|
|
720
815
|
const StyledContainerItems$4 = styled__default["default"].div `
|
|
@@ -781,14 +876,14 @@ const Item$3 = ({ item, index = 0 }) => {
|
|
|
781
876
|
};
|
|
782
877
|
|
|
783
878
|
const CategorySpotlights = ({ spotlightsList = [], hrefViewMore }) => {
|
|
784
|
-
const { t } = index$
|
|
785
|
-
const { configs: { statics }, } = React.useContext(
|
|
879
|
+
const { t } = index$3.useTranslations();
|
|
880
|
+
const { configs: { statics }, } = React.useContext(NavigationContext);
|
|
786
881
|
return (React__default["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["default"].createElement(StyledContainerItems$4, null, spotlightsList === null || spotlightsList === void 0 ? void 0 : spotlightsList.slice(0, 4).map((spotlight, index) => (React__default["default"].createElement(Item$3, { key: index, index: index, item: {
|
|
787
882
|
id: spotlight.id,
|
|
788
883
|
link: statics.HOME_PAGE_URL + spotlight.permalink,
|
|
789
884
|
title: spotlight.name,
|
|
790
885
|
banner: spotlight.image,
|
|
791
|
-
} }))))) : (React__default["default"].createElement(SpotlightNoData, { title: t('home.navigator.menu.category.noDatas.title'), description: t('home.navigator.menu.category.noDatas.description'), link: hrefViewMore, cta: t('home.navigator.menu.category.noDatas.cta'), icon: index$
|
|
886
|
+
} }))))) : (React__default["default"].createElement(SpotlightNoData, { title: t('home.navigator.menu.category.noDatas.title'), description: t('home.navigator.menu.category.noDatas.description'), link: hrefViewMore, cta: t('home.navigator.menu.category.noDatas.cta'), icon: index$2.CommonGAssets.getAssetPath('Spotlight.svg') }))));
|
|
792
887
|
};
|
|
793
888
|
|
|
794
889
|
const StyledContainerItems$3 = styled__default["default"].div `
|
|
@@ -911,7 +1006,7 @@ const StyledWrapInfo = styled__default["default"].div `
|
|
|
911
1006
|
dayjs__default["default"].extend(relativeTime__default["default"]);
|
|
912
1007
|
const Item$2 = ({ post, index = 0 }) => {
|
|
913
1008
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
914
|
-
const { siteType, configs: { statics }, } = React.useContext(
|
|
1009
|
+
const { siteType, configs: { statics }, } = React.useContext(NavigationContext);
|
|
915
1010
|
if (!post)
|
|
916
1011
|
return null;
|
|
917
1012
|
const communityUrl = [statics.TOGETHER_URL_FE, (_a = post.community) === null || _a === void 0 ? void 0 : _a.slug].join('/');
|
|
@@ -926,7 +1021,7 @@ const Item$2 = ({ post, index = 0 }) => {
|
|
|
926
1021
|
return (React__default["default"].createElement(StyledItem$3, { href: postUrl, "data-event-category": "Hamburger Navigation", "data-event-action": `Together Click ${index + 1}`, "data-event-label": postUrl },
|
|
927
1022
|
React__default["default"].createElement(StyledContent$1, null,
|
|
928
1023
|
React__default["default"].createElement(StyledInfoUser, null,
|
|
929
|
-
React__default["default"].createElement(index$
|
|
1024
|
+
React__default["default"].createElement(index$8.UserAvatar, { avatar: (_b = post.author) === null || _b === void 0 ? void 0 : _b.avatar, username: ((_c = post.author) === null || _c === void 0 ? void 0 : _c.name) || ((_d = post.author) === null || _d === void 0 ? void 0 : _d.username) }),
|
|
930
1025
|
React__default["default"].createElement(StyledWrapInfo, null,
|
|
931
1026
|
React__default["default"].createElement(StyledName, { "data-theme": siteType }, (_e = post.author) === null || _e === void 0 ? void 0 : _e.name),
|
|
932
1027
|
React__default["default"].createElement(StyledInfo, null,
|
|
@@ -941,9 +1036,9 @@ const Item$2 = ({ post, index = 0 }) => {
|
|
|
941
1036
|
};
|
|
942
1037
|
|
|
943
1038
|
const CommunitySpotlights = ({ spotlights = [] }) => {
|
|
944
|
-
const { configs: { statics }, } = React.useContext(
|
|
945
|
-
const { t } = index$
|
|
946
|
-
return (React__default["default"].createElement(Spotlights, { title: t('home.navigator.menu.trendingPosts'), viewMore: t('home.navigator.menu.trendingPosts.seeMore'), link: normalizeLink.normalizeLink(statics.TOGETHER_URL_FE), dataEventAction: "Together See More Click" }, spotlights.length !== 0 ? (React__default["default"].createElement(StyledContainerItems$3, null, spotlights === null || spotlights === void 0 ? void 0 : spotlights.slice(0, 4).map((p, index) => (React__default["default"].createElement(Item$2, { index: index, post: p, key: p.id }))))) : (React__default["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: index$
|
|
1039
|
+
const { configs: { statics }, } = React.useContext(NavigationContext);
|
|
1040
|
+
const { t } = index$3.useTranslations();
|
|
1041
|
+
return (React__default["default"].createElement(Spotlights, { title: t('home.navigator.menu.trendingPosts'), viewMore: t('home.navigator.menu.trendingPosts.seeMore'), link: normalizeLink.normalizeLink(statics.TOGETHER_URL_FE), dataEventAction: "Together See More Click" }, spotlights.length !== 0 ? (React__default["default"].createElement(StyledContainerItems$3, null, spotlights === null || spotlights === void 0 ? void 0 : spotlights.slice(0, 4).map((p, index) => (React__default["default"].createElement(Item$2, { index: index, post: p, key: p.id }))))) : (React__default["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: index$2.CommonGAssets.getAssetPath('community.svg') }))));
|
|
947
1042
|
};
|
|
948
1043
|
|
|
949
1044
|
const StyledContainerItems$2 = styled__default["default"].div `
|
|
@@ -963,10 +1058,10 @@ const StyledItem$2 = styled__default["default"].a `
|
|
|
963
1058
|
align-items: center;
|
|
964
1059
|
`;
|
|
965
1060
|
|
|
966
|
-
const Item$1 = ({ item, index: index$
|
|
1061
|
+
const Item$1 = ({ item, index: index$1 = 0 }) => {
|
|
967
1062
|
if (!item)
|
|
968
1063
|
return null;
|
|
969
|
-
return (React__default["default"].createElement(StyledItem$2, { href: item.url, "data-event-category": "Hamburger Navigation", "data-event-action": `Care Click ${index$
|
|
1064
|
+
return (React__default["default"].createElement(StyledItem$2, { href: item.url, "data-event-category": "Hamburger Navigation", "data-event-action": `Care Click ${index$1 + 1}`, "data-event-label": item.url },
|
|
970
1065
|
React__default["default"].createElement("img", { loading: "lazy", alt: item.name, src: item.featuredImage || '/images/avatar.jpg', style: {
|
|
971
1066
|
width: '40px',
|
|
972
1067
|
height: '40px',
|
|
@@ -974,7 +1069,7 @@ const Item$1 = ({ item, index: index$2 = 0 }) => {
|
|
|
974
1069
|
React__default["default"].createElement(index.Text, { size: "p2", weight: "regular", style: {
|
|
975
1070
|
marginLeft: 16,
|
|
976
1071
|
} }, item.name),
|
|
977
|
-
React__default["default"].createElement("img", { src: index$
|
|
1072
|
+
React__default["default"].createElement("img", { src: index$2.CommonGAssets.getAssetPath('chevronRightActive.svg'), style: {
|
|
978
1073
|
width: '20px',
|
|
979
1074
|
height: '20px',
|
|
980
1075
|
marginLeft: 'auto',
|
|
@@ -982,7 +1077,7 @@ const Item$1 = ({ item, index: index$2 = 0 }) => {
|
|
|
982
1077
|
};
|
|
983
1078
|
|
|
984
1079
|
const EcomSpotlights = ({ helpfulUrls = [], }) => {
|
|
985
|
-
const { t } = index$
|
|
1080
|
+
const { t } = index$3.useTranslations();
|
|
986
1081
|
// const { siteType } = useContext(NavigationContext)
|
|
987
1082
|
if (!helpfulUrls.length)
|
|
988
1083
|
return null;
|
|
@@ -1128,8 +1223,8 @@ const StyledContentWrapper$1 = styled__default["default"].div `
|
|
|
1128
1223
|
`;
|
|
1129
1224
|
|
|
1130
1225
|
const Item = ({ item, index = 0 }) => {
|
|
1131
|
-
const { t } = index$
|
|
1132
|
-
const { configs: { statics }, } = React.useContext(
|
|
1226
|
+
const { t } = index$3.useTranslations();
|
|
1227
|
+
const { configs: { statics }, } = React.useContext(NavigationContext);
|
|
1133
1228
|
if (!item)
|
|
1134
1229
|
return null;
|
|
1135
1230
|
const link = item.link
|
|
@@ -1139,7 +1234,7 @@ const Item = ({ item, index = 0 }) => {
|
|
|
1139
1234
|
: undefined;
|
|
1140
1235
|
return (React__default["default"].createElement(StyledItem$1, { href: link, "data-event-category": "Hamburger Navigation", "data-event-action": `Engage Click ${index + 1}`, "data-event-label": link },
|
|
1141
1236
|
item.isMobileAppTool && React__default["default"].createElement(Phone, { size: 20, className: "phone-badge" }),
|
|
1142
|
-
React__default["default"].createElement("img", { src: index$
|
|
1237
|
+
React__default["default"].createElement("img", { src: index$2.CommonGAssets.getAssetPath('navToolCardBg.svg'), alt: "", loading: "lazy", className: "bg-svg" }),
|
|
1143
1238
|
React__default["default"].createElement(StyledContentWrapper$1, null,
|
|
1144
1239
|
React__default["default"].createElement(StyledTitle$1, null, item.title),
|
|
1145
1240
|
React__default["default"].createElement(StyledDes$1, null, item.subtitle),
|
|
@@ -1360,8 +1455,8 @@ const StyledWrapName = styled__default["default"].div `
|
|
|
1360
1455
|
`;
|
|
1361
1456
|
|
|
1362
1457
|
const ItemMarryBaby = ({ item, index = 0, color }) => {
|
|
1363
|
-
const { t } = index$
|
|
1364
|
-
const { configs: { statics }, } = React.useContext(
|
|
1458
|
+
const { t } = index$3.useTranslations();
|
|
1459
|
+
const { configs: { statics }, } = React.useContext(NavigationContext);
|
|
1365
1460
|
if (!item)
|
|
1366
1461
|
return null;
|
|
1367
1462
|
const link = item.link
|
|
@@ -1377,7 +1472,7 @@ const ItemMarryBaby = ({ item, index = 0, color }) => {
|
|
|
1377
1472
|
React__default["default"].createElement(StyledDes, null, item.subtitle)),
|
|
1378
1473
|
React__default["default"].createElement(StyledBtnView, null,
|
|
1379
1474
|
React__default["default"].createElement("div", { className: "mobile-only" }, t('home.seeMore')),
|
|
1380
|
-
React__default["default"].createElement("img", { src: index$
|
|
1475
|
+
React__default["default"].createElement("img", { src: index$2.CommonGAssets.getAssetPath('arrowRightGray.svg'), style: {
|
|
1381
1476
|
width: '12px',
|
|
1382
1477
|
height: '12px',
|
|
1383
1478
|
marginTop: '2px',
|
|
@@ -1386,7 +1481,7 @@ const ItemMarryBaby = ({ item, index = 0, color }) => {
|
|
|
1386
1481
|
return (React__default["default"].createElement(StyledItem, { href: link, "data-event-category": "Hamburger Navigation", "data-event-action": `Engage Click ${index + 1}`, "data-event-label": link, "data-color": color },
|
|
1387
1482
|
React__default["default"].createElement("svg", { className: "bg-svg", width: "74", height: "121", viewBox: "0 0 74 121", fill: "none" },
|
|
1388
1483
|
React__default["default"].createElement("path", { d: "M58.5713 53.428C40.6466 70.0213 12.9929 71.0875 -7.00506 84.9856C-24.9277 97.4005 -38.3893 120.472 -60.213 120.346C-73.3615 120.271 -84.9289 110.925 -91.9303 99.8138C-101.443 84.7327 -103.994 64.0482 -93.916 49.3276C-81.8133 31.6505 -56.6933 28.1101 -41.7246 12.7895C-35.4351 6.35117 -31.2212 -1.90115 -24.8564 -8.25051C-7.17639 -25.9054 34.9604 -29.7543 56.852 -16.9562C80.9056 -2.89888 77.046 36.3304 58.5713 53.428Z", strokeWidth: "0" })),
|
|
1389
|
-
React__default["default"].createElement("img", { src: index$
|
|
1484
|
+
React__default["default"].createElement("img", { src: index$2.CommonGAssets.getAssetPath('navMBCardDotBg.svg'), className: "dot-svg", loading: "lazy", alt: "" }),
|
|
1390
1485
|
React__default["default"].createElement(StyledContentWrapper, null,
|
|
1391
1486
|
React__default["default"].createElement("div", { className: "mobile-only" }, renderIcon()),
|
|
1392
1487
|
React__default["default"].createElement("div", { className: "desktop-only" }, renderName())),
|
|
@@ -1395,12 +1490,12 @@ const ItemMarryBaby = ({ item, index = 0, color }) => {
|
|
|
1395
1490
|
};
|
|
1396
1491
|
|
|
1397
1492
|
const ToolSpotlights = ({ hrefViewMore, spotlightHealthTools = [] }) => {
|
|
1398
|
-
const { t } = index$
|
|
1493
|
+
const { t } = index$3.useTranslations();
|
|
1399
1494
|
const marryBabyCardColor = ['pink', 'orange', 'green'];
|
|
1400
|
-
const { siteType } = React.useContext(
|
|
1495
|
+
const { siteType } = React.useContext(NavigationContext);
|
|
1401
1496
|
return (React__default["default"].createElement(Spotlights, { title: t('home.navigator.menu.spotlightTools') },
|
|
1402
1497
|
spotlightHealthTools.length !== 0 && (React__default["default"].createElement(StyledContainerItems$1, null, spotlightHealthTools === null || spotlightHealthTools === void 0 ? void 0 : spotlightHealthTools.slice(0, 3).map((item, index) => siteType === 'marryBaby' ? (React__default["default"].createElement(ItemMarryBaby, { key: index, index: index, item: item, color: marryBabyCardColor[index] })) : (React__default["default"].createElement(Item, { key: index, index: index, item: item }))))),
|
|
1403
|
-
spotlightHealthTools.length === 0 && (React__default["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: index$
|
|
1498
|
+
spotlightHealthTools.length === 0 && (React__default["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: index$2.CommonGAssets.getAssetPath('community.svg') }))));
|
|
1404
1499
|
};
|
|
1405
1500
|
|
|
1406
1501
|
const StyledContainerItems = styled__default["default"].div `
|
|
@@ -1415,22 +1510,22 @@ const StyledContainerItems = styled__default["default"].div `
|
|
|
1415
1510
|
`;
|
|
1416
1511
|
|
|
1417
1512
|
const VideoSpotlights = ({ spotlightsList = [], layout = 'default', }) => {
|
|
1418
|
-
const { t } = index$
|
|
1419
|
-
const { configs: { statics }, } = React.useContext(
|
|
1420
|
-
return (React__default["default"].createElement(Spotlights, { title: t('home.navigator.menu.lastestVideos') }, spotlightsList.length !== 0 ? (React__default["default"].createElement(StyledContainerItems, null, spotlightsList === null || spotlightsList === void 0 ? void 0 : spotlightsList.slice(0, 4).map((video, index) => (React__default["default"].createElement(index$
|
|
1513
|
+
const { t } = index$3.useTranslations();
|
|
1514
|
+
const { configs: { statics }, } = React.useContext(NavigationContext);
|
|
1515
|
+
return (React__default["default"].createElement(Spotlights, { title: t('home.navigator.menu.lastestVideos') }, spotlightsList.length !== 0 ? (React__default["default"].createElement(StyledContainerItems, null, spotlightsList === null || spotlightsList === void 0 ? void 0 : spotlightsList.slice(0, 4).map((video, index) => (React__default["default"].createElement(index$6.VideoItem, { key: index, data: Object.assign(Object.assign({}, video), { type: index$9.VideoType.SHORTS }), layout: layout === 'default' ? 'overlay' : 'horizon', redirectToLandingPage: true, dataEventCategory: "Hamburger Navigation", dataEventAction: `Video Click ${index + 1}` }))))) : (React__default["default"].createElement(SpotlightNoData, { title: t('home.navigator.menu.category.noDatas.title'), description: t('home.navigator.menu.category.noDatas.description'), link: `${statics.VIDEO_URL_FE}/`, cta: t('home.navigator.menu.category.noDatas.cta'), icon: index$2.CommonGAssets.getAssetPath('Spotlight.svg') }))));
|
|
1421
1516
|
};
|
|
1422
1517
|
|
|
1423
1518
|
const MenuServiceList = ({ closePopup, menuItems = [], projectType, isHomepage = false, }) => {
|
|
1424
1519
|
var _a, _b;
|
|
1425
|
-
const { siteType, ssrMenuContent: { categories, healthTools, care, together, ecom, videos }, activeMenuService, configs: { statics }, locale,
|
|
1426
|
-
const { t } = index$
|
|
1427
|
-
return (React__default["default"].createElement(StyledMasterMenuContainer, {
|
|
1520
|
+
const { siteType, ssrMenuContent: { categories, healthTools, care, together, ecom, videos }, activeMenuService, configs: { statics }, locale, } = React.useContext(NavigationContext);
|
|
1521
|
+
const { t } = index$3.useTranslations();
|
|
1522
|
+
return (React__default["default"].createElement(StyledMasterMenuContainer, { id: 'categories-menu' },
|
|
1428
1523
|
!isHomepage && (React__default["default"].createElement(StyleWrapperSearch, null,
|
|
1429
1524
|
React__default["default"].createElement(NavigtionSearch, { siteType: siteType, projectType: projectType, isMobile: false, isRedirectSearchPage: true }))),
|
|
1430
1525
|
React__default["default"].createElement(StyledWrapper, null,
|
|
1431
1526
|
React__default["default"].createElement(Categories, { UrlFE: statics.HOME_PAGE_URL, titleBtnViewMore: t('home.navigator.menuItem.allCategories'), menuItems: menuItems, headingTitle: t('home.navigator.menuItem.healthCategories'), onClosePopup: closePopup, activeItem: activeMenuService }),
|
|
1432
1527
|
activeMenuService === 'categories' && (React__default["default"].createElement(CategorySpotlights, { spotlightsList: (categories === null || categories === void 0 ? void 0 : categories.spotlights) || [], hrefViewMore: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}/spotlight/` })),
|
|
1433
|
-
activeMenuService === 'tools' && (React__default["default"].createElement(ToolSpotlights, { spotlightHealthTools: healthTools === null || healthTools === void 0 ? void 0 : healthTools.spotlights, hrefViewMore: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}${((_a = index$
|
|
1528
|
+
activeMenuService === 'tools' && (React__default["default"].createElement(ToolSpotlights, { spotlightHealthTools: healthTools === null || healthTools === void 0 ? void 0 : healthTools.spotlights, hrefViewMore: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}${((_a = index$1.STATIC_PAGES[locale]) === null || _a === void 0 ? void 0 : _a.HEALTH_TOOLS) || ''}` })),
|
|
1434
1529
|
activeMenuService === 'care' && (React__default["default"].createElement(CareSpotlights, { spotlights: care === null || care === void 0 ? void 0 : care.spotlights, hrefViewMore: `${statics.CARE_URL_FE}/${(_b = constants$1.LOCALIZED_SLUGS[locale]) === null || _b === void 0 ? void 0 : _b.SPECIALTIES}` })),
|
|
1435
1530
|
activeMenuService === 'together' && (React__default["default"].createElement(CommunitySpotlights, { spotlights: together === null || together === void 0 ? void 0 : together.spotlights })),
|
|
1436
1531
|
activeMenuService === 'ecom' && (React__default["default"].createElement(EcomSpotlights, { helpfulUrls: ecom === null || ecom === void 0 ? void 0 : ecom.helpfulUrls })),
|
|
@@ -1438,7 +1533,7 @@ const MenuServiceList = ({ closePopup, menuItems = [], projectType, isHomepage =
|
|
|
1438
1533
|
};
|
|
1439
1534
|
|
|
1440
1535
|
const HamburgerMenu = ({ menuItems, isHomepage, projectType }) => {
|
|
1441
|
-
const { siteType } = React.useContext(
|
|
1536
|
+
const { siteType } = React.useContext(NavigationContext);
|
|
1442
1537
|
const { containerRef, onContainerFocus, onContainerBlur, onButtonMouseDown, onClose, } = navigationProfileButton.useCSSFocusPopupHelper();
|
|
1443
1538
|
return (React__default["default"].createElement(DisplayWrapper, { mediaQueryKey: "mbDown" },
|
|
1444
1539
|
React__default["default"].createElement("header", { className: styles$2.menuContainer },
|
|
@@ -1707,10 +1802,10 @@ const StyleInput = styled__default["default"](index$b.Input) `
|
|
|
1707
1802
|
`;
|
|
1708
1803
|
|
|
1709
1804
|
const SearchInput = ({ id, isMobile = false, isHomepage = false, projectType, isRedirectSearchPage = false, }) => {
|
|
1710
|
-
const { locale, configs: { statics }, siteType, } = React.useContext(
|
|
1805
|
+
const { locale, configs: { statics }, siteType, } = React.useContext(NavigationContext);
|
|
1711
1806
|
const [keyword, setKeyword] = React.useState('');
|
|
1712
1807
|
const [eventCategoryTracking, setEventCategoryTracking] = React.useState('Search From Another Page');
|
|
1713
|
-
const { t } = index$
|
|
1808
|
+
const { t } = index$3.useTranslations();
|
|
1714
1809
|
const goToSearchPage = (searchValue = '') => {
|
|
1715
1810
|
let sourceParam = '';
|
|
1716
1811
|
if (projectType === 'together') {
|
|
@@ -1753,8 +1848,8 @@ const SearchInput = ({ id, isMobile = false, isHomepage = false, projectType, is
|
|
|
1753
1848
|
React__default["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3.3097 9.06111C3.3097 5.88483 5.88458 3.30994 9.06087 3.30994C12.2372 3.30994 14.812 5.88483 14.812 9.06111C14.812 12.2374 12.2372 14.8123 9.06087 14.8123C5.88458 14.8123 3.3097 12.2374 3.3097 9.06111ZM9.06087 1.66675C4.97707 1.66675 1.6665 4.97732 1.6665 9.06111C1.6665 13.1449 4.97707 16.4555 9.06087 16.4555C10.8067 16.4555 12.4112 15.8505 13.6761 14.8387L16.9305 18.0931C17.2514 18.4139 17.7716 18.4139 18.0924 18.0931C18.4133 17.7722 18.4133 17.252 18.0924 16.9312L14.8381 13.6768C15.8501 12.4118 16.4552 10.8071 16.4552 9.06111C16.4552 4.97732 13.1447 1.66675 9.06087 1.66675Z", fill: "#8C8C8C" })))) : (React__default["default"].createElement(StyleInput, { className: "fake-search-input", name: 'search-input-menu-service' + id, size: "md", "data-event-category": eventCategoryTracking, "data-event-action": "Search", "data-event-label": keyword, placeholder: siteType === 'marryBaby'
|
|
1754
1849
|
? t('navigation.search.input.placeholder')
|
|
1755
1850
|
: t('home.search', {
|
|
1756
|
-
site: index$
|
|
1757
|
-
? index$
|
|
1851
|
+
site: index$1.LOCALE_SPECS[locale || 'en-PH']
|
|
1852
|
+
? index$1.LOCALE_SPECS[locale || 'en-PH'].SITE_NAME
|
|
1758
1853
|
: '',
|
|
1759
1854
|
}), onChange: setKeyword, value: keyword, onKeyDown: (e) => e.key === 'Enter' &&
|
|
1760
1855
|
goToSearchPage(e.target.value), type: "search", onFocus: (e) => {
|
|
@@ -1935,7 +2030,7 @@ const formatVideoItem = (data) => {
|
|
|
1935
2030
|
videoId: data.video_id || '',
|
|
1936
2031
|
url: data.video_url || '',
|
|
1937
2032
|
title: data.video_title || '',
|
|
1938
|
-
type: data.type || index$
|
|
2033
|
+
type: data.type || index$9.VideoType.VIDEO,
|
|
1939
2034
|
totalView: data.total_view || 0,
|
|
1940
2035
|
description: data.description || '',
|
|
1941
2036
|
createTime: data.create_time || '',
|
|
@@ -1966,8 +2061,8 @@ const PopupWrapper = ({ onClosePopup, isDisplay, children, isNavMenu, hideCloseB
|
|
|
1966
2061
|
|
|
1967
2062
|
const MenuCareList = ({ careSpecialties = [], isOpen, onClose, spotlights = [], }) => {
|
|
1968
2063
|
var _a;
|
|
1969
|
-
const { t } = index$
|
|
1970
|
-
const { locale, configs: { statics }, } = React.useContext(
|
|
2064
|
+
const { t } = index$3.useTranslations();
|
|
2065
|
+
const { locale, configs: { statics }, } = React.useContext(NavigationContext);
|
|
1971
2066
|
return (React__default["default"].createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true },
|
|
1972
2067
|
React__default["default"].createElement(Categories, { headingTitle: t('home.navigator.menuItem.specialties'), hrefViewMore: `${statics.CARE_URL_FE}/`, UrlFE: statics.CARE_URL_FE, onClosePopup: onClose, titleBtnViewMore: t('home.navigator.menuItem.allSpecialties'), menuItems: (careSpecialties === null || careSpecialties === void 0 ? void 0 : careSpecialties.map((specialty) => {
|
|
1973
2068
|
if (!specialty)
|
|
@@ -1986,8 +2081,8 @@ const MenuCareList = ({ careSpecialties = [], isOpen, onClose, spotlights = [],
|
|
|
1986
2081
|
};
|
|
1987
2082
|
|
|
1988
2083
|
const MenuCategoriesList = ({ categories = [], spotlightsList = [], onClose, isOpen, }) => {
|
|
1989
|
-
const { t } = index$
|
|
1990
|
-
const { locale, configs: { statics }, } = React.useContext(
|
|
2084
|
+
const { t } = index$3.useTranslations();
|
|
2085
|
+
const { locale, configs: { statics }, } = React.useContext(NavigationContext);
|
|
1991
2086
|
return (React__default["default"].createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true },
|
|
1992
2087
|
React__default["default"].createElement(Categories, { hrefViewMore: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}/categories/`, UrlFE: statics.HOME_PAGE_URL, onClosePopup: onClose, titleBtnViewMore: t('home.navigator.menuItem.allCategories'), menuItems: (categories === null || categories === void 0 ? void 0 : categories.map((cat) => {
|
|
1993
2088
|
if (!cat)
|
|
@@ -2002,8 +2097,8 @@ const MenuCategoriesList = ({ categories = [], spotlightsList = [], onClose, isO
|
|
|
2002
2097
|
};
|
|
2003
2098
|
|
|
2004
2099
|
const MenuCommunitiesList = ({ communities = [], onClose, isOpen, spotlights = [], }) => {
|
|
2005
|
-
const { t } = index$
|
|
2006
|
-
const { configs: { statics }, } = React.useContext(
|
|
2100
|
+
const { t } = index$3.useTranslations();
|
|
2101
|
+
const { configs: { statics }, } = React.useContext(NavigationContext);
|
|
2007
2102
|
return (React__default["default"].createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true },
|
|
2008
2103
|
React__default["default"].createElement(Categories, { hrefViewMore: normalizeLink.normalizeLink(statics.TOGETHER_URL_FE), UrlFE: normalizeLink.normalizeLinkSlash(statics.TOGETHER_URL_FE), onClosePopup: onClose, titleBtnViewMore: t('home.navigator.menuItem.allCommunities'), menuItems: (communities === null || communities === void 0 ? void 0 : communities.map((community) => {
|
|
2009
2104
|
if (!community)
|
|
@@ -2019,9 +2114,9 @@ const MenuCommunitiesList = ({ communities = [], onClose, isOpen, spotlights = [
|
|
|
2019
2114
|
|
|
2020
2115
|
const MenuHealthToolsList = ({ locale, onClose, isOpen, spotlightHealthTools = [], healthTools = [], }) => {
|
|
2021
2116
|
var _a;
|
|
2022
|
-
const { t } = index$
|
|
2023
|
-
const { configs: { statics }, } = React.useContext(
|
|
2024
|
-
const hrefViewMore = `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}${((_a = index$
|
|
2117
|
+
const { t } = index$3.useTranslations();
|
|
2118
|
+
const { configs: { statics }, } = React.useContext(NavigationContext);
|
|
2119
|
+
const hrefViewMore = `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}${((_a = index$1.STATIC_PAGES[locale]) === null || _a === void 0 ? void 0 : _a.HEALTH_TOOLS) || ''}`;
|
|
2025
2120
|
return (React__default["default"].createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true },
|
|
2026
2121
|
React__default["default"].createElement(Categories, { hrefViewMore: hrefViewMore, UrlFE: statics.HOME_PAGE_URL, onClosePopup: onClose, headingTitle: t('home.navigator.menuItem.healthToolsList'), titleBtnViewMore: t('home.navigator.menuItem.allHealthTools'), menuItems: healthTools.map((t) => ({
|
|
2027
2122
|
name: t.title,
|
|
@@ -2037,18 +2132,18 @@ const MenuHealthToolsList = ({ locale, onClose, isOpen, spotlightHealthTools = [
|
|
|
2037
2132
|
};
|
|
2038
2133
|
|
|
2039
2134
|
const MenuVideoList = ({ spotlightsList = [], onClose, isOpen }) => {
|
|
2040
|
-
const { t } = index$
|
|
2041
|
-
const { locale, configs: { statics }, } = React.useContext(
|
|
2135
|
+
const { t } = index$3.useTranslations();
|
|
2136
|
+
const { locale, configs: { statics }, } = React.useContext(NavigationContext);
|
|
2042
2137
|
const listing = React.useMemo(() => [
|
|
2043
2138
|
{
|
|
2044
2139
|
name: t('home.navigator.menu.videos'),
|
|
2045
2140
|
link: `${statics.VIDEO_URL_FE}/video/`,
|
|
2046
|
-
thumbnail: index$
|
|
2141
|
+
thumbnail: index$2.CommonGAssets.getAssetPath('nav-icons/video.svg'),
|
|
2047
2142
|
},
|
|
2048
2143
|
{
|
|
2049
2144
|
name: t('home.navigator.menu.shorts'),
|
|
2050
2145
|
link: `${statics.VIDEO_URL_FE}/short/`,
|
|
2051
|
-
thumbnail: index$
|
|
2146
|
+
thumbnail: index$2.CommonGAssets.getAssetPath('nav-icons/short.svg'),
|
|
2052
2147
|
},
|
|
2053
2148
|
// {
|
|
2054
2149
|
// name: t('home.navigator.menu.podcasts'),
|
|
@@ -2164,7 +2259,7 @@ const InitialDoctor = () => (React__default["default"].createElement("svg", { xm
|
|
|
2164
2259
|
React__default["default"].createElement("path", { fill: "#FF6F4D", d: "M389 358h-11a17 17 0 0 0-12 5 17 17 0 0 0-5 12v3l-1 3a4 4 0 0 1-3 1h-3a17 17 0 0 0-17 17v12a17 17 0 0 0 17 17h3a4 4 0 0 1 4 3v3a17 17 0 0 0 17 17h11c5 0 9-2 12-5s5-7 5-12v-3a4 4 0 0 1 4-3h3c4 0 9-2 12-5s5-8 5-12v-12c0-5-2-9-5-12a17 17 0 0 0-12-5h-3a4 4 0 0 1-4-4v-3a17 17 0 0 0-5-12 17 17 0 0 0-12-5" })))));
|
|
2165
2260
|
|
|
2166
2261
|
const MenuViewMore = ({ menuItems = [], isOpen, onClose }) => {
|
|
2167
|
-
const { locale, configs: { enableAppIntroPage }, } = React.useContext(
|
|
2262
|
+
const { locale, configs: { enableAppIntroPage }, } = React.useContext(NavigationContext);
|
|
2168
2263
|
const ecomNavItem = menuItems.find((m) => m.id === 'ecom');
|
|
2169
2264
|
const careNavItem = menuItems.find((m) => m.id === 'care');
|
|
2170
2265
|
return (React__default["default"].createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true, hideCloseBtn: true, stylesContainer: {
|
|
@@ -2178,10 +2273,10 @@ const MenuViewMore = ({ menuItems = [], isOpen, onClose }) => {
|
|
|
2178
2273
|
React__default["default"].createElement(StyleButton, { variant: "tertiary", leftIcon: React__default["default"].createElement(InitialDoctor, null) }, careNavItem.name))),
|
|
2179
2274
|
enableAppIntroPage && (React__default["default"].createElement("a", { tabIndex: 0, href: "https://applink.hellobacsi.com/o9Q88rQh7Mb", "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": `https://applink.hellobacsi.com/o9Q88rQh7Mb` },
|
|
2180
2275
|
React__default["default"].createElement(StyleButton, { variant: "tertiary", leftIcon: React__default["default"].createElement(StyleWrapperIcon, null,
|
|
2181
|
-
React__default["default"].createElement(core$1.Logo, { width: 16, height: 15 })) }, `${index$
|
|
2276
|
+
React__default["default"].createElement(core$1.Logo, { width: 16, height: 15 })) }, `${index$1.LOCALE_SPECS[locale || 'en-PH'].SITE_NAME_FORMATTED} App`)))));
|
|
2182
2277
|
};
|
|
2183
2278
|
|
|
2184
|
-
const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent, subHead, projectType,
|
|
2279
|
+
const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent, subHead, projectType, }) => {
|
|
2185
2280
|
var _a, _b;
|
|
2186
2281
|
const { siteType, isMobile = false, locale, sitewideBanner, sitewideBannerShown = true, sponsorComponent, isHomepage = false,
|
|
2187
2282
|
// onBookingClick,
|
|
@@ -2198,7 +2293,7 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
|
|
|
2198
2293
|
// enableProfileEcom,
|
|
2199
2294
|
}, userState: { userInfo }, onLogout,
|
|
2200
2295
|
// userProfileRouterPush,
|
|
2201
|
-
isUserLoading,
|
|
2296
|
+
isUserLoading, } = React.useContext(NavigationContext);
|
|
2202
2297
|
const { triggerLogin } = store.useSSOV2Store();
|
|
2203
2298
|
const { SSO_URL, HOME_PAGE_URL } = statics;
|
|
2204
2299
|
const isSponsored = !!sponsorComponent;
|
|
@@ -2215,7 +2310,7 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
|
|
|
2215
2310
|
: currentLocation;
|
|
2216
2311
|
};
|
|
2217
2312
|
const logoType = siteType === 'helloSites'
|
|
2218
|
-
? (_a = index$
|
|
2313
|
+
? (_a = index$1.LOCALE_SPECS[locale]) === null || _a === void 0 ? void 0 : _a.LOGO_TYPE
|
|
2219
2314
|
: siteType;
|
|
2220
2315
|
const isBrowser = typeof window !== 'undefined';
|
|
2221
2316
|
const scrolling = React.useCallback(throttle__default["default"](() => {
|
|
@@ -2254,10 +2349,10 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
|
|
|
2254
2349
|
scrolling();
|
|
2255
2350
|
}, [isMobile]);
|
|
2256
2351
|
const isShowingSiteWideBanner = sitewideBannerShown && !!sitewideBanner;
|
|
2257
|
-
return (React__default["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
|
|
2352
|
+
return (React__default["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 },
|
|
2258
2353
|
sitewideBanner,
|
|
2259
|
-
React__default["default"].createElement(StyledHeader, {
|
|
2260
|
-
React__default["default"].createElement(StyledLeftGroup, {
|
|
2354
|
+
React__default["default"].createElement(StyledHeader, { "data-site-type": siteType },
|
|
2355
|
+
React__default["default"].createElement(StyledLeftGroup, { "data-site-type": siteType },
|
|
2261
2356
|
isMobile && (React__default["default"].createElement(HamburgerMenu, { menuItems: menuItems.filter((m) => !!m.link), isHomepage: isHomepage, projectType: projectType })),
|
|
2262
2357
|
logoComponent || (React__default["default"].createElement("a", { style: {
|
|
2263
2358
|
flexShrink: 0,
|
|
@@ -2265,20 +2360,19 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
|
|
|
2265
2360
|
React__default["default"].createElement("div", null,
|
|
2266
2361
|
React__default["default"].createElement(index$d.Logo, { style: {
|
|
2267
2362
|
display: 'flex',
|
|
2268
|
-
}, type: logoType, badge: locale === 'id-ID' && (React__default["default"].createElement("img", { src: index$
|
|
2269
|
-
!isMobile && (React__default["default"].createElement(React__default["default"].Fragment, null, siteType === 'marryBaby' ? (React__default["default"].createElement(NavigationMenu, { menuItems: menuItems, originalMenuItems: menuItems
|
|
2270
|
-
React__default["default"].createElement(StyledRightGroup, {
|
|
2271
|
-
!isMobile && siteType !== 'marryBaby' && (React__default["default"].createElement(NavigationMenu, { menuItems: menuItems.filter((m) => m.id !== 'ecom' && m.id !== 'care'), originalMenuItems: menuItems
|
|
2363
|
+
}, type: logoType, badge: locale === 'id-ID' && (React__default["default"].createElement("img", { src: index$2.CommonGAssets.getAssetPath('sehat-badge.png'), width: "56", height: "23", loading: "lazy" })), dateForSeasonal: new Date(), locale: locale, key: typeof window !== 'undefined' ? 'client' : 'server' })))),
|
|
2364
|
+
!isMobile && (React__default["default"].createElement(React__default["default"].Fragment, null, siteType === 'marryBaby' ? (React__default["default"].createElement(NavigationMenu, { menuItems: menuItems, originalMenuItems: menuItems })) : (enableSearchBar && (React__default["default"].createElement(NavigtionSearch, { siteType: siteType, projectType: projectType, isMobile: isMobile })))))),
|
|
2365
|
+
React__default["default"].createElement(StyledRightGroup, { "data-site-type": siteType },
|
|
2366
|
+
!isMobile && siteType !== 'marryBaby' && (React__default["default"].createElement(NavigationMenu, { menuItems: menuItems.filter((m) => m.id !== 'ecom' && m.id !== 'care'), originalMenuItems: menuItems })),
|
|
2272
2367
|
React__default["default"].createElement(StyledProfileNavGroup, null,
|
|
2273
2368
|
languageMenu,
|
|
2274
2369
|
enableNavChatbotAi && (React__default["default"].createElement(core.Box, { component: "a", href: `${normalizeLink.getCurrentBaseUrl(locale)}/ai-doctor`, "data-event-category": "Chatbot AI", "data-event-action": "Open", "data-event-label": "Hamburger Navigation", className: "ai-doctor-nav-item" },
|
|
2275
|
-
React__default["default"].createElement(StyleButtonAiChat, { variant: "tertiary", leftIcon: React__default["default"].createElement(other.ChatAi, { size: 18, color: "#2F8AF2" }), size: "md", className: "ai-doctor-btn" }, (_b = index$
|
|
2370
|
+
React__default["default"].createElement(StyleButtonAiChat, { variant: "tertiary", leftIcon: React__default["default"].createElement(other.ChatAi, { size: 18, color: "#2F8AF2" }), size: "md", className: "ai-doctor-btn" }, (_b = index$1.LOCALE_SPECS[locale]) === null || _b === void 0 ? void 0 :
|
|
2276
2371
|
_b.SITE_NAME,
|
|
2277
2372
|
" AI"))),
|
|
2278
|
-
slot,
|
|
2279
2373
|
React__default["default"].createElement(navigationProfileButton.NavigationProfileButton, { userInfo: userInfo, siteType: siteType, onLoginClick: onLoginClick || goToLogin,
|
|
2280
2374
|
// SSO_URL={normalizeLink(statics.SSO_URL)}
|
|
2281
|
-
currentUrl: currentUrl, onLogout: onLogout, isLoading: isUserLoading, locale: locale, enableAppIntroPage: enableAppIntroPage, isMobile: isMobile
|
|
2375
|
+
currentUrl: currentUrl, onLogout: onLogout, isLoading: isUserLoading, locale: locale, enableAppIntroPage: enableAppIntroPage, isMobile: isMobile }),
|
|
2282
2376
|
cartNumber !== undefined && (React__default["default"].createElement(React__default["default"].Fragment, null,
|
|
2283
2377
|
!isMobile && (React__default["default"].createElement("hr", { style: {
|
|
2284
2378
|
height: 20,
|
|
@@ -2302,9 +2396,9 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
|
|
|
2302
2396
|
};
|
|
2303
2397
|
const NavigtionSearch = ({ siteType, projectType, isMobile = false, isHomepage = false, isRedirectSearchPage = false, }) => (React__default["default"].createElement(DisplayWrapper, { mediaQueryKey: "mbUp", className: `${siteType === 'marryBaby' ? 'marry-baby' : ''} ${isHomepage ? 'block-show' : ''}` },
|
|
2304
2398
|
React__default["default"].createElement(SearchInput, { id: "desktop", projectType: projectType, isMobile: isMobile, isHomepage: isHomepage, isRedirectSearchPage: isRedirectSearchPage })));
|
|
2305
|
-
const NavigationMenu = ({ menuItems, originalMenuItems,
|
|
2306
|
-
const { siteType, locale, ssrMenuContent: { categories, healthTools, care, together, videos }, } = React.useContext(
|
|
2307
|
-
return (React__default["default"].createElement(DisplayWrapper, {
|
|
2399
|
+
const NavigationMenu = ({ menuItems, originalMenuItems, }) => {
|
|
2400
|
+
const { siteType, locale, ssrMenuContent: { categories, healthTools, care, together, videos }, } = React.useContext(NavigationContext);
|
|
2401
|
+
return (React__default["default"].createElement(DisplayWrapper, { mediaQueryKey: "mbUp", style: { height: '100%' } },
|
|
2308
2402
|
React__default["default"].createElement(StyledWrapMenuItems, { "data-site-type": siteType }, menuItems === null || menuItems === void 0 ? void 0 : menuItems.map((menuItem, index) => (React__default["default"].createElement(ItemMenu, { key: index, item: menuItem, menu: menuItem.popupType === 'categories' ? (React__default["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["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["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["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["default"].createElement(MenuVideoList, { spotlightsList: videos === null || videos === void 0 ? void 0 : videos.spotlights })) : menuItem.popupType === 'other' ? (React__default["default"].createElement(MenuViewMore, { menuItems: originalMenuItems })) : null }))))));
|
|
2309
2403
|
};
|
|
2310
2404
|
|
|
@@ -2368,7 +2462,7 @@ const useHeaderHeight = ({ hasSponsoredBanners, isSponsored, isShowingSiteWideBa
|
|
|
2368
2462
|
};
|
|
2369
2463
|
|
|
2370
2464
|
const useInsider = () => {
|
|
2371
|
-
const { isFirstLogin, userState } = React.useContext(
|
|
2465
|
+
const { isFirstLogin, userState } = React.useContext(NavigationContext);
|
|
2372
2466
|
const { userInfo } = userState;
|
|
2373
2467
|
React.useEffect(() => {
|
|
2374
2468
|
if (userInfo === null || userInfo === void 0 ? void 0 : userInfo.id) {
|
|
@@ -2405,8 +2499,8 @@ const useInsider = () => {
|
|
|
2405
2499
|
};
|
|
2406
2500
|
|
|
2407
2501
|
const useNavServices = () => {
|
|
2408
|
-
const { t } = index$
|
|
2409
|
-
const { siteType, locale, configs: { enableNavDiscover, enableNavHealthTools, enableNavCare, enableNavTogether, enableNavEcom, enableNavVideo, enableAppIntroPage, statics, }, } = React.useContext(
|
|
2502
|
+
const { t } = index$3.useTranslations();
|
|
2503
|
+
const { siteType, locale, configs: { enableNavDiscover, enableNavHealthTools, enableNavCare, enableNavTogether, enableNavEcom, enableNavVideo, enableAppIntroPage, statics, }, } = React.useContext(NavigationContext);
|
|
2410
2504
|
const isMarryBaby = siteType === 'marryBaby';
|
|
2411
2505
|
const enableNavViewMore = enableAppIntroPage || enableNavCare || enableNavEcom;
|
|
2412
2506
|
const services = React.useMemo(() => {
|
|
@@ -2419,8 +2513,8 @@ const useNavServices = () => {
|
|
|
2419
2513
|
link: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}/categories/`,
|
|
2420
2514
|
niceName: '',
|
|
2421
2515
|
thumbnail: isMarryBaby
|
|
2422
|
-
? index$
|
|
2423
|
-
: index$
|
|
2516
|
+
? index$2.CommonGAssets.getAssetPath('categories-mb.svg')
|
|
2517
|
+
: index$2.CommonGAssets.getAssetPath('nav-icons/discover.svg'),
|
|
2424
2518
|
popupType: 'categories',
|
|
2425
2519
|
});
|
|
2426
2520
|
enableNavVideo &&
|
|
@@ -2429,17 +2523,17 @@ const useNavServices = () => {
|
|
|
2429
2523
|
id: 'video',
|
|
2430
2524
|
link: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}/videos/`,
|
|
2431
2525
|
niceName: '',
|
|
2432
|
-
thumbnail: index$
|
|
2526
|
+
thumbnail: index$2.CommonGAssets.getAssetPath('nav-icons/video.svg'),
|
|
2433
2527
|
popupType: 'video',
|
|
2434
2528
|
});
|
|
2435
2529
|
enableNavHealthTools &&
|
|
2436
2530
|
_services.push({
|
|
2437
2531
|
name: t('home.navigator.menuItem.healthTools'),
|
|
2438
2532
|
id: 'tools',
|
|
2439
|
-
link: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}${((_a = index$
|
|
2533
|
+
link: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}${((_a = index$1.STATIC_PAGES[locale]) === null || _a === void 0 ? void 0 : _a.HEALTH_TOOLS) || ''}`,
|
|
2440
2534
|
thumbnail: isMarryBaby
|
|
2441
|
-
? index$
|
|
2442
|
-
: index$
|
|
2535
|
+
? index$2.CommonGAssets.getAssetPath('healthtools-mb.svg')
|
|
2536
|
+
: index$2.CommonGAssets.getAssetPath('nav-icons/health-tools.svg'),
|
|
2443
2537
|
popupType: 'tools',
|
|
2444
2538
|
});
|
|
2445
2539
|
enableNavTogether &&
|
|
@@ -2448,8 +2542,8 @@ const useNavServices = () => {
|
|
|
2448
2542
|
id: 'together',
|
|
2449
2543
|
link: normalizeLink.normalizeLinkSlash(statics.TOGETHER_URL_FE + '/'),
|
|
2450
2544
|
thumbnail: isMarryBaby
|
|
2451
|
-
? index$
|
|
2452
|
-
: index$
|
|
2545
|
+
? index$2.CommonGAssets.getAssetPath('community-mb.svg')
|
|
2546
|
+
: index$2.CommonGAssets.getAssetPath('nav-icons/community.svg'),
|
|
2453
2547
|
popupType: 'together',
|
|
2454
2548
|
});
|
|
2455
2549
|
enableNavEcom &&
|
|
@@ -2457,7 +2551,7 @@ const useNavServices = () => {
|
|
|
2457
2551
|
name: t('home.navigator.menuItem.helloEcom'),
|
|
2458
2552
|
id: 'ecom',
|
|
2459
2553
|
link: normalizeLink.normalizeLinkSlash(statics.HOME_PAGE_URL + '/shop'),
|
|
2460
|
-
thumbnail: index$
|
|
2554
|
+
thumbnail: index$2.CommonGAssets.getAssetPath('nav-icons/shop.svg'),
|
|
2461
2555
|
popupType: null,
|
|
2462
2556
|
});
|
|
2463
2557
|
enableNavCare &&
|
|
@@ -2465,7 +2559,7 @@ const useNavServices = () => {
|
|
|
2465
2559
|
name: t('home.navigator.menuItem.helloCare'),
|
|
2466
2560
|
id: 'care',
|
|
2467
2561
|
link: normalizeLink.normalizeLinkSlash(statics.HOME_PAGE_URL + '/care'),
|
|
2468
|
-
thumbnail: index$
|
|
2562
|
+
thumbnail: index$2.CommonGAssets.getAssetPath('nav-icons/care.svg'),
|
|
2469
2563
|
popupType: locale === 'id-ID' ? 'care' : null,
|
|
2470
2564
|
});
|
|
2471
2565
|
enableNavViewMore &&
|
|
@@ -2514,7 +2608,7 @@ const StyledContainer = styled__default["default"].div `
|
|
|
2514
2608
|
|
|
2515
2609
|
const _NavigationV2 = (props) => {
|
|
2516
2610
|
var _a, _b;
|
|
2517
|
-
const { isMobile, locale, onTopBarAppears, languageOptions, sponsorComponent, sitewideBanner, sitewideBannerShown, className, logoComponent, subHead, projectType,
|
|
2611
|
+
const { isMobile, locale, onTopBarAppears, languageOptions, sponsorComponent, sitewideBanner, sitewideBannerShown, className, logoComponent, subHead, projectType, } = props;
|
|
2518
2612
|
const services = useNavServices();
|
|
2519
2613
|
useInsider();
|
|
2520
2614
|
const isShowingSiteWideBanner = sitewideBannerShown && !!sitewideBanner;
|
|
@@ -2532,11 +2626,11 @@ const _NavigationV2 = (props) => {
|
|
|
2532
2626
|
'--header-bottom': headerBottom + 'px',
|
|
2533
2627
|
}, className: className },
|
|
2534
2628
|
React__default["default"].createElement("section", { ref: headerRef },
|
|
2535
|
-
React__default["default"].createElement(NavigationBar, { menuItems: services, onTopBarAppears: onTopBarAppears, logoComponent: logoComponent, subHead: subHead, projectType: projectType, languageMenu: React__default["default"].createElement(index$
|
|
2629
|
+
React__default["default"].createElement(NavigationBar, { menuItems: services, onTopBarAppears: onTopBarAppears, logoComponent: logoComponent, subHead: subHead, projectType: projectType, languageMenu: React__default["default"].createElement(index$6.LanguageSwitcher, { languageOptions: languageOptions, locale: locale }) }))));
|
|
2536
2630
|
};
|
|
2537
2631
|
const NavigationV2 = (props) => {
|
|
2538
2632
|
const propsWithDefaultValues = Object.assign({ siteType: 'helloSites', projectType: 'discover', locale: 'vi-VN', activeMenuService: 'categories', ssrMenuContent: {} }, props);
|
|
2539
|
-
return (React__default["default"].createElement(
|
|
2633
|
+
return (React__default["default"].createElement(NavigationProvider, Object.assign({}, propsWithDefaultValues),
|
|
2540
2634
|
React__default["default"].createElement(_NavigationV2, Object.assign({}, propsWithDefaultValues))));
|
|
2541
2635
|
};
|
|
2542
2636
|
const getNavMenuContent = (locale) => tslib_es6.__awaiter(void 0, void 0, void 0, function* () {
|
|
@@ -2567,7 +2661,7 @@ const getNavMenuContent = (locale) => tslib_es6.__awaiter(void 0, void 0, void 0
|
|
|
2567
2661
|
};
|
|
2568
2662
|
}
|
|
2569
2663
|
catch (_1) { }
|
|
2570
|
-
if (isMarryBaby || index$
|
|
2664
|
+
if (isMarryBaby || index$1.TOGETHER_LOCALES.includes(locale)) {
|
|
2571
2665
|
try {
|
|
2572
2666
|
const [communities, spotlightPosts] = yield Promise.all([
|
|
2573
2667
|
fetch(normalizeLink.normalizeLinkSlash(`${normalizeLink.getTogetherApiDomain()}/api/v1/community?website_url=https://${constantsDomainLocales.domainLocales[locale]}`)).then((res) => res.json()),
|
|
@@ -2580,7 +2674,7 @@ const getNavMenuContent = (locale) => tslib_es6.__awaiter(void 0, void 0, void 0
|
|
|
2580
2674
|
}
|
|
2581
2675
|
catch (_2) { }
|
|
2582
2676
|
}
|
|
2583
|
-
if (index$
|
|
2677
|
+
if (index$1.CARE_LOCALES.includes(locale)) {
|
|
2584
2678
|
try {
|
|
2585
2679
|
const [specialties, hospitals] = yield Promise.all([
|
|
2586
2680
|
fetch(normalizeLink.normalizeLinkSlash(normalizeLink.getCareApiDomain() +
|