@hhgtech/hhg-components 1.29.402 → 1.29.403
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-67ffe3ac.js → InputDate-957372e2.js} +3 -3
- package/build/{LastPeriod-470b5a3a.js → LastPeriod-9ab6ff95.js} +1 -1
- package/build/{MobileBottomNavigationIcon-2e8b07fc.js → MobileBottomNavigationIcon-6765d1a3.js} +3 -3
- package/build/{Spinner-fb8508c3.js → Spinner-78791bf0.js} +1 -1
- package/build/{WhatsApp-0550652f.js → WhatsApp-8c42f6a8.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 +3 -1
- package/build/components/navigationV2/index.d.ts +13 -1
- package/build/components/organisms/navigationProfileButton/index.d.ts +2 -1
- package/build/components.js +97 -97
- package/build/{constants-ab799375.js → constants-a64f47e1.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-ef14789d.js → core-0f630c54.js} +1 -1
- package/build/{dataTransform-25557600.js → dataTransform-30fdf23a.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-30a816d5.js → editor-8bdb6975.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-93c5e459.js → InputDate-c841726d.js} +3 -3
- package/build/esm/{LastPeriod-b83426ec.js → LastPeriod-46e6e56c.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-9154c653.js → MobileBottomNavigationIcon-aa6b519f.js} +3 -3
- package/build/esm/{Spinner-8d172e17.js → Spinner-ce5e0c1d.js} +1 -1
- package/build/esm/{WhatsApp-6c807beb.js → WhatsApp-2784fb3e.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 +3 -1
- package/build/esm/components/navigationV2/index.d.ts +13 -1
- package/build/esm/components/organisms/navigationProfileButton/index.d.ts +2 -1
- package/build/esm/components.js +97 -97
- package/build/esm/{constants-1ce79c4b.js → constants-e2ba6e30.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-bb5eeda6.js → core-738d04bf.js} +1 -1
- package/build/esm/{dataTransform-a0af498d.js → dataTransform-3c7966f3.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-296581b7.js → editor-2f3002e6.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-e6af67e9.js → healthTools-e6ef1248.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-0bd9d2a5.js → index-0056933c.js} +7 -7
- package/build/esm/{index-43f8236b.js → index-047ee8ca.js} +16 -16
- package/build/esm/{index-ee2df990.js → index-08577405.js} +2 -2
- package/build/esm/{index-0d2bab3b.js → index-13aff547.js} +2 -2
- package/build/esm/{index-8490f612.js → index-20b75eb0.js} +2 -2
- package/build/esm/{index-be4cf09d.js → index-228c55b9.js} +1 -1
- package/build/esm/{index-282d718f.js → index-22927fae.js} +2 -2
- package/build/esm/{index-7e63be44.js → index-2546d519.js} +13 -13
- package/build/esm/{index-1f43c861.js → index-2b79e483.js} +5 -5
- package/build/esm/{index-3b5ccfc0.js → index-2f0d1659.js} +1 -1
- package/build/esm/{index-ae3f7020.js → index-2f19b319.js} +25 -25
- package/build/esm/{index-c96858e6.js → index-2f8761bc.js} +2 -2
- package/build/esm/{index-90bd827d.js → index-2ffca0a7.js} +3 -3
- package/build/esm/{index-70a1642d.js → index-344c89f9.js} +11 -11
- package/build/esm/{index-f8d01876.js → index-37f2457d.js} +16 -16
- package/build/esm/{index-22c8bd62.js → index-3c9b77d8.js} +1 -1
- package/build/esm/{index-fc644071.js → index-47c5454d.js} +1 -1
- package/build/esm/{index-6635520d.js → index-48a11e31.js} +6 -6
- package/build/esm/{index-44e575be.js → index-4b827cd1.js} +2 -2
- package/build/esm/{index-dc25a628.js → index-5829bec5.js} +17 -17
- package/build/esm/{index-e0337e4f.js → index-5945fdbc.js} +13 -13
- package/build/esm/{index-703b551a.js → index-5b3679e3.js} +2 -2
- package/build/esm/{index-0e04697d.js → index-5d556e3e.js} +17 -17
- package/build/esm/{index-193d45aa.js → index-66665b51.js} +114 -14
- package/build/esm/{index-25bf0d9d.js → index-67a923f4.js} +2 -2
- package/build/esm/{index-872110dc.js → index-6e33cccd.js} +32 -32
- package/build/esm/{index-7b2adace.js → index-6f5baf74.js} +6 -6
- package/build/esm/{index-3ad5fa37.js → index-75535e7e.js} +18 -18
- package/build/esm/{index-10a82486.js → index-78b867ae.js} +21 -21
- package/build/esm/{index-f21074eb.js → index-79d01ace.js} +17 -17
- package/build/esm/{index-b3d8b128.js → index-7df73cf0.js} +18 -18
- package/build/esm/{index-878de0b3.js → index-7ee380c8.js} +1 -1
- package/build/esm/{index-03267752.js → index-7f880fc1.js} +16 -16
- package/build/esm/{index-f87618fa.js → index-8089b2e6.js} +1 -1
- package/build/esm/{index-3e0d83fd.js → index-824798f2.js} +2 -2
- package/build/esm/{index-66848657.js → index-8402e346.js} +15 -15
- package/build/esm/{index-b4498fcc.js → index-8dcfadb9.js} +3 -3
- package/build/esm/{index-1c9e9b74.js → index-92de8539.js} +7 -7
- package/build/esm/{index-d0a137c8.js → index-935beff5.js} +2 -2
- package/build/esm/{index-8c9bac8b.js → index-95528c94.js} +1 -1
- package/build/esm/{index-e9dc7648.js → index-95a764bd.js} +17 -17
- package/build/esm/{index-092d00a3.js → index-9ab23e32.js} +6 -6
- package/build/esm/{index-c26fffb5.js → index-9c83d1be.js} +13 -13
- package/build/esm/{index-a7c5c23f.js → index-a5152cd4.js} +6 -6
- package/build/esm/{index-0cad27be.js → index-a6d19577.js} +1 -1
- package/build/esm/{index-baddb2b4.js → index-a97a4f40.js} +16 -16
- package/build/esm/{index-a18a92c9.js → index-b0ea7a33.js} +4 -4
- package/build/esm/{index-ebabe771.js → index-b3516501.js} +4 -4
- package/build/esm/{index-5dc9c599.js → index-bbba54f5.js} +5 -5
- package/build/esm/{index-9d55c9d9.js → index-c59aca6b.js} +48 -142
- package/build/esm/{index-8aac2805.js → index-c771d708.js} +2 -2
- package/build/esm/{index-571f47ff.js → index-d2fb0073.js} +24 -24
- package/build/esm/{index-0f74b8cb.js → index-d44e74b9.js} +3 -3
- package/build/esm/{index-06f14c1f.js → index-d8562ddd.js} +2 -2
- package/build/esm/{index-e8904085.js → index-d93de8df.js} +3 -3
- package/build/esm/{index-a8aef664.js → index-d9669dae.js} +2 -2
- package/build/esm/{index-50a6a5d1.js → index-d97df5ca.js} +1 -1
- package/build/esm/{index-9e8f52d7.js → index-db0c6652.js} +13 -13
- package/build/esm/{index-f16e6912.js → index-db614ab7.js} +10 -10
- package/build/esm/{index-b276a790.js → index-e025cf75.js} +2 -2
- package/build/esm/{index-21f64a4d.js → index-e85f042b.js} +22 -22
- package/build/esm/{index-a670cbef.js → index-e9c562fc.js} +6 -6
- package/build/esm/{index-db00fff1.js → index-f65b5958.js} +31 -31
- package/build/esm/{index-8f1bdb43.js → index-fc392810.js} +3 -3
- package/build/esm/{index-f151c217.js → index-ff297655.js} +3 -3
- package/build/esm/index.js +118 -118
- package/build/esm/{labelSorting-e5d4543c.js → labelSorting-1d68ca24.js} +4 -4
- package/build/esm/lead.js +32 -32
- package/build/esm/{logoIcon-028913dd.js → logoIcon-a128ae7b.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 +30 -23
- package/build/esm/onboardingV2.js +29 -29
- package/build/esm/organisms.js +50 -50
- package/build/esm/{post-e9fe15f8.js → post-7ed3aed7.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.js +30 -30
- package/build/esm/{store-2e2ab65a.js → store-64db2db8.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-bb45e1bd.js → surveyThankyouCard-acb6b584.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-50360420.js → translationsProvider-bb3a592c.js} +1 -1
- package/build/esm/{treePopoverMenu-687d32a0.js → treePopoverMenu-b99aa343.js} +19 -19
- package/build/esm/{types-c1130ac4.js → types-e7f0f0e6.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-4bf8de5d.js → useCategory-0b5d9009.js} +5 -5
- package/build/esm/{useHealthToolCache-2ba765ea.js → useHealthToolCache-4ad3b255.js} +1 -1
- package/build/esm/{useMantineLocale-3cf49008.js → useMantineLocale-61626c6b.js} +6 -6
- package/build/esm/{usePlacesAutocomplete-ed12ac6b.js → usePlacesAutocomplete-20a6a8f5.js} +1 -1
- package/build/esm/{useScreenSize-a92a9419.js → useScreenSize-dfb24ed3.js} +2 -2
- package/build/esm/useTogetherAuthRequiredAction.js +10 -10
- package/build/esm/{utils-7d0b551e.js → utils-585bee19.js} +3 -3
- package/build/esm/{utils-c779dd3d.js → utils-9123af16.js} +2 -2
- package/build/esm/{utils-4efed82e.js → utils-97d8b75d.js} +2 -2
- package/build/esm/{utils-803e26a6.js → utils-9ad7733e.js} +5 -5
- package/build/esm/vaccination.js +21 -21
- package/build/footer.js +21 -21
- package/build/gAssets.js +2 -2
- package/build/{healthTools-e74db509.js → healthTools-2689de84.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-c1f9826a.js → index-0121f112.js} +6 -6
- package/build/{index-4f4ba0a8.js → index-0370f88c.js} +1 -1
- package/build/{index-cb9f7cd1.js → index-091d0ee4.js} +16 -16
- package/build/{index-902998c7.js → index-0bcd08d2.js} +3 -3
- package/build/{index-4534946a.js → index-0debcd0b.js} +1 -1
- package/build/{index-bcb8a9f1.js → index-148ac7f3.js} +2 -2
- package/build/{index-8874551c.js → index-168a4872.js} +143 -237
- package/build/{index-e32d8ee8.js → index-17e2e12a.js} +6 -6
- package/build/{index-c0b2ea34.js → index-21bab332.js} +24 -24
- package/build/{index-3b0a2479.js → index-2317579e.js} +16 -16
- package/build/{index-2aff761c.js → index-297b8388.js} +6 -6
- package/build/{index-6a1e186d.js → index-2e7974ec.js} +13 -13
- package/build/{index-6ade5916.js → index-33b07fdf.js} +1 -1
- package/build/{index-7b7d474a.js → index-33bafb78.js} +16 -16
- package/build/{index-b81c269b.js → index-3979b554.js} +123 -20
- package/build/{index-3406e829.js → index-3c193b1d.js} +1 -1
- package/build/{index-e1eb1ae6.js → index-4297e2d2.js} +18 -18
- package/build/{index-2076e957.js → index-4f794c03.js} +13 -13
- package/build/{index-2dcee304.js → index-54467dd6.js} +1 -1
- package/build/{index-746596a0.js → index-56c981bb.js} +25 -25
- package/build/{index-ba9bce1f.js → index-56e83e18.js} +3 -3
- package/build/{index-71b569d9.js → index-56edb1ae.js} +11 -11
- package/build/{index-3d7e1dd3.js → index-5a43d407.js} +2 -2
- package/build/{index-050a270b.js → index-5c261cb7.js} +7 -7
- package/build/{index-f33829fe.js → index-61d942af.js} +15 -15
- package/build/{index-50c1bfbc.js → index-68534a8b.js} +2 -2
- package/build/{index-2cee03ab.js → index-687855a1.js} +4 -4
- package/build/{index-75f70f79.js → index-68c74dd7.js} +13 -13
- package/build/{index-31b49abb.js → index-69ec6e52.js} +2 -2
- package/build/{index-2c87c546.js → index-71ace722.js} +6 -6
- package/build/{index-47cfb19b.js → index-71dc63e8.js} +3 -3
- package/build/{index-b090eec3.js → index-72058259.js} +2 -2
- package/build/{index-689f4355.js → index-76587bcf.js} +2 -2
- package/build/{index-bd2f99d3.js → index-7d061c3d.js} +2 -2
- package/build/{index-e5314b10.js → index-7dee6e67.js} +7 -7
- package/build/{index-ebd567fe.js → index-7e2357f1.js} +18 -18
- package/build/{index-a2ac5bb2.js → index-8194af64.js} +16 -16
- package/build/{index-d9d0233e.js → index-81accea2.js} +1 -1
- package/build/{index-59c774a0.js → index-865557ca.js} +17 -17
- package/build/{index-2ce4f4eb.js → index-87eec6c7.js} +17 -17
- package/build/{index-5f6c750b.js → index-87f6d8ce.js} +2 -2
- package/build/{index-79cf629b.js → index-8f673da6.js} +5 -5
- package/build/{index-52f518fc.js → index-928d9aff.js} +17 -17
- package/build/{index-20f5cfe4.js → index-9bea86d2.js} +2 -2
- package/build/{index-063f89e4.js → index-a1ab3c38.js} +31 -31
- package/build/{index-7a410af2.js → index-a62f0c8b.js} +2 -2
- package/build/{index-a3c7205b.js → index-a692c157.js} +21 -21
- package/build/{index-ce149746.js → index-abff07a5.js} +5 -5
- package/build/{index-ca77c680.js → index-adbdec7d.js} +1 -1
- package/build/{index-881c47f5.js → index-b00e4125.js} +2 -2
- package/build/{index-40e5c4aa.js → index-b869196c.js} +13 -13
- package/build/{index-4691b825.js → index-bbc82d16.js} +4 -4
- package/build/{index-c41a2a48.js → index-bbfce8f8.js} +2 -2
- package/build/{index-fe93dd8b.js → index-c076230a.js} +3 -3
- package/build/{index-744a87f3.js → index-c0c7a7b6.js} +22 -22
- package/build/{index-dab28688.js → index-c3a80a06.js} +32 -32
- package/build/{index-5dd64df6.js → index-c6649fc5.js} +3 -3
- package/build/{index-3768e39f.js → index-d527246f.js} +1 -1
- package/build/{index-1f234442.js → index-d91dda43.js} +2 -2
- package/build/{index-adb6c6d5.js → index-e2709d60.js} +17 -17
- package/build/{index-8ec9f980.js → index-eb074fc8.js} +10 -10
- package/build/{index-d5adf67a.js → index-ebd7a0c5.js} +2 -2
- package/build/{index-f0a0331f.js → index-ee6767e0.js} +3 -3
- package/build/{index-e6f5b01d.js → index-f04d785d.js} +6 -6
- package/build/{index-24338ab8.js → index-f76b8c31.js} +1 -1
- package/build/index.js +118 -118
- package/build/{labelSorting-7107d76b.js → labelSorting-e244660e.js} +4 -4
- package/build/lead.js +32 -32
- package/build/{logoIcon-05e7d336.js → logoIcon-090d225e.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 +30 -23
- package/build/onboardingV2.js +28 -28
- package/build/organisms.js +50 -50
- package/build/{post-1067b79d.js → post-6658dbed.js} +2 -2
- package/build/profileNavigation.js +19 -19
- package/build/progressBar.js +1 -1
- package/build/pwg.js +22 -22
- package/build/ssoV2.js +28 -28
- package/build/{store-1f54641f.js → store-fc8721c5.js} +3 -3
- package/build/subot.js +35 -35
- package/build/surveyOrPremiumBanner.js +33 -33
- package/build/surveyQuestionCard.js +10 -10
- package/build/{surveyThankyouCard-c7976c91.js → surveyThankyouCard-8cabed2d.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-f5eb62fb.js → translationsProvider-2d5dd98a.js} +1 -1
- package/build/{treePopoverMenu-81dcc2fb.js → treePopoverMenu-f3967158.js} +19 -19
- package/build/{types-5b1915d0.js → types-1dcf62a3.js} +2 -2
- package/build/types.js +2 -2
- package/build/{useCategory-dbc7493b.js → useCategory-8fcd7b65.js} +5 -5
- package/build/{useHealthToolCache-d04dee20.js → useHealthToolCache-c2bb37da.js} +1 -1
- package/build/{useMantineLocale-99977b2c.js → useMantineLocale-666bc54e.js} +6 -6
- package/build/{usePlacesAutocomplete-a724c682.js → usePlacesAutocomplete-34444916.js} +1 -1
- package/build/{useScreenSize-024eee79.js → useScreenSize-b6482e70.js} +2 -2
- package/build/useTogetherAuthRequiredAction.js +10 -10
- package/build/{utils-034228be.js → utils-0b0a39be.js} +5 -5
- package/build/{utils-24309a20.js → utils-3a5a7522.js} +2 -2
- package/build/{utils-81f4dc9f.js → utils-9ca8557d.js} +2 -2
- package/build/{utils-2ad45ccf.js → utils-aeeb93d9.js} +3 -3
- package/build/vaccination.js +21 -21
- package/package.json +1 -1
- /package/build/{BMI_BOYS.percentile.monthly-0f0e8950.js → BMI_BOYS.percentile.monthly-1a71b076.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-6ca5cfd8.js → BMI_BOYS.percentile.weekly-36bfc0f7.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-d5dd265f.js → BMI_BOYS.percentile.yearly-b3097d32.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-af6471a6.js → BMI_BOYS.zscore.monthly-fd0978bb.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-bd53fb96.js → BMI_BOYS.zscore.weekly-d08974bb.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-6a8635e8.js → BMI_BOYS.zscore.yearly-cec8538e.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-b28425d2.js → BMI_GIRLS.percentile.monthly-93b42eaf.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-36193f76.js → BMI_GIRLS.percentile.weekly-f85f037e.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-c37c6bb6.js → BMI_GIRLS.percentile.yearly-9ea78bd7.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-e785f7fb.js → BMI_GIRLS.zscore.monthly-2797c94d.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-988b1c9a.js → BMI_GIRLS.zscore.weekly-69d97813.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-04c202f8.js → BMI_GIRLS.zscore.yearly-680d687c.js} +0 -0
- /package/build/{ChevronDown-3676e93a.js → ChevronDown-496feb9e.js} +0 -0
- /package/build/{Close-43ee1c1b.js → Close-0184a54c.js} +0 -0
- /package/build/{Google-d182206e.js → Google-2169d465.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-03b27715.js → HEAD CIRCUM_BOYS.percentile.monthly-4713fc16.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-196467fc.js → HEAD CIRCUM_BOYS.percentile.weekly-63c4bf80.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-eaf66dde.js → HEAD CIRCUM_BOYS.percentile.yearly-43184733.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-5ddad122.js → HEAD CIRCUM_BOYS.zscore.monthly-2ddacfe0.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-d86fb0f8.js → HEAD CIRCUM_BOYS.zscore.weekly-91f4dd1a.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-b6b3f27f.js → HEAD CIRCUM_BOYS.zscore.yearly-34e97a9d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-2c4f561e.js → HEAD CIRCUM_GIRLS.percentile.monthly-9417d37d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-dd2ff4f7.js → HEAD CIRCUM_GIRLS.percentile.weekly-c8b4ac59.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-1bd44bba.js → HEAD CIRCUM_GIRLS.percentile.yearly-6cc8adf4.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-4bda5db5.js → HEAD CIRCUM_GIRLS.zscore.monthly-6da61cd0.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-d22c28c4.js → HEAD CIRCUM_GIRLS.zscore.weekly-16b57997.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-150114e8.js → HEAD CIRCUM_GIRLS.zscore.yearly-7bb35663.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-5b9bfc7d.js → HEIGHT_BOYS.percentile.monthly-82c92dc6.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-93d468ba.js → HEIGHT_BOYS.percentile.weekly-aaa5fa43.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-b1a7ed6f.js → HEIGHT_BOYS.percentile.yearly-57dacc29.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-8e05042a.js → HEIGHT_BOYS.zscore.monthly-4f99d53f.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-5996389e.js → HEIGHT_BOYS.zscore.weekly-04b6c056.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-974dbf12.js → HEIGHT_BOYS.zscore.yearly-93eac896.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-9ce96b3c.js → HEIGHT_GIRLS.percentile.monthly-37c4b0dc.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-057f240f.js → HEIGHT_GIRLS.percentile.weekly-b473bbc4.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-b1a82027.js → HEIGHT_GIRLS.percentile.yearly-e8f80647.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-c258b871.js → HEIGHT_GIRLS.zscore.monthly-33c21117.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-e7c9b122.js → HEIGHT_GIRLS.zscore.weekly-13203cbd.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-54e927c1.js → HEIGHT_GIRLS.zscore.yearly-2068ae5a.js} +0 -0
- /package/build/{Locale-c6661f1a.js → Locale-8825f9b9.js} +0 -0
- /package/build/{Visible-95461448.js → Visible-e071dea0.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-b92e599b.js → WEIGHT_BOYS.percentile.monthly-f182f1f0.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-9483202e.js → WEIGHT_BOYS.percentile.weekly-0f3ad45b.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-e12a495f.js → WEIGHT_BOYS.percentile.yearly-28de2f75.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-07d3e811.js → WEIGHT_BOYS.zscore.monthly-b0949b89.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-9c41e1c2.js → WEIGHT_BOYS.zscore.weekly-22982b77.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-b5a6b07e.js → WEIGHT_BOYS.zscore.yearly-c085948c.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-a625e91d.js → WEIGHT_GIRLS.percentile.monthly-ba486856.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-50d3d18c.js → WEIGHT_GIRLS.percentile.weekly-932a4f50.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-3dbcab37.js → WEIGHT_GIRLS.percentile.yearly-d6b8f418.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-052de283.js → WEIGHT_GIRLS.zscore.monthly-b8c16406.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-0304ddc7.js → WEIGHT_GIRLS.zscore.weekly-78daa9b3.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-8a4af2fc.js → WEIGHT_GIRLS.zscore.yearly-10aeb859.js} +0 -0
- /package/build/{animation-4181334d.js → animation-a118cf25.js} +0 -0
- /package/build/{constants-1de7952c.js → constants-3efdb800.js} +0 -0
- /package/build/{constants-fde8e1b6.js → constants-61731b15.js} +0 -0
- /package/build/{constants-67f1c1a7.js → constants-9a5d0497.js} +0 -0
- /package/build/{dataTransform-463ec7c6.js → dataTransform-cc57cf21.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-0f987438.js → BMI_BOYS.percentile.monthly-47de2a7a.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-94619144.js → BMI_BOYS.percentile.weekly-6bca2673.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-a3e6a596.js → BMI_BOYS.percentile.yearly-213ec584.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-5a4de73f.js → BMI_BOYS.zscore.monthly-5a25b552.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-e0ccc680.js → BMI_BOYS.zscore.weekly-49016d06.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-6259d48b.js → BMI_BOYS.zscore.yearly-12eda7a5.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-c8a2f7b0.js → BMI_GIRLS.percentile.monthly-467e3dcf.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-84020e17.js → BMI_GIRLS.percentile.weekly-c7744d45.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-b26bc2da.js → BMI_GIRLS.percentile.yearly-156b98b0.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-1cca48d8.js → BMI_GIRLS.zscore.monthly-0e6ca17d.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-2f948ef8.js → BMI_GIRLS.zscore.weekly-cf57120f.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-6951eb0c.js → BMI_GIRLS.zscore.yearly-efa917b9.js} +0 -0
- /package/build/esm/{ChevronDown-3ac1406c.js → ChevronDown-3670e0eb.js} +0 -0
- /package/build/esm/{Close-17ff85ca.js → Close-96d4294c.js} +0 -0
- /package/build/esm/{Google-69447578.js → Google-b2c18960.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-10c43e03.js → HEAD CIRCUM_BOYS.percentile.monthly-a4c3ddd9.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-6d265c6c.js → HEAD CIRCUM_BOYS.percentile.weekly-38946fa3.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-651b7863.js → HEAD CIRCUM_BOYS.percentile.yearly-0c753bd7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-24aebf5f.js → HEAD CIRCUM_BOYS.zscore.monthly-842e49d2.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-85003772.js → HEAD CIRCUM_BOYS.zscore.weekly-71c6832b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-5d799bf4.js → HEAD CIRCUM_BOYS.zscore.yearly-01375d4d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-171262e7.js → HEAD CIRCUM_GIRLS.percentile.monthly-02418bc9.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-7b2f08bb.js → HEAD CIRCUM_GIRLS.percentile.weekly-e2f8af93.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-02ca680f.js → HEAD CIRCUM_GIRLS.percentile.yearly-333033cd.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-78ba93e4.js → HEAD CIRCUM_GIRLS.zscore.monthly-c3142b94.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-1b3d2e84.js → HEAD CIRCUM_GIRLS.zscore.weekly-bc6fa461.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-193adc49.js → HEAD CIRCUM_GIRLS.zscore.yearly-0f10b947.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-c64753ce.js → HEIGHT_BOYS.percentile.monthly-3fd41b38.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-6c28fe0a.js → HEIGHT_BOYS.percentile.weekly-9d8052ba.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-eefdb67a.js → HEIGHT_BOYS.percentile.yearly-6f18ce0c.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-dda9d0d0.js → HEIGHT_BOYS.zscore.monthly-dee89536.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-7f2ba8b0.js → HEIGHT_BOYS.zscore.weekly-c0cc2dab.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-0ffa8881.js → HEIGHT_BOYS.zscore.yearly-d12dccd4.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-e8291e32.js → HEIGHT_GIRLS.percentile.monthly-63f66bdb.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-9fbf10d2.js → HEIGHT_GIRLS.percentile.weekly-9f827854.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-82649515.js → HEIGHT_GIRLS.percentile.yearly-26c3de50.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-8c913348.js → HEIGHT_GIRLS.zscore.monthly-343a3da1.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-f40f4ea2.js → HEIGHT_GIRLS.zscore.weekly-6dcdaa6c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-4490bfe0.js → HEIGHT_GIRLS.zscore.yearly-5751c6f4.js} +0 -0
- /package/build/esm/{Locale-d66f3a35.js → Locale-ba710a0f.js} +0 -0
- /package/build/esm/{Visible-3205e4d9.js → Visible-74f5def3.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-ecd63c2a.js → WEIGHT_BOYS.percentile.monthly-b0b589b2.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-7101cd47.js → WEIGHT_BOYS.percentile.weekly-7eed7acf.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-538c1f35.js → WEIGHT_BOYS.percentile.yearly-35e45eef.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-ef6d5e32.js → WEIGHT_BOYS.zscore.monthly-c894db4a.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-ae26b922.js → WEIGHT_BOYS.zscore.weekly-f718461b.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-8a3e3ad8.js → WEIGHT_BOYS.zscore.yearly-32bde289.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-819eac3b.js → WEIGHT_GIRLS.percentile.monthly-d607406a.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-6e7f4f28.js → WEIGHT_GIRLS.percentile.weekly-d298b34b.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-9da1f5e7.js → WEIGHT_GIRLS.percentile.yearly-47c4cb5b.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-c5fad87a.js → WEIGHT_GIRLS.zscore.monthly-281e954b.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-a2343c87.js → WEIGHT_GIRLS.zscore.weekly-0a217f10.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-9df486d2.js → WEIGHT_GIRLS.zscore.yearly-1a86c778.js} +0 -0
- /package/build/esm/{animation-d78bce40.js → animation-7e7d6c73.js} +0 -0
- /package/build/esm/{constants-44a758f4.js → constants-a52fee48.js} +0 -0
- /package/build/esm/{constants-f0d695be.js → constants-b5509502.js} +0 -0
- /package/build/esm/{constants-bf245cfc.js → constants-ebffca0a.js} +0 -0
- /package/build/esm/{dataTransform-b06549ef.js → dataTransform-6938bbce.js} +0 -0
- /package/build/esm/{index-a0256d40.js → index-0a22d58e.js} +0 -0
- /package/build/esm/{index-7a64cf8c.js → index-132603eb.js} +0 -0
- /package/build/esm/{index-08e71721.js → index-265c4d0d.js} +0 -0
- /package/build/esm/{index-f4fd0a19.js → index-ac66850e.js} +0 -0
- /package/build/esm/{index-e18e8904.js → index-b30847d5.js} +0 -0
- /package/build/esm/{index-23cfa29e.js → index-c71a9339.js} +0 -0
- /package/build/esm/{index-86928e1c.js → index-e5b31a2d.js} +0 -0
- /package/build/esm/{index-553a8acd.js → index-f43fef70.js} +0 -0
- /package/build/esm/{index.styles-f9fed606.js → index.styles-6de3f4f1.js} +0 -0
- /package/build/esm/{localizeNumberFormat-6ed13ae9.js → localizeNumberFormat-65fadc29.js} +0 -0
- /package/build/esm/{normalizeLink-d94e4b86.js → normalizeLink-85ee1c47.js} +0 -0
- /package/build/esm/{number-1af06f44.js → number-9a302b7d.js} +0 -0
- /package/build/esm/{other-40404e5b.js → other-71e7e646.js} +0 -0
- /package/build/esm/{paths-a4786e69.js → paths-1580b8d2.js} +0 -0
- /package/build/esm/{translationsContext-c6c49512.js → translationsContext-695535ef.js} +0 -0
- /package/build/esm/{tslib.es6-c5c88a1a.js → tslib.es6-8ffea6c1.js} +0 -0
- /package/build/esm/{types-81949c69.js → types-6e68824e.js} +0 -0
- /package/build/esm/{useIsInit-30f5f78e.js → useIsInit-34a6b817.js} +0 -0
- /package/build/esm/{useOutsideClick-6787788b.js → useOutsideClick-a446e155.js} +0 -0
- /package/build/esm/{useScrollbarSize-55e0077a.js → useScrollbarSize-d7658955.js} +0 -0
- /package/build/esm/{useUniqueId-f3059730.js → useUniqueId-c3c6ae4f.js} +0 -0
- /package/build/esm/{utils-08e14341.js → utils-f49609e7.js} +0 -0
- /package/build/{index-fc6206bb.js → index-0409ac1e.js} +0 -0
- /package/build/{index-6bf92899.js → index-2120aa52.js} +0 -0
- /package/build/{index-fb29ea2e.js → index-52faedda.js} +0 -0
- /package/build/{index-3310c89c.js → index-5b02b255.js} +0 -0
- /package/build/{index-e8f27a51.js → index-7843eb4e.js} +0 -0
- /package/build/{index-e147368a.js → index-86492756.js} +0 -0
- /package/build/{index-69d6b55a.js → index-a9790ab0.js} +0 -0
- /package/build/{index-bfa52b7e.js → index-bab25f86.js} +0 -0
- /package/build/{index.styles-ad0e2a1c.js → index.styles-40bc93ba.js} +0 -0
- /package/build/{localizeNumberFormat-1e9ffba9.js → localizeNumberFormat-3c17f5c6.js} +0 -0
- /package/build/{normalizeLink-29ad1a48.js → normalizeLink-b7e3ae92.js} +0 -0
- /package/build/{number-a1d1a3e8.js → number-7ad20876.js} +0 -0
- /package/build/{other-a24227cb.js → other-38830f93.js} +0 -0
- /package/build/{paths-ba427992.js → paths-e058cabd.js} +0 -0
- /package/build/{translationsContext-88001140.js → translationsContext-69c22a7c.js} +0 -0
- /package/build/{tslib.es6-2e1003f0.js → tslib.es6-8a4607c6.js} +0 -0
- /package/build/{types-a9fd2be7.js → types-299825cb.js} +0 -0
- /package/build/{useIsInit-aa8fcf21.js → useIsInit-8aecfc9f.js} +0 -0
- /package/build/{useOutsideClick-d6024eed.js → useOutsideClick-da4de7ef.js} +0 -0
- /package/build/{useScrollbarSize-b0a1940c.js → useScrollbarSize-b35f9cdf.js} +0 -0
- /package/build/{useUniqueId-5d011c4f.js → useUniqueId-80f4463f.js} +0 -0
- /package/build/{utils-72b35cc7.js → utils-e2eaaa3c.js} +0 -0
|
@@ -1,51 +1,50 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require('./tslib.es6-
|
|
3
|
+
var tslib_es6 = require('./tslib.es6-8a4607c6.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$8 = require('./index-0370f88c.js');
|
|
6
|
+
var index$5 = require('./index-eb074fc8.js');
|
|
7
|
+
var index$9 = require('./index-76587bcf.js');
|
|
8
|
+
var normalizeLink = require('./normalizeLink-b7e3ae92.js');
|
|
9
|
+
var dataTransform = require('./dataTransform-30fdf23a.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-297b8388.js');
|
|
13
13
|
var throttle = require('lodash/throttle');
|
|
14
|
-
var index$b = require('./index-
|
|
14
|
+
var index$b = require('./index-56edb1ae.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$1 = require('./index-52faedda.js');
|
|
17
|
+
require('./useMantineLocale-666bc54e.js');
|
|
18
|
+
var index = require('./index-72058259.js');
|
|
19
|
+
var index$a = require('./index-33b07fdf.js');
|
|
20
|
+
require('./index.styles-40bc93ba.js');
|
|
21
|
+
require('./translationsContext-69c22a7c.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-e2eaaa3c.js');
|
|
24
|
+
require('./other-38830f93.js');
|
|
25
|
+
require('./index-c6649fc5.js');
|
|
26
|
+
var constants = require('./constants-a64f47e1.js');
|
|
27
27
|
var styled = require('@emotion/styled');
|
|
28
|
-
var navigationProfileButton = require('./index-
|
|
29
|
-
var store = require('./store-
|
|
30
|
-
var
|
|
31
|
-
var
|
|
32
|
-
var constants$1 = require('./constants-1de7952c.js');
|
|
33
|
-
var index$3 = require('./index-2dcee304.js');
|
|
28
|
+
var navigationProfileButton = require('./index-3979b554.js');
|
|
29
|
+
var store = require('./store-fc8721c5.js');
|
|
30
|
+
var constants$1 = require('./constants-3efdb800.js');
|
|
31
|
+
var index$2 = require('./index-54467dd6.js');
|
|
34
32
|
var miscTheme = require('./miscTheme.js');
|
|
35
|
-
var index$
|
|
33
|
+
var index$4 = require('./index-5a43d407.js');
|
|
36
34
|
var core$1 = require('@hhgtech/icons/core');
|
|
37
|
-
var index$
|
|
38
|
-
var useIsInit = require('./useIsInit-
|
|
35
|
+
var index$3 = require('./index-d527246f.js');
|
|
36
|
+
var useIsInit = require('./useIsInit-8aecfc9f.js');
|
|
39
37
|
var miscDefaultClassWrapper = require('./miscDefaultClassWrapper.js');
|
|
40
|
-
var index$
|
|
38
|
+
var index$6 = require('./index-148ac7f3.js');
|
|
41
39
|
var dayjs = require('dayjs');
|
|
42
40
|
var relativeTime = require('dayjs/plugin/relativeTime');
|
|
43
|
-
var index$
|
|
41
|
+
var index$7 = require('./index-ebd7a0c5.js');
|
|
44
42
|
var formatString = require('string-format');
|
|
45
|
-
var
|
|
43
|
+
var constantsDomainLocales = require('./constantsDomainLocales.js');
|
|
44
|
+
var index$c = require('./index-7843eb4e.js');
|
|
46
45
|
var debounce = require('lodash/debounce');
|
|
47
|
-
var Locale = require('./Locale-
|
|
48
|
-
var core$2 = require('./core-
|
|
46
|
+
var Locale = require('./Locale-8825f9b9.js');
|
|
47
|
+
var core$2 = require('./core-0f630c54.js');
|
|
49
48
|
|
|
50
49
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
51
50
|
|
|
@@ -100,100 +99,6 @@ const DisplayWrapper = ({ forceDisplay, mediaQueryKey, children, className, styl
|
|
|
100
99
|
|
|
101
100
|
var styles$2 = {"menuContainer":"y5VJdvw","menuIcon":"oVhOSCy","menuIconWrapper":"pX8OXTM"};
|
|
102
101
|
|
|
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
|
-
|
|
197
102
|
function ClosePopupIcon({ className }) {
|
|
198
103
|
return (React__default["default"].createElement("div", null,
|
|
199
104
|
React__default["default"].createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", className: className },
|
|
@@ -204,8 +109,8 @@ function HamburgerIcon({ siteType, enableSearch, className, style, }) {
|
|
|
204
109
|
if (siteType === 'helloSites') {
|
|
205
110
|
return (React__default["default"].createElement("div", { className: "hamburger-container" },
|
|
206
111
|
React__default["default"].createElement("img", { "data-list-type": "Header", "data-content-type": "Navigation", "data-content-topic": "Hamburger", src: enableSearch
|
|
207
|
-
? index$
|
|
208
|
-
: index$
|
|
112
|
+
? index$1.CommonGAssets.getAssetPath('hamburgerMenuNewWithSearch.svg')
|
|
113
|
+
: index$1.CommonGAssets.getAssetPath('hamburgerMenuNew.svg'), style: Object.assign({ width: '24px', height: '24px' }, style), alt: "home", className: className, loading: "lazy" })));
|
|
209
114
|
}
|
|
210
115
|
/** Marry Baby */
|
|
211
116
|
return (React__default["default"].createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", className: className },
|
|
@@ -420,9 +325,9 @@ const ItemMenu = ({ item, menu }) => {
|
|
|
420
325
|
: null)));
|
|
421
326
|
};
|
|
422
327
|
const NewWrapper = ({ isNew, children, }) => {
|
|
423
|
-
const { t } = index$
|
|
328
|
+
const { t } = index$2.useTranslations();
|
|
424
329
|
if (isNew) {
|
|
425
|
-
return (React__default["default"].createElement(index$
|
|
330
|
+
return (React__default["default"].createElement(index$3.Indicator, { color: "green", label: t('home.navigator.menuItem.new'), size: 20, styles: {
|
|
426
331
|
root: {
|
|
427
332
|
paddingRight: 10,
|
|
428
333
|
},
|
|
@@ -432,22 +337,22 @@ const NewWrapper = ({ isNew, children, }) => {
|
|
|
432
337
|
};
|
|
433
338
|
|
|
434
339
|
const Categories = ({ hrefViewMore, titleBtnViewMore, UrlFE, onClosePopup, menuItems, headingTitle, activeItem, }) => {
|
|
435
|
-
const { siteType } = React.useContext(NavigationContext);
|
|
436
|
-
const { t } = index$
|
|
340
|
+
const { siteType } = React.useContext(navigationProfileButton.NavigationContext);
|
|
341
|
+
const { t } = index$2.useTranslations();
|
|
437
342
|
const theme = core.useMantineTheme();
|
|
438
343
|
return (React__default["default"].createElement(StyledItemGridLeft, null,
|
|
439
344
|
React__default["default"].createElement("div", null,
|
|
440
345
|
React__default["default"].createElement(StyledHeading$1, null,
|
|
441
|
-
React__default["default"].createElement(index$
|
|
442
|
-
menuItems.slice(0, 6).map((item, index$
|
|
346
|
+
React__default["default"].createElement(index$4.Heading, { tag: siteType === 'marryBaby' ? 'h5' : 'h6', as: "p", fontWeight: "semibold" }, headingTitle)), menuItems === null || menuItems === void 0 ? void 0 :
|
|
347
|
+
menuItems.slice(0, 6).map((item, index$2) => {
|
|
443
348
|
const href = (item === null || item === void 0 ? void 0 : item.link)
|
|
444
349
|
? (item === null || item === void 0 ? void 0 : item.link.startsWith('http'))
|
|
445
350
|
? item === null || item === void 0 ? void 0 : item.link
|
|
446
351
|
: `${UrlFE}/${item === null || item === void 0 ? void 0 : item.link.split('/').filter(Boolean).join('/')}/`
|
|
447
352
|
: '/';
|
|
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$
|
|
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$5.isInternalLink(href) && {
|
|
449
354
|
target: '_blank',
|
|
450
|
-
}), { "data-theme": siteType, key: index$
|
|
355
|
+
}), { "data-theme": siteType, key: index$2, onClick: onClosePopup }),
|
|
451
356
|
React__default["default"].createElement("div", { className: "icon" },
|
|
452
357
|
React__default["default"].createElement("img", { loading: "lazy", alt: item.name, src: item.thumbnail || '/images/avatar.jpg', style: {
|
|
453
358
|
width: 32,
|
|
@@ -466,15 +371,15 @@ const Categories = ({ hrefViewMore, titleBtnViewMore, UrlFE, onClosePopup, menuI
|
|
|
466
371
|
item.isMobileAppTool && (React__default["default"].createElement(StyledIconNav, null,
|
|
467
372
|
React__default["default"].createElement(Phone, { className: "phone-icon", size: 16 }))),
|
|
468
373
|
React__default["default"].createElement(StyledIconNav, { className: "arrow-icon" },
|
|
469
|
-
React__default["default"].createElement("img", { src: index$
|
|
374
|
+
React__default["default"].createElement("img", { src: index$1.CommonGAssets.getAssetPath('chevronRight.svg'), style: { width: '16px', height: '16px' }, loading: "lazy" }))));
|
|
470
375
|
})),
|
|
471
376
|
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 },
|
|
472
377
|
React__default["default"].createElement(StyledItemAll, { onClick: onClosePopup, "data-theme": siteType, "data-is-heading-category": false },
|
|
473
378
|
titleBtnViewMore,
|
|
474
379
|
React__default["default"].createElement(StyledImageWrapper, null,
|
|
475
380
|
React__default["default"].createElement("img", { className: "svg", src: siteType === 'marryBaby'
|
|
476
|
-
? index$
|
|
477
|
-
: index$
|
|
381
|
+
? index$1.CommonGAssets.getAssetPath('chevronRightPink.svg')
|
|
382
|
+
: index$1.CommonGAssets.getAssetPath('chevronRightActive.svg'), style: { width: '16px', height: '16px' }, loading: "lazy" })))))));
|
|
478
383
|
};
|
|
479
384
|
|
|
480
385
|
const StyledContainerItems$5 = styled__default["default"].div `
|
|
@@ -640,13 +545,13 @@ const StyledItem$5 = styled__default["default"].a `
|
|
|
640
545
|
|
|
641
546
|
const Item$4 = ({ item, index = 0 }) => {
|
|
642
547
|
var _a;
|
|
643
|
-
const { t } = index$
|
|
644
|
-
const { locale, configs: { statics }, } = React.useContext(NavigationContext);
|
|
548
|
+
const { t } = index$2.useTranslations();
|
|
549
|
+
const { locale, configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
645
550
|
if (!item)
|
|
646
551
|
return null;
|
|
647
552
|
const href = `${statics.CARE_URL_FE}/${(_a = constants$1.LOCALIZED_SLUGS[locale]) === null || _a === void 0 ? void 0 : _a.HOSPITAL}/${item.slug}-${item.id}`;
|
|
648
553
|
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 },
|
|
649
|
-
React__default["default"].createElement("img", { src: index$
|
|
554
|
+
React__default["default"].createElement("img", { src: index$1.CommonGAssets.getAssetPath('navCareCardBg.svg'), alt: "", className: "bg-svg", loading: "lazy" }),
|
|
650
555
|
React__default["default"].createElement(StyledImageCard$3, null,
|
|
651
556
|
React__default["default"].createElement(StyledImageCardInner, null,
|
|
652
557
|
React__default["default"].createElement("img", { loading: "lazy", alt: item.name, src: item.logo || '/images/avatar.jpg' }))),
|
|
@@ -655,7 +560,7 @@ const Item$4 = ({ item, index = 0 }) => {
|
|
|
655
560
|
React__default["default"].createElement(StyledDes$2, null, item.description),
|
|
656
561
|
React__default["default"].createElement(StyledBtnView$2, null,
|
|
657
562
|
t('home.seeMore'),
|
|
658
|
-
React__default["default"].createElement("img", { src: index$
|
|
563
|
+
React__default["default"].createElement("img", { src: index$1.CommonGAssets.getAssetPath('chevronRightActive.svg'), style: {
|
|
659
564
|
width: '16px',
|
|
660
565
|
height: '16px',
|
|
661
566
|
marginTop: '3px',
|
|
@@ -730,19 +635,19 @@ const StyledLeft = styled__default["default"].div `
|
|
|
730
635
|
`;
|
|
731
636
|
|
|
732
637
|
const SpotlightNoData = ({ title, link, description, cta, icon }) => {
|
|
733
|
-
const { siteType } = React.useContext(NavigationContext);
|
|
638
|
+
const { siteType } = React.useContext(navigationProfileButton.NavigationContext);
|
|
734
639
|
return (React__default["default"].createElement(StyledContainerNoPosts, { "data-theme": siteType },
|
|
735
640
|
React__default["default"].createElement(StyledLeft, null,
|
|
736
641
|
React__default["default"].createElement("img", { src: siteType === 'marryBaby'
|
|
737
|
-
? index$
|
|
738
|
-
: index$
|
|
642
|
+
? index$1.CommonGAssets.getAssetPath('navMBSpotlightBgNoData.svg')
|
|
643
|
+
: index$1.CommonGAssets.getAssetPath('navSpotlightBgNoData.svg'), alt: "", loading: "lazy", className: "bg-svg" }),
|
|
739
644
|
React__default["default"].createElement(StyledContentLeft, null, icon && React__default["default"].createElement("img", { src: icon, width: 64, height: 64, loading: "lazy" }))),
|
|
740
645
|
React__default["default"].createElement("div", null,
|
|
741
646
|
title && React__default["default"].createElement(StyledTitle$4, null, title),
|
|
742
647
|
description && React__default["default"].createElement(StyledDescription, null, description),
|
|
743
648
|
cta && (React__default["default"].createElement("div", null,
|
|
744
649
|
React__default["default"].createElement("a", { href: link },
|
|
745
|
-
React__default["default"].createElement(index$
|
|
650
|
+
React__default["default"].createElement(index$6.Button, { theme: siteType, className: "survey-contact-submit", size: "md" }, cta)))))));
|
|
746
651
|
};
|
|
747
652
|
|
|
748
653
|
const StyledItemGridRight = styled__default["default"].div `
|
|
@@ -786,21 +691,21 @@ const StyledViewMore = styled__default["default"].a `
|
|
|
786
691
|
`;
|
|
787
692
|
|
|
788
693
|
const Spotlights = ({ title, viewMore, children, link, dataEventAction = '', }) => {
|
|
789
|
-
const { siteType } = React.useContext(NavigationContext);
|
|
694
|
+
const { siteType } = React.useContext(navigationProfileButton.NavigationContext);
|
|
790
695
|
return (React__default["default"].createElement(StyledItemGridRight, null,
|
|
791
696
|
React__default["default"].createElement(StyledHeading, null,
|
|
792
|
-
React__default["default"].createElement(index$
|
|
697
|
+
React__default["default"].createElement(index$4.Heading, { tag: siteType === 'marryBaby' ? 'h5' : 'h6', as: "p", fontWeight: "semibold" }, title),
|
|
793
698
|
viewMore && (React__default["default"].createElement(StyledViewMore, { "data-event-category": "Hamburger Navigation", "data-event-action": dataEventAction, "data-event-label": link, href: link, "data-theme": siteType },
|
|
794
699
|
viewMore,
|
|
795
700
|
React__default["default"].createElement("img", { src: siteType === 'marryBaby'
|
|
796
|
-
? index$
|
|
797
|
-
: index$
|
|
701
|
+
? index$1.CommonGAssets.getAssetPath('chevronRightPink.svg')
|
|
702
|
+
: index$1.CommonGAssets.getAssetPath('chevronRightActive.svg'), style: { width: '16px', height: '16px' }, loading: "lazy" })))),
|
|
798
703
|
children));
|
|
799
704
|
};
|
|
800
705
|
|
|
801
706
|
const CareSpotlights = ({ spotlights = [], hrefViewMore }) => {
|
|
802
|
-
const { t } = index$
|
|
803
|
-
const { siteType } = React.useContext(NavigationContext);
|
|
707
|
+
const { t } = index$2.useTranslations();
|
|
708
|
+
const { siteType } = React.useContext(navigationProfileButton.NavigationContext);
|
|
804
709
|
return (React__default["default"].createElement(Spotlights, { title: t('home.navigator.menu.spotlightHospitals') }, spotlights.length !== 0 ? (React__default["default"].createElement(React__default["default"].Fragment, null,
|
|
805
710
|
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 })))),
|
|
806
711
|
React__default["default"].createElement("div", { style: {
|
|
@@ -809,7 +714,7 @@ const CareSpotlights = ({ spotlights = [], hrefViewMore }) => {
|
|
|
809
714
|
right: '1rem',
|
|
810
715
|
} },
|
|
811
716
|
React__default["default"].createElement("a", { href: hrefViewMore },
|
|
812
|
-
React__default["default"].createElement(index$
|
|
717
|
+
React__default["default"].createElement(index$6.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$1.CommonGAssets.getAssetPath('community.svg') }))));
|
|
813
718
|
};
|
|
814
719
|
|
|
815
720
|
const StyledContainerItems$4 = styled__default["default"].div `
|
|
@@ -876,14 +781,14 @@ const Item$3 = ({ item, index = 0 }) => {
|
|
|
876
781
|
};
|
|
877
782
|
|
|
878
783
|
const CategorySpotlights = ({ spotlightsList = [], hrefViewMore }) => {
|
|
879
|
-
const { t } = index$
|
|
880
|
-
const { configs: { statics }, } = React.useContext(NavigationContext);
|
|
784
|
+
const { t } = index$2.useTranslations();
|
|
785
|
+
const { configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
881
786
|
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: {
|
|
882
787
|
id: spotlight.id,
|
|
883
788
|
link: statics.HOME_PAGE_URL + spotlight.permalink,
|
|
884
789
|
title: spotlight.name,
|
|
885
790
|
banner: spotlight.image,
|
|
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$
|
|
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$1.CommonGAssets.getAssetPath('Spotlight.svg') }))));
|
|
887
792
|
};
|
|
888
793
|
|
|
889
794
|
const StyledContainerItems$3 = styled__default["default"].div `
|
|
@@ -1006,7 +911,7 @@ const StyledWrapInfo = styled__default["default"].div `
|
|
|
1006
911
|
dayjs__default["default"].extend(relativeTime__default["default"]);
|
|
1007
912
|
const Item$2 = ({ post, index = 0 }) => {
|
|
1008
913
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
1009
|
-
const { siteType, configs: { statics }, } = React.useContext(NavigationContext);
|
|
914
|
+
const { siteType, configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
1010
915
|
if (!post)
|
|
1011
916
|
return null;
|
|
1012
917
|
const communityUrl = [statics.TOGETHER_URL_FE, (_a = post.community) === null || _a === void 0 ? void 0 : _a.slug].join('/');
|
|
@@ -1021,7 +926,7 @@ const Item$2 = ({ post, index = 0 }) => {
|
|
|
1021
926
|
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 },
|
|
1022
927
|
React__default["default"].createElement(StyledContent$1, null,
|
|
1023
928
|
React__default["default"].createElement(StyledInfoUser, null,
|
|
1024
|
-
React__default["default"].createElement(index$
|
|
929
|
+
React__default["default"].createElement(index$7.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) }),
|
|
1025
930
|
React__default["default"].createElement(StyledWrapInfo, null,
|
|
1026
931
|
React__default["default"].createElement(StyledName, { "data-theme": siteType }, (_e = post.author) === null || _e === void 0 ? void 0 : _e.name),
|
|
1027
932
|
React__default["default"].createElement(StyledInfo, null,
|
|
@@ -1036,9 +941,9 @@ const Item$2 = ({ post, index = 0 }) => {
|
|
|
1036
941
|
};
|
|
1037
942
|
|
|
1038
943
|
const CommunitySpotlights = ({ spotlights = [] }) => {
|
|
1039
|
-
const { configs: { statics }, } = React.useContext(NavigationContext);
|
|
1040
|
-
const { t } = index$
|
|
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$
|
|
944
|
+
const { configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
945
|
+
const { t } = index$2.useTranslations();
|
|
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$1.CommonGAssets.getAssetPath('community.svg') }))));
|
|
1042
947
|
};
|
|
1043
948
|
|
|
1044
949
|
const StyledContainerItems$2 = styled__default["default"].div `
|
|
@@ -1058,10 +963,10 @@ const StyledItem$2 = styled__default["default"].a `
|
|
|
1058
963
|
align-items: center;
|
|
1059
964
|
`;
|
|
1060
965
|
|
|
1061
|
-
const Item$1 = ({ item, index: index$
|
|
966
|
+
const Item$1 = ({ item, index: index$2 = 0 }) => {
|
|
1062
967
|
if (!item)
|
|
1063
968
|
return null;
|
|
1064
|
-
return (React__default["default"].createElement(StyledItem$2, { href: item.url, "data-event-category": "Hamburger Navigation", "data-event-action": `Care Click ${index$
|
|
969
|
+
return (React__default["default"].createElement(StyledItem$2, { href: item.url, "data-event-category": "Hamburger Navigation", "data-event-action": `Care Click ${index$2 + 1}`, "data-event-label": item.url },
|
|
1065
970
|
React__default["default"].createElement("img", { loading: "lazy", alt: item.name, src: item.featuredImage || '/images/avatar.jpg', style: {
|
|
1066
971
|
width: '40px',
|
|
1067
972
|
height: '40px',
|
|
@@ -1069,7 +974,7 @@ const Item$1 = ({ item, index: index$1 = 0 }) => {
|
|
|
1069
974
|
React__default["default"].createElement(index.Text, { size: "p2", weight: "regular", style: {
|
|
1070
975
|
marginLeft: 16,
|
|
1071
976
|
} }, item.name),
|
|
1072
|
-
React__default["default"].createElement("img", { src: index$
|
|
977
|
+
React__default["default"].createElement("img", { src: index$1.CommonGAssets.getAssetPath('chevronRightActive.svg'), style: {
|
|
1073
978
|
width: '20px',
|
|
1074
979
|
height: '20px',
|
|
1075
980
|
marginLeft: 'auto',
|
|
@@ -1077,7 +982,7 @@ const Item$1 = ({ item, index: index$1 = 0 }) => {
|
|
|
1077
982
|
};
|
|
1078
983
|
|
|
1079
984
|
const EcomSpotlights = ({ helpfulUrls = [], }) => {
|
|
1080
|
-
const { t } = index$
|
|
985
|
+
const { t } = index$2.useTranslations();
|
|
1081
986
|
// const { siteType } = useContext(NavigationContext)
|
|
1082
987
|
if (!helpfulUrls.length)
|
|
1083
988
|
return null;
|
|
@@ -1223,8 +1128,8 @@ const StyledContentWrapper$1 = styled__default["default"].div `
|
|
|
1223
1128
|
`;
|
|
1224
1129
|
|
|
1225
1130
|
const Item = ({ item, index = 0 }) => {
|
|
1226
|
-
const { t } = index$
|
|
1227
|
-
const { configs: { statics }, } = React.useContext(NavigationContext);
|
|
1131
|
+
const { t } = index$2.useTranslations();
|
|
1132
|
+
const { configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
1228
1133
|
if (!item)
|
|
1229
1134
|
return null;
|
|
1230
1135
|
const link = item.link
|
|
@@ -1234,7 +1139,7 @@ const Item = ({ item, index = 0 }) => {
|
|
|
1234
1139
|
: undefined;
|
|
1235
1140
|
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 },
|
|
1236
1141
|
item.isMobileAppTool && React__default["default"].createElement(Phone, { size: 20, className: "phone-badge" }),
|
|
1237
|
-
React__default["default"].createElement("img", { src: index$
|
|
1142
|
+
React__default["default"].createElement("img", { src: index$1.CommonGAssets.getAssetPath('navToolCardBg.svg'), alt: "", loading: "lazy", className: "bg-svg" }),
|
|
1238
1143
|
React__default["default"].createElement(StyledContentWrapper$1, null,
|
|
1239
1144
|
React__default["default"].createElement(StyledTitle$1, null, item.title),
|
|
1240
1145
|
React__default["default"].createElement(StyledDes$1, null, item.subtitle),
|
|
@@ -1455,8 +1360,8 @@ const StyledWrapName = styled__default["default"].div `
|
|
|
1455
1360
|
`;
|
|
1456
1361
|
|
|
1457
1362
|
const ItemMarryBaby = ({ item, index = 0, color }) => {
|
|
1458
|
-
const { t } = index$
|
|
1459
|
-
const { configs: { statics }, } = React.useContext(NavigationContext);
|
|
1363
|
+
const { t } = index$2.useTranslations();
|
|
1364
|
+
const { configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
1460
1365
|
if (!item)
|
|
1461
1366
|
return null;
|
|
1462
1367
|
const link = item.link
|
|
@@ -1472,7 +1377,7 @@ const ItemMarryBaby = ({ item, index = 0, color }) => {
|
|
|
1472
1377
|
React__default["default"].createElement(StyledDes, null, item.subtitle)),
|
|
1473
1378
|
React__default["default"].createElement(StyledBtnView, null,
|
|
1474
1379
|
React__default["default"].createElement("div", { className: "mobile-only" }, t('home.seeMore')),
|
|
1475
|
-
React__default["default"].createElement("img", { src: index$
|
|
1380
|
+
React__default["default"].createElement("img", { src: index$1.CommonGAssets.getAssetPath('arrowRightGray.svg'), style: {
|
|
1476
1381
|
width: '12px',
|
|
1477
1382
|
height: '12px',
|
|
1478
1383
|
marginTop: '2px',
|
|
@@ -1481,7 +1386,7 @@ const ItemMarryBaby = ({ item, index = 0, color }) => {
|
|
|
1481
1386
|
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 },
|
|
1482
1387
|
React__default["default"].createElement("svg", { className: "bg-svg", width: "74", height: "121", viewBox: "0 0 74 121", fill: "none" },
|
|
1483
1388
|
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" })),
|
|
1484
|
-
React__default["default"].createElement("img", { src: index$
|
|
1389
|
+
React__default["default"].createElement("img", { src: index$1.CommonGAssets.getAssetPath('navMBCardDotBg.svg'), className: "dot-svg", loading: "lazy", alt: "" }),
|
|
1485
1390
|
React__default["default"].createElement(StyledContentWrapper, null,
|
|
1486
1391
|
React__default["default"].createElement("div", { className: "mobile-only" }, renderIcon()),
|
|
1487
1392
|
React__default["default"].createElement("div", { className: "desktop-only" }, renderName())),
|
|
@@ -1490,12 +1395,12 @@ const ItemMarryBaby = ({ item, index = 0, color }) => {
|
|
|
1490
1395
|
};
|
|
1491
1396
|
|
|
1492
1397
|
const ToolSpotlights = ({ hrefViewMore, spotlightHealthTools = [] }) => {
|
|
1493
|
-
const { t } = index$
|
|
1398
|
+
const { t } = index$2.useTranslations();
|
|
1494
1399
|
const marryBabyCardColor = ['pink', 'orange', 'green'];
|
|
1495
|
-
const { siteType } = React.useContext(NavigationContext);
|
|
1400
|
+
const { siteType } = React.useContext(navigationProfileButton.NavigationContext);
|
|
1496
1401
|
return (React__default["default"].createElement(Spotlights, { title: t('home.navigator.menu.spotlightTools') },
|
|
1497
1402
|
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 }))))),
|
|
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$
|
|
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$1.CommonGAssets.getAssetPath('community.svg') }))));
|
|
1499
1404
|
};
|
|
1500
1405
|
|
|
1501
1406
|
const StyledContainerItems = styled__default["default"].div `
|
|
@@ -1510,22 +1415,22 @@ const StyledContainerItems = styled__default["default"].div `
|
|
|
1510
1415
|
`;
|
|
1511
1416
|
|
|
1512
1417
|
const VideoSpotlights = ({ spotlightsList = [], layout = 'default', }) => {
|
|
1513
|
-
const { t } = index$
|
|
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$
|
|
1418
|
+
const { t } = index$2.useTranslations();
|
|
1419
|
+
const { configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
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$5.VideoItem, { key: index, data: Object.assign(Object.assign({}, video), { type: index$8.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$1.CommonGAssets.getAssetPath('Spotlight.svg') }))));
|
|
1516
1421
|
};
|
|
1517
1422
|
|
|
1518
1423
|
const MenuServiceList = ({ closePopup, menuItems = [], projectType, isHomepage = false, }) => {
|
|
1519
1424
|
var _a, _b;
|
|
1520
|
-
const { siteType, ssrMenuContent: { categories, healthTools, care, together, ecom, videos }, activeMenuService, configs: { statics }, locale, } = React.useContext(NavigationContext);
|
|
1521
|
-
const { t } = index$
|
|
1522
|
-
return (React__default["default"].createElement(StyledMasterMenuContainer, { id:
|
|
1425
|
+
const { siteType, ssrMenuContent: { categories, healthTools, care, together, ecom, videos }, activeMenuService, configs: { statics }, locale, customClasses, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
1426
|
+
const { t } = index$2.useTranslations();
|
|
1427
|
+
return (React__default["default"].createElement(StyledMasterMenuContainer, { className: customClasses.categoriesMenu, id: "categories-menu" },
|
|
1523
1428
|
!isHomepage && (React__default["default"].createElement(StyleWrapperSearch, null,
|
|
1524
1429
|
React__default["default"].createElement(NavigtionSearch, { siteType: siteType, projectType: projectType, isMobile: false, isRedirectSearchPage: true }))),
|
|
1525
1430
|
React__default["default"].createElement(StyledWrapper, null,
|
|
1526
1431
|
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 }),
|
|
1527
1432
|
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/` })),
|
|
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$
|
|
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$9.STATIC_PAGES[locale]) === null || _a === void 0 ? void 0 : _a.HEALTH_TOOLS) || ''}` })),
|
|
1529
1434
|
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}` })),
|
|
1530
1435
|
activeMenuService === 'together' && (React__default["default"].createElement(CommunitySpotlights, { spotlights: together === null || together === void 0 ? void 0 : together.spotlights })),
|
|
1531
1436
|
activeMenuService === 'ecom' && (React__default["default"].createElement(EcomSpotlights, { helpfulUrls: ecom === null || ecom === void 0 ? void 0 : ecom.helpfulUrls })),
|
|
@@ -1533,7 +1438,7 @@ const MenuServiceList = ({ closePopup, menuItems = [], projectType, isHomepage =
|
|
|
1533
1438
|
};
|
|
1534
1439
|
|
|
1535
1440
|
const HamburgerMenu = ({ menuItems, isHomepage, projectType }) => {
|
|
1536
|
-
const { siteType } = React.useContext(NavigationContext);
|
|
1441
|
+
const { siteType } = React.useContext(navigationProfileButton.NavigationContext);
|
|
1537
1442
|
const { containerRef, onContainerFocus, onContainerBlur, onButtonMouseDown, onClose, } = navigationProfileButton.useCSSFocusPopupHelper();
|
|
1538
1443
|
return (React__default["default"].createElement(DisplayWrapper, { mediaQueryKey: "mbDown" },
|
|
1539
1444
|
React__default["default"].createElement("header", { className: styles$2.menuContainer },
|
|
@@ -1802,10 +1707,10 @@ const StyleInput = styled__default["default"](index$b.Input) `
|
|
|
1802
1707
|
`;
|
|
1803
1708
|
|
|
1804
1709
|
const SearchInput = ({ id, isMobile = false, isHomepage = false, projectType, isRedirectSearchPage = false, }) => {
|
|
1805
|
-
const { locale, configs: { statics }, siteType, } = React.useContext(NavigationContext);
|
|
1710
|
+
const { locale, configs: { statics }, siteType, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
1806
1711
|
const [keyword, setKeyword] = React.useState('');
|
|
1807
1712
|
const [eventCategoryTracking, setEventCategoryTracking] = React.useState('Search From Another Page');
|
|
1808
|
-
const { t } = index$
|
|
1713
|
+
const { t } = index$2.useTranslations();
|
|
1809
1714
|
const goToSearchPage = (searchValue = '') => {
|
|
1810
1715
|
let sourceParam = '';
|
|
1811
1716
|
if (projectType === 'together') {
|
|
@@ -1848,8 +1753,8 @@ const SearchInput = ({ id, isMobile = false, isHomepage = false, projectType, is
|
|
|
1848
1753
|
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'
|
|
1849
1754
|
? t('navigation.search.input.placeholder')
|
|
1850
1755
|
: t('home.search', {
|
|
1851
|
-
site: index$
|
|
1852
|
-
? index$
|
|
1756
|
+
site: index$9.LOCALE_SPECS[locale || 'en-PH']
|
|
1757
|
+
? index$9.LOCALE_SPECS[locale || 'en-PH'].SITE_NAME
|
|
1853
1758
|
: '',
|
|
1854
1759
|
}), onChange: setKeyword, value: keyword, onKeyDown: (e) => e.key === 'Enter' &&
|
|
1855
1760
|
goToSearchPage(e.target.value), type: "search", onFocus: (e) => {
|
|
@@ -2030,7 +1935,7 @@ const formatVideoItem = (data) => {
|
|
|
2030
1935
|
videoId: data.video_id || '',
|
|
2031
1936
|
url: data.video_url || '',
|
|
2032
1937
|
title: data.video_title || '',
|
|
2033
|
-
type: data.type || index$
|
|
1938
|
+
type: data.type || index$8.VideoType.VIDEO,
|
|
2034
1939
|
totalView: data.total_view || 0,
|
|
2035
1940
|
description: data.description || '',
|
|
2036
1941
|
createTime: data.create_time || '',
|
|
@@ -2061,8 +1966,8 @@ const PopupWrapper = ({ onClosePopup, isDisplay, children, isNavMenu, hideCloseB
|
|
|
2061
1966
|
|
|
2062
1967
|
const MenuCareList = ({ careSpecialties = [], isOpen, onClose, spotlights = [], }) => {
|
|
2063
1968
|
var _a;
|
|
2064
|
-
const { t } = index$
|
|
2065
|
-
const { locale, configs: { statics }, } = React.useContext(NavigationContext);
|
|
1969
|
+
const { t } = index$2.useTranslations();
|
|
1970
|
+
const { locale, configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
2066
1971
|
return (React__default["default"].createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true },
|
|
2067
1972
|
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) => {
|
|
2068
1973
|
if (!specialty)
|
|
@@ -2081,8 +1986,8 @@ const MenuCareList = ({ careSpecialties = [], isOpen, onClose, spotlights = [],
|
|
|
2081
1986
|
};
|
|
2082
1987
|
|
|
2083
1988
|
const MenuCategoriesList = ({ categories = [], spotlightsList = [], onClose, isOpen, }) => {
|
|
2084
|
-
const { t } = index$
|
|
2085
|
-
const { locale, configs: { statics }, } = React.useContext(NavigationContext);
|
|
1989
|
+
const { t } = index$2.useTranslations();
|
|
1990
|
+
const { locale, configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
2086
1991
|
return (React__default["default"].createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true },
|
|
2087
1992
|
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) => {
|
|
2088
1993
|
if (!cat)
|
|
@@ -2097,8 +2002,8 @@ const MenuCategoriesList = ({ categories = [], spotlightsList = [], onClose, isO
|
|
|
2097
2002
|
};
|
|
2098
2003
|
|
|
2099
2004
|
const MenuCommunitiesList = ({ communities = [], onClose, isOpen, spotlights = [], }) => {
|
|
2100
|
-
const { t } = index$
|
|
2101
|
-
const { configs: { statics }, } = React.useContext(NavigationContext);
|
|
2005
|
+
const { t } = index$2.useTranslations();
|
|
2006
|
+
const { configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
2102
2007
|
return (React__default["default"].createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true },
|
|
2103
2008
|
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) => {
|
|
2104
2009
|
if (!community)
|
|
@@ -2114,9 +2019,9 @@ const MenuCommunitiesList = ({ communities = [], onClose, isOpen, spotlights = [
|
|
|
2114
2019
|
|
|
2115
2020
|
const MenuHealthToolsList = ({ locale, onClose, isOpen, spotlightHealthTools = [], healthTools = [], }) => {
|
|
2116
2021
|
var _a;
|
|
2117
|
-
const { t } = index$
|
|
2118
|
-
const { configs: { statics }, } = React.useContext(NavigationContext);
|
|
2119
|
-
const hrefViewMore = `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}${((_a = index$
|
|
2022
|
+
const { t } = index$2.useTranslations();
|
|
2023
|
+
const { configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
2024
|
+
const hrefViewMore = `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}${((_a = index$9.STATIC_PAGES[locale]) === null || _a === void 0 ? void 0 : _a.HEALTH_TOOLS) || ''}`;
|
|
2120
2025
|
return (React__default["default"].createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true },
|
|
2121
2026
|
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) => ({
|
|
2122
2027
|
name: t.title,
|
|
@@ -2132,18 +2037,18 @@ const MenuHealthToolsList = ({ locale, onClose, isOpen, spotlightHealthTools = [
|
|
|
2132
2037
|
};
|
|
2133
2038
|
|
|
2134
2039
|
const MenuVideoList = ({ spotlightsList = [], onClose, isOpen }) => {
|
|
2135
|
-
const { t } = index$
|
|
2136
|
-
const { locale, configs: { statics }, } = React.useContext(NavigationContext);
|
|
2040
|
+
const { t } = index$2.useTranslations();
|
|
2041
|
+
const { locale, configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
2137
2042
|
const listing = React.useMemo(() => [
|
|
2138
2043
|
{
|
|
2139
2044
|
name: t('home.navigator.menu.videos'),
|
|
2140
2045
|
link: `${statics.VIDEO_URL_FE}/video/`,
|
|
2141
|
-
thumbnail: index$
|
|
2046
|
+
thumbnail: index$1.CommonGAssets.getAssetPath('nav-icons/video.svg'),
|
|
2142
2047
|
},
|
|
2143
2048
|
{
|
|
2144
2049
|
name: t('home.navigator.menu.shorts'),
|
|
2145
2050
|
link: `${statics.VIDEO_URL_FE}/short/`,
|
|
2146
|
-
thumbnail: index$
|
|
2051
|
+
thumbnail: index$1.CommonGAssets.getAssetPath('nav-icons/short.svg'),
|
|
2147
2052
|
},
|
|
2148
2053
|
// {
|
|
2149
2054
|
// name: t('home.navigator.menu.podcasts'),
|
|
@@ -2259,7 +2164,7 @@ const InitialDoctor = () => (React__default["default"].createElement("svg", { xm
|
|
|
2259
2164
|
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" })))));
|
|
2260
2165
|
|
|
2261
2166
|
const MenuViewMore = ({ menuItems = [], isOpen, onClose }) => {
|
|
2262
|
-
const { locale, configs: { enableAppIntroPage }, } = React.useContext(NavigationContext);
|
|
2167
|
+
const { locale, configs: { enableAppIntroPage }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
2263
2168
|
const ecomNavItem = menuItems.find((m) => m.id === 'ecom');
|
|
2264
2169
|
const careNavItem = menuItems.find((m) => m.id === 'care');
|
|
2265
2170
|
return (React__default["default"].createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true, hideCloseBtn: true, stylesContainer: {
|
|
@@ -2273,10 +2178,10 @@ const MenuViewMore = ({ menuItems = [], isOpen, onClose }) => {
|
|
|
2273
2178
|
React__default["default"].createElement(StyleButton, { variant: "tertiary", leftIcon: React__default["default"].createElement(InitialDoctor, null) }, careNavItem.name))),
|
|
2274
2179
|
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` },
|
|
2275
2180
|
React__default["default"].createElement(StyleButton, { variant: "tertiary", leftIcon: React__default["default"].createElement(StyleWrapperIcon, null,
|
|
2276
|
-
React__default["default"].createElement(core$1.Logo, { width: 16, height: 15 })) }, `${index$
|
|
2181
|
+
React__default["default"].createElement(core$1.Logo, { width: 16, height: 15 })) }, `${index$9.LOCALE_SPECS[locale || 'en-PH'].SITE_NAME_FORMATTED} App`)))));
|
|
2277
2182
|
};
|
|
2278
2183
|
|
|
2279
|
-
const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent, subHead, projectType, }) => {
|
|
2184
|
+
const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent, subHead, projectType, customClasses, }) => {
|
|
2280
2185
|
var _a, _b;
|
|
2281
2186
|
const { siteType, isMobile = false, locale, sitewideBanner, sitewideBannerShown = true, sponsorComponent, isHomepage = false,
|
|
2282
2187
|
// onBookingClick,
|
|
@@ -2293,7 +2198,7 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
|
|
|
2293
2198
|
// enableProfileEcom,
|
|
2294
2199
|
}, userState: { userInfo }, onLogout,
|
|
2295
2200
|
// userProfileRouterPush,
|
|
2296
|
-
isUserLoading, } = React.useContext(NavigationContext);
|
|
2201
|
+
isUserLoading, slot, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
2297
2202
|
const { triggerLogin } = store.useSSOV2Store();
|
|
2298
2203
|
const { SSO_URL, HOME_PAGE_URL } = statics;
|
|
2299
2204
|
const isSponsored = !!sponsorComponent;
|
|
@@ -2310,7 +2215,7 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
|
|
|
2310
2215
|
: currentLocation;
|
|
2311
2216
|
};
|
|
2312
2217
|
const logoType = siteType === 'helloSites'
|
|
2313
|
-
? (_a = index$
|
|
2218
|
+
? (_a = index$9.LOCALE_SPECS[locale]) === null || _a === void 0 ? void 0 : _a.LOGO_TYPE
|
|
2314
2219
|
: siteType;
|
|
2315
2220
|
const isBrowser = typeof window !== 'undefined';
|
|
2316
2221
|
const scrolling = React.useCallback(throttle__default["default"](() => {
|
|
@@ -2349,10 +2254,10 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
|
|
|
2349
2254
|
scrolling();
|
|
2350
2255
|
}, [isMobile]);
|
|
2351
2256
|
const isShowingSiteWideBanner = sitewideBannerShown && !!sitewideBanner;
|
|
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 },
|
|
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, className: customClasses.wrapper },
|
|
2353
2258
|
sitewideBanner,
|
|
2354
|
-
React__default["default"].createElement(StyledHeader, { "data-site-type": siteType },
|
|
2355
|
-
React__default["default"].createElement(StyledLeftGroup, { "data-site-type": siteType },
|
|
2259
|
+
React__default["default"].createElement(StyledHeader, { className: customClasses.header, "data-site-type": siteType },
|
|
2260
|
+
React__default["default"].createElement(StyledLeftGroup, { className: customClasses.leftGroup, "data-site-type": siteType },
|
|
2356
2261
|
isMobile && (React__default["default"].createElement(HamburgerMenu, { menuItems: menuItems.filter((m) => !!m.link), isHomepage: isHomepage, projectType: projectType })),
|
|
2357
2262
|
logoComponent || (React__default["default"].createElement("a", { style: {
|
|
2358
2263
|
flexShrink: 0,
|
|
@@ -2360,19 +2265,20 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
|
|
|
2360
2265
|
React__default["default"].createElement("div", null,
|
|
2361
2266
|
React__default["default"].createElement(index$d.Logo, { style: {
|
|
2362
2267
|
display: 'flex',
|
|
2363
|
-
}, type: logoType, badge: locale === 'id-ID' && (React__default["default"].createElement("img", { src: index$
|
|
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 })),
|
|
2268
|
+
}, type: logoType, badge: locale === 'id-ID' && (React__default["default"].createElement("img", { src: index$1.CommonGAssets.getAssetPath('sehat-badge.png'), width: "56", height: "23", loading: "lazy" })), dateForSeasonal: new Date(), locale: locale, key: typeof window !== 'undefined' ? 'client' : 'server' })))),
|
|
2269
|
+
!isMobile && (React__default["default"].createElement(React__default["default"].Fragment, null, siteType === 'marryBaby' ? (React__default["default"].createElement(NavigationMenu, { menuItems: menuItems, originalMenuItems: menuItems, className: customClasses.navMenu })) : (enableSearchBar && (React__default["default"].createElement(NavigtionSearch, { siteType: siteType, projectType: projectType, isMobile: isMobile })))))),
|
|
2270
|
+
React__default["default"].createElement(StyledRightGroup, { className: customClasses.rightGroup, "data-site-type": siteType },
|
|
2271
|
+
!isMobile && siteType !== 'marryBaby' && (React__default["default"].createElement(NavigationMenu, { menuItems: menuItems.filter((m) => m.id !== 'ecom' && m.id !== 'care'), originalMenuItems: menuItems, className: customClasses.navMenu })),
|
|
2367
2272
|
React__default["default"].createElement(StyledProfileNavGroup, null,
|
|
2368
2273
|
languageMenu,
|
|
2369
2274
|
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" },
|
|
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$
|
|
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$9.LOCALE_SPECS[locale]) === null || _b === void 0 ? void 0 :
|
|
2371
2276
|
_b.SITE_NAME,
|
|
2372
2277
|
" AI"))),
|
|
2278
|
+
slot,
|
|
2373
2279
|
React__default["default"].createElement(navigationProfileButton.NavigationProfileButton, { userInfo: userInfo, siteType: siteType, onLoginClick: onLoginClick || goToLogin,
|
|
2374
2280
|
// SSO_URL={normalizeLink(statics.SSO_URL)}
|
|
2375
|
-
currentUrl: currentUrl, onLogout: onLogout, isLoading: isUserLoading, locale: locale, enableAppIntroPage: enableAppIntroPage, isMobile: isMobile }),
|
|
2281
|
+
currentUrl: currentUrl, onLogout: onLogout, isLoading: isUserLoading, locale: locale, enableAppIntroPage: enableAppIntroPage, isMobile: isMobile, className: customClasses.profileBtn }),
|
|
2376
2282
|
cartNumber !== undefined && (React__default["default"].createElement(React__default["default"].Fragment, null,
|
|
2377
2283
|
!isMobile && (React__default["default"].createElement("hr", { style: {
|
|
2378
2284
|
height: 20,
|
|
@@ -2396,9 +2302,9 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
|
|
|
2396
2302
|
};
|
|
2397
2303
|
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' : ''}` },
|
|
2398
2304
|
React__default["default"].createElement(SearchInput, { id: "desktop", projectType: projectType, isMobile: isMobile, isHomepage: isHomepage, isRedirectSearchPage: isRedirectSearchPage })));
|
|
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%' } },
|
|
2305
|
+
const NavigationMenu = ({ menuItems, originalMenuItems, className, }) => {
|
|
2306
|
+
const { siteType, locale, ssrMenuContent: { categories, healthTools, care, together, videos }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
2307
|
+
return (React__default["default"].createElement(DisplayWrapper, { className: className, mediaQueryKey: "mbUp", style: { height: '100%' } },
|
|
2402
2308
|
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 }))))));
|
|
2403
2309
|
};
|
|
2404
2310
|
|
|
@@ -2462,7 +2368,7 @@ const useHeaderHeight = ({ hasSponsoredBanners, isSponsored, isShowingSiteWideBa
|
|
|
2462
2368
|
};
|
|
2463
2369
|
|
|
2464
2370
|
const useInsider = () => {
|
|
2465
|
-
const { isFirstLogin, userState } = React.useContext(NavigationContext);
|
|
2371
|
+
const { isFirstLogin, userState } = React.useContext(navigationProfileButton.NavigationContext);
|
|
2466
2372
|
const { userInfo } = userState;
|
|
2467
2373
|
React.useEffect(() => {
|
|
2468
2374
|
if (userInfo === null || userInfo === void 0 ? void 0 : userInfo.id) {
|
|
@@ -2499,8 +2405,8 @@ const useInsider = () => {
|
|
|
2499
2405
|
};
|
|
2500
2406
|
|
|
2501
2407
|
const useNavServices = () => {
|
|
2502
|
-
const { t } = index$
|
|
2503
|
-
const { siteType, locale, configs: { enableNavDiscover, enableNavHealthTools, enableNavCare, enableNavTogether, enableNavEcom, enableNavVideo, enableAppIntroPage, statics, }, } = React.useContext(NavigationContext);
|
|
2408
|
+
const { t } = index$2.useTranslations();
|
|
2409
|
+
const { siteType, locale, configs: { enableNavDiscover, enableNavHealthTools, enableNavCare, enableNavTogether, enableNavEcom, enableNavVideo, enableAppIntroPage, statics, }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
2504
2410
|
const isMarryBaby = siteType === 'marryBaby';
|
|
2505
2411
|
const enableNavViewMore = enableAppIntroPage || enableNavCare || enableNavEcom;
|
|
2506
2412
|
const services = React.useMemo(() => {
|
|
@@ -2513,8 +2419,8 @@ const useNavServices = () => {
|
|
|
2513
2419
|
link: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}/categories/`,
|
|
2514
2420
|
niceName: '',
|
|
2515
2421
|
thumbnail: isMarryBaby
|
|
2516
|
-
? index$
|
|
2517
|
-
: index$
|
|
2422
|
+
? index$1.CommonGAssets.getAssetPath('categories-mb.svg')
|
|
2423
|
+
: index$1.CommonGAssets.getAssetPath('nav-icons/discover.svg'),
|
|
2518
2424
|
popupType: 'categories',
|
|
2519
2425
|
});
|
|
2520
2426
|
enableNavVideo &&
|
|
@@ -2523,17 +2429,17 @@ const useNavServices = () => {
|
|
|
2523
2429
|
id: 'video',
|
|
2524
2430
|
link: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}/videos/`,
|
|
2525
2431
|
niceName: '',
|
|
2526
|
-
thumbnail: index$
|
|
2432
|
+
thumbnail: index$1.CommonGAssets.getAssetPath('nav-icons/video.svg'),
|
|
2527
2433
|
popupType: 'video',
|
|
2528
2434
|
});
|
|
2529
2435
|
enableNavHealthTools &&
|
|
2530
2436
|
_services.push({
|
|
2531
2437
|
name: t('home.navigator.menuItem.healthTools'),
|
|
2532
2438
|
id: 'tools',
|
|
2533
|
-
link: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}${((_a = index$
|
|
2439
|
+
link: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}${((_a = index$9.STATIC_PAGES[locale]) === null || _a === void 0 ? void 0 : _a.HEALTH_TOOLS) || ''}`,
|
|
2534
2440
|
thumbnail: isMarryBaby
|
|
2535
|
-
? index$
|
|
2536
|
-
: index$
|
|
2441
|
+
? index$1.CommonGAssets.getAssetPath('healthtools-mb.svg')
|
|
2442
|
+
: index$1.CommonGAssets.getAssetPath('nav-icons/health-tools.svg'),
|
|
2537
2443
|
popupType: 'tools',
|
|
2538
2444
|
});
|
|
2539
2445
|
enableNavTogether &&
|
|
@@ -2542,8 +2448,8 @@ const useNavServices = () => {
|
|
|
2542
2448
|
id: 'together',
|
|
2543
2449
|
link: normalizeLink.normalizeLinkSlash(statics.TOGETHER_URL_FE + '/'),
|
|
2544
2450
|
thumbnail: isMarryBaby
|
|
2545
|
-
? index$
|
|
2546
|
-
: index$
|
|
2451
|
+
? index$1.CommonGAssets.getAssetPath('community-mb.svg')
|
|
2452
|
+
: index$1.CommonGAssets.getAssetPath('nav-icons/community.svg'),
|
|
2547
2453
|
popupType: 'together',
|
|
2548
2454
|
});
|
|
2549
2455
|
enableNavEcom &&
|
|
@@ -2551,7 +2457,7 @@ const useNavServices = () => {
|
|
|
2551
2457
|
name: t('home.navigator.menuItem.helloEcom'),
|
|
2552
2458
|
id: 'ecom',
|
|
2553
2459
|
link: normalizeLink.normalizeLinkSlash(statics.HOME_PAGE_URL + '/shop'),
|
|
2554
|
-
thumbnail: index$
|
|
2460
|
+
thumbnail: index$1.CommonGAssets.getAssetPath('nav-icons/shop.svg'),
|
|
2555
2461
|
popupType: null,
|
|
2556
2462
|
});
|
|
2557
2463
|
enableNavCare &&
|
|
@@ -2559,7 +2465,7 @@ const useNavServices = () => {
|
|
|
2559
2465
|
name: t('home.navigator.menuItem.helloCare'),
|
|
2560
2466
|
id: 'care',
|
|
2561
2467
|
link: normalizeLink.normalizeLinkSlash(statics.HOME_PAGE_URL + '/care'),
|
|
2562
|
-
thumbnail: index$
|
|
2468
|
+
thumbnail: index$1.CommonGAssets.getAssetPath('nav-icons/care.svg'),
|
|
2563
2469
|
popupType: locale === 'id-ID' ? 'care' : null,
|
|
2564
2470
|
});
|
|
2565
2471
|
enableNavViewMore &&
|
|
@@ -2608,7 +2514,7 @@ const StyledContainer = styled__default["default"].div `
|
|
|
2608
2514
|
|
|
2609
2515
|
const _NavigationV2 = (props) => {
|
|
2610
2516
|
var _a, _b;
|
|
2611
|
-
const { isMobile, locale, onTopBarAppears, languageOptions, sponsorComponent, sitewideBanner, sitewideBannerShown, className, logoComponent, subHead, projectType, } = props;
|
|
2517
|
+
const { isMobile, locale, onTopBarAppears, languageOptions, sponsorComponent, sitewideBanner, sitewideBannerShown, className, logoComponent, subHead, projectType, customClasses = {}, } = props;
|
|
2612
2518
|
const services = useNavServices();
|
|
2613
2519
|
useInsider();
|
|
2614
2520
|
const isShowingSiteWideBanner = sitewideBannerShown && !!sitewideBanner;
|
|
@@ -2626,11 +2532,11 @@ const _NavigationV2 = (props) => {
|
|
|
2626
2532
|
'--header-bottom': headerBottom + 'px',
|
|
2627
2533
|
}, className: className },
|
|
2628
2534
|
React__default["default"].createElement("section", { ref: headerRef },
|
|
2629
|
-
React__default["default"].createElement(NavigationBar, { menuItems: services, onTopBarAppears: onTopBarAppears, logoComponent: logoComponent, subHead: subHead, projectType: projectType, languageMenu: React__default["default"].createElement(index$
|
|
2535
|
+
React__default["default"].createElement(NavigationBar, { menuItems: services, onTopBarAppears: onTopBarAppears, logoComponent: logoComponent, subHead: subHead, projectType: projectType, languageMenu: React__default["default"].createElement(index$5.LanguageSwitcher, { languageOptions: languageOptions, locale: locale }), customClasses: customClasses }))));
|
|
2630
2536
|
};
|
|
2631
2537
|
const NavigationV2 = (props) => {
|
|
2632
2538
|
const propsWithDefaultValues = Object.assign({ siteType: 'helloSites', projectType: 'discover', locale: 'vi-VN', activeMenuService: 'categories', ssrMenuContent: {} }, props);
|
|
2633
|
-
return (React__default["default"].createElement(NavigationProvider, Object.assign({}, propsWithDefaultValues),
|
|
2539
|
+
return (React__default["default"].createElement(navigationProfileButton.NavigationProvider, Object.assign({}, propsWithDefaultValues),
|
|
2634
2540
|
React__default["default"].createElement(_NavigationV2, Object.assign({}, propsWithDefaultValues))));
|
|
2635
2541
|
};
|
|
2636
2542
|
const getNavMenuContent = (locale) => tslib_es6.__awaiter(void 0, void 0, void 0, function* () {
|
|
@@ -2661,7 +2567,7 @@ const getNavMenuContent = (locale) => tslib_es6.__awaiter(void 0, void 0, void 0
|
|
|
2661
2567
|
};
|
|
2662
2568
|
}
|
|
2663
2569
|
catch (_1) { }
|
|
2664
|
-
if (isMarryBaby || index$
|
|
2570
|
+
if (isMarryBaby || index$9.TOGETHER_LOCALES.includes(locale)) {
|
|
2665
2571
|
try {
|
|
2666
2572
|
const [communities, spotlightPosts] = yield Promise.all([
|
|
2667
2573
|
fetch(normalizeLink.normalizeLinkSlash(`${normalizeLink.getTogetherApiDomain()}/api/v1/community?website_url=https://${constantsDomainLocales.domainLocales[locale]}`)).then((res) => res.json()),
|
|
@@ -2674,7 +2580,7 @@ const getNavMenuContent = (locale) => tslib_es6.__awaiter(void 0, void 0, void 0
|
|
|
2674
2580
|
}
|
|
2675
2581
|
catch (_2) { }
|
|
2676
2582
|
}
|
|
2677
|
-
if (index$
|
|
2583
|
+
if (index$9.CARE_LOCALES.includes(locale)) {
|
|
2678
2584
|
try {
|
|
2679
2585
|
const [specialties, hospitals] = yield Promise.all([
|
|
2680
2586
|
fetch(normalizeLink.normalizeLinkSlash(normalizeLink.getCareApiDomain() +
|