@hhgtech/hhg-components 1.29.497 → 1.29.499
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-2efad9b5.js → InputDate-92bb5571.js} +5 -5
- package/build/{LastPeriod-ed1ef012.js → LastPeriod-dee40583.js} +1 -1
- package/build/{MobileBottomNavigationIcon-ea6afca1.js → MobileBottomNavigationIcon-b141fa03.js} +3 -3
- package/build/{Spinner-fa6dd796.js → Spinner-3f106d7a.js} +1 -1
- package/build/{WhatsApp-147538b5.js → WhatsApp-a66baefd.js} +1 -1
- package/build/adapters.js +20 -20
- package/build/atoms.js +50 -50
- package/build/babyGrowth.js +86 -86
- package/build/cache.js +2 -2
- package/build/care.js +18 -18
- package/build/careBookingSearchBar.js +14 -14
- package/build/careBookingSearchBarV2.js +15 -15
- package/build/components/atoms/logo/logoIcon.d.ts +2 -1
- package/build/components/navigationV2/index.d.ts +1 -0
- package/build/components/organisms/articleCard/index.d.ts +1 -0
- package/build/components.js +104 -104
- package/build/{constants-a4b17fbc.js → constants-3c1aca64.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-d2d13ecb.js → core-ead610e2.js} +1 -1
- package/build/{dataTransform-a3e6afd9.js → dataTransform-390e4345.js} +1 -1
- package/build/ecom.js +5 -5
- package/build/{editor-c33a851e.js → editor-f2056be5.js} +11 -11
- package/build/embeddedHeathToolCards_babyGrowth.js +25 -25
- package/build/embeddedHeathToolCards_babyPoop.js +22 -22
- package/build/embeddedHeathToolCards_babyVaccine.js +24 -24
- package/build/embeddedHeathToolCards_bmi_bmi.js +27 -27
- package/build/embeddedHeathToolCards_bmrBmr.js +27 -27
- package/build/embeddedHeathToolCards_dueDate_dueDate.js +24 -24
- package/build/embeddedHeathToolCards_ovulation_ovulation.js +24 -24
- package/build/embeddedHeathToolCards_pwg_pwg.js +28 -28
- package/build/embeddedHeathToolCards_targetHeartRate.js +29 -29
- package/build/esm/{InputDate-49f168d6.js → InputDate-6694d8d1.js} +5 -5
- package/build/esm/{LastPeriod-edef7675.js → LastPeriod-b727dea9.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-4dc6bf69.js → MobileBottomNavigationIcon-2f62d3b8.js} +3 -3
- package/build/esm/{Spinner-7add3acc.js → Spinner-13bea0fd.js} +1 -1
- package/build/esm/{WhatsApp-a20383dc.js → WhatsApp-9c86177f.js} +1 -1
- package/build/esm/adapters.js +20 -20
- package/build/esm/atoms.js +50 -50
- package/build/esm/babyGrowth.js +86 -86
- package/build/esm/cache.js +2 -2
- package/build/esm/care.js +18 -18
- package/build/esm/careBookingSearchBar.js +14 -14
- package/build/esm/careBookingSearchBarV2.js +15 -15
- package/build/esm/components/atoms/logo/logoIcon.d.ts +2 -1
- package/build/esm/components/navigationV2/index.d.ts +1 -0
- package/build/esm/components/organisms/articleCard/index.d.ts +1 -0
- package/build/esm/components.js +104 -104
- package/build/esm/{constants-8c956e09.js → constants-ab276b01.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-43522474.js → core-dd57b242.js} +1 -1
- package/build/esm/{dataTransform-9fb697ea.js → dataTransform-90ce18cb.js} +2 -2
- package/build/esm/ecom.js +5 -5
- package/build/esm/{editor-f6350408.js → editor-ae429f47.js} +11 -11
- package/build/esm/embeddedHeathToolCards_babyGrowth.js +25 -25
- package/build/esm/embeddedHeathToolCards_babyPoop.js +22 -22
- package/build/esm/embeddedHeathToolCards_babyVaccine.js +24 -24
- package/build/esm/embeddedHeathToolCards_bmi_bmi.js +27 -27
- package/build/esm/embeddedHeathToolCards_bmrBmr.js +27 -27
- package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +24 -24
- package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +24 -24
- package/build/esm/embeddedHeathToolCards_pwg_pwg.js +28 -28
- package/build/esm/embeddedHeathToolCards_targetHeartRate.js +29 -29
- package/build/esm/footer.js +22 -22
- package/build/esm/gAssets.js +2 -2
- package/build/esm/{healthTools-5fc1b0a3.js → healthTools-9b3f4889.js} +1 -1
- package/build/esm/healthToolsCardWrapper.js +20 -20
- package/build/esm/healthToolsForm.js +35 -35
- package/build/esm/hooks.js +13 -13
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/icons/HamburgerWhite.d.ts +4 -0
- package/build/esm/icons/LoginBlueWhite.d.ts +4 -0
- package/build/esm/icons/StarPair.d.ts +4 -0
- package/build/esm/icons/UserPlain.d.ts +4 -0
- package/build/esm/icons/index.d.ts +5 -1
- package/build/esm/{index-102e63ae.js → index-05ad91dd.js} +7 -7
- package/build/esm/{index-efd12484.js → index-1229d870.js} +14 -14
- package/build/esm/{index-ce322828.js → index-125ed62a.js} +17 -17
- package/build/esm/{index-4d423d1e.js → index-1854b1c0.js} +9 -9
- package/build/esm/{index-d86419e2.js → index-18f98f85.js} +2 -2
- package/build/esm/{index-c6ef3b57.js → index-19d452f9.js} +2 -2
- package/build/esm/{index-d76e4992.js → index-1caa020e.js} +14 -14
- package/build/esm/{index-d34b6fd5.js → index-1e638b1e.js} +2 -2
- package/build/esm/{index-e4e5afca.js → index-2007b4e0.js} +8 -8
- package/build/esm/{index-5df7467e.js → index-245d87cd.js} +26 -26
- package/build/esm/{index-4a0d6ffb.js → index-3760695d.js} +2 -2
- package/build/esm/{index-584bfe74.js → index-40d0597f.js} +7 -7
- package/build/esm/{index-7dbfc9ee.js → index-430797fd.js} +1 -1
- package/build/esm/{index-1570165a.js → index-48db2b59.js} +1 -1
- package/build/esm/{index-f1e3e61f.js → index-494a7901.js} +1 -1
- package/build/esm/{index-e563e710.js → index-4bf11885.js} +1 -1
- package/build/esm/{index-de53bdd9.js → index-4c38fa24.js} +16 -16
- package/build/esm/{index-76e8af5e.js → index-4db09153.js} +3 -3
- package/build/esm/{index-aa8b53ca.js → index-4f2c284f.js} +14 -14
- package/build/esm/{index-04d9d156.js → index-51185136.js} +2 -2
- package/build/esm/{index-6bea7861.js → index-5281d35a.js} +3 -3
- package/build/esm/{index-75e476c1.js → index-52f97689.js} +2 -2
- package/build/esm/{index-8e47a854.js → index-547265dd.js} +13 -13
- package/build/esm/{index-47281858.js → index-56b777ec.js} +4 -4
- package/build/esm/{index-0e2ad036.js → index-589914f2.js} +1 -1
- package/build/esm/{index-2ef6ccc5.js → index-5b2e901d.js} +6 -6
- package/build/esm/{index-1789481f.js → index-5d9946e2.js} +6 -6
- package/build/esm/{index-edd1c5ca.js → index-5ffebf01.js} +16 -16
- package/build/esm/{index-314619bc.js → index-60a08b5d.js} +2 -2
- package/build/esm/{index-478529bb.js → index-63d42466.js} +13 -13
- package/build/esm/{index-5d8d9c62.js → index-6568e709.js} +5 -5
- package/build/esm/{index-9726a3d2.js → index-6824b2e7.js} +1 -1
- package/build/esm/{index-8f4f6749.js → index-6dc0524e.js} +16 -16
- package/build/esm/{index-a596ab57.js → index-6f918183.js} +15 -15
- package/build/esm/{index-9ee2d716.js → index-7c5eee02.js} +10 -10
- package/build/esm/{index-800f027c.js → index-81d10993.js} +3 -3
- package/build/esm/{index-ccfc570e.js → index-8350d597.js} +19 -19
- package/build/esm/{index-db6803a2.js → index-85230432.js} +7 -7
- package/build/esm/{index-2e3b0511.js → index-8952f5d8.js} +4 -4
- package/build/esm/{index-f0de34e8.js → index-8a8125bd.js} +5 -5
- package/build/esm/{index-e9286d30.js → index-901ec0f7.js} +2 -2
- package/build/esm/{index-a4637d2d.js → index-9307bdad.js} +2 -2
- package/build/esm/{index-afcf3d86.js → index-9af91558.js} +2 -2
- package/build/esm/{index-00eea2dc.js → index-9cb8daf8.js} +2 -2
- package/build/esm/{index-faaeaf15.js → index-9dc363c7.js} +32 -32
- package/build/esm/{index-b8e3b921.js → index-a156dd1e.js} +21 -21
- package/build/esm/{index-618ab3c4.js → index-a3c2a8ac.js} +15 -15
- package/build/esm/{index-35eade4a.js → index-a4ef4347.js} +3 -3
- package/build/esm/{index-9334abf7.js → index-a9acb878.js} +18 -18
- package/build/esm/{index-23386ea1.js → index-aa4fa7ef.js} +9 -9
- package/build/esm/{index-02599b85.js → index-ad2cfbce.js} +2 -2
- package/build/esm/{index-f23dcdff.js → index-b002e38a.js} +3 -3
- package/build/esm/{index-c6456ed7.js → index-b1828858.js} +2 -2
- package/build/esm/{index-2614b7e2.js → index-ba81d449.js} +6 -6
- package/build/esm/{index-8b657aa5.js → index-bab10634.js} +25 -25
- package/build/esm/{index-cfe4aad9.js → index-c3e92ebc.js} +3 -3
- package/build/esm/{index-a95d7c24.js → index-ce40d313.js} +22 -22
- package/build/esm/{index-8ab1225b.js → index-d44d0701.js} +2 -2
- package/build/esm/{index-5e6f8fcb.js → index-d678469e.js} +14 -14
- package/build/esm/{index-4c4c5db9.js → index-dca567e0.js} +23 -23
- package/build/esm/{index-05071268.js → index-dcd3cef8.js} +49 -17
- package/build/esm/{index-f35b1126.js → index-dff7f065.js} +2 -2
- package/build/esm/{index-a0cd8d6a.js → index-e11cfbd5.js} +744 -714
- package/build/esm/{index-e5316142.js → index-e1e3cfe1.js} +1 -1
- package/build/esm/{index-9d22028c.js → index-e35ea957.js} +2 -2
- package/build/esm/{index-3076e3c0.js → index-e81be19b.js} +18 -18
- package/build/esm/{index-51262156.js → index-e82fc225.js} +32 -32
- package/build/esm/{index-e574dac5.js → index-e9e6af1c.js} +16 -16
- package/build/esm/{index-5765326c.js → index-f1596c12.js} +3 -3
- package/build/esm/{index-78b71928.js → index-f303639b.js} +3 -3
- package/build/esm/{index-a13e5bfe.js → index-f696d20a.js} +3 -3
- package/build/esm/{index-659efdaf.js → index-ffc5eb39.js} +4 -4
- package/build/esm/index.css +1 -1
- package/build/esm/index.js +130 -130
- package/build/esm/{labelSorting-bdb309b9.js → labelSorting-481bb5e6.js} +4 -4
- package/build/esm/lead.js +35 -35
- package/build/esm/{logoIcon-6c8720d4.js → logoIcon-287fc34d.js} +6 -5
- package/build/esm/mantine.js +27 -27
- package/build/esm/misc.js +19 -19
- package/build/esm/miscGetDynamicHealthTool.js +4 -4
- package/build/esm/miscGetSocialList.js +8 -8
- package/build/esm/miscScreenSizeContext.js +1 -1
- package/build/esm/mobileBottomNavigation.js +5 -5
- package/build/esm/mobileBottomNavigationIcon.js +5 -5
- package/build/esm/molecules.js +78 -78
- package/build/esm/moleculesArticleCard.js +6 -6
- package/build/esm/moleculesArticleCardV2.js +17 -17
- package/build/esm/navigation.js +47 -47
- package/build/esm/navigationLogoutPopup.js +11 -11
- package/build/esm/navigationProfileButton.js +28 -28
- package/build/esm/onboardingV2.js +30 -30
- package/build/esm/organisms.js +57 -57
- package/build/esm/{post-a0493a22.js → post-232c3e19.js} +2 -2
- package/build/esm/profileNavigation.js +20 -20
- package/build/esm/progressBar.js +1 -1
- package/build/esm/pwg.js +23 -23
- package/build/esm/ssoV2.js +31 -31
- package/build/esm/{store-06d924e7.js → store-7832df39.js} +3 -3
- package/build/esm/subot.js +40 -40
- package/build/esm/surveyOrPremiumBanner.js +34 -34
- package/build/esm/surveyQuestionCard.js +11 -11
- package/build/esm/{surveyThankyouCard-19cb9db9.js → surveyThankyouCard-f81cf0d2.js} +5 -5
- package/build/esm/together.js +57 -57
- package/build/esm/togetherApiUtils.js +4 -4
- package/build/esm/togetherAtoms.js +31 -31
- package/build/esm/togetherComponentGlobalContext.js +4 -4
- package/build/esm/togetherMolecules.js +52 -52
- package/build/esm/togetherMoleculesCardAuthor.js +29 -29
- package/build/esm/togetherMoleculesPostImagePreview.js +11 -11
- package/build/esm/togetherMoleculesProfileDetail.js +40 -40
- package/build/esm/togetherOrganisms.js +51 -51
- package/build/esm/togetherRichTextEditor.js +18 -18
- package/build/esm/togetherShareBox.js +10 -10
- package/build/esm/{translationsProvider-5295883a.js → translationsProvider-4d549f9c.js} +1 -1
- package/build/esm/{treePopoverMenu-156a46d4.js → treePopoverMenu-62dd7ba3.js} +19 -19
- package/build/esm/types.js +2 -2
- package/build/esm/{useHealthToolCache-f7c4ef25.js → useHealthToolCache-91816666.js} +1 -1
- package/build/esm/{usePhoneValidator-ac87e7f6.js → usePhoneValidator-705756c6.js} +5 -5
- package/build/esm/{usePlacesAutocomplete-41f9c210.js → usePlacesAutocomplete-74c5c0ff.js} +1 -1
- package/build/esm/useTogetherAuthRequiredAction.js +10 -10
- package/build/esm/{utils-1bc4b86c.js → utils-4ed321c4.js} +5 -5
- package/build/esm/{utils-0061a232.js → utils-b1d50cce.js} +4 -4
- package/build/esm/{utils-b276537a.js → utils-ef12e9d0.js} +2 -2
- package/build/esm/{utils-2f4443c9.js → utils-f50d0ca5.js} +2 -2
- package/build/esm/vaccination.js +22 -22
- package/build/footer.js +22 -22
- package/build/gAssets.js +2 -2
- package/build/{healthTools-a95b0d04.js → healthTools-b091d271.js} +1 -1
- package/build/healthToolsCardWrapper.js +20 -20
- package/build/healthToolsForm.js +35 -35
- package/build/hooks.js +13 -13
- package/build/i18n.js +2 -2
- package/build/i18nV2.js +1 -1
- package/build/icons/HamburgerWhite.d.ts +4 -0
- package/build/icons/LoginBlueWhite.d.ts +4 -0
- package/build/icons/StarPair.d.ts +4 -0
- package/build/icons/UserPlain.d.ts +4 -0
- package/build/icons/index.d.ts +5 -1
- package/build/{index-0905e994.js → index-02cffc69.js} +9 -9
- package/build/{index-afd5cb7f.js → index-052cec82.js} +6 -6
- package/build/{index-47b6143b.js → index-05a5f217.js} +1 -1
- package/build/{index-3f6c6591.js → index-064c2153.js} +32 -32
- package/build/{index-70673ea3.js → index-0781219e.js} +2 -2
- package/build/{index-7f6caabb.js → index-09700d6d.js} +14 -14
- package/build/{index-24207df2.js → index-09f0cf76.js} +3 -3
- package/build/{index-7365f3dc.js → index-0c0f5580.js} +2 -2
- package/build/{index-3ff08f17.js → index-0cf05697.js} +8 -8
- package/build/{index-c76747be.js → index-1132d3eb.js} +1 -1
- package/build/{index-e12d2213.js → index-13c81145.js} +4 -4
- package/build/{index-2bab5d27.js → index-15ac289f.js} +22 -22
- package/build/{index-b05ef2ce.js → index-1ac1f9e3.js} +2 -2
- package/build/{index-9a0ff3fb.js → index-1e85cef8.js} +5 -5
- package/build/{index-9e83c6bf.js → index-1fb5da39.js} +2 -2
- package/build/{index-7db2dcf8.js → index-203347f4.js} +4 -4
- package/build/{index-ff62c7ed.js → index-2a484aa2.js} +7 -7
- package/build/{index-99b2c795.js → index-31908e9d.js} +14 -14
- package/build/{index-46fb72b4.js → index-3a0a7c9d.js} +1 -1
- package/build/{index-c86d7c9b.js → index-3b584311.js} +6 -6
- package/build/{index-b9605e9d.js → index-3d443c4d.js} +15 -15
- package/build/{index-09822055.js → index-435c3734.js} +3 -3
- package/build/{index-a9fcd200.js → index-4e27ceaf.js} +16 -16
- package/build/{index-b5ad1750.js → index-4f4a8034.js} +15 -15
- package/build/{index-7e68de22.js → index-505a9dd0.js} +2 -2
- package/build/{index-3ef06fc2.js → index-545a3f61.js} +2 -2
- package/build/{index-c16b755a.js → index-56f5adde.js} +3 -3
- package/build/{index-2248039e.js → index-5b68de26.js} +16 -16
- package/build/{index-796a2ba5.js → index-5df4bc5c.js} +16 -16
- package/build/{index-0f859462.js → index-5f30fd5e.js} +16 -16
- package/build/{index-e85537d7.js → index-5f6f1cab.js} +25 -25
- package/build/{index-5f7a18fc.js → index-619e0299.js} +7 -7
- package/build/{index-68f75007.js → index-62e2923d.js} +2 -2
- package/build/{index-495e564c.js → index-65a18ef8.js} +2 -2
- package/build/{index-2d59210c.js → index-6715c2ec.js} +32 -32
- package/build/{index-ea892237.js → index-68040d4f.js} +8 -8
- package/build/{index-a37d7b54.js → index-69c08b9d.js} +2 -2
- package/build/{index-c4470e9f.js → index-6b999ac5.js} +3 -3
- package/build/{index-f40e34a1.js → index-7476f743.js} +2 -2
- package/build/{index-8a313d43.js → index-778f0207.js} +2 -2
- package/build/{index-58b6e99e.js → index-78ac1877.js} +2 -2
- package/build/{index-1432ae73.js → index-7ac3a904.js} +21 -21
- package/build/{index-d1660098.js → index-7e6c4b3a.js} +844 -795
- package/build/{index-44361f49.js → index-7f33513d.js} +13 -13
- package/build/{index-903406a9.js → index-8bfa6319.js} +1 -1
- package/build/{index-69f120bb.js → index-8d9b0a5d.js} +2 -2
- package/build/{index-7da3e9f0.js → index-8ecc9e60.js} +10 -10
- package/build/{index-89c9e3a4.js → index-90d5acfd.js} +2 -2
- package/build/{index-4e18ec7e.js → index-9274fb88.js} +3 -3
- package/build/{index-87f4198d.js → index-98c455cf.js} +7 -7
- package/build/{index-502ca9a8.js → index-9edd3345.js} +4 -4
- package/build/{index-5b650da5.js → index-a2b2abb4.js} +1 -1
- package/build/{index-b8ca3bee.js → index-aa66c0d9.js} +26 -26
- package/build/{index-e1f1547e.js → index-af97fa62.js} +6 -6
- package/build/{index-5b44edb7.js → index-b0cf70f2.js} +3 -3
- package/build/{index-adf13b0f.js → index-b2760e72.js} +87 -36
- package/build/{index-a6b3abef.js → index-bc5c675a.js} +18 -18
- package/build/{index-ef51a26b.js → index-cb69dbb6.js} +14 -14
- package/build/{index-b090480e.js → index-ce814d2c.js} +2 -2
- package/build/{index-61da4afb.js → index-ce9f6755.js} +2 -2
- package/build/{index-938ea15c.js → index-d67ba036.js} +23 -23
- package/build/{index-49fb19c8.js → index-d74881d7.js} +18 -18
- package/build/{index-84659c98.js → index-d847c4ad.js} +17 -17
- package/build/{index-f692a960.js → index-dde6d0e2.js} +1 -1
- package/build/{index-878fdf50.js → index-e0c2da3d.js} +19 -19
- package/build/{index-6a3caec9.js → index-e170231e.js} +2 -2
- package/build/{index-e72749c7.js → index-ebf8499a.js} +3 -3
- package/build/{index-1e2cb1dc.js → index-ec20f28b.js} +13 -13
- package/build/{index-9acf074f.js → index-f2faadcf.js} +3 -3
- package/build/{index-1e49ff95.js → index-f5eaf47d.js} +14 -14
- package/build/{index-1d687c60.js → index-f86c1758.js} +1 -1
- package/build/{index-2ea8eb3f.js → index-f8c0ea9c.js} +5 -5
- package/build/index.css +1 -1
- package/build/index.js +138 -134
- package/build/{labelSorting-fb438492.js → labelSorting-00a5ce8e.js} +4 -4
- package/build/lead.js +35 -35
- package/build/{logoIcon-b5508a3e.js → logoIcon-6ae403d0.js} +6 -5
- package/build/mantine.js +25 -25
- package/build/misc.js +19 -19
- package/build/miscGetDynamicHealthTool.js +4 -4
- package/build/miscGetSocialList.js +8 -8
- package/build/miscScreenSizeContext.js +1 -1
- package/build/mobileBottomNavigation.js +5 -5
- package/build/mobileBottomNavigationIcon.js +5 -5
- package/build/molecules.js +78 -78
- package/build/moleculesArticleCard.js +6 -6
- package/build/moleculesArticleCardV2.js +17 -17
- package/build/navigation.js +47 -47
- package/build/navigationLogoutPopup.js +11 -11
- package/build/navigationProfileButton.js +28 -28
- package/build/onboardingV2.js +29 -29
- package/build/organisms.js +57 -57
- package/build/{post-8e39144d.js → post-0d786356.js} +2 -2
- package/build/profileNavigation.js +20 -20
- package/build/progressBar.js +1 -1
- package/build/pwg.js +23 -23
- package/build/ssoV2.js +29 -29
- package/build/{store-7ed1da48.js → store-5baeb7bc.js} +3 -3
- package/build/subot.js +39 -39
- package/build/surveyOrPremiumBanner.js +34 -34
- package/build/surveyQuestionCard.js +11 -11
- package/build/{surveyThankyouCard-2b8f5d47.js → surveyThankyouCard-b5769a5f.js} +5 -5
- package/build/together.js +57 -57
- package/build/togetherApiUtils.js +4 -4
- package/build/togetherAtoms.js +31 -31
- package/build/togetherComponentGlobalContext.js +4 -4
- package/build/togetherMolecules.js +52 -52
- package/build/togetherMoleculesCardAuthor.js +29 -29
- package/build/togetherMoleculesPostImagePreview.js +11 -11
- package/build/togetherMoleculesProfileDetail.js +40 -40
- package/build/togetherOrganisms.js +51 -51
- package/build/togetherRichTextEditor.js +18 -18
- package/build/togetherShareBox.js +10 -10
- package/build/{translationsProvider-b40053bb.js → translationsProvider-dedd3e7c.js} +1 -1
- package/build/{treePopoverMenu-611ddca6.js → treePopoverMenu-092bd3b6.js} +19 -19
- package/build/types.js +2 -2
- package/build/{useHealthToolCache-a2f333f8.js → useHealthToolCache-91b32ad7.js} +1 -1
- package/build/{usePhoneValidator-3879dea0.js → usePhoneValidator-ef467981.js} +5 -5
- package/build/{usePlacesAutocomplete-60c5492d.js → usePlacesAutocomplete-73f8f3cb.js} +1 -1
- package/build/useTogetherAuthRequiredAction.js +10 -10
- package/build/{utils-c87e5fe6.js → utils-085edd98.js} +5 -5
- package/build/{utils-37e106cd.js → utils-2e41ab98.js} +2 -2
- package/build/{utils-bf630ca0.js → utils-5dfb2952.js} +3 -3
- package/build/{utils-fc056a2c.js → utils-907346f9.js} +2 -2
- package/build/vaccination.js +22 -22
- package/package.json +1 -1
- /package/build/{BMI_BOYS.percentile.monthly-672a928b.js → BMI_BOYS.percentile.monthly-6424d895.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-cb1443c7.js → BMI_BOYS.percentile.weekly-ea8154ec.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-54ba198e.js → BMI_BOYS.percentile.yearly-18ff09e7.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-e44a1c77.js → BMI_BOYS.zscore.monthly-8bb55a55.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-60ff9f9e.js → BMI_BOYS.zscore.weekly-49b65858.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-47b0740d.js → BMI_BOYS.zscore.yearly-103a6cc0.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-239e13cd.js → BMI_GIRLS.percentile.monthly-480a8bee.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-6ba8d2eb.js → BMI_GIRLS.percentile.weekly-6fa62777.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-0ed3a559.js → BMI_GIRLS.percentile.yearly-fb232e4a.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-bae7a0c9.js → BMI_GIRLS.zscore.monthly-d0e2874a.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-d92a45a9.js → BMI_GIRLS.zscore.weekly-d4c835fe.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-96389446.js → BMI_GIRLS.zscore.yearly-eeaa82d4.js} +0 -0
- /package/build/{ChevronDown-591f565b.js → ChevronDown-b5130257.js} +0 -0
- /package/build/{Close-979efd09.js → Close-0f681ea0.js} +0 -0
- /package/build/{Google-698097da.js → Google-909ed89a.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-ad99582f.js → HEAD CIRCUM_BOYS.percentile.monthly-e0d6e757.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-62927ace.js → HEAD CIRCUM_BOYS.percentile.weekly-5a6755ab.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-34ba7512.js → HEAD CIRCUM_BOYS.percentile.yearly-8496160f.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-6214aaf6.js → HEAD CIRCUM_BOYS.zscore.monthly-77b6712d.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-afdf7d69.js → HEAD CIRCUM_BOYS.zscore.weekly-19b6ca77.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-9c7a0ea3.js → HEAD CIRCUM_BOYS.zscore.yearly-d4807a71.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-07ff01d2.js → HEAD CIRCUM_GIRLS.percentile.monthly-2b5dbcba.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-9d83eba9.js → HEAD CIRCUM_GIRLS.percentile.weekly-9411085a.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-6c9638c7.js → HEAD CIRCUM_GIRLS.percentile.yearly-d8187842.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-b0e4930b.js → HEAD CIRCUM_GIRLS.zscore.monthly-3b99129a.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-15a8093f.js → HEAD CIRCUM_GIRLS.zscore.weekly-3b89feb7.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-b4621e10.js → HEAD CIRCUM_GIRLS.zscore.yearly-385bffec.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-a25ca826.js → HEIGHT_BOYS.percentile.monthly-b1ae898e.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-8c61f5d2.js → HEIGHT_BOYS.percentile.weekly-c2856871.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-c1df3e24.js → HEIGHT_BOYS.percentile.yearly-13d3f0a8.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-4da4a448.js → HEIGHT_BOYS.zscore.monthly-32a6d067.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-3305726c.js → HEIGHT_BOYS.zscore.weekly-8c328212.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-19ee167b.js → HEIGHT_BOYS.zscore.yearly-5194f87a.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-03111520.js → HEIGHT_GIRLS.percentile.monthly-f22ddd5b.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-367044cb.js → HEIGHT_GIRLS.percentile.weekly-2793578f.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-85b029e5.js → HEIGHT_GIRLS.percentile.yearly-26fdd948.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-c082e4d0.js → HEIGHT_GIRLS.zscore.monthly-c0da78f9.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-0e4facca.js → HEIGHT_GIRLS.zscore.weekly-53da5fd5.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-37abe3e1.js → HEIGHT_GIRLS.zscore.yearly-e98c80d6.js} +0 -0
- /package/build/{Locale-73e67735.js → Locale-4f8c0874.js} +0 -0
- /package/build/{Visible-4acfb4ec.js → Visible-f023571c.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-3a50ca45.js → WEIGHT_BOYS.percentile.monthly-05926ea7.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-b5735b1a.js → WEIGHT_BOYS.percentile.weekly-84ee5386.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-224be5c8.js → WEIGHT_BOYS.percentile.yearly-4c1d6fcf.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-353fb2ad.js → WEIGHT_BOYS.zscore.monthly-10ce4bf9.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-38df2a7b.js → WEIGHT_BOYS.zscore.weekly-a2cb3cfc.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-20b00f8f.js → WEIGHT_BOYS.zscore.yearly-5f1a0e4d.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-65bc179a.js → WEIGHT_GIRLS.percentile.monthly-55314fef.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-d05411d1.js → WEIGHT_GIRLS.percentile.weekly-af038a6d.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-791e834e.js → WEIGHT_GIRLS.percentile.yearly-f7a748c5.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-72be6ef4.js → WEIGHT_GIRLS.zscore.monthly-5a914454.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-03592992.js → WEIGHT_GIRLS.zscore.weekly-748fd1f5.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-1f9fb4ef.js → WEIGHT_GIRLS.zscore.yearly-310a6a63.js} +0 -0
- /package/build/{ageGenerate-ec7b6680.js → ageGenerate-88f9e1ee.js} +0 -0
- /package/build/{animation-93e8fd89.js → animation-94c38906.js} +0 -0
- /package/build/{constants-6ac2eab2.js → constants-06843b44.js} +0 -0
- /package/build/{constants-f313f093.js → constants-2b21d5f5.js} +0 -0
- /package/build/{constants-7484821d.js → constants-b681b617.js} +0 -0
- /package/build/{context-5d1211b0.js → context-a40dc8d5.js} +0 -0
- /package/build/{dataTransform-759bb2bd.js → dataTransform-bcf19ecc.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-78185564.js → BMI_BOYS.percentile.monthly-5c384368.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-55beba8c.js → BMI_BOYS.percentile.weekly-8bed9dec.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-fab782e1.js → BMI_BOYS.percentile.yearly-6439824d.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-e98a83d1.js → BMI_BOYS.zscore.monthly-995af401.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-3c1d61a7.js → BMI_BOYS.zscore.weekly-1932798f.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-617f13d8.js → BMI_BOYS.zscore.yearly-2a1af8aa.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-4191d9b8.js → BMI_GIRLS.percentile.monthly-d77e8243.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-ca900191.js → BMI_GIRLS.percentile.weekly-11d480a7.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-8f852686.js → BMI_GIRLS.percentile.yearly-1e990991.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-bb6d5032.js → BMI_GIRLS.zscore.monthly-dee20670.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-f9e482dc.js → BMI_GIRLS.zscore.weekly-a1002020.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-2c66296e.js → BMI_GIRLS.zscore.yearly-54cd7b1c.js} +0 -0
- /package/build/esm/{ChevronDown-c0372b18.js → ChevronDown-3d86121e.js} +0 -0
- /package/build/esm/{Close-ae615aa1.js → Close-0023baaa.js} +0 -0
- /package/build/esm/{Google-b2705a53.js → Google-a4b1b1f4.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-a93e9652.js → HEAD CIRCUM_BOYS.percentile.monthly-a46d89a7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-43e4f2df.js → HEAD CIRCUM_BOYS.percentile.weekly-b2e51903.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-2ce794f9.js → HEAD CIRCUM_BOYS.percentile.yearly-abdc9d2d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-52b27e37.js → HEAD CIRCUM_BOYS.zscore.monthly-d246ec05.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-ee0ac48e.js → HEAD CIRCUM_BOYS.zscore.weekly-e7815dad.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-8fa9e6f7.js → HEAD CIRCUM_BOYS.zscore.yearly-344c04de.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-de3f5eac.js → HEAD CIRCUM_GIRLS.percentile.monthly-f7f9961c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-d0d1e519.js → HEAD CIRCUM_GIRLS.percentile.weekly-dac868fa.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-0923df0f.js → HEAD CIRCUM_GIRLS.percentile.yearly-af0a3bcb.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-992431f5.js → HEAD CIRCUM_GIRLS.zscore.monthly-625cb069.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-2804d8fa.js → HEAD CIRCUM_GIRLS.zscore.weekly-d0046b93.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-a06b70f0.js → HEAD CIRCUM_GIRLS.zscore.yearly-086977fe.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-e6cf3c3c.js → HEIGHT_BOYS.percentile.monthly-65aca1c8.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-e302997f.js → HEIGHT_BOYS.percentile.weekly-34a29490.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-8d90f34f.js → HEIGHT_BOYS.percentile.yearly-3b6a8920.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-e4d3ce37.js → HEIGHT_BOYS.zscore.monthly-44ff7857.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-b4f709aa.js → HEIGHT_BOYS.zscore.weekly-bfbd8f77.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-66d868b5.js → HEIGHT_BOYS.zscore.yearly-4ede104f.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-b69da733.js → HEIGHT_GIRLS.percentile.monthly-d3ebafb7.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-82f4cc8f.js → HEIGHT_GIRLS.percentile.weekly-a7354e14.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-ae5ca574.js → HEIGHT_GIRLS.percentile.yearly-c303df7a.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-c87fff30.js → HEIGHT_GIRLS.zscore.monthly-db8cf550.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-b7ac1ddf.js → HEIGHT_GIRLS.zscore.weekly-7e1ce7c7.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-dc3c7cca.js → HEIGHT_GIRLS.zscore.yearly-7e9a907f.js} +0 -0
- /package/build/esm/{Locale-28bde902.js → Locale-b4469ff3.js} +0 -0
- /package/build/esm/{Visible-9e2f26e1.js → Visible-7f6f7b31.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-9b675537.js → WEIGHT_BOYS.percentile.monthly-a4aa4b55.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-3be77fd4.js → WEIGHT_BOYS.percentile.weekly-b8ed26cd.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-602dab4c.js → WEIGHT_BOYS.percentile.yearly-1596c1a8.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-60b975b1.js → WEIGHT_BOYS.zscore.monthly-2fc3ec7a.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-c2a33d8b.js → WEIGHT_BOYS.zscore.weekly-fda02ade.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-a0a153c2.js → WEIGHT_BOYS.zscore.yearly-e92a376a.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-fd3a2287.js → WEIGHT_GIRLS.percentile.monthly-b965e21b.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-03b5654f.js → WEIGHT_GIRLS.percentile.weekly-644f7ac1.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-5135588d.js → WEIGHT_GIRLS.percentile.yearly-fb9be133.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-032f0a2b.js → WEIGHT_GIRLS.zscore.monthly-7123bb17.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-9c9e1dfc.js → WEIGHT_GIRLS.zscore.weekly-b9b8e8a3.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-38597c01.js → WEIGHT_GIRLS.zscore.yearly-a4a5cea2.js} +0 -0
- /package/build/esm/{ageGenerate-fad1fad6.js → ageGenerate-44595f5c.js} +0 -0
- /package/build/esm/{animation-65bd7658.js → animation-ae629685.js} +0 -0
- /package/build/esm/{constants-23d34d77.js → constants-331fe510.js} +0 -0
- /package/build/esm/{constants-d8e15033.js → constants-3be028da.js} +0 -0
- /package/build/esm/{constants-94763d10.js → constants-8df4eda0.js} +0 -0
- /package/build/esm/{context-e4acb779.js → context-ad6c904b.js} +0 -0
- /package/build/esm/{dataTransform-695a9bac.js → dataTransform-350ed817.js} +0 -0
- /package/build/esm/{index-46af32bd.js → index-40c578bb.js} +0 -0
- /package/build/esm/{index-b49f2b93.js → index-477486d1.js} +0 -0
- /package/build/esm/{index-5515e8cb.js → index-4a6bd6bd.js} +0 -0
- /package/build/esm/{index-18c2a8d9.js → index-688b8963.js} +0 -0
- /package/build/esm/{index-d0161ed3.js → index-6b2e2e69.js} +0 -0
- /package/build/esm/{index-a930401d.js → index-6bbe47dd.js} +0 -0
- /package/build/esm/{index-dc3eb3b9.js → index-7442eaa8.js} +0 -0
- /package/build/esm/{index-cf89c650.js → index-aa0d5feb.js} +0 -0
- /package/build/esm/{index-c3dfb7dd.js → index-debc4545.js} +0 -0
- /package/build/esm/{index.styles-c7224475.js → index.styles-fc2f219f.js} +0 -0
- /package/build/esm/{localizeNumberFormat-b046e207.js → localizeNumberFormat-92687484.js} +0 -0
- /package/build/esm/{normalizeLink-45806ec4.js → normalizeLink-29345557.js} +0 -0
- /package/build/esm/{number-75624342.js → number-d5c2ef44.js} +0 -0
- /package/build/esm/{paths-2038b75f.js → paths-98ab8ebe.js} +0 -0
- /package/build/esm/{shared-81da4ce8.js → shared-ea6b1fce.js} +0 -0
- /package/build/esm/{translationsContext-403d37e6.js → translationsContext-3b0371e4.js} +0 -0
- /package/build/esm/{tslib.es6-78b606f6.js → tslib.es6-55f4bb34.js} +0 -0
- /package/build/esm/{types-2c0cbc81.js → types-0e4bd9fb.js} +0 -0
- /package/build/esm/{types-eeaec5d9.js → types-84e67f4d.js} +0 -0
- /package/build/esm/{useIsInit-eb9ba0a9.js → useIsInit-615a8a1a.js} +0 -0
- /package/build/esm/{useOutsideClick-ad5ab22f.js → useOutsideClick-24b11763.js} +0 -0
- /package/build/esm/{useScrollbarSize-ecff6ecd.js → useScrollbarSize-f35b6b3e.js} +0 -0
- /package/build/esm/{useUniqueId-63c3d1ac.js → useUniqueId-3b07f8a3.js} +0 -0
- /package/build/esm/{utils-13a041bc.js → utils-10a4ceae.js} +0 -0
- /package/build/esm/{utils-87ed54ce.js → utils-3a7b6858.js} +0 -0
- /package/build/{index-ff59e4bc.js → index-2ec2649d.js} +0 -0
- /package/build/{index-35ba8f6c.js → index-358695c8.js} +0 -0
- /package/build/{index-d0dab534.js → index-3f3c7f70.js} +0 -0
- /package/build/{index-b02571be.js → index-5a95a16d.js} +0 -0
- /package/build/{index-acc8f2da.js → index-70e67a28.js} +0 -0
- /package/build/{index-d6bf8662.js → index-a545acb1.js} +0 -0
- /package/build/{index-98dc6cc7.js → index-bca13d95.js} +0 -0
- /package/build/{index-f951cace.js → index-ce001874.js} +0 -0
- /package/build/{index-6fdcb4cf.js → index-d0097219.js} +0 -0
- /package/build/{index.styles-099ebf20.js → index.styles-afd04f10.js} +0 -0
- /package/build/{localizeNumberFormat-7a57dc14.js → localizeNumberFormat-78f6b02e.js} +0 -0
- /package/build/{normalizeLink-6a2361cc.js → normalizeLink-c2c616a1.js} +0 -0
- /package/build/{number-4043360d.js → number-8aad77bc.js} +0 -0
- /package/build/{paths-5d8e3e38.js → paths-21636843.js} +0 -0
- /package/build/{shared-fd902766.js → shared-a2d9b39e.js} +0 -0
- /package/build/{translationsContext-1a788810.js → translationsContext-339473e6.js} +0 -0
- /package/build/{tslib.es6-cd12fb57.js → tslib.es6-ebbd9505.js} +0 -0
- /package/build/{types-1d0d9375.js → types-560a11d7.js} +0 -0
- /package/build/{types-41af1a9a.js → types-dfc96ff5.js} +0 -0
- /package/build/{useIsInit-9b941e73.js → useIsInit-303222b4.js} +0 -0
- /package/build/{useOutsideClick-bfeff3f3.js → useOutsideClick-cb86a68b.js} +0 -0
- /package/build/{useScrollbarSize-2edf843f.js → useScrollbarSize-f99682cc.js} +0 -0
- /package/build/{useUniqueId-0bf9689d.js → useUniqueId-4434e44d.js} +0 -0
- /package/build/{utils-683bfafc.js → utils-04212800.js} +0 -0
- /package/build/{utils-db7f5cb0.js → utils-53bab473.js} +0 -0
|
@@ -1,54 +1,72 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require('./tslib.es6-
|
|
3
|
+
var tslib_es6 = require('./tslib.es6-ebbd9505.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var index$
|
|
6
|
-
var index$3 = require('./index-
|
|
7
|
-
var normalizeLink = require('./normalizeLink-
|
|
8
|
-
var dataTransform = require('./dataTransform-
|
|
5
|
+
var index$b = require('./index-8ecc9e60.js');
|
|
6
|
+
var index$3 = require('./index-65a18ef8.js');
|
|
7
|
+
var normalizeLink = require('./normalizeLink-c2c616a1.js');
|
|
8
|
+
var dataTransform = require('./dataTransform-390e4345.js');
|
|
9
9
|
var core = require('@hhgtech/icons/core');
|
|
10
|
-
require('./translationsContext-
|
|
10
|
+
require('./translationsContext-339473e6.js');
|
|
11
11
|
var styled = require('@emotion/styled');
|
|
12
|
-
var index = require('./index-
|
|
12
|
+
var index = require('./index-0cf05697.js');
|
|
13
13
|
var miscTheme = require('./miscTheme.js');
|
|
14
|
-
var navigationProfileButton = require('./index-
|
|
14
|
+
var navigationProfileButton = require('./index-b2760e72.js');
|
|
15
15
|
var other = require('@hhgtech/icons/other');
|
|
16
16
|
var core$1 = require('@mantine/core');
|
|
17
|
-
var index$d = require('./index-
|
|
17
|
+
var index$d = require('./index-619e0299.js');
|
|
18
18
|
var throttle = require('lodash/throttle');
|
|
19
19
|
require('@mantine/dates');
|
|
20
|
-
var index$
|
|
21
|
-
var index$
|
|
22
|
-
require('./index-
|
|
23
|
-
var index$4 = require('./index-
|
|
24
|
-
var index$2 = require('./index-
|
|
25
|
-
require('./index-
|
|
26
|
-
require('./index.styles-
|
|
20
|
+
var index$9 = require('./index-1132d3eb.js');
|
|
21
|
+
var index$6 = require('./index-bca13d95.js');
|
|
22
|
+
require('./index-68040d4f.js');
|
|
23
|
+
var index$4 = require('./index-0781219e.js');
|
|
24
|
+
var index$2 = require('./index-b0cf70f2.js');
|
|
25
|
+
require('./index-358695c8.js');
|
|
26
|
+
require('./index.styles-afd04f10.js');
|
|
27
27
|
require('@mantine/hooks');
|
|
28
|
-
var utils = require('./utils-
|
|
29
|
-
require('./index-
|
|
30
|
-
var constants = require('./constants-
|
|
31
|
-
var store = require('./store-
|
|
32
|
-
var
|
|
33
|
-
var index$1 = require('./index-
|
|
34
|
-
var
|
|
35
|
-
var
|
|
36
|
-
var useIsInit = require('./useIsInit-9b941e73.js');
|
|
28
|
+
var utils = require('./utils-53bab473.js');
|
|
29
|
+
require('./index-f2faadcf.js');
|
|
30
|
+
var constants = require('./constants-3c1aca64.js');
|
|
31
|
+
var store = require('./store-5baeb7bc.js');
|
|
32
|
+
var index$5 = require('./index-3a0a7c9d.js');
|
|
33
|
+
var index$1 = require('./index-dde6d0e2.js');
|
|
34
|
+
var useIsInit = require('./useIsInit-303222b4.js');
|
|
35
|
+
var constants$1 = require('./constants-2b21d5f5.js');
|
|
37
36
|
var miscDefaultClassWrapper = require('./miscDefaultClassWrapper.js');
|
|
38
|
-
var index$
|
|
37
|
+
var index$7 = require('./index-69c08b9d.js');
|
|
38
|
+
var index$8 = require('./index-ce9f6755.js');
|
|
39
39
|
var formatString = require('string-format');
|
|
40
40
|
var constantsDomainLocales = require('./constantsDomainLocales.js');
|
|
41
|
+
var index$a = require('./index-5a95a16d.js');
|
|
41
42
|
var dayjs = require('dayjs');
|
|
42
43
|
var relativeTime = require('dayjs/plugin/relativeTime');
|
|
43
|
-
var index$
|
|
44
|
-
var
|
|
45
|
-
var Locale = require('./Locale-73e67735.js');
|
|
44
|
+
var index$c = require('./index-7476f743.js');
|
|
45
|
+
var Locale = require('./Locale-4f8c0874.js');
|
|
46
46
|
var debounce = require('lodash/debounce');
|
|
47
|
-
var core$2 = require('./core-
|
|
47
|
+
var core$2 = require('./core-ead610e2.js');
|
|
48
48
|
|
|
49
49
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
50
50
|
|
|
51
|
-
|
|
51
|
+
function _interopNamespace(e) {
|
|
52
|
+
if (e && e.__esModule) return e;
|
|
53
|
+
var n = Object.create(null);
|
|
54
|
+
if (e) {
|
|
55
|
+
Object.keys(e).forEach(function (k) {
|
|
56
|
+
if (k !== 'default') {
|
|
57
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
58
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
59
|
+
enumerable: true,
|
|
60
|
+
get: function () { return e[k]; }
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
n["default"] = e;
|
|
66
|
+
return Object.freeze(n);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
52
70
|
var styled__default = /*#__PURE__*/_interopDefault(styled);
|
|
53
71
|
var throttle__default = /*#__PURE__*/_interopDefault(throttle);
|
|
54
72
|
var formatString__default = /*#__PURE__*/_interopDefault(formatString);
|
|
@@ -56,6 +74,15 @@ var dayjs__default = /*#__PURE__*/_interopDefault(dayjs);
|
|
|
56
74
|
var relativeTime__default = /*#__PURE__*/_interopDefault(relativeTime);
|
|
57
75
|
var debounce__default = /*#__PURE__*/_interopDefault(debounce);
|
|
58
76
|
|
|
77
|
+
const HamburgerWhite = (props) => (React__namespace.createElement("svg", Object.assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
|
|
78
|
+
React__namespace.createElement("path", { d: "M4 12H20", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
79
|
+
React__namespace.createElement("path", { d: "M4 7H20", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
80
|
+
React__namespace.createElement("path", { d: "M4 17H20", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })));
|
|
81
|
+
|
|
82
|
+
const StarPair = (props) => (React__namespace.createElement("svg", Object.assign({ width: "22", height: "28", viewBox: "0 0 22 28", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
|
|
83
|
+
React__namespace.createElement("path", { d: "M6.35278 10.7516C6.42759 10.976 6.63881 11.1279 6.87534 11.1279C7.11187 11.1279 7.322 10.976 7.39791 10.7516C7.68947 9.87691 8.37585 9.19053 9.25054 8.89896C9.47497 8.82415 9.62679 8.61403 9.62679 8.3775C9.62679 8.14097 9.47497 7.93084 9.25054 7.85603C8.37585 7.56446 7.68947 6.87809 7.39791 6.00339C7.24719 5.55453 6.5046 5.55453 6.35388 6.00339C6.06231 6.87809 5.37594 7.56446 4.50125 7.85603C4.27682 7.93084 4.125 8.14097 4.125 8.3775C4.125 8.61403 4.27682 8.82415 4.50125 8.89896C5.37565 9.19043 6.06193 9.87699 6.35278 10.7516Z", fill: "#2743AD" }),
|
|
84
|
+
React__namespace.createElement("path", { d: "M20.1723 14.3286L18.5342 13.6789C16.821 12.9995 15.4655 11.6411 14.7897 9.92641L14.1396 8.27697C13.9232 7.72994 13.0262 7.72994 12.8097 8.27697L12.1597 9.92641C11.4839 11.6411 10.1284 12.9995 8.41517 13.6789L6.77705 14.3286C6.5044 14.4367 6.32422 14.7016 6.32422 14.9952C6.32422 15.2888 6.50345 15.5537 6.77705 15.6618L8.41517 16.3115C10.1284 16.991 11.4839 18.3494 12.1597 20.064L12.8097 21.7135C12.9175 21.987 13.1815 22.1668 13.4742 22.1668C13.7669 22.1668 14.031 21.987 14.1387 21.7135L14.7888 20.064C15.4646 18.3494 16.8201 16.991 18.5333 16.3115L20.1714 15.6618C20.444 15.5537 20.6242 15.2888 20.6242 14.9952C20.6242 14.7016 20.4459 14.4367 20.1723 14.3286Z", fill: "#2743AD" })));
|
|
85
|
+
|
|
59
86
|
const StyleInput = styled__default["default"](index.Input) `
|
|
60
87
|
.mantine-Input-input {
|
|
61
88
|
border-radius: 40px;
|
|
@@ -87,7 +114,7 @@ const StyleInput = styled__default["default"](index.Input) `
|
|
|
87
114
|
|
|
88
115
|
const HHG_SEARCH_BACK_KEY = 'hhg_search_history';
|
|
89
116
|
const SearchInput = ({ id, isMobile = false, isHomepage = false, projectType, isRedirectSearchPage = false, }) => {
|
|
90
|
-
const { locale, siteType } = React.useContext(navigationProfileButton.NavigationContext);
|
|
117
|
+
const { locale, siteType, isWinCashBackTheme: winCashBackTheme, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
91
118
|
const [keyword, setKeyword] = React.useState('');
|
|
92
119
|
const [eventCategoryTracking, setEventCategoryTracking] = React.useState('Search From Another Page');
|
|
93
120
|
const { t } = index$1.useTranslations();
|
|
@@ -132,13 +159,13 @@ const SearchInput = ({ id, isMobile = false, isHomepage = false, projectType, is
|
|
|
132
159
|
setKeyword(searchValue);
|
|
133
160
|
}
|
|
134
161
|
}, []);
|
|
135
|
-
return isMobile && !isHomepage ? (
|
|
162
|
+
return isMobile && !isHomepage ? (React__namespace["default"].createElement(index$2.Button, { variant: "tertiary", style: {
|
|
136
163
|
padding: '6px',
|
|
137
164
|
}, size: "sm", onClick: goBack },
|
|
138
|
-
|
|
165
|
+
React__namespace["default"].createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", style: {
|
|
139
166
|
verticalAlign: 'bottom',
|
|
140
167
|
} },
|
|
141
|
-
|
|
168
|
+
React__namespace["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__namespace["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'
|
|
142
169
|
? t('navigation.search.input.placeholder')
|
|
143
170
|
: t('home.search', {
|
|
144
171
|
site: index$3.LOCALE_SPECS[locale || 'en-PH']
|
|
@@ -150,16 +177,16 @@ const SearchInput = ({ id, isMobile = false, isHomepage = false, projectType, is
|
|
|
150
177
|
if ((isMobile && isHomepage) || isRedirectSearchPage) {
|
|
151
178
|
goToSearchPage('');
|
|
152
179
|
}
|
|
153
|
-
}, rightSection: keyword ? (
|
|
154
|
-
|
|
180
|
+
}, rightSection: keyword ? (React__namespace["default"].createElement("div", { className: "close-icon-wrapper", onClick: () => setKeyword(''), "data-event-category": "Search Page", "data-event-action": "Delete Search" },
|
|
181
|
+
React__namespace["default"].createElement(core.Close, { size: 17, color: miscTheme.theme.colors.white }))) : winCashBackTheme ? (React__namespace["default"].createElement(StarPair, { className: "star-pair-icon" })) : (''), icon: React__namespace["default"].createElement("a", { "data-event-category": "Search Button", "data-event-action": "Click", className: "search-icon-btn", onClick: () => {
|
|
155
182
|
if ((isMobile && isHomepage) || isRedirectSearchPage) {
|
|
156
183
|
goToSearchPage('');
|
|
157
184
|
}
|
|
158
185
|
} },
|
|
159
|
-
|
|
186
|
+
React__namespace["default"].createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", style: {
|
|
160
187
|
verticalAlign: 'bottom',
|
|
161
188
|
} },
|
|
162
|
-
|
|
189
|
+
React__namespace["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" }))) }));
|
|
163
190
|
};
|
|
164
191
|
|
|
165
192
|
const getEcomUrl = ({ path, locale, }) => {
|
|
@@ -185,10 +212,10 @@ const CartBadge = (_a) => {
|
|
|
185
212
|
styles,
|
|
186
213
|
classNames,
|
|
187
214
|
});
|
|
188
|
-
return typeof count !== 'undefined' ? (
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
215
|
+
return typeof count !== 'undefined' ? (React__namespace["default"].createElement(core$1.Box, Object.assign({ component: "a", href: getEcomUrl({ path: 'CART', locale }), className: cx(classes.root, className) }, boxProps),
|
|
216
|
+
React__namespace["default"].createElement(core$1.Indicator, { withBorder: true, color: 'red', size: 20, disabled: count === 0, label: React__namespace["default"].createElement(index$4.Text, { className: classes.iconText, size: "s5" }, count > 99 ? '99+' : count) },
|
|
217
|
+
React__namespace["default"].createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" },
|
|
218
|
+
React__namespace["default"].createElement("path", { d: "M5.308 21.5q-.748 0-1.278-.53a1.74 1.74 0 0 1-.53-1.278V8.308q0-.75.53-1.278.53-.53 1.278-.53H7.5q0-1.873 1.313-3.187Q10.127 2 12 2t3.187 1.313T16.5 6.5h2.192q.749 0 1.278.53.53.53.53 1.278v11.384q0 .749-.53 1.278-.53.53-1.278.53zm0-1.5h13.384a.3.3 0 0 0 .212-.096.3.3 0 0 0 .096-.212V8.308a.3.3 0 0 0-.096-.212.3.3 0 0 0-.212-.096H5.308a.3.3 0 0 0-.212.096.3.3 0 0 0-.096.212v11.384q0 .116.096.212a.3.3 0 0 0 .212.096M9 6.5h6q0-1.25-.875-2.125A2.9 2.9 0 0 0 12 3.5q-1.25 0-2.125.875A2.9 2.9 0 0 0 9 6.5m2.985 7q1.695 0 3.047-1.148 1.35-1.148 1.335-2.606a.74.74 0 0 0-.207-.528.7.7 0 0 0-.527-.218.7.7 0 0 0-.471.182 1 1 0 0 0-.295.506 2.8 2.8 0 0 1-1.036 1.665 2.9 2.9 0 0 1-1.846.647 2.93 2.93 0 0 1-1.854-.647A2.73 2.73 0 0 1 9.1 9.688q-.086-.34-.278-.514A.66.66 0 0 0 8.367 9a.72.72 0 0 0-.534.218.72.72 0 0 0-.216.528q0 1.457 1.336 2.606 1.335 1.148 3.032 1.148", fill: "#2D87F3" }))))) : null;
|
|
192
219
|
};
|
|
193
220
|
|
|
194
221
|
const StyledDisplayWrapper = styled__default["default"].div `
|
|
@@ -200,232 +227,38 @@ const StyledDisplayWrapper = styled__default["default"].div `
|
|
|
200
227
|
const DisplayWrapper = ({ forceDisplay, mediaQueryKey, children, className, style, }) => {
|
|
201
228
|
// use CSS to display or not
|
|
202
229
|
const [lowerBoundValue, upperBoundValue] = React.useMemo(() => utils.getBoundariesFromMediaQueryKey(mediaQueryKey), [mediaQueryKey]);
|
|
203
|
-
return (
|
|
204
|
-
};
|
|
205
|
-
|
|
206
|
-
var styles$2 = {"menuContainer":"y5VJdvw","menuIcon":"oVhOSCy","menuIconWrapper":"pX8OXTM"};
|
|
207
|
-
|
|
208
|
-
function ClosePopupIcon({ className }) {
|
|
209
|
-
return (React__default["default"].createElement("div", null,
|
|
210
|
-
React__default["default"].createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", className: className },
|
|
211
|
-
React__default["default"].createElement("path", { d: "M18 6L6 18M18 18L6 6", stroke: "#3E3F58", strokeWidth: "1.3", strokeLinecap: "round" }))));
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
function HamburgerIcon({ siteType, enableSearch, className, style, }) {
|
|
215
|
-
if (siteType === 'helloSites') {
|
|
216
|
-
return (React__default["default"].createElement("div", { className: "hamburger-container" },
|
|
217
|
-
React__default["default"].createElement("img", { "data-list-type": "Header", "data-content-type": "Navigation", "data-content-topic": "Hamburger", src: enableSearch
|
|
218
|
-
? index$5.CommonGAssets.getAssetPath('hamburgerMenuNewWithSearch.svg')
|
|
219
|
-
: index$5.CommonGAssets.getAssetPath('hamburgerMenuNew.svg'), style: Object.assign({ width: '24px', height: '24px' }, style), alt: "home", className: className, loading: "lazy" })));
|
|
220
|
-
}
|
|
221
|
-
/** Marry Baby */
|
|
222
|
-
return (React__default["default"].createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", className: className },
|
|
223
|
-
React__default["default"].createElement("path", { d: "M3.35 15a.65.65 0 0 1 .65-.65h10a.65.65 0 1 1 0 1.3H4a.65.65 0 0 1-.65-.65m0-6A.65.65 0 0 1 4 8.35h16a.65.65 0 1 1 0 1.3H4A.65.65 0 0 1 3.35 9", fill: "#3E3F58" })));
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
const StyledMasterMenuContainer = styled__default["default"].div `
|
|
227
|
-
position: fixed;
|
|
228
|
-
z-index: 201;
|
|
229
|
-
top: calc(100% - 1px);
|
|
230
|
-
width: 100%;
|
|
231
|
-
height: calc(100vh - var(--header-bottom));
|
|
232
|
-
overflow-x: hidden;
|
|
233
|
-
overflow-y: auto;
|
|
234
|
-
background: white;
|
|
235
|
-
display: flex;
|
|
236
|
-
flex-direction: column;
|
|
237
|
-
padding-bottom: 0;
|
|
238
|
-
left: 0;
|
|
239
|
-
.hhgcomp-navigation-popupwrapper-menuwrapper {
|
|
240
|
-
position: unset;
|
|
241
|
-
}
|
|
242
|
-
`;
|
|
243
|
-
styled__default["default"].div `
|
|
244
|
-
padding: 16px;
|
|
245
|
-
padding-bottom: 12px;
|
|
246
|
-
.fake-search-input {
|
|
247
|
-
pointer-events: none;
|
|
248
|
-
input {
|
|
249
|
-
line-height: 20px;
|
|
250
|
-
padding-top: 10px;
|
|
251
|
-
padding-bottom: 10px;
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
&[data-theme='marryBaby'] {
|
|
255
|
-
input {
|
|
256
|
-
background: ${miscTheme.theme.mbColors.lightGray};
|
|
257
|
-
border-radius: 16px;
|
|
258
|
-
border: none;
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
`;
|
|
262
|
-
const StyledWrapper = styled__default["default"].div `
|
|
263
|
-
display: block;
|
|
264
|
-
overflow-y: auto;
|
|
265
|
-
flex: 1;
|
|
266
|
-
padding-bottom: 16px;
|
|
267
|
-
&::-webkit-scrollbar {
|
|
268
|
-
width: 0;
|
|
269
|
-
display: none;
|
|
270
|
-
}
|
|
271
|
-
`;
|
|
272
|
-
const StyleWrapperSearch = styled__default["default"].div `
|
|
273
|
-
padding: 0 16px;
|
|
274
|
-
`;
|
|
275
|
-
|
|
276
|
-
const Phone = (_a) => {
|
|
277
|
-
var { size = 24, color = miscTheme.theme.colors.neutral600 } = _a, rest = tslib_es6.__rest(_a, ["size", "color"]);
|
|
278
|
-
return (React__default["default"].createElement("svg", Object.assign({ width: size, height: size, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, rest),
|
|
279
|
-
React__default["default"].createElement("path", { d: "M6.088 18.75q-.63 0-1.068-.437a1.45 1.45 0 0 1-.438-1.07V2.757q0-.63.438-1.068a1.45 1.45 0 0 1 1.068-.438h7.82q.633 0 1.07.438.437.437.437 1.068v14.488q0 .63-.437 1.069a1.45 1.45 0 0 1-1.07.437zm3.91-1.859a.7.7 0 0 0 .522-.216.7.7 0 0 0 .216-.521.7.7 0 0 0-.216-.522.7.7 0 0 0-.521-.215.7.7 0 0 0-.522.215.7.7 0 0 0-.215.522.7.7 0 0 0 .215.521.7.7 0 0 0 .522.216m-4.166-3.333h8.333V4.792H5.832z", fill: color })));
|
|
230
|
+
return (React__namespace["default"].createElement(StyledDisplayWrapper, { lowerBound: forceDisplay ? 0 : lowerBoundValue, upperBound: forceDisplay ? 0 : upperBoundValue, className: className, style: style }, children));
|
|
280
231
|
};
|
|
281
232
|
|
|
282
|
-
|
|
283
|
-
padding-right: 1rem;
|
|
284
|
-
background: #ffffff;
|
|
285
|
-
padding: 5px 15px;
|
|
286
|
-
${utils.MediaQueries.mbUp} {
|
|
287
|
-
border-right: 1px solid #e4e8ec;
|
|
288
|
-
display: flex;
|
|
289
|
-
flex-direction: column;
|
|
290
|
-
justify-content: space-between;
|
|
291
|
-
}
|
|
292
|
-
`;
|
|
293
|
-
const StyledItem$6 = styled__default["default"].a `
|
|
294
|
-
padding: 10px 0;
|
|
295
|
-
position: relative;
|
|
296
|
-
|
|
297
|
-
display: flex;
|
|
298
|
-
align-items: center;
|
|
299
|
-
&[data-is-mobile-tool='true'] {
|
|
300
|
-
align-items: flex-start;
|
|
301
|
-
.name,
|
|
302
|
-
.phone-icon {
|
|
303
|
-
margin-top: 4px;
|
|
304
|
-
}
|
|
305
|
-
}
|
|
306
|
-
text-decoration: none;
|
|
307
|
-
color: ${miscTheme.theme.colors.gray800};
|
|
308
|
-
* {
|
|
309
|
-
pointer-events: none;
|
|
310
|
-
}
|
|
311
|
-
.name {
|
|
312
|
-
font-size: 16px;
|
|
313
|
-
font-weight: 400;
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
&[data-theme='marryBaby']:hover,
|
|
317
|
-
&[data-theme='marryBaby'][data-active='true'] {
|
|
318
|
-
p {
|
|
319
|
-
color: ${miscTheme.theme.mbColors.pink};
|
|
320
|
-
}
|
|
321
|
-
.icon {
|
|
322
|
-
background-color: ${miscTheme.theme.mbColors.lightPink};
|
|
323
|
-
}
|
|
324
|
-
}
|
|
325
|
-
&[data-theme='helloSites']:hover,
|
|
326
|
-
&[data-theme='helloSites'][data-active='true'] {
|
|
327
|
-
p {
|
|
328
|
-
color: ${miscTheme.theme.colors.primaryActive};
|
|
329
|
-
}
|
|
330
|
-
}
|
|
331
|
-
a {
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
&[data-theme='marryBaby'] {
|
|
335
|
-
.icon {
|
|
336
|
-
display: flex;
|
|
337
|
-
align-items: center;
|
|
338
|
-
justify-content: center;
|
|
339
|
-
max-width: 40px;
|
|
340
|
-
width: 100%;
|
|
341
|
-
height: 40px;
|
|
342
|
-
border-radius: 50%;
|
|
343
|
-
background-color: ${miscTheme.theme.mbColors.lightGray};
|
|
344
|
-
img {
|
|
345
|
-
border-radius: 50%;
|
|
346
|
-
}
|
|
347
|
-
}
|
|
348
|
-
}
|
|
349
|
-
`;
|
|
350
|
-
const StyledHeading$1 = styled__default["default"].div `
|
|
351
|
-
margin: 15px 0;
|
|
352
|
-
${utils.MediaQueries.mbDown} {
|
|
353
|
-
display: none;
|
|
354
|
-
}
|
|
355
|
-
`;
|
|
356
|
-
const StyledIconNav = styled__default["default"].div `
|
|
357
|
-
display: flex;
|
|
358
|
-
position: absolute;
|
|
359
|
-
right: 0;
|
|
360
|
-
${utils.MediaQueries.mbUp} {
|
|
361
|
-
&.arrow-icon {
|
|
362
|
-
display: none;
|
|
363
|
-
}
|
|
364
|
-
}
|
|
365
|
-
`;
|
|
366
|
-
const StyledItemAll = styled__default["default"].div `
|
|
367
|
-
display: flex;
|
|
368
|
-
align-items: center;
|
|
369
|
-
color: ${miscTheme.theme.colors.primaryBase};
|
|
370
|
-
font-size: ${miscTheme.theme.sizes.fsParagraph4};
|
|
371
|
-
font-weight: ${miscTheme.theme.sizes.fwBold};
|
|
372
|
-
line-height: 24px;
|
|
373
|
-
font-size: 14px;
|
|
374
|
-
font-weight: 600;
|
|
375
|
-
&[data-theme='marryBaby'] {
|
|
376
|
-
color: ${miscTheme.theme.mbColors.pink};
|
|
377
|
-
}
|
|
378
|
-
`;
|
|
379
|
-
const StyledImageWrapper = styled__default["default"].div `
|
|
380
|
-
display: flex;
|
|
381
|
-
align-items: center;
|
|
382
|
-
margin-left: 10px;
|
|
383
|
-
`;
|
|
384
|
-
const StyledViewMore$1 = styled__default["default"].a `
|
|
385
|
-
border: 1px solid ${miscTheme.theme.colors.primaryBase};
|
|
386
|
-
&[data-theme='marryBaby'] {
|
|
387
|
-
border: 1px solid ${miscTheme.theme.mbColors.pink};
|
|
388
|
-
|
|
389
|
-
svg path {
|
|
390
|
-
stroke: ${miscTheme.theme.mbColors.pink};
|
|
391
|
-
}
|
|
392
|
-
}
|
|
393
|
-
position: relative;
|
|
394
|
-
display: flex;
|
|
395
|
-
align-items: center;
|
|
396
|
-
justify-content: center;
|
|
397
|
-
padding: 6px;
|
|
398
|
-
border-radius: 5px;
|
|
399
|
-
margin-top: 20px;
|
|
400
|
-
${utils.MediaQueries.mbDown} {
|
|
401
|
-
display: none;
|
|
402
|
-
}
|
|
403
|
-
`;
|
|
404
|
-
|
|
405
|
-
var styles$1 = {"menuIconWrapper":"wnUb-dV","menuButton":"cjbOxWe","itemNavButton":"-sx0jrx","scale":"EDlp5Zf"};
|
|
233
|
+
var styles$2 = {"menuIconWrapper":"wnUb-dV","menuButton":"cjbOxWe","itemNavButton":"-sx0jrx","scale":"EDlp5Zf"};
|
|
406
234
|
|
|
407
235
|
const ItemMenu = ({ item, menu }) => {
|
|
236
|
+
const { isWinCashBackTheme: winCashBackTheme } = React.useContext(navigationProfileButton.NavigationContext);
|
|
408
237
|
const { containerRef, onButtonMouseDown, onClose } = navigationProfileButton.useCSSFocusPopupHelper({
|
|
409
238
|
allowBgScroll: true,
|
|
410
239
|
});
|
|
411
240
|
const isInit = useIsInit.useIsInit();
|
|
412
241
|
if (!item.popupType && item.link) {
|
|
413
|
-
return (
|
|
414
|
-
|
|
415
|
-
|
|
242
|
+
return (React__namespace["default"].createElement(NewWrapper, { isNew: item.isNew },
|
|
243
|
+
React__namespace["default"].createElement("a", { className: `hhgcomp-navigation-itemnav-headeritem ${!isInit ? `menu-handler-${item.id}` : ''}`, tabIndex: 0, href: item.link, "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": item.link },
|
|
244
|
+
React__namespace["default"].createElement("div", { "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": item.link, className: styles$2.menuButton }, item.name))));
|
|
416
245
|
}
|
|
417
|
-
return (
|
|
418
|
-
|
|
419
|
-
|
|
246
|
+
return (React__namespace["default"].createElement(NewWrapper, { isNew: item.isNew },
|
|
247
|
+
React__namespace["default"].createElement("div", { ref: containerRef, className: `hhgcomp-navigation-itemnav-headeritem ${!isInit ? `menu-handler-${item.id}` : ''}`, tabIndex: 0, key: item.id, "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": item.link, style: { borderBottom: winCashBackTheme ? 'none' : undefined } },
|
|
248
|
+
React__namespace["default"].createElement("div", { "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": item.link, onMouseDown: onButtonMouseDown, className: styles$2.menuButton, style: { color: winCashBackTheme ? 'white' : undefined } },
|
|
420
249
|
item.name,
|
|
421
|
-
item.popupType && (
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
250
|
+
item.popupType && (React__namespace["default"].createElement(React__namespace["default"].Fragment, null, (item === null || item === void 0 ? void 0 : item.icon) ? (React__namespace["default"].createElement("div", { className: "wrapper-menu-icon" },
|
|
251
|
+
React__namespace["default"].createElement("div", { className: "origin-icon", style: {
|
|
252
|
+
filter: winCashBackTheme
|
|
253
|
+
? 'brightness(0) invert(1)'
|
|
254
|
+
: undefined,
|
|
255
|
+
} }, item.icon),
|
|
256
|
+
React__namespace["default"].createElement("div", { className: "close-icon", onClick: onClose },
|
|
257
|
+
React__namespace["default"].createElement(core.Close, { size: 16, color: winCashBackTheme ? 'white' : undefined })))) : (React__namespace["default"].createElement("div", { className: styles$2.menuIconWrapper },
|
|
258
|
+
React__namespace["default"].createElement("svg", { width: "18", height: "18", viewBox: "0 0 18 18", fill: "none" },
|
|
259
|
+
React__namespace["default"].createElement("path", { d: "M11.5 7.5L9 10L6.5 7.5", stroke: winCashBackTheme ? 'white' : '#202135', strokeWidth: "1.33", strokeLinecap: "round", strokeLinejoin: "round" }))))))),
|
|
260
|
+
React__namespace["default"].isValidElement(menu)
|
|
261
|
+
? React__namespace["default"].cloneElement(menu, {
|
|
429
262
|
onClose,
|
|
430
263
|
})
|
|
431
264
|
: null)));
|
|
@@ -433,59 +266,13 @@ const ItemMenu = ({ item, menu }) => {
|
|
|
433
266
|
const NewWrapper = ({ isNew, children, }) => {
|
|
434
267
|
const { t } = index$1.useTranslations();
|
|
435
268
|
if (isNew) {
|
|
436
|
-
return (
|
|
269
|
+
return (React__namespace["default"].createElement(index$5.Indicator, { color: "green", label: t('home.navigator.menuItem.new'), size: 20, styles: {
|
|
437
270
|
root: {
|
|
438
271
|
paddingRight: 10,
|
|
439
272
|
},
|
|
440
273
|
} }, children));
|
|
441
274
|
}
|
|
442
|
-
return
|
|
443
|
-
};
|
|
444
|
-
|
|
445
|
-
const Categories = ({ hrefViewMore, titleBtnViewMore, UrlFE, onClosePopup, menuItems, headingTitle, activeItem, }) => {
|
|
446
|
-
const { siteType } = React.useContext(navigationProfileButton.NavigationContext);
|
|
447
|
-
const { t } = index$1.useTranslations();
|
|
448
|
-
const theme = core$1.useMantineTheme();
|
|
449
|
-
return (React__default["default"].createElement(StyledItemGridLeft, null,
|
|
450
|
-
React__default["default"].createElement("div", null,
|
|
451
|
-
React__default["default"].createElement(StyledHeading$1, null,
|
|
452
|
-
React__default["default"].createElement(index$7.Heading, { tag: siteType === 'marryBaby' ? 'h5' : 'h6', as: "p", fontWeight: "semibold" }, headingTitle)), menuItems === null || menuItems === void 0 ? void 0 :
|
|
453
|
-
menuItems.slice(0, 6).map((item, index) => {
|
|
454
|
-
const href = (item === null || item === void 0 ? void 0 : item.link)
|
|
455
|
-
? (item === null || item === void 0 ? void 0 : item.link.startsWith('http'))
|
|
456
|
-
? item === null || item === void 0 ? void 0 : item.link
|
|
457
|
-
: `${UrlFE}/${item === null || item === void 0 ? void 0 : item.link.split('/').filter(Boolean).join('/')}/`
|
|
458
|
-
: '/';
|
|
459
|
-
return (React__default["default"].createElement(StyledItem$6, Object.assign({ className: core$1.clsx('iconMenu', `itemMenu-${item.id}`), "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$8.isInternalLink(href) && {
|
|
460
|
-
target: '_blank',
|
|
461
|
-
}), { "data-theme": siteType, key: index, onClick: onClosePopup }),
|
|
462
|
-
React__default["default"].createElement("div", { className: "icon" },
|
|
463
|
-
React__default["default"].createElement("img", { loading: "lazy", alt: item.name, src: item.thumbnail || '/images/avatar.jpg', style: {
|
|
464
|
-
width: 32,
|
|
465
|
-
height: 32,
|
|
466
|
-
maxWidth: 32,
|
|
467
|
-
maxHeight: 32,
|
|
468
|
-
overflow: 'hidden',
|
|
469
|
-
} })),
|
|
470
|
-
React__default["default"].createElement(NewWrapper, { isNew: item.isNew },
|
|
471
|
-
React__default["default"].createElement("div", { style: {
|
|
472
|
-
padding: '0 0.4rem',
|
|
473
|
-
paddingRight: item.isNew ? 10 : 0,
|
|
474
|
-
} },
|
|
475
|
-
React__default["default"].createElement("p", { className: "name" }, item.name),
|
|
476
|
-
item.isMobileAppTool && (React__default["default"].createElement(index$4.Text, { size: "n1", color: theme.fn.primaryColor(), weight: "regular" }, t('home.calcWithApp'))))),
|
|
477
|
-
item.isMobileAppTool && (React__default["default"].createElement(StyledIconNav, null,
|
|
478
|
-
React__default["default"].createElement(Phone, { className: "phone-icon", size: 16 }))),
|
|
479
|
-
React__default["default"].createElement(StyledIconNav, { className: "arrow-icon" },
|
|
480
|
-
React__default["default"].createElement("img", { src: index$5.CommonGAssets.getAssetPath('chevronRight.svg'), style: { width: '16px', height: '16px' }, loading: "lazy" }))));
|
|
481
|
-
})),
|
|
482
|
-
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 },
|
|
483
|
-
React__default["default"].createElement(StyledItemAll, { onClick: onClosePopup, "data-theme": siteType, "data-is-heading-category": false },
|
|
484
|
-
titleBtnViewMore,
|
|
485
|
-
React__default["default"].createElement(StyledImageWrapper, null,
|
|
486
|
-
React__default["default"].createElement("img", { className: "svg", src: siteType === 'marryBaby'
|
|
487
|
-
? index$5.CommonGAssets.getAssetPath('chevronRightPink.svg')
|
|
488
|
-
: index$5.CommonGAssets.getAssetPath('chevronRightActive.svg'), style: { width: '16px', height: '16px' }, loading: "lazy" })))))));
|
|
275
|
+
return React__namespace["default"].createElement(React__namespace["default"].Fragment, null, children);
|
|
489
276
|
};
|
|
490
277
|
|
|
491
278
|
const StyledContainerItems$5 = styled__default["default"].div `
|
|
@@ -585,7 +372,7 @@ const StyledContentWrapper$2 = miscDefaultClassWrapper.setDefaultClass(styled__d
|
|
|
585
372
|
gap: 4px;
|
|
586
373
|
}
|
|
587
374
|
`, 'hhgcomp-navigation-menucareitem-contentwrapper');
|
|
588
|
-
const StyledItem$
|
|
375
|
+
const StyledItem$6 = styled__default["default"].a `
|
|
589
376
|
text-decoration: none;
|
|
590
377
|
border-radius: 4px;
|
|
591
378
|
background: ${miscTheme.theme.colors.white};
|
|
@@ -656,17 +443,17 @@ const Item$4 = ({ item, index = 0 }) => {
|
|
|
656
443
|
if (!item)
|
|
657
444
|
return null;
|
|
658
445
|
const href = `${statics.CARE_URL_FE}/${(_a = constants$1.LOCALIZED_SLUGS[locale]) === null || _a === void 0 ? void 0 : _a.HOSPITAL}/${item.slug}-${item.id}`;
|
|
659
|
-
return (
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
446
|
+
return (React__namespace["default"].createElement(StyledItem$6, { key: item.id, href: href, "data-event-category": "Hamburger Navigation", "data-event-action": `Care Click ${index + 1}`, "data-event-label": href },
|
|
447
|
+
React__namespace["default"].createElement("img", { src: index$6.CommonGAssets.getAssetPath('navCareCardBg.svg'), alt: "", className: "bg-svg", loading: "lazy" }),
|
|
448
|
+
React__namespace["default"].createElement(StyledImageCard$3, null,
|
|
449
|
+
React__namespace["default"].createElement(StyledImageCardInner, null,
|
|
450
|
+
React__namespace["default"].createElement("img", { loading: "lazy", alt: item.name, src: item.logo || '/images/avatar.jpg' }))),
|
|
451
|
+
React__namespace["default"].createElement(StyledContentWrapper$2, null,
|
|
452
|
+
React__namespace["default"].createElement(StyledTitle$5, null, item.name),
|
|
453
|
+
React__namespace["default"].createElement(StyledDes$2, null, item.description),
|
|
454
|
+
React__namespace["default"].createElement(StyledBtnView$2, null,
|
|
668
455
|
t('home.seeMore'),
|
|
669
|
-
|
|
456
|
+
React__namespace["default"].createElement("img", { src: index$6.CommonGAssets.getAssetPath('chevronRightActive.svg'), style: {
|
|
670
457
|
width: '16px',
|
|
671
458
|
height: '16px',
|
|
672
459
|
marginTop: '3px',
|
|
@@ -742,18 +529,18 @@ const StyledLeft = styled__default["default"].div `
|
|
|
742
529
|
|
|
743
530
|
const SpotlightNoData = ({ title, link, description, cta, icon }) => {
|
|
744
531
|
const { siteType } = React.useContext(navigationProfileButton.NavigationContext);
|
|
745
|
-
return (
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
? index$
|
|
749
|
-
: index$
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
title &&
|
|
753
|
-
description &&
|
|
754
|
-
cta && (
|
|
755
|
-
|
|
756
|
-
|
|
532
|
+
return (React__namespace["default"].createElement(StyledContainerNoPosts, { "data-theme": siteType },
|
|
533
|
+
React__namespace["default"].createElement(StyledLeft, null,
|
|
534
|
+
React__namespace["default"].createElement("img", { src: siteType === 'marryBaby'
|
|
535
|
+
? index$6.CommonGAssets.getAssetPath('navMBSpotlightBgNoData.svg')
|
|
536
|
+
: index$6.CommonGAssets.getAssetPath('navSpotlightBgNoData.svg'), alt: "", loading: "lazy", className: "bg-svg" }),
|
|
537
|
+
React__namespace["default"].createElement(StyledContentLeft, null, icon && React__namespace["default"].createElement("img", { src: icon, width: 64, height: 64, loading: "lazy" }))),
|
|
538
|
+
React__namespace["default"].createElement("div", null,
|
|
539
|
+
title && React__namespace["default"].createElement(StyledTitle$4, null, title),
|
|
540
|
+
description && React__namespace["default"].createElement(StyledDescription, null, description),
|
|
541
|
+
cta && (React__namespace["default"].createElement("div", null,
|
|
542
|
+
React__namespace["default"].createElement("a", { href: link },
|
|
543
|
+
React__namespace["default"].createElement(index$7.Button, { theme: siteType, className: "survey-contact-submit", size: "md" }, cta)))))));
|
|
757
544
|
};
|
|
758
545
|
|
|
759
546
|
const StyledItemGridRight = styled__default["default"].div `
|
|
@@ -773,11 +560,11 @@ const StyledItemGridRight = styled__default["default"].div `
|
|
|
773
560
|
}
|
|
774
561
|
}
|
|
775
562
|
`;
|
|
776
|
-
const StyledHeading = styled__default["default"].div `
|
|
563
|
+
const StyledHeading$1 = styled__default["default"].div `
|
|
777
564
|
margin: 15px 0;
|
|
778
565
|
display: flex;
|
|
779
566
|
`;
|
|
780
|
-
const StyledViewMore = styled__default["default"].a `
|
|
567
|
+
const StyledViewMore$1 = styled__default["default"].a `
|
|
781
568
|
padding-left: 10px;
|
|
782
569
|
display: flex;
|
|
783
570
|
align-items: center;
|
|
@@ -798,42 +585,31 @@ const StyledViewMore = styled__default["default"].a `
|
|
|
798
585
|
|
|
799
586
|
const Spotlights = ({ title, viewMore, children, link, dataEventAction = '', }) => {
|
|
800
587
|
const { siteType } = React.useContext(navigationProfileButton.NavigationContext);
|
|
801
|
-
return (
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
viewMore && (
|
|
588
|
+
return (React__namespace["default"].createElement(StyledItemGridRight, null,
|
|
589
|
+
React__namespace["default"].createElement(StyledHeading$1, null,
|
|
590
|
+
React__namespace["default"].createElement(index$8.Heading, { tag: siteType === 'marryBaby' ? 'h5' : 'h6', as: "p", fontWeight: "semibold" }, title),
|
|
591
|
+
viewMore && (React__namespace["default"].createElement(StyledViewMore$1, { "data-event-category": "Hamburger Navigation", "data-event-action": dataEventAction, "data-event-label": link, href: link, "data-theme": siteType },
|
|
805
592
|
viewMore,
|
|
806
|
-
|
|
807
|
-
? index$
|
|
808
|
-
: index$
|
|
593
|
+
React__namespace["default"].createElement("img", { src: siteType === 'marryBaby'
|
|
594
|
+
? index$6.CommonGAssets.getAssetPath('chevronRightPink.svg')
|
|
595
|
+
: index$6.CommonGAssets.getAssetPath('chevronRightActive.svg'), style: { width: '16px', height: '16px' }, loading: "lazy" })))),
|
|
809
596
|
children));
|
|
810
597
|
};
|
|
811
598
|
|
|
812
599
|
const CareSpotlights = ({ spotlights = [], hrefViewMore }) => {
|
|
813
600
|
const { t } = index$1.useTranslations();
|
|
814
601
|
const { siteType } = React.useContext(navigationProfileButton.NavigationContext);
|
|
815
|
-
return (
|
|
816
|
-
|
|
817
|
-
|
|
602
|
+
return (React__namespace["default"].createElement(Spotlights, { title: t('home.navigator.menu.spotlightHospitals') }, spotlights.length !== 0 ? (React__namespace["default"].createElement(React__namespace["default"].Fragment, null,
|
|
603
|
+
React__namespace["default"].createElement(StyledContainerItems$5, null, spotlights === null || spotlights === void 0 ? void 0 : spotlights.slice(0, 3).map((s, index) => (React__namespace["default"].createElement(Item$4, { key: index, index: index, item: s })))),
|
|
604
|
+
React__namespace["default"].createElement("div", { style: {
|
|
818
605
|
position: 'absolute',
|
|
819
606
|
bottom: '6px',
|
|
820
607
|
right: '1rem',
|
|
821
608
|
} },
|
|
822
|
-
|
|
823
|
-
|
|
609
|
+
React__namespace["default"].createElement("a", { href: hrefViewMore },
|
|
610
|
+
React__namespace["default"].createElement(index$7.Button, { theme: siteType, className: "survey-contact-submit", size: "md" }, t('home.navigator.menu.care.homeButton')))))) : (React__namespace["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$6.CommonGAssets.getAssetPath('community.svg') }))));
|
|
824
611
|
};
|
|
825
612
|
|
|
826
|
-
const StyledContainerItems$4 = styled__default["default"].div `
|
|
827
|
-
display: grid;
|
|
828
|
-
|
|
829
|
-
grid-template-columns: repeat(4, 1fr);
|
|
830
|
-
gap: 24px;
|
|
831
|
-
${utils.MediaQueries.tdDown} {
|
|
832
|
-
gap: 12px;
|
|
833
|
-
grid-template-columns: 1fr;
|
|
834
|
-
}
|
|
835
|
-
`;
|
|
836
|
-
|
|
837
613
|
const TOGETHER_PATHS = {
|
|
838
614
|
COMMUNITIES: 'community?website_url={websiteUrl}',
|
|
839
615
|
MENU_TOPIC: 'topic?community_id={communityId}&website_url={websiteUrl}',
|
|
@@ -1014,7 +790,7 @@ const formatVideoItem = (data) => {
|
|
|
1014
790
|
videoId: data.video_id || '',
|
|
1015
791
|
url: data.video_url || '',
|
|
1016
792
|
title: data.video_title || '',
|
|
1017
|
-
type: data.type || index$
|
|
793
|
+
type: data.type || index$9.VideoType.VIDEO,
|
|
1018
794
|
totalView: data.total_view || 0,
|
|
1019
795
|
description: data.description || '',
|
|
1020
796
|
createTime: data.create_time || '',
|
|
@@ -1073,28 +849,251 @@ function hsbToRgb(h, s, b) {
|
|
|
1073
849
|
return [255 * f(5), 255 * f(3), 255 * f(1)];
|
|
1074
850
|
}
|
|
1075
851
|
|
|
1076
|
-
|
|
1077
|
-
position: relative;
|
|
1078
|
-
width: 100%;
|
|
1079
|
-
display: flex;
|
|
1080
|
-
align-items: center;
|
|
1081
|
-
text-decoration: none;
|
|
852
|
+
var styles$1 = {"gridContainer":"q3nL5cp","container":"_2DNf80G","closeWrapper":"Q-glX-n"};
|
|
1082
853
|
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
854
|
+
const BtnClosePopup = ({ onClosePopup }) => {
|
|
855
|
+
return (React__namespace["default"].createElement("div", { className: `${styles$1.closeWrapper} close-btn`, onClick: onClosePopup },
|
|
856
|
+
React__namespace["default"].createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" },
|
|
857
|
+
React__namespace["default"].createElement("path", { d: "M18 6L6 18M18 18L6 6", stroke: "#3E3F58", strokeWidth: "1.3", strokeLinecap: "round" }))));
|
|
858
|
+
};
|
|
859
|
+
|
|
860
|
+
const PopupWrapper = ({ onClosePopup, isDisplay, children, isNavMenu, hideCloseBtn, stylesContainer, }) => {
|
|
861
|
+
return (React__namespace["default"].createElement("div", { className: "hhgcomp-navigation-popupwrapper-menuwrapper top-menu-health-tools", "data-is-display": !!isDisplay, "data-is-nav-menu": !!isNavMenu },
|
|
862
|
+
React__namespace["default"].createElement(index$a.Container, { className: "hhgcomp-navigation-popupwrapper-menuwrapper-child" },
|
|
863
|
+
!hideCloseBtn && (React__namespace["default"].createElement("div", { className: styles$1.container },
|
|
864
|
+
React__namespace["default"].createElement(BtnClosePopup, { onClosePopup: onClosePopup }))),
|
|
865
|
+
React__namespace["default"].createElement(index$a.Container, { className: styles$1.gridContainer, style: stylesContainer }, children))));
|
|
866
|
+
};
|
|
867
|
+
|
|
868
|
+
const Phone = (_a) => {
|
|
869
|
+
var { size = 24, color = miscTheme.theme.colors.neutral600 } = _a, rest = tslib_es6.__rest(_a, ["size", "color"]);
|
|
870
|
+
return (React__namespace["default"].createElement("svg", Object.assign({ width: size, height: size, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, rest),
|
|
871
|
+
React__namespace["default"].createElement("path", { d: "M6.088 18.75q-.63 0-1.068-.437a1.45 1.45 0 0 1-.438-1.07V2.757q0-.63.438-1.068a1.45 1.45 0 0 1 1.068-.438h7.82q.633 0 1.07.438.437.437.437 1.068v14.488q0 .63-.437 1.069a1.45 1.45 0 0 1-1.07.437zm3.91-1.859a.7.7 0 0 0 .522-.216.7.7 0 0 0 .216-.521.7.7 0 0 0-.216-.522.7.7 0 0 0-.521-.215.7.7 0 0 0-.522.215.7.7 0 0 0-.215.522.7.7 0 0 0 .215.521.7.7 0 0 0 .522.216m-4.166-3.333h8.333V4.792H5.832z", fill: color })));
|
|
872
|
+
};
|
|
873
|
+
|
|
874
|
+
const StyledItemGridLeft = styled__default["default"].div `
|
|
875
|
+
padding-right: 1rem;
|
|
876
|
+
background: #ffffff;
|
|
877
|
+
padding: 5px 15px;
|
|
878
|
+
${utils.MediaQueries.mbUp} {
|
|
879
|
+
border-right: 1px solid #e4e8ec;
|
|
880
|
+
display: flex;
|
|
881
|
+
flex-direction: column;
|
|
882
|
+
justify-content: space-between;
|
|
883
|
+
}
|
|
884
|
+
`;
|
|
885
|
+
const StyledItem$5 = styled__default["default"].a `
|
|
886
|
+
padding: 10px 0;
|
|
887
|
+
position: relative;
|
|
888
|
+
|
|
889
|
+
display: flex;
|
|
890
|
+
align-items: center;
|
|
891
|
+
&[data-is-mobile-tool='true'] {
|
|
892
|
+
align-items: flex-start;
|
|
893
|
+
.name,
|
|
894
|
+
.phone-icon {
|
|
895
|
+
margin-top: 4px;
|
|
896
|
+
}
|
|
897
|
+
}
|
|
898
|
+
text-decoration: none;
|
|
899
|
+
color: ${miscTheme.theme.colors.gray800};
|
|
900
|
+
* {
|
|
901
|
+
pointer-events: none;
|
|
902
|
+
}
|
|
903
|
+
.name {
|
|
904
|
+
font-size: 16px;
|
|
905
|
+
font-weight: 400;
|
|
906
|
+
}
|
|
907
|
+
|
|
908
|
+
&[data-theme='marryBaby']:hover,
|
|
909
|
+
&[data-theme='marryBaby'][data-active='true'] {
|
|
910
|
+
p {
|
|
911
|
+
color: ${miscTheme.theme.mbColors.pink};
|
|
912
|
+
}
|
|
913
|
+
.icon {
|
|
914
|
+
background-color: ${miscTheme.theme.mbColors.lightPink};
|
|
915
|
+
}
|
|
916
|
+
}
|
|
917
|
+
&[data-theme='helloSites']:hover,
|
|
918
|
+
&[data-theme='helloSites'][data-active='true'] {
|
|
919
|
+
p {
|
|
920
|
+
color: ${miscTheme.theme.colors.primaryActive};
|
|
921
|
+
}
|
|
922
|
+
}
|
|
923
|
+
a {
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
&[data-theme='marryBaby'] {
|
|
927
|
+
.icon {
|
|
928
|
+
display: flex;
|
|
929
|
+
align-items: center;
|
|
930
|
+
justify-content: center;
|
|
931
|
+
max-width: 40px;
|
|
932
|
+
width: 100%;
|
|
933
|
+
height: 40px;
|
|
934
|
+
border-radius: 50%;
|
|
935
|
+
background-color: ${miscTheme.theme.mbColors.lightGray};
|
|
936
|
+
img {
|
|
937
|
+
border-radius: 50%;
|
|
938
|
+
}
|
|
939
|
+
}
|
|
940
|
+
}
|
|
941
|
+
`;
|
|
942
|
+
const StyledHeading = styled__default["default"].div `
|
|
943
|
+
margin: 15px 0;
|
|
944
|
+
${utils.MediaQueries.mbDown} {
|
|
945
|
+
display: none;
|
|
946
|
+
}
|
|
947
|
+
`;
|
|
948
|
+
const StyledIconNav = styled__default["default"].div `
|
|
949
|
+
display: flex;
|
|
950
|
+
position: absolute;
|
|
951
|
+
right: 0;
|
|
952
|
+
${utils.MediaQueries.mbUp} {
|
|
953
|
+
&.arrow-icon {
|
|
954
|
+
display: none;
|
|
955
|
+
}
|
|
956
|
+
}
|
|
957
|
+
`;
|
|
958
|
+
const StyledItemAll = styled__default["default"].div `
|
|
959
|
+
display: flex;
|
|
960
|
+
align-items: center;
|
|
961
|
+
color: ${miscTheme.theme.colors.primaryBase};
|
|
962
|
+
font-size: ${miscTheme.theme.sizes.fsParagraph4};
|
|
963
|
+
font-weight: ${miscTheme.theme.sizes.fwBold};
|
|
964
|
+
line-height: 24px;
|
|
965
|
+
font-size: 14px;
|
|
966
|
+
font-weight: 600;
|
|
967
|
+
&[data-theme='marryBaby'] {
|
|
968
|
+
color: ${miscTheme.theme.mbColors.pink};
|
|
969
|
+
}
|
|
970
|
+
`;
|
|
971
|
+
const StyledImageWrapper = styled__default["default"].div `
|
|
972
|
+
display: flex;
|
|
973
|
+
align-items: center;
|
|
974
|
+
margin-left: 10px;
|
|
975
|
+
`;
|
|
976
|
+
const StyledViewMore = styled__default["default"].a `
|
|
977
|
+
border: 1px solid ${miscTheme.theme.colors.primaryBase};
|
|
978
|
+
&[data-theme='marryBaby'] {
|
|
979
|
+
border: 1px solid ${miscTheme.theme.mbColors.pink};
|
|
980
|
+
|
|
981
|
+
svg path {
|
|
982
|
+
stroke: ${miscTheme.theme.mbColors.pink};
|
|
983
|
+
}
|
|
984
|
+
}
|
|
985
|
+
position: relative;
|
|
986
|
+
display: flex;
|
|
987
|
+
align-items: center;
|
|
988
|
+
justify-content: center;
|
|
989
|
+
padding: 6px;
|
|
990
|
+
border-radius: 5px;
|
|
991
|
+
margin-top: 20px;
|
|
992
|
+
${utils.MediaQueries.mbDown} {
|
|
993
|
+
display: none;
|
|
994
|
+
}
|
|
995
|
+
`;
|
|
996
|
+
|
|
997
|
+
const Categories = ({ hrefViewMore, titleBtnViewMore, UrlFE, onClosePopup, menuItems, headingTitle, activeItem, }) => {
|
|
998
|
+
const { siteType } = React.useContext(navigationProfileButton.NavigationContext);
|
|
999
|
+
const { t } = index$1.useTranslations();
|
|
1000
|
+
const theme = core$1.useMantineTheme();
|
|
1001
|
+
return (React__namespace["default"].createElement(StyledItemGridLeft, null,
|
|
1002
|
+
React__namespace["default"].createElement("div", null,
|
|
1003
|
+
React__namespace["default"].createElement(StyledHeading, null,
|
|
1004
|
+
React__namespace["default"].createElement(index$8.Heading, { tag: siteType === 'marryBaby' ? 'h5' : 'h6', as: "p", fontWeight: "semibold" }, headingTitle)), menuItems === null || menuItems === void 0 ? void 0 :
|
|
1005
|
+
menuItems.slice(0, 6).map((item, index) => {
|
|
1006
|
+
const href = (item === null || item === void 0 ? void 0 : item.link)
|
|
1007
|
+
? (item === null || item === void 0 ? void 0 : item.link.startsWith('http'))
|
|
1008
|
+
? item === null || item === void 0 ? void 0 : item.link
|
|
1009
|
+
: `${UrlFE}/${item === null || item === void 0 ? void 0 : item.link.split('/').filter(Boolean).join('/')}/`
|
|
1010
|
+
: '/';
|
|
1011
|
+
return (React__namespace["default"].createElement(StyledItem$5, Object.assign({ className: core$1.clsx('iconMenu', `itemMenu-${item.id}`), "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$b.isInternalLink(href) && {
|
|
1012
|
+
target: '_blank',
|
|
1013
|
+
}), { "data-theme": siteType, key: index, onClick: onClosePopup }),
|
|
1014
|
+
React__namespace["default"].createElement("div", { className: "icon" },
|
|
1015
|
+
React__namespace["default"].createElement("img", { loading: "lazy", alt: item.name, src: item.thumbnail || '/images/avatar.jpg', style: {
|
|
1016
|
+
width: 32,
|
|
1017
|
+
height: 32,
|
|
1018
|
+
maxWidth: 32,
|
|
1019
|
+
maxHeight: 32,
|
|
1020
|
+
overflow: 'hidden',
|
|
1021
|
+
} })),
|
|
1022
|
+
React__namespace["default"].createElement(NewWrapper, { isNew: item.isNew },
|
|
1023
|
+
React__namespace["default"].createElement("div", { style: {
|
|
1024
|
+
padding: '0 0.4rem',
|
|
1025
|
+
paddingRight: item.isNew ? 10 : 0,
|
|
1026
|
+
} },
|
|
1027
|
+
React__namespace["default"].createElement("p", { className: "name" }, item.name),
|
|
1028
|
+
item.isMobileAppTool && (React__namespace["default"].createElement(index$4.Text, { size: "n1", color: theme.fn.primaryColor(), weight: "regular" }, t('home.calcWithApp'))))),
|
|
1029
|
+
item.isMobileAppTool && (React__namespace["default"].createElement(StyledIconNav, null,
|
|
1030
|
+
React__namespace["default"].createElement(Phone, { className: "phone-icon", size: 16 }))),
|
|
1031
|
+
React__namespace["default"].createElement(StyledIconNav, { className: "arrow-icon" },
|
|
1032
|
+
React__namespace["default"].createElement("img", { src: index$6.CommonGAssets.getAssetPath('chevronRight.svg'), style: { width: '16px', height: '16px' }, loading: "lazy" }))));
|
|
1033
|
+
})),
|
|
1034
|
+
titleBtnViewMore && (React__namespace["default"].createElement(StyledViewMore, { "data-theme": siteType, style: { textDecoration: 'none' }, href: hrefViewMore, "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": hrefViewMore },
|
|
1035
|
+
React__namespace["default"].createElement(StyledItemAll, { onClick: onClosePopup, "data-theme": siteType, "data-is-heading-category": false },
|
|
1036
|
+
titleBtnViewMore,
|
|
1037
|
+
React__namespace["default"].createElement(StyledImageWrapper, null,
|
|
1038
|
+
React__namespace["default"].createElement("img", { className: "svg", src: siteType === 'marryBaby'
|
|
1039
|
+
? index$6.CommonGAssets.getAssetPath('chevronRightPink.svg')
|
|
1040
|
+
: index$6.CommonGAssets.getAssetPath('chevronRightActive.svg'), style: { width: '16px', height: '16px' }, loading: "lazy" })))))));
|
|
1041
|
+
};
|
|
1042
|
+
|
|
1043
|
+
const MenuCareList = ({ careSpecialties = [], isOpen, onClose, spotlights = [], }) => {
|
|
1044
|
+
var _a;
|
|
1045
|
+
const { t } = index$1.useTranslations();
|
|
1046
|
+
const { locale, configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
1047
|
+
return (React__namespace["default"].createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true },
|
|
1048
|
+
React__namespace["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) => {
|
|
1049
|
+
if (!specialty)
|
|
1050
|
+
return {};
|
|
1051
|
+
return {
|
|
1052
|
+
name: String(specialty.name) || '',
|
|
1053
|
+
link: getCareSearchUrl({
|
|
1054
|
+
type: 'DOCTOR',
|
|
1055
|
+
specialtySlug: specialty.slug,
|
|
1056
|
+
locale,
|
|
1057
|
+
}),
|
|
1058
|
+
thumbnail: (specialty === null || specialty === void 0 ? void 0 : specialty.thumbnail) || '',
|
|
1059
|
+
};
|
|
1060
|
+
})) || [] }),
|
|
1061
|
+
React__namespace["default"].createElement(CareSpotlights, { spotlights: spotlights, hrefViewMore: `${statics.CARE_URL_FE}/${(_a = constants$1.LOCALIZED_SLUGS[locale]) === null || _a === void 0 ? void 0 : _a.SPECIALTIES}/` })));
|
|
1062
|
+
};
|
|
1063
|
+
|
|
1064
|
+
const StyledContainerItems$4 = styled__default["default"].div `
|
|
1065
|
+
display: grid;
|
|
1066
|
+
|
|
1067
|
+
grid-template-columns: repeat(4, 1fr);
|
|
1068
|
+
gap: 24px;
|
|
1069
|
+
${utils.MediaQueries.tdDown} {
|
|
1070
|
+
gap: 12px;
|
|
1071
|
+
grid-template-columns: 1fr;
|
|
1072
|
+
}
|
|
1073
|
+
`;
|
|
1074
|
+
|
|
1075
|
+
const StyledItem$4 = styled__default["default"].a `
|
|
1076
|
+
position: relative;
|
|
1077
|
+
width: 100%;
|
|
1078
|
+
display: flex;
|
|
1079
|
+
align-items: center;
|
|
1080
|
+
text-decoration: none;
|
|
1081
|
+
|
|
1082
|
+
* {
|
|
1083
|
+
pointer-events: none;
|
|
1084
|
+
}
|
|
1085
|
+
`;
|
|
1086
|
+
const StyledImageCard$2 = styled__default["default"].div `
|
|
1087
|
+
border-radius: 5px;
|
|
1088
|
+
display: block;
|
|
1089
|
+
overflow: hidden;
|
|
1090
|
+
padding-top: 140%;
|
|
1091
|
+
width: 100%;
|
|
1092
|
+
position: relative;
|
|
1093
|
+
height: 0;
|
|
1094
|
+
img {
|
|
1095
|
+
position: absolute;
|
|
1096
|
+
width: 100%;
|
|
1098
1097
|
height: 100%;
|
|
1099
1098
|
display: block;
|
|
1100
1099
|
object-fit: cover;
|
|
@@ -1178,28 +1177,44 @@ const Item$3 = ({ item, index = 0 }) => {
|
|
|
1178
1177
|
'data-event-action': `Spotlight Click ${index + 1}`,
|
|
1179
1178
|
'data-event-label': item.link,
|
|
1180
1179
|
};
|
|
1181
|
-
return (
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1180
|
+
return (React__namespace["default"].createElement(StyledItem$4, Object.assign({ key: item.id }, linkProps),
|
|
1181
|
+
React__namespace["default"].createElement(StyledImageCard$2, null,
|
|
1182
|
+
React__namespace["default"].createElement("img", { loading: "lazy", alt: item.title, src: item.banner || '/images/notFound-min-small.jpg' })),
|
|
1183
|
+
React__namespace["default"].createElement("div", { style: {
|
|
1185
1184
|
display: 'flex',
|
|
1186
1185
|
flexDirection: 'column',
|
|
1187
1186
|
gap: 8,
|
|
1188
1187
|
} },
|
|
1189
|
-
|
|
1190
|
-
!!item.buttonDisplay && (
|
|
1188
|
+
React__namespace["default"].createElement(StyledTitle$3, null, item.title),
|
|
1189
|
+
!!item.buttonDisplay && (React__namespace["default"].createElement(StyledButton, Object.assign({ bgColor: item.buttonDisplay.button_background_color, textColor: item.buttonDisplay.button_text_color }, linkProps), item.buttonDisplay.button_label)))));
|
|
1191
1190
|
};
|
|
1192
1191
|
|
|
1193
1192
|
const CategorySpotlights = ({ spotlightsList = [], hrefViewMore }) => {
|
|
1194
1193
|
const { t } = index$1.useTranslations();
|
|
1195
1194
|
const { configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
1196
|
-
return (
|
|
1195
|
+
return (React__namespace["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__namespace["default"].createElement(StyledContainerItems$4, null, spotlightsList === null || spotlightsList === void 0 ? void 0 : spotlightsList.slice(0, 4).map((spotlight, index) => (React__namespace["default"].createElement(Item$3, { key: index, index: index, item: {
|
|
1197
1196
|
id: spotlight.id,
|
|
1198
1197
|
link: statics.HOME_PAGE_URL + spotlight.permalink,
|
|
1199
1198
|
title: spotlight.name,
|
|
1200
1199
|
banner: spotlight.image,
|
|
1201
1200
|
buttonDisplay: spotlight.buttonDisplay,
|
|
1202
|
-
} }))))) : (
|
|
1201
|
+
} }))))) : (React__namespace["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$6.CommonGAssets.getAssetPath('Spotlight.svg') }))));
|
|
1202
|
+
};
|
|
1203
|
+
|
|
1204
|
+
const MenuCategoriesList = ({ categories = [], spotlightsList = [], onClose, isOpen, }) => {
|
|
1205
|
+
const { t } = index$1.useTranslations();
|
|
1206
|
+
const { locale, configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
1207
|
+
return (React__namespace["default"].createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true },
|
|
1208
|
+
React__namespace["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) => {
|
|
1209
|
+
if (!cat)
|
|
1210
|
+
return {};
|
|
1211
|
+
return {
|
|
1212
|
+
name: cat.displayName || null,
|
|
1213
|
+
link: (cat === null || cat === void 0 ? void 0 : cat.customizedUrl) || (cat === null || cat === void 0 ? void 0 : cat.permalink) || '/',
|
|
1214
|
+
thumbnail: cat.iconUrl || null,
|
|
1215
|
+
};
|
|
1216
|
+
})) || [], headingTitle: t('home.navigator.menuItem.healthCategories') }),
|
|
1217
|
+
React__namespace["default"].createElement(CategorySpotlights, { spotlightsList: spotlightsList, hrefViewMore: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}/spotlight/` })));
|
|
1203
1218
|
};
|
|
1204
1219
|
|
|
1205
1220
|
const StyledContainerItems$3 = styled__default["default"].div `
|
|
@@ -1334,27 +1349,43 @@ const Item$2 = ({ post, index = 0 }) => {
|
|
|
1334
1349
|
: null
|
|
1335
1350
|
: null;
|
|
1336
1351
|
const timeText = cleanedTimeDate ? dayjs__default["default"](cleanedTimeDate).toNow(true) : time;
|
|
1337
|
-
return (
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1352
|
+
return (React__namespace["default"].createElement(StyledItem$3, { href: postUrl, "data-event-category": "Hamburger Navigation", "data-event-action": `Together Click ${index + 1}`, "data-event-label": postUrl },
|
|
1353
|
+
React__namespace["default"].createElement(StyledContent$1, null,
|
|
1354
|
+
React__namespace["default"].createElement(StyledInfoUser, null,
|
|
1355
|
+
React__namespace["default"].createElement(index$c.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) }),
|
|
1356
|
+
React__namespace["default"].createElement(StyledWrapInfo, null,
|
|
1357
|
+
React__namespace["default"].createElement(StyledName, { "data-theme": siteType }, (_e = post.author) === null || _e === void 0 ? void 0 : _e.name),
|
|
1358
|
+
React__namespace["default"].createElement(StyledInfo, null,
|
|
1359
|
+
React__namespace["default"].createElement(StyledCategory, { "data-event-category": "Hamburger Navigation", "data-event-action": `Topic Click ${index + 1}`, "data-event-label": communityUrl, onClick: (e) => {
|
|
1345
1360
|
e.preventDefault();
|
|
1346
1361
|
location.href = communityUrl;
|
|
1347
1362
|
}, "data-theme": siteType }, (_f = post.community) === null || _f === void 0 ? void 0 : _f.name),
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
!!((_g = post.photos) === null || _g === void 0 ? void 0 : _g.length) && (
|
|
1363
|
+
React__namespace["default"].createElement(StyledDot, null, "\u2022"),
|
|
1364
|
+
React__namespace["default"].createElement(StyledModifiedTime, { "data-theme": siteType }, timeText)))),
|
|
1365
|
+
React__namespace["default"].createElement(StyledTitle$2, null, post.title)),
|
|
1366
|
+
!!((_g = post.photos) === null || _g === void 0 ? void 0 : _g.length) && (React__namespace["default"].createElement(StyledImage, { loading: "lazy", src: post.photos[0] }))));
|
|
1352
1367
|
};
|
|
1353
1368
|
|
|
1354
1369
|
const CommunitySpotlights = ({ spotlights = [] }) => {
|
|
1355
1370
|
const { configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
1356
1371
|
const { t } = index$1.useTranslations();
|
|
1357
|
-
return (
|
|
1372
|
+
return (React__namespace["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__namespace["default"].createElement(StyledContainerItems$3, null, spotlights === null || spotlights === void 0 ? void 0 : spotlights.slice(0, 4).map((p, index) => (React__namespace["default"].createElement(Item$2, { index: index, post: p, key: p.id }))))) : (React__namespace["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$6.CommonGAssets.getAssetPath('community.svg') }))));
|
|
1373
|
+
};
|
|
1374
|
+
|
|
1375
|
+
const MenuCommunitiesList = ({ communities = [], onClose, isOpen, spotlights = [], }) => {
|
|
1376
|
+
const { t } = index$1.useTranslations();
|
|
1377
|
+
const { configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
1378
|
+
return (React__namespace["default"].createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true },
|
|
1379
|
+
React__namespace["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) => {
|
|
1380
|
+
if (!community)
|
|
1381
|
+
return {};
|
|
1382
|
+
return {
|
|
1383
|
+
name: community.name || '',
|
|
1384
|
+
link: community.slug || '/',
|
|
1385
|
+
thumbnail: community.thumbnail || '',
|
|
1386
|
+
};
|
|
1387
|
+
})) || [], headingTitle: t('home.navigator.menuItem.allCommunitiesheadingTitle') }),
|
|
1388
|
+
React__namespace["default"].createElement(CommunitySpotlights, { spotlights: spotlights })));
|
|
1358
1389
|
};
|
|
1359
1390
|
|
|
1360
1391
|
const StyledContainerItems$2 = styled__default["default"].div `
|
|
@@ -1362,77 +1393,26 @@ const StyledContainerItems$2 = styled__default["default"].div `
|
|
|
1362
1393
|
|
|
1363
1394
|
grid-template-columns: repeat(3, 1fr);
|
|
1364
1395
|
gap: 24px;
|
|
1365
|
-
margin-bottom: 3.5rem;
|
|
1366
1396
|
${utils.MediaQueries.tdDown} {
|
|
1367
|
-
grid-template-columns:
|
|
1397
|
+
grid-template-columns: 1fr;
|
|
1398
|
+
gap: 12px;
|
|
1368
1399
|
}
|
|
1369
1400
|
`;
|
|
1370
1401
|
|
|
1402
|
+
const AppIcon = (_a) => {
|
|
1403
|
+
var { size = 24, color = '#2D87F3' } = _a, rest = tslib_es6.__rest(_a, ["size", "color"]);
|
|
1404
|
+
return (React__namespace["default"].createElement("svg", Object.assign({ width: size, height: size, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, rest),
|
|
1405
|
+
React__namespace["default"].createElement("rect", { width: "20", height: "20", rx: "4", fill: color }),
|
|
1406
|
+
React__namespace["default"].createElement("path", { d: "M9.12 6.005c0-.088-.005-.181-.012-.27-.022-.611-.623-1.071-1.208-1.046-.69.04-.839 1.007-.248 1.297.09.047.115.088.105.172v5.048c.004.064-.016.096-.077.122-.63.274-.474 1.276.233 1.304.583.03 1.16-.453 1.195-1.044q.012-.135.013-.272c0-1.77.013-3.54 0-5.311m-3.093 5.34c-.109-.048-.144-.108-.132-.232V6.117c.009-.114.103-.108.176-.165.544-.357.313-1.249-.346-1.264h-.023c-.659 0-1.172.546-1.172 1.194q-.002 2.09.004 4.177l.003 1.396c0 .62.527 1.175 1.15 1.175.68 0 .989-.978.34-1.285m7.299-1.489a.623.623 0 1 1-1.247 0 .623.623 0 0 1 1.247 0", fill: "#fff" }),
|
|
1407
|
+
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.927 9.821c0 1.338.925 2.46 2.162 2.743-.089 1.583-2.049 1.657-3.22 1.47a2.5 2.5 0 0 1-.716-.225 1.3 1.3 0 0 1-.614-.68c-.057-.142-.093-.293-.158-.431a.58.58 0 0 0-.674-.346.59.59 0 0 0-.462.603c.017.415.192.827.44 1.156.26.354.607.625 1.058.827.636.29 1.336.375 2.03.375.774 0 1.591-.132 2.267-.53.643-.38 1.25-.878 1.263-2.217a2.81 2.81 0 0 0 2.17-2.745c0-1.55-1.244-2.811-2.773-2.811S9.927 8.27 9.927 9.82m4.275 0c0 .841-.674 1.525-1.502 1.525a1.515 1.515 0 0 1-1.502-1.525c0-.84.674-1.525 1.502-1.525a1.516 1.516 0 0 1 1.502 1.525", fill: "#fff" })));
|
|
1408
|
+
};
|
|
1409
|
+
|
|
1371
1410
|
const StyledItem$2 = styled__default["default"].a `
|
|
1372
1411
|
text-decoration: none;
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
const Item$1 = ({ item, index = 0 }) => {
|
|
1378
|
-
if (!item)
|
|
1379
|
-
return null;
|
|
1380
|
-
return (React__default["default"].createElement(StyledItem$2, { href: item.url, "data-event-category": "Hamburger Navigation", "data-event-action": `Care Click ${index + 1}`, "data-event-label": item.url },
|
|
1381
|
-
React__default["default"].createElement("img", { loading: "lazy", alt: item.name, src: item.featuredImage || '/images/avatar.jpg', style: {
|
|
1382
|
-
width: '40px',
|
|
1383
|
-
height: '40px',
|
|
1384
|
-
} }),
|
|
1385
|
-
React__default["default"].createElement(index$4.Text, { size: "p2", weight: "regular", style: {
|
|
1386
|
-
marginLeft: 16,
|
|
1387
|
-
} }, item.name),
|
|
1388
|
-
React__default["default"].createElement("img", { src: index$5.CommonGAssets.getAssetPath('chevronRightActive.svg'), style: {
|
|
1389
|
-
width: '20px',
|
|
1390
|
-
height: '20px',
|
|
1391
|
-
marginLeft: 'auto',
|
|
1392
|
-
}, loading: "lazy" })));
|
|
1393
|
-
};
|
|
1394
|
-
|
|
1395
|
-
const EcomSpotlights = ({ helpfulUrls = [], }) => {
|
|
1396
|
-
const { t } = index$1.useTranslations();
|
|
1397
|
-
// const { siteType } = useContext(NavigationContext)
|
|
1398
|
-
if (!helpfulUrls.length)
|
|
1399
|
-
return null;
|
|
1400
|
-
return (React__default["default"].createElement(Spotlights, { title: t('home.navigator.menu.spotlightEcom') }, helpfulUrls.length !== 0 ? (React__default["default"].createElement(StyledContainerItems$2, null, helpfulUrls === null || helpfulUrls === void 0 ? void 0 : helpfulUrls.slice(0, 5).map((s, index) => (React__default["default"].createElement(Item$1, { key: index, index: index, item: s }))))) : (React__default["default"].createElement(React__default["default"].Fragment, null)
|
|
1401
|
-
// <SpotlightNoData
|
|
1402
|
-
// title={t('home.navigator.menu.ecom.noDatas.title')}
|
|
1403
|
-
// description={t('home.navigator.menu.ecom.noDatas.description')}
|
|
1404
|
-
// link={hrefViewMore}
|
|
1405
|
-
// cta={t('home.navigator.menu.ecom.homeButton')}
|
|
1406
|
-
// icon={CommonGAssets.getAssetPath('ecom.svg')}
|
|
1407
|
-
// />
|
|
1408
|
-
)));
|
|
1409
|
-
};
|
|
1410
|
-
|
|
1411
|
-
const StyledContainerItems$1 = styled__default["default"].div `
|
|
1412
|
-
display: grid;
|
|
1413
|
-
|
|
1414
|
-
grid-template-columns: repeat(3, 1fr);
|
|
1415
|
-
gap: 24px;
|
|
1416
|
-
${utils.MediaQueries.tdDown} {
|
|
1417
|
-
grid-template-columns: 1fr;
|
|
1418
|
-
gap: 12px;
|
|
1419
|
-
}
|
|
1420
|
-
`;
|
|
1421
|
-
|
|
1422
|
-
const AppIcon = (_a) => {
|
|
1423
|
-
var { size = 24, color = '#2D87F3' } = _a, rest = tslib_es6.__rest(_a, ["size", "color"]);
|
|
1424
|
-
return (React__default["default"].createElement("svg", Object.assign({ width: size, height: size, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, rest),
|
|
1425
|
-
React__default["default"].createElement("rect", { width: "20", height: "20", rx: "4", fill: color }),
|
|
1426
|
-
React__default["default"].createElement("path", { d: "M9.12 6.005c0-.088-.005-.181-.012-.27-.022-.611-.623-1.071-1.208-1.046-.69.04-.839 1.007-.248 1.297.09.047.115.088.105.172v5.048c.004.064-.016.096-.077.122-.63.274-.474 1.276.233 1.304.583.03 1.16-.453 1.195-1.044q.012-.135.013-.272c0-1.77.013-3.54 0-5.311m-3.093 5.34c-.109-.048-.144-.108-.132-.232V6.117c.009-.114.103-.108.176-.165.544-.357.313-1.249-.346-1.264h-.023c-.659 0-1.172.546-1.172 1.194q-.002 2.09.004 4.177l.003 1.396c0 .62.527 1.175 1.15 1.175.68 0 .989-.978.34-1.285m7.299-1.489a.623.623 0 1 1-1.247 0 .623.623 0 0 1 1.247 0", fill: "#fff" }),
|
|
1427
|
-
React__default["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.927 9.821c0 1.338.925 2.46 2.162 2.743-.089 1.583-2.049 1.657-3.22 1.47a2.5 2.5 0 0 1-.716-.225 1.3 1.3 0 0 1-.614-.68c-.057-.142-.093-.293-.158-.431a.58.58 0 0 0-.674-.346.59.59 0 0 0-.462.603c.017.415.192.827.44 1.156.26.354.607.625 1.058.827.636.29 1.336.375 2.03.375.774 0 1.591-.132 2.267-.53.643-.38 1.25-.878 1.263-2.217a2.81 2.81 0 0 0 2.17-2.745c0-1.55-1.244-2.811-2.773-2.811S9.927 8.27 9.927 9.82m4.275 0c0 .841-.674 1.525-1.502 1.525a1.515 1.515 0 0 1-1.502-1.525c0-.84.674-1.525 1.502-1.525a1.516 1.516 0 0 1 1.502 1.525", fill: "#fff" })));
|
|
1428
|
-
};
|
|
1429
|
-
|
|
1430
|
-
const StyledItem$1 = styled__default["default"].a `
|
|
1431
|
-
text-decoration: none;
|
|
1432
|
-
border-radius: 4px;
|
|
1433
|
-
background: ${miscTheme.theme.colors.primary50};
|
|
1434
|
-
position: relative;
|
|
1435
|
-
overflow: hidden;
|
|
1412
|
+
border-radius: 4px;
|
|
1413
|
+
background: ${miscTheme.theme.colors.primary50};
|
|
1414
|
+
position: relative;
|
|
1415
|
+
overflow: hidden;
|
|
1436
1416
|
display: flex;
|
|
1437
1417
|
* {
|
|
1438
1418
|
pointer-events: none;
|
|
@@ -1538,7 +1518,7 @@ const StyledContentWrapper$1 = styled__default["default"].div `
|
|
|
1538
1518
|
}
|
|
1539
1519
|
`;
|
|
1540
1520
|
|
|
1541
|
-
const Item = ({ item, index = 0 }) => {
|
|
1521
|
+
const Item$1 = ({ item, index = 0 }) => {
|
|
1542
1522
|
const { t } = index$1.useTranslations();
|
|
1543
1523
|
const { configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
1544
1524
|
if (!item)
|
|
@@ -1548,22 +1528,22 @@ const Item = ({ item, index = 0 }) => {
|
|
|
1548
1528
|
? item.link
|
|
1549
1529
|
: `${statics.HOME_PAGE_URL}${item.link}`
|
|
1550
1530
|
: undefined;
|
|
1551
|
-
return (
|
|
1552
|
-
item.isMobileAppTool &&
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
t('home.calcWithApp'))) : (
|
|
1531
|
+
return (React__namespace["default"].createElement(StyledItem$2, { href: link, "data-event-category": "Hamburger Navigation", "data-event-action": `Engage Click ${index + 1}`, "data-event-label": link },
|
|
1532
|
+
item.isMobileAppTool && React__namespace["default"].createElement(Phone, { size: 20, className: "phone-badge" }),
|
|
1533
|
+
React__namespace["default"].createElement("img", { src: index$6.CommonGAssets.getAssetPath('navToolCardBg.svg'), alt: "", loading: "lazy", className: "bg-svg" }),
|
|
1534
|
+
React__namespace["default"].createElement(StyledContentWrapper$1, null,
|
|
1535
|
+
React__namespace["default"].createElement(StyledTitle$1, null, item.title),
|
|
1536
|
+
React__namespace["default"].createElement(StyledDes$1, null, item.subtitle),
|
|
1537
|
+
React__namespace["default"].createElement(StyledBtnView$1, null, item.isMobileAppTool ? (React__namespace["default"].createElement(React__namespace["default"].Fragment, null,
|
|
1538
|
+
React__namespace["default"].createElement(AppIcon, { size: 16 }),
|
|
1539
|
+
t('home.calcWithApp'))) : (React__namespace["default"].createElement(React__namespace["default"].Fragment, null,
|
|
1560
1540
|
t('home.seeMore'),
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1541
|
+
React__namespace["default"].createElement(other.ArrowRight, { size: 18, useCurrentColor: true }))))),
|
|
1542
|
+
React__namespace["default"].createElement(StyledImageCard$1, null,
|
|
1543
|
+
React__namespace["default"].createElement("img", { loading: "lazy", alt: item.title, src: item.icon || '/images/avatar.jpg' }))));
|
|
1564
1544
|
};
|
|
1565
1545
|
|
|
1566
|
-
const StyledItem = styled__default["default"].a `
|
|
1546
|
+
const StyledItem$1 = styled__default["default"].a `
|
|
1567
1547
|
text-decoration: none;
|
|
1568
1548
|
border-radius: 12px;
|
|
1569
1549
|
|
|
@@ -1780,41 +1760,60 @@ const ItemMarryBaby = ({ item, index = 0, color }) => {
|
|
|
1780
1760
|
? item.link
|
|
1781
1761
|
: `${statics.HOME_PAGE_URL}${item.link}`
|
|
1782
1762
|
: undefined;
|
|
1783
|
-
const renderIcon = () => (
|
|
1784
|
-
|
|
1785
|
-
const renderName = () => (
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1763
|
+
const renderIcon = () => (React__namespace["default"].createElement(StyledImageCard, null,
|
|
1764
|
+
React__namespace["default"].createElement("img", { loading: "lazy", alt: item.title, src: item.icon || '/images/avatar.jpg' })));
|
|
1765
|
+
const renderName = () => (React__namespace["default"].createElement(StyledWrapName, null,
|
|
1766
|
+
React__namespace["default"].createElement(StyledContent, null,
|
|
1767
|
+
React__namespace["default"].createElement(StyledTitle, null, item.title),
|
|
1768
|
+
React__namespace["default"].createElement(StyledDes, null, item.subtitle)),
|
|
1769
|
+
React__namespace["default"].createElement(StyledBtnView, null,
|
|
1770
|
+
React__namespace["default"].createElement("div", { className: "mobile-only" }, t('home.seeMore')),
|
|
1771
|
+
React__namespace["default"].createElement("img", { src: index$6.CommonGAssets.getAssetPath('arrowRightGray.svg'), style: {
|
|
1792
1772
|
width: '12px',
|
|
1793
1773
|
height: '12px',
|
|
1794
1774
|
marginTop: '2px',
|
|
1795
1775
|
marginLeft: '5px',
|
|
1796
1776
|
}, loading: "lazy" }))));
|
|
1797
|
-
return (
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1777
|
+
return (React__namespace["default"].createElement(StyledItem$1, { href: link, "data-event-category": "Hamburger Navigation", "data-event-action": `Engage Click ${index + 1}`, "data-event-label": link, "data-color": color },
|
|
1778
|
+
React__namespace["default"].createElement("svg", { className: "bg-svg", width: "74", height: "121", viewBox: "0 0 74 121", fill: "none" },
|
|
1779
|
+
React__namespace["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" })),
|
|
1780
|
+
React__namespace["default"].createElement("img", { src: index$6.CommonGAssets.getAssetPath('navMBCardDotBg.svg'), className: "dot-svg", loading: "lazy", alt: "" }),
|
|
1781
|
+
React__namespace["default"].createElement(StyledContentWrapper, null,
|
|
1782
|
+
React__namespace["default"].createElement("div", { className: "mobile-only" }, renderIcon()),
|
|
1783
|
+
React__namespace["default"].createElement("div", { className: "desktop-only" }, renderName())),
|
|
1784
|
+
React__namespace["default"].createElement("div", { className: "mobile-only" }, renderName()),
|
|
1785
|
+
React__namespace["default"].createElement("div", { className: "desktop-only" }, renderIcon())));
|
|
1806
1786
|
};
|
|
1807
1787
|
|
|
1808
1788
|
const ToolSpotlights = ({ hrefViewMore, spotlightHealthTools = [] }) => {
|
|
1809
1789
|
const { t } = index$1.useTranslations();
|
|
1810
1790
|
const marryBabyCardColor = ['pink', 'orange', 'green'];
|
|
1811
1791
|
const { siteType } = React.useContext(navigationProfileButton.NavigationContext);
|
|
1812
|
-
return (
|
|
1813
|
-
spotlightHealthTools.length !== 0 && (
|
|
1814
|
-
spotlightHealthTools.length === 0 && (
|
|
1792
|
+
return (React__namespace["default"].createElement(Spotlights, { title: t('home.navigator.menu.spotlightTools') },
|
|
1793
|
+
spotlightHealthTools.length !== 0 && (React__namespace["default"].createElement(StyledContainerItems$2, null, spotlightHealthTools === null || spotlightHealthTools === void 0 ? void 0 : spotlightHealthTools.slice(0, 3).map((item, index) => siteType === 'marryBaby' ? (React__namespace["default"].createElement(ItemMarryBaby, { key: index, index: index, item: item, color: marryBabyCardColor[index] })) : (React__namespace["default"].createElement(Item$1, { key: index, index: index, item: item }))))),
|
|
1794
|
+
spotlightHealthTools.length === 0 && (React__namespace["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$6.CommonGAssets.getAssetPath('community.svg') }))));
|
|
1815
1795
|
};
|
|
1816
1796
|
|
|
1817
|
-
const
|
|
1797
|
+
const MenuHealthToolsList = ({ locale, onClose, isOpen, spotlightHealthTools = [], healthTools = [], }) => {
|
|
1798
|
+
var _a;
|
|
1799
|
+
const { t } = index$1.useTranslations();
|
|
1800
|
+
const { configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
1801
|
+
const hrefViewMore = `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}${((_a = index$3.STATIC_PAGES[locale]) === null || _a === void 0 ? void 0 : _a.HEALTH_TOOLS) || ''}`;
|
|
1802
|
+
return (React__namespace["default"].createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true },
|
|
1803
|
+
React__namespace["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) => ({
|
|
1804
|
+
name: t.title,
|
|
1805
|
+
link: t.link
|
|
1806
|
+
? t.link.startsWith('http')
|
|
1807
|
+
? t.link
|
|
1808
|
+
: `${statics.HOME_PAGE_URL}${t.link}`
|
|
1809
|
+
: undefined,
|
|
1810
|
+
thumbnail: t.icon,
|
|
1811
|
+
isMobileAppTool: t.isMobileAppTool,
|
|
1812
|
+
})) }),
|
|
1813
|
+
React__namespace["default"].createElement(ToolSpotlights, { spotlightHealthTools: spotlightHealthTools, hrefViewMore: hrefViewMore })));
|
|
1814
|
+
};
|
|
1815
|
+
|
|
1816
|
+
const StyledContainerItems$1 = styled__default["default"].div `
|
|
1818
1817
|
display: grid;
|
|
1819
1818
|
|
|
1820
1819
|
grid-template-columns: repeat(4, 1fr);
|
|
@@ -1828,36 +1827,302 @@ const StyledContainerItems = styled__default["default"].div `
|
|
|
1828
1827
|
const VideoSpotlights = ({ spotlightsList = [], layout = 'default', }) => {
|
|
1829
1828
|
const { t } = index$1.useTranslations();
|
|
1830
1829
|
const { configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
1831
|
-
return (
|
|
1830
|
+
return (React__namespace["default"].createElement(Spotlights, { title: t('home.navigator.menu.lastestVideos') }, spotlightsList.length !== 0 ? (React__namespace["default"].createElement(StyledContainerItems$1, null, spotlightsList === null || spotlightsList === void 0 ? void 0 : spotlightsList.slice(0, 4).map((video, index) => (React__namespace["default"].createElement(index$b.VideoItem, { key: index, data: Object.assign(Object.assign({}, video), { type: index$9.VideoType.SHORTS }), layout: layout === 'default' ? 'overlay' : 'horizon', dataEventCategory: "Hamburger Navigation", dataEventAction: `Video Click ${index + 1}` }))))) : (React__namespace["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$6.CommonGAssets.getAssetPath('Spotlight.svg') }))));
|
|
1831
|
+
};
|
|
1832
|
+
|
|
1833
|
+
const MenuVideoList = ({ spotlightsList = [], onClose, isOpen }) => {
|
|
1834
|
+
const { t } = index$1.useTranslations();
|
|
1835
|
+
const { locale, configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
1836
|
+
const listing = React.useMemo(() => [
|
|
1837
|
+
{
|
|
1838
|
+
name: t('home.navigator.menu.videos'),
|
|
1839
|
+
link: `${statics.VIDEO_URL_FE}/video/`,
|
|
1840
|
+
thumbnail: index$6.CommonGAssets.getAssetPath('nav-icons/video.svg'),
|
|
1841
|
+
},
|
|
1842
|
+
{
|
|
1843
|
+
name: t('home.navigator.menu.shorts'),
|
|
1844
|
+
link: `${statics.VIDEO_URL_FE}/short/`,
|
|
1845
|
+
thumbnail: index$6.CommonGAssets.getAssetPath('nav-icons/short.svg'),
|
|
1846
|
+
},
|
|
1847
|
+
// {
|
|
1848
|
+
// name: t('home.navigator.menu.podcasts'),
|
|
1849
|
+
// link: `${statics.VIDEO_URL_FE}/podcast/`,
|
|
1850
|
+
// thumbnail: CommonGAssets.getAssetPath('nav-icons/podcast.svg'),
|
|
1851
|
+
// },
|
|
1852
|
+
], []);
|
|
1853
|
+
return (React__namespace["default"].createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true },
|
|
1854
|
+
React__namespace["default"].createElement(Categories, { hrefViewMore: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}/videos/`, UrlFE: statics.HOME_PAGE_URL, onClosePopup: onClose, titleBtnViewMore: t('home.navigator.menuItem.allVideos'), menuItems: listing, headingTitle: t('home.navigator.menuItem.videoCategories') }),
|
|
1855
|
+
React__namespace["default"].createElement(VideoSpotlights, { spotlightsList: spotlightsList })));
|
|
1856
|
+
};
|
|
1857
|
+
|
|
1858
|
+
styled__default["default"].div `
|
|
1859
|
+
display: grid;
|
|
1860
|
+
grid-template-columns: repeat(4, 1fr);
|
|
1861
|
+
gap: 24px;
|
|
1862
|
+
${utils.MediaQueries.tdDown} {
|
|
1863
|
+
gap: 12px;
|
|
1864
|
+
grid-template-columns: 1fr;
|
|
1865
|
+
}
|
|
1866
|
+
`;
|
|
1867
|
+
const StyleButton = styled__default["default"](index$2.Button) `
|
|
1868
|
+
border: 1px solid ${miscTheme.theme.colors.white} !important;
|
|
1869
|
+
.mantine-Button-leftIcon {
|
|
1870
|
+
width: 24px;
|
|
1871
|
+
height: 24px;
|
|
1872
|
+
}
|
|
1873
|
+
`;
|
|
1874
|
+
const StyleWrapperIcon = styled__default["default"].div `
|
|
1875
|
+
width: 20px;
|
|
1876
|
+
height: 20px;
|
|
1877
|
+
display: flex;
|
|
1878
|
+
justify-content: center;
|
|
1879
|
+
align-items: center;
|
|
1880
|
+
|
|
1881
|
+
border-radius: 5px;
|
|
1882
|
+
background: linear-gradient(
|
|
1883
|
+
180deg,
|
|
1884
|
+
rgba(255, 255, 255, 0.1) 15.1%,
|
|
1885
|
+
rgba(0, 0, 0, 0.01) 100%
|
|
1886
|
+
),
|
|
1887
|
+
linear-gradient(180deg, #65b5ff 0%, #2685f1 100%);
|
|
1888
|
+
background-blend-mode: soft-light, normal;
|
|
1889
|
+
`;
|
|
1890
|
+
|
|
1891
|
+
const InitialCart = () => (React__namespace["default"].createElement("svg", { xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", width: "512", height: "512", style: {
|
|
1892
|
+
width: '100%',
|
|
1893
|
+
height: '100%',
|
|
1894
|
+
contentVisibility: 'visible',
|
|
1895
|
+
}, viewBox: "0 0 512 512" },
|
|
1896
|
+
React__namespace["default"].createElement("defs", null,
|
|
1897
|
+
React__namespace["default"].createElement("clipPath", { id: "__lottie_element_2" },
|
|
1898
|
+
React__namespace["default"].createElement("path", { d: "M0 0h512v512H0z" })),
|
|
1899
|
+
React__namespace["default"].createElement("path", { fill: "#FFF", d: "m139 0-13 174h244l-30 292 165 1 4-466z", opacity: "1", id: "__lottie_element_6", display: "block" }),
|
|
1900
|
+
React__namespace["default"].createElement("mask", { id: "__lottie_element_6_1", "mask-type": "alpha" },
|
|
1901
|
+
React__namespace["default"].createElement("use", { xlinkHref: "#__lottie_element_6" }))),
|
|
1902
|
+
React__namespace["default"].createElement("g", { clipPath: "url(#__lottie_element_2)" },
|
|
1903
|
+
React__namespace["default"].createElement("path", { fill: "#2B62CD", d: "m430 181-40 41-111-120a18 18 0 0 1-5-13c0-5 2-9 5-13l6-5a18 18 0 0 1 25-1zm-348 0 40 41 111-120a18 18 0 0 0 0-26l-6-5a18 18 0 0 0-25-1z", display: "block" }),
|
|
1904
|
+
React__namespace["default"].createElement("g", { display: "block" },
|
|
1905
|
+
React__namespace["default"].createElement("path", { fill: "#2D87F3", d: "M385 427H125c-4 0-9-1-13-5a20 20 0 0 1-6-12L88 239h335l-18 171a20 20 0 0 1-7 12c-3 4-8 5-13 5" }),
|
|
1906
|
+
React__namespace["default"].createElement("path", { fill: "#2B62CD", d: "m160 402-5-2a6 6 0 0 1-1-4l-8-114v-2a6 6 0 0 1 3-4 6 6 0 0 1 5 0 6 6 0 0 1 4 5l8 115-1 2a6 6 0 0 1-1 2 6 6 0 0 1-4 2m61 0-5-2a6 6 0 0 1-1-4l-2-114c0-2 0-3 2-5a6 6 0 0 1 4-1l4 1a6 6 0 0 1 2 4l2 115a6 6 0 0 1-2 4 6 6 0 0 1-4 2zm131 0a6 6 0 0 1-5-4l-1-2 8-115a6 6 0 0 1 2-4l2-1a6 6 0 0 1 2 0 6 6 0 0 1 5 2 6 6 0 0 1 1 4l-8 114a6 6 0 0 1-6 6m-61 0a6 6 0 0 1-6-6l2-114 2-5a6 6 0 0 1 4-1 6 6 0 0 1 5 1 6 6 0 0 1 1 5l-2 114a6 6 0 0 1-1 4 6 6 0 0 1-5 2" }),
|
|
1907
|
+
React__namespace["default"].createElement("path", { fill: "#91CAFF", d: "M424 243H88a20 20 0 0 1-21-18l-3-28a20 20 0 0 1 20-23h344a20 20 0 0 1 20 23l-3 28a20 20 0 0 1-21 18" })),
|
|
1908
|
+
React__namespace["default"].createElement("g", { mask: "url(#__lottie_element_6_1)", display: "block" },
|
|
1909
|
+
React__namespace["default"].createElement("path", { fill: "#FFC326", d: "m294 198-16 123a5 5 0 0 1-5 5h-80l-4-2a5 5 0 0 1-1-4l15-115h1z" }),
|
|
1910
|
+
React__namespace["default"].createElement("path", { fill: "#FFD658", d: "M272 189c0 3 0 7 2 10a12 12 0 0 0 10 6h-81l-3-1c-3-1-5-3-6-5a15 15 0 0 1 5-19 17 17 0 0 1 9-3h80c-4 0-7 1-9 3a15 15 0 0 0-7 9" }),
|
|
1911
|
+
React__namespace["default"].createElement("path", { fill: "#FEA21E", d: "M277 326h-4c3 0 5-2 5-4l15-115 1-9v1l-1 1a9 9 0 0 1-5 4 11 11 0 0 1-8 0c-3-1-5-3-6-5-4-7-2-15 5-19 2-2 5-3 9-3h1c4 0 7 2 10 4l6 9 1 11 14 119-1 4z" }),
|
|
1912
|
+
React__namespace["default"].createElement("path", { fill: "#FC7419", d: "M303 310v-74a3 3 0 1 0-5 0v74l-21 16h38l4-2zm-5-109a13 13 0 0 1-5 6l1-9c0-1 0 0 0 0 0-3-1-6-4-7a4 4 0 0 0-5 1v1c0 2-1 3-2 3a3 3 0 0 1-3-2l1-4a9 9 0 0 1 11-4c3 1 5 3 6 6v9" })),
|
|
1913
|
+
React__namespace["default"].createElement("g", { display: "block" },
|
|
1914
|
+
React__namespace["default"].createElement("path", { fill: "#FFC326", d: "m460 330-16 123a5 5 0 0 1-5 5h-80l-4-2a5 5 0 0 1-1-4l15-115h1z" }),
|
|
1915
|
+
React__namespace["default"].createElement("path", { fill: "#FFD658", d: "M438 321c0 3 0 6 2 9a12 12 0 0 0 10 7h-81l-3-1c-3-1-5-3-6-6a15 15 0 0 1 5-18 17 17 0 0 1 9-3h80c-4 0-7 1-9 3a15 15 0 0 0-7 9" }),
|
|
1916
|
+
React__namespace["default"].createElement("path", { fill: "#FEA21E", d: "M443 458h-4c3 0 5-2 5-5l15-114 1-9v1l-1 1a9 9 0 0 1-5 4 11 11 0 0 1-8 0c-3-1-5-3-6-6-4-6-2-14 5-18 2-2 5-3 9-3h1c4 0 7 2 10 4s5 5 6 9l1 11 14 119-1 4z" }),
|
|
1917
|
+
React__namespace["default"].createElement("path", { fill: "#FC7419", d: "M469 442v-74a3 3 0 1 0-5 0v74l-21 16h38l4-2zm-5-109a13 13 0 0 1-5 6l1-9c0-1 0 0 0 0 0-3-1-6-4-7a4 4 0 0 0-4 1l-1 1-2 3a3 3 0 0 1-3-3l1-3a9 9 0 0 1 11-4c3 1 5 3 6 5 1 3 2 7 0 10" })))));
|
|
1918
|
+
|
|
1919
|
+
const InitialDoctor = () => (React__namespace["default"].createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "512", height: "512", style: {
|
|
1920
|
+
width: '100%',
|
|
1921
|
+
height: '100%',
|
|
1922
|
+
contentVisibility: 'visible',
|
|
1923
|
+
}, viewBox: "0 0 512 512" },
|
|
1924
|
+
React__namespace["default"].createElement("defs", null,
|
|
1925
|
+
React__namespace["default"].createElement("clipPath", { id: "__lottie_element_23" },
|
|
1926
|
+
React__namespace["default"].createElement("path", { d: "M0 0h512v512H0z" }))),
|
|
1927
|
+
React__namespace["default"].createElement("g", { clipPath: "url(#__lottie_element_23)" },
|
|
1928
|
+
React__namespace["default"].createElement("g", { display: "block" },
|
|
1929
|
+
React__namespace["default"].createElement("path", { fill: "#1B3250", d: "M430 332c-13-17-52-37-42-63 16-41-9-72-28-84-22-14-23-43-30-66-15-50-53-73-103-73s-88 21-103 71c-7 22-7 53-29 67-19 12-61 41-45 82 10 26-15 52-28 69-39 53 13 89 72 98l255 2c59-9 120-50 81-103" }),
|
|
1930
|
+
React__namespace["default"].createElement("path", { fill: "#FFB497", d: "M120 202c-11 4-13 17-10 29a29 29 0 0 0 14 17 29 29 0 0 0 22 3l-8-49a25 25 0 0 0-18 0" }),
|
|
1931
|
+
React__namespace["default"].createElement("path", { fill: "#FF977B", d: "M147 235a5 5 0 0 1-4-2c-6-8-17-8-17-8a5 5 0 0 1-4-2 5 5 0 0 1 0-7l4-1c1 0 16 0 25 11a5 5 0 0 1-4 9" }),
|
|
1932
|
+
React__namespace["default"].createElement("path", { fill: "#FFB497", d: "M332 202a25 25 0 0 0-18 0l-8 49a29 29 0 0 0 22-3c7-3 12-10 14-17 3-12 1-25-10-29" }),
|
|
1933
|
+
React__namespace["default"].createElement("path", { fill: "#FF977B", d: "M305 235a5 5 0 0 1-5-3 5 5 0 0 1 1-6c9-11 24-11 25-11a5 5 0 0 1 5 5 5 5 0 0 1-5 5s-11 0-17 8a5 5 0 0 1-4 2" }),
|
|
1934
|
+
React__namespace["default"].createElement("path", { fill: "#E3F2FF", d: "M366 452H86a3 3 0 0 1-4-4c5-19 19-47 37-65a153 153 0 0 1 42-28l1-1a85 85 0 0 1 29-19h70a84 84 0 0 1 29 19l1 1a153 153 0 0 1 42 28c18 18 32 46 37 65a3 3 0 0 1-1 3 3 3 0 0 1-3 1" }),
|
|
1935
|
+
React__namespace["default"].createElement("path", { fill: "#FCCAAF", d: "M261 335c-25 32-48 32-70 0l5-10v-1a45 45 0 0 0 2-13h56a48 48 0 0 0 2 13v1l5 10" }),
|
|
1936
|
+
React__namespace["default"].createElement("path", { fill: "#2D87F3", d: "M281 452H175c-14-93 16-117 16-117 7 9 20 15 35 15s28-6 35-15c0 0 9 12 16 37 5 20 6 60 4 80" }),
|
|
1937
|
+
React__namespace["default"].createElement("path", { fill: "#BCDEFF", d: "M191 335a84 84 0 0 0-30 19 53 53 0 0 0-13 28c0 3 11 1 16 0h1v1c-13 8-17 19-16 25 2 15 6 30 13 44h26s-12-72 3-117m96 48a1 1 0 0 1 0-1h1c1 0 0 0 0 0 5 1 16 3 16 0a53 53 0 0 0-13-28 83 83 0 0 0-30-19c15 45 3 117 3 117h26a157 157 0 0 0 13-44c1-6-3-17-16-25" }),
|
|
1938
|
+
React__namespace["default"].createElement("path", { fill: "#FF977B", d: "M256 325c-20 18-40 18-60 0v-1a46 46 0 0 0 2-13h56a48 48 0 0 0 2 13v1" }),
|
|
1939
|
+
React__namespace["default"].createElement("path", { fill: "#FCCAAF", d: "M314 205c-3 54-17 80-39 96-14 11-37 24-49 24s-35-13-49-24c-22-16-36-42-39-96 52-21 30-127 85-99a7 7 0 0 0 6 0c55-28 33 78 85 99" }),
|
|
1940
|
+
React__namespace["default"].createElement("path", { fill: "#FFB497", d: "M221 106c-27-12-34 12-43 40-7 25-16 54-41 63l1 3c43 0 71-62 83-106" })),
|
|
1941
|
+
React__namespace["default"].createElement("path", { fill: "#FF977B", d: "M233 233a5 5 0 0 0-4 2l-3 1-3-1a5 5 0 0 0-2-2 5 5 0 0 0-4 0 5 5 0 0 0-3 5c0 6 9 8 12 8s12-2 12-8a5 5 0 0 0-2-3 5 5 0 0 0-3-2", display: "block" }),
|
|
1942
|
+
React__namespace["default"].createElement("path", { fill: "#1B3250", d: "m261 199 9-5a27 27 0 0 1 11-1c4 0 7 0 11 2l8 4a2 2 0 0 1 1 2 2 2 0 0 1 0 1h-1l-10-1h-9a20 20 0 0 0-7 2 65 65 0 0 0-7 4 5 5 0 0 1-4 1 5 5 0 0 1-3-2 5 5 0 0 1-1-2 5 5 0 0 1 2-5", display: "block" }),
|
|
1943
|
+
React__namespace["default"].createElement("path", { fill: "#284A75", d: "M280 218a9 9 0 1 0 0-19 9 9 0 0 0 0 19", display: "block" }),
|
|
1944
|
+
React__namespace["default"].createElement("path", { fill: "#1B3250", d: "m192 210-7-4-7-2h-9l-9 1a2 2 0 0 1-2-1v-1l1-1 9-4c3-2 6-2 10-2 4-1 7 0 11 1l9 5a5 5 0 0 1 2 3v4a5 5 0 0 1-7 2l-1-1", display: "block" }),
|
|
1945
|
+
React__namespace["default"].createElement("path", { fill: "#284A75", d: "M184 218a9 9 0 1 0 0-19 9 9 0 0 0 0 19", display: "block" }),
|
|
1946
|
+
React__namespace["default"].createElement("g", { fill: "#FFF", display: "block" },
|
|
1947
|
+
React__namespace["default"].createElement("path", { d: "m216 213-4-1a5 5 0 0 1-1-3v-4a5 5 0 0 1 3-2 33 33 0 0 1 24 0 5 5 0 0 1 3 7 5 5 0 0 1-3 2h-3a23 23 0 0 0-18 1h-1" }),
|
|
1948
|
+
React__namespace["default"].createElement("path", { d: "M183 249a38 38 0 0 1-35-23 38 38 0 0 1-2-22 38 38 0 0 1 11-19 38 38 0 0 1 19-11c7-1 15 0 22 2a38 38 0 0 1 16 14 38 38 0 0 1 7 21 38 38 0 0 1-11 27 38 38 0 0 1-27 11m0-65a27 27 0 0 0-25 17 27 27 0 0 0-2 15 27 27 0 0 0 8 14 27 27 0 0 0 42-4c3-4 4-9 4-15a27 27 0 0 0-8-19 27 27 0 0 0-19-8zm86 65a38 38 0 0 1-35-24 38 38 0 0 1 27-51 38 38 0 0 1 39 16 38 38 0 0 1 6 21 38 38 0 0 1-11 27 38 38 0 0 1-26 11m0-65a27 27 0 0 0-25 17 27 27 0 0 0-2 15 27 27 0 0 0 8 14 27 27 0 0 0 46-19 27 27 0 0 0-8-19 27 27 0 0 0-19-8z" })),
|
|
1949
|
+
React__namespace["default"].createElement("path", { d: "m205 180-2-1c-10-4-39-9-47-1a5 5 0 0 1-3 2 5 5 0 0 1-4-2 5 5 0 0 1-2-3l1-4c14-15 52-4 59-1a5 5 0 0 1 3 6 5 5 0 0 1-2 3l-3 1zm42 0-3-1a5 5 0 0 1-1-7 5 5 0 0 1 2-2c7-3 45-14 59 1a5 5 0 0 1 1 4l-2 3a5 5 0 0 1-4 2l-3-2c-8-8-37-3-47 1l-2 1", fill: "#284A75", display: "block" }),
|
|
1950
|
+
React__namespace["default"].createElement("path", { fill: "#FF886C", d: "M208 260a4 4 0 0 0-3 1 4 4 0 0 0-1 3c2 8 6 19 22 19s21-11 22-19a4 4 0 0 0-4-4l-18-1-18 1", display: "block" }),
|
|
1951
|
+
React__namespace["default"].createElement("g", { display: "block" },
|
|
1952
|
+
React__namespace["default"].createElement("g", { fill: "#FFF" },
|
|
1953
|
+
React__namespace["default"].createElement("path", { d: "M469 405a85 85 0 1 1-170 0 85 85 0 0 1 170 0" }),
|
|
1954
|
+
React__namespace["default"].createElement("path", { d: "M469 405a85 85 0 1 1-170 0 85 85 0 0 1 170 0" })),
|
|
1955
|
+
React__namespace["default"].createElement("path", { fill: "#E4E8EC", d: "M384 480a75 75 0 1 0 0-149 75 75 0 0 0 0 149m0 11a85 85 0 1 0 0-171 85 85 0 0 0 0 171" }),
|
|
1956
|
+
React__namespace["default"].createElement("path", { fill: "#FFF", d: "M469 405a85 85 0 1 1-170 0 85 85 0 0 1 170 0" }),
|
|
1957
|
+
React__namespace["default"].createElement("path", { fill: "#E4E8EC", d: "M384 480a75 75 0 1 0 0-149 75 75 0 0 0 0 149m0 11a85 85 0 1 0 0-171 85 85 0 0 0 0 171" }),
|
|
1958
|
+
React__namespace["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" })))));
|
|
1959
|
+
|
|
1960
|
+
const MenuViewMore = ({ menuItems = [], isOpen, onClose }) => {
|
|
1961
|
+
const { locale, configs: { enableAppIntroPage }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
1962
|
+
const ecomNavItem = menuItems.find((m) => m.id === 'ecom');
|
|
1963
|
+
const careNavItem = menuItems.find((m) => m.id === 'care');
|
|
1964
|
+
return (React__namespace["default"].createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true, hideCloseBtn: true, stylesContainer: {
|
|
1965
|
+
display: 'flex',
|
|
1966
|
+
gap: 0,
|
|
1967
|
+
padding: 0,
|
|
1968
|
+
} },
|
|
1969
|
+
ecomNavItem && (React__namespace["default"].createElement("a", { tabIndex: 0, href: ecomNavItem.link, "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": ecomNavItem.link },
|
|
1970
|
+
React__namespace["default"].createElement(StyleButton, { variant: "tertiary", leftIcon: React__namespace["default"].createElement(InitialCart, null) }, ecomNavItem.name))),
|
|
1971
|
+
careNavItem && (React__namespace["default"].createElement("a", { tabIndex: 0, href: careNavItem.link, "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": careNavItem.link },
|
|
1972
|
+
React__namespace["default"].createElement(StyleButton, { variant: "tertiary", leftIcon: React__namespace["default"].createElement(InitialDoctor, null) }, careNavItem.name))),
|
|
1973
|
+
enableAppIntroPage && (React__namespace["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` },
|
|
1974
|
+
React__namespace["default"].createElement(StyleButton, { variant: "tertiary", leftIcon: React__namespace["default"].createElement(StyleWrapperIcon, null,
|
|
1975
|
+
React__namespace["default"].createElement(core.Logo, { width: 16, height: 15 })) }, `${index$3.LOCALE_SPECS[locale || 'en-PH'].SITE_NAME_FORMATTED} App`)))));
|
|
1976
|
+
};
|
|
1977
|
+
|
|
1978
|
+
var styles = {"menuContainer":"y5VJdvw","menuIcon":"oVhOSCy","menuIconWrapper":"pX8OXTM"};
|
|
1979
|
+
|
|
1980
|
+
function ClosePopupIcon({ className }) {
|
|
1981
|
+
return (React__namespace["default"].createElement("div", null,
|
|
1982
|
+
React__namespace["default"].createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", className: className },
|
|
1983
|
+
React__namespace["default"].createElement("path", { d: "M18 6L6 18M18 18L6 6", stroke: "#3E3F58", strokeWidth: "1.3", strokeLinecap: "round" }))));
|
|
1984
|
+
}
|
|
1985
|
+
|
|
1986
|
+
function HamburgerIcon({ siteType, enableSearch, className, style, }) {
|
|
1987
|
+
const { isWinCashBackTheme } = React.useContext(navigationProfileButton.NavigationContext);
|
|
1988
|
+
if (siteType === 'helloSites') {
|
|
1989
|
+
return (React__namespace["default"].createElement("div", { className: "hamburger-container" }, isWinCashBackTheme ? (React__namespace["default"].createElement(HamburgerWhite, { className: className })) : (React__namespace["default"].createElement("img", { "data-list-type": "Header", "data-content-type": "Navigation", "data-content-topic": "Hamburger", src: enableSearch
|
|
1990
|
+
? index$6.CommonGAssets.getAssetPath('hamburgerMenuNewWithSearch.svg')
|
|
1991
|
+
: index$6.CommonGAssets.getAssetPath('hamburgerMenuNew.svg'), style: Object.assign({ width: '24px', height: '24px' }, style), alt: "home", className: className, loading: "lazy" }))));
|
|
1992
|
+
}
|
|
1993
|
+
/** Marry Baby */
|
|
1994
|
+
return (React__namespace["default"].createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", className: className },
|
|
1995
|
+
React__namespace["default"].createElement("path", { d: "M3.35 15a.65.65 0 0 1 .65-.65h10a.65.65 0 1 1 0 1.3H4a.65.65 0 0 1-.65-.65m0-6A.65.65 0 0 1 4 8.35h16a.65.65 0 1 1 0 1.3H4A.65.65 0 0 1 3.35 9", fill: "#3E3F58" })));
|
|
1996
|
+
}
|
|
1997
|
+
|
|
1998
|
+
const StyledMasterMenuContainer = styled__default["default"].div `
|
|
1999
|
+
position: fixed;
|
|
2000
|
+
z-index: 201;
|
|
2001
|
+
top: calc(100% - 1px);
|
|
2002
|
+
width: 100%;
|
|
2003
|
+
height: calc(100vh - var(--header-bottom));
|
|
2004
|
+
overflow-x: hidden;
|
|
2005
|
+
overflow-y: auto;
|
|
2006
|
+
background: white;
|
|
2007
|
+
display: flex;
|
|
2008
|
+
flex-direction: column;
|
|
2009
|
+
padding-bottom: 0;
|
|
2010
|
+
left: 0;
|
|
2011
|
+
.hhgcomp-navigation-popupwrapper-menuwrapper {
|
|
2012
|
+
position: unset;
|
|
2013
|
+
}
|
|
2014
|
+
`;
|
|
2015
|
+
styled__default["default"].div `
|
|
2016
|
+
padding: 16px;
|
|
2017
|
+
padding-bottom: 12px;
|
|
2018
|
+
.fake-search-input {
|
|
2019
|
+
pointer-events: none;
|
|
2020
|
+
input {
|
|
2021
|
+
line-height: 20px;
|
|
2022
|
+
padding-top: 10px;
|
|
2023
|
+
padding-bottom: 10px;
|
|
2024
|
+
}
|
|
2025
|
+
}
|
|
2026
|
+
&[data-theme='marryBaby'] {
|
|
2027
|
+
input {
|
|
2028
|
+
background: ${miscTheme.theme.mbColors.lightGray};
|
|
2029
|
+
border-radius: 16px;
|
|
2030
|
+
border: none;
|
|
2031
|
+
}
|
|
2032
|
+
}
|
|
2033
|
+
`;
|
|
2034
|
+
const StyledWrapper = styled__default["default"].div `
|
|
2035
|
+
display: block;
|
|
2036
|
+
overflow-y: auto;
|
|
2037
|
+
flex: 1;
|
|
2038
|
+
padding-bottom: 16px;
|
|
2039
|
+
&::-webkit-scrollbar {
|
|
2040
|
+
width: 0;
|
|
2041
|
+
display: none;
|
|
2042
|
+
}
|
|
2043
|
+
`;
|
|
2044
|
+
const StyleWrapperSearch = styled__default["default"].div `
|
|
2045
|
+
padding: 0 16px;
|
|
2046
|
+
`;
|
|
2047
|
+
|
|
2048
|
+
const StyledContainerItems = styled__default["default"].div `
|
|
2049
|
+
display: grid;
|
|
2050
|
+
|
|
2051
|
+
grid-template-columns: repeat(3, 1fr);
|
|
2052
|
+
gap: 24px;
|
|
2053
|
+
margin-bottom: 3.5rem;
|
|
2054
|
+
${utils.MediaQueries.tdDown} {
|
|
2055
|
+
grid-template-columns: repeat(1, 1fr);
|
|
2056
|
+
}
|
|
2057
|
+
`;
|
|
2058
|
+
|
|
2059
|
+
const StyledItem = styled__default["default"].a `
|
|
2060
|
+
text-decoration: none;
|
|
2061
|
+
display: flex;
|
|
2062
|
+
align-items: center;
|
|
2063
|
+
`;
|
|
2064
|
+
|
|
2065
|
+
const Item = ({ item, index = 0 }) => {
|
|
2066
|
+
if (!item)
|
|
2067
|
+
return null;
|
|
2068
|
+
return (React__namespace["default"].createElement(StyledItem, { href: item.url, "data-event-category": "Hamburger Navigation", "data-event-action": `Care Click ${index + 1}`, "data-event-label": item.url },
|
|
2069
|
+
React__namespace["default"].createElement("img", { loading: "lazy", alt: item.name, src: item.featuredImage || '/images/avatar.jpg', style: {
|
|
2070
|
+
width: '40px',
|
|
2071
|
+
height: '40px',
|
|
2072
|
+
} }),
|
|
2073
|
+
React__namespace["default"].createElement(index$4.Text, { size: "p2", weight: "regular", style: {
|
|
2074
|
+
marginLeft: 16,
|
|
2075
|
+
} }, item.name),
|
|
2076
|
+
React__namespace["default"].createElement("img", { src: index$6.CommonGAssets.getAssetPath('chevronRightActive.svg'), style: {
|
|
2077
|
+
width: '20px',
|
|
2078
|
+
height: '20px',
|
|
2079
|
+
marginLeft: 'auto',
|
|
2080
|
+
}, loading: "lazy" })));
|
|
2081
|
+
};
|
|
2082
|
+
|
|
2083
|
+
const EcomSpotlights = ({ helpfulUrls = [], }) => {
|
|
2084
|
+
const { t } = index$1.useTranslations();
|
|
2085
|
+
// const { siteType } = useContext(NavigationContext)
|
|
2086
|
+
if (!helpfulUrls.length)
|
|
2087
|
+
return null;
|
|
2088
|
+
return (React__namespace["default"].createElement(Spotlights, { title: t('home.navigator.menu.spotlightEcom') }, helpfulUrls.length !== 0 ? (React__namespace["default"].createElement(StyledContainerItems, null, helpfulUrls === null || helpfulUrls === void 0 ? void 0 : helpfulUrls.slice(0, 5).map((s, index) => (React__namespace["default"].createElement(Item, { key: index, index: index, item: s }))))) : (React__namespace["default"].createElement(React__namespace["default"].Fragment, null)
|
|
2089
|
+
// <SpotlightNoData
|
|
2090
|
+
// title={t('home.navigator.menu.ecom.noDatas.title')}
|
|
2091
|
+
// description={t('home.navigator.menu.ecom.noDatas.description')}
|
|
2092
|
+
// link={hrefViewMore}
|
|
2093
|
+
// cta={t('home.navigator.menu.ecom.homeButton')}
|
|
2094
|
+
// icon={CommonGAssets.getAssetPath('ecom.svg')}
|
|
2095
|
+
// />
|
|
2096
|
+
)));
|
|
1832
2097
|
};
|
|
1833
2098
|
|
|
1834
2099
|
const MenuServiceList = ({ closePopup, menuItems = [], projectType, isHomepage = false, }) => {
|
|
1835
2100
|
var _a, _b;
|
|
1836
2101
|
const { siteType, ssrMenuContent: { categories, healthTools, care, together, ecom, videos }, activeMenuService, configs: { statics }, locale, customClasses, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
1837
2102
|
const { t } = index$1.useTranslations();
|
|
1838
|
-
return (
|
|
1839
|
-
!isHomepage && (
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
activeMenuService === 'categories' && (
|
|
1844
|
-
activeMenuService === 'tools' && (
|
|
1845
|
-
activeMenuService === 'care' && (
|
|
1846
|
-
activeMenuService === 'together' && (
|
|
1847
|
-
activeMenuService === 'ecom' && (
|
|
1848
|
-
activeMenuService === 'video' && (
|
|
2103
|
+
return (React__namespace["default"].createElement(StyledMasterMenuContainer, { className: customClasses.categoriesMenu, id: "categories-menu" },
|
|
2104
|
+
!isHomepage && (React__namespace["default"].createElement(StyleWrapperSearch, null,
|
|
2105
|
+
React__namespace["default"].createElement(NavigtionSearch, { siteType: siteType, projectType: projectType, isMobile: false, isRedirectSearchPage: true }))),
|
|
2106
|
+
React__namespace["default"].createElement(StyledWrapper, null,
|
|
2107
|
+
React__namespace["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 }),
|
|
2108
|
+
activeMenuService === 'categories' && (React__namespace["default"].createElement(CategorySpotlights, { spotlightsList: (categories === null || categories === void 0 ? void 0 : categories.spotlights) || [], hrefViewMore: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}/spotlight/` })),
|
|
2109
|
+
activeMenuService === 'tools' && (React__namespace["default"].createElement(ToolSpotlights, { spotlightHealthTools: healthTools === null || healthTools === void 0 ? void 0 : healthTools.spotlights, hrefViewMore: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}${((_a = index$3.STATIC_PAGES[locale]) === null || _a === void 0 ? void 0 : _a.HEALTH_TOOLS) || ''}` })),
|
|
2110
|
+
activeMenuService === 'care' && (React__namespace["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}` })),
|
|
2111
|
+
activeMenuService === 'together' && (React__namespace["default"].createElement(CommunitySpotlights, { spotlights: together === null || together === void 0 ? void 0 : together.spotlights })),
|
|
2112
|
+
activeMenuService === 'ecom' && (React__namespace["default"].createElement(EcomSpotlights, { helpfulUrls: ecom === null || ecom === void 0 ? void 0 : ecom.helpfulUrls })),
|
|
2113
|
+
activeMenuService === 'video' && (React__namespace["default"].createElement(VideoSpotlights, { spotlightsList: videos === null || videos === void 0 ? void 0 : videos.spotlights, layout: "stack" })))));
|
|
1849
2114
|
};
|
|
1850
2115
|
|
|
1851
2116
|
const HamburgerMenu = ({ menuItems, isHomepage, projectType }) => {
|
|
1852
2117
|
const { siteType } = React.useContext(navigationProfileButton.NavigationContext);
|
|
1853
2118
|
const { containerRef, onContainerFocus, onContainerBlur, onButtonMouseDown, onClose, } = navigationProfileButton.useCSSFocusPopupHelper();
|
|
1854
|
-
return (
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
2119
|
+
return (React__namespace["default"].createElement(DisplayWrapper, { mediaQueryKey: "mbDown" },
|
|
2120
|
+
React__namespace["default"].createElement("header", { className: styles.menuContainer },
|
|
2121
|
+
React__namespace["default"].createElement("div", { className: styles.menuIcon, ref: containerRef, role: "button", tabIndex: 0, onBlur: onContainerBlur, onFocus: onContainerFocus },
|
|
2122
|
+
React__namespace["default"].createElement("div", { className: styles.menuIconWrapper, onMouseDown: onButtonMouseDown, "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": "Hamburger Navigation URL" },
|
|
2123
|
+
React__namespace["default"].createElement(ClosePopupIcon, { className: "mobile-close-icon" }),
|
|
2124
|
+
React__namespace["default"].createElement(HamburgerIcon, { siteType: siteType, enableSearch: false, className: "mobile-hamburger-icon" })),
|
|
2125
|
+
React__namespace["default"].createElement(MenuServiceList, { menuItems: menuItems, isHomepage: isHomepage, projectType: projectType, closePopup: onClose })))));
|
|
1861
2126
|
};
|
|
1862
2127
|
|
|
1863
2128
|
const StyledHeaderWrapper = styled__default["default"].div `
|
|
@@ -1869,9 +2134,18 @@ const StyledHeaderWrapper = styled__default["default"].div `
|
|
|
1869
2134
|
|
|
1870
2135
|
transition: height 0.3s, transform 0.3s;
|
|
1871
2136
|
|
|
2137
|
+
&[data-win-cash-back-theme='true'] {
|
|
2138
|
+
background-color: ${miscTheme.theme.colors.blue900};
|
|
2139
|
+
}
|
|
2140
|
+
|
|
1872
2141
|
&[data-site-type='helloSites'] {
|
|
1873
2142
|
border-bottom: 1px solid ${miscTheme.theme.colors.neutral100};
|
|
1874
2143
|
}
|
|
2144
|
+
|
|
2145
|
+
&[data-site-type='helloSites'][data-win-cash-back-theme='true'] {
|
|
2146
|
+
border-bottom: none;
|
|
2147
|
+
}
|
|
2148
|
+
|
|
1875
2149
|
&[data-sponsored='true'] {
|
|
1876
2150
|
border-bottom: none;
|
|
1877
2151
|
}
|
|
@@ -1951,10 +2225,16 @@ const StyledHeader = styled__default["default"].div `
|
|
|
1951
2225
|
${utils.MediaQueries.mbDown} {
|
|
1952
2226
|
position: relative;
|
|
1953
2227
|
height: 56px;
|
|
1954
|
-
background: white;
|
|
2228
|
+
background: ${miscTheme.theme.colors.white};
|
|
1955
2229
|
gap: 2px;
|
|
1956
2230
|
}
|
|
1957
2231
|
|
|
2232
|
+
&[data-win-cash-back-theme='true'] {
|
|
2233
|
+
${utils.MediaQueries.mbDown} {
|
|
2234
|
+
background: ${miscTheme.theme.colors.blue900};
|
|
2235
|
+
}
|
|
2236
|
+
}
|
|
2237
|
+
|
|
1958
2238
|
&[data-site-type='marryBaby'] {
|
|
1959
2239
|
width: 100%;
|
|
1960
2240
|
margin: 0 auto;
|
|
@@ -2078,239 +2358,6 @@ const StyleButtonAiChat = styled__default["default"](index$2.Button) `
|
|
|
2078
2358
|
}
|
|
2079
2359
|
`;
|
|
2080
2360
|
|
|
2081
|
-
var styles = {"gridContainer":"q3nL5cp","container":"_2DNf80G","closeWrapper":"Q-glX-n"};
|
|
2082
|
-
|
|
2083
|
-
const BtnClosePopup = ({ onClosePopup }) => {
|
|
2084
|
-
return (React__default["default"].createElement("div", { className: `${styles.closeWrapper} close-btn`, onClick: onClosePopup },
|
|
2085
|
-
React__default["default"].createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" },
|
|
2086
|
-
React__default["default"].createElement("path", { d: "M18 6L6 18M18 18L6 6", stroke: "#3E3F58", strokeWidth: "1.3", strokeLinecap: "round" }))));
|
|
2087
|
-
};
|
|
2088
|
-
|
|
2089
|
-
const PopupWrapper = ({ onClosePopup, isDisplay, children, isNavMenu, hideCloseBtn, stylesContainer, }) => {
|
|
2090
|
-
return (React__default["default"].createElement("div", { className: "hhgcomp-navigation-popupwrapper-menuwrapper top-menu-health-tools", "data-is-display": !!isDisplay, "data-is-nav-menu": !!isNavMenu },
|
|
2091
|
-
React__default["default"].createElement(index$c.Container, { className: "hhgcomp-navigation-popupwrapper-menuwrapper-child" },
|
|
2092
|
-
!hideCloseBtn && (React__default["default"].createElement("div", { className: styles.container },
|
|
2093
|
-
React__default["default"].createElement(BtnClosePopup, { onClosePopup: onClosePopup }))),
|
|
2094
|
-
React__default["default"].createElement(index$c.Container, { className: styles.gridContainer, style: stylesContainer }, children))));
|
|
2095
|
-
};
|
|
2096
|
-
|
|
2097
|
-
const MenuCareList = ({ careSpecialties = [], isOpen, onClose, spotlights = [], }) => {
|
|
2098
|
-
var _a;
|
|
2099
|
-
const { t } = index$1.useTranslations();
|
|
2100
|
-
const { locale, configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
2101
|
-
return (React__default["default"].createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true },
|
|
2102
|
-
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) => {
|
|
2103
|
-
if (!specialty)
|
|
2104
|
-
return {};
|
|
2105
|
-
return {
|
|
2106
|
-
name: String(specialty.name) || '',
|
|
2107
|
-
link: getCareSearchUrl({
|
|
2108
|
-
type: 'DOCTOR',
|
|
2109
|
-
specialtySlug: specialty.slug,
|
|
2110
|
-
locale,
|
|
2111
|
-
}),
|
|
2112
|
-
thumbnail: (specialty === null || specialty === void 0 ? void 0 : specialty.thumbnail) || '',
|
|
2113
|
-
};
|
|
2114
|
-
})) || [] }),
|
|
2115
|
-
React__default["default"].createElement(CareSpotlights, { spotlights: spotlights, hrefViewMore: `${statics.CARE_URL_FE}/${(_a = constants$1.LOCALIZED_SLUGS[locale]) === null || _a === void 0 ? void 0 : _a.SPECIALTIES}/` })));
|
|
2116
|
-
};
|
|
2117
|
-
|
|
2118
|
-
const MenuCategoriesList = ({ categories = [], spotlightsList = [], onClose, isOpen, }) => {
|
|
2119
|
-
const { t } = index$1.useTranslations();
|
|
2120
|
-
const { locale, configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
2121
|
-
return (React__default["default"].createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true },
|
|
2122
|
-
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) => {
|
|
2123
|
-
if (!cat)
|
|
2124
|
-
return {};
|
|
2125
|
-
return {
|
|
2126
|
-
name: cat.displayName || null,
|
|
2127
|
-
link: (cat === null || cat === void 0 ? void 0 : cat.customizedUrl) || (cat === null || cat === void 0 ? void 0 : cat.permalink) || '/',
|
|
2128
|
-
thumbnail: cat.iconUrl || null,
|
|
2129
|
-
};
|
|
2130
|
-
})) || [], headingTitle: t('home.navigator.menuItem.healthCategories') }),
|
|
2131
|
-
React__default["default"].createElement(CategorySpotlights, { spotlightsList: spotlightsList, hrefViewMore: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}/spotlight/` })));
|
|
2132
|
-
};
|
|
2133
|
-
|
|
2134
|
-
const MenuCommunitiesList = ({ communities = [], onClose, isOpen, spotlights = [], }) => {
|
|
2135
|
-
const { t } = index$1.useTranslations();
|
|
2136
|
-
const { configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
2137
|
-
return (React__default["default"].createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true },
|
|
2138
|
-
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) => {
|
|
2139
|
-
if (!community)
|
|
2140
|
-
return {};
|
|
2141
|
-
return {
|
|
2142
|
-
name: community.name || '',
|
|
2143
|
-
link: community.slug || '/',
|
|
2144
|
-
thumbnail: community.thumbnail || '',
|
|
2145
|
-
};
|
|
2146
|
-
})) || [], headingTitle: t('home.navigator.menuItem.allCommunitiesheadingTitle') }),
|
|
2147
|
-
React__default["default"].createElement(CommunitySpotlights, { spotlights: spotlights })));
|
|
2148
|
-
};
|
|
2149
|
-
|
|
2150
|
-
const MenuHealthToolsList = ({ locale, onClose, isOpen, spotlightHealthTools = [], healthTools = [], }) => {
|
|
2151
|
-
var _a;
|
|
2152
|
-
const { t } = index$1.useTranslations();
|
|
2153
|
-
const { configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
2154
|
-
const hrefViewMore = `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}${((_a = index$3.STATIC_PAGES[locale]) === null || _a === void 0 ? void 0 : _a.HEALTH_TOOLS) || ''}`;
|
|
2155
|
-
return (React__default["default"].createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true },
|
|
2156
|
-
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) => ({
|
|
2157
|
-
name: t.title,
|
|
2158
|
-
link: t.link
|
|
2159
|
-
? t.link.startsWith('http')
|
|
2160
|
-
? t.link
|
|
2161
|
-
: `${statics.HOME_PAGE_URL}${t.link}`
|
|
2162
|
-
: undefined,
|
|
2163
|
-
thumbnail: t.icon,
|
|
2164
|
-
isMobileAppTool: t.isMobileAppTool,
|
|
2165
|
-
})) }),
|
|
2166
|
-
React__default["default"].createElement(ToolSpotlights, { spotlightHealthTools: spotlightHealthTools, hrefViewMore: hrefViewMore })));
|
|
2167
|
-
};
|
|
2168
|
-
|
|
2169
|
-
const MenuVideoList = ({ spotlightsList = [], onClose, isOpen }) => {
|
|
2170
|
-
const { t } = index$1.useTranslations();
|
|
2171
|
-
const { locale, configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
2172
|
-
const listing = React.useMemo(() => [
|
|
2173
|
-
{
|
|
2174
|
-
name: t('home.navigator.menu.videos'),
|
|
2175
|
-
link: `${statics.VIDEO_URL_FE}/video/`,
|
|
2176
|
-
thumbnail: index$5.CommonGAssets.getAssetPath('nav-icons/video.svg'),
|
|
2177
|
-
},
|
|
2178
|
-
{
|
|
2179
|
-
name: t('home.navigator.menu.shorts'),
|
|
2180
|
-
link: `${statics.VIDEO_URL_FE}/short/`,
|
|
2181
|
-
thumbnail: index$5.CommonGAssets.getAssetPath('nav-icons/short.svg'),
|
|
2182
|
-
},
|
|
2183
|
-
// {
|
|
2184
|
-
// name: t('home.navigator.menu.podcasts'),
|
|
2185
|
-
// link: `${statics.VIDEO_URL_FE}/podcast/`,
|
|
2186
|
-
// thumbnail: CommonGAssets.getAssetPath('nav-icons/podcast.svg'),
|
|
2187
|
-
// },
|
|
2188
|
-
], []);
|
|
2189
|
-
return (React__default["default"].createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true },
|
|
2190
|
-
React__default["default"].createElement(Categories, { hrefViewMore: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}/videos/`, UrlFE: statics.HOME_PAGE_URL, onClosePopup: onClose, titleBtnViewMore: t('home.navigator.menuItem.allVideos'), menuItems: listing, headingTitle: t('home.navigator.menuItem.videoCategories') }),
|
|
2191
|
-
React__default["default"].createElement(VideoSpotlights, { spotlightsList: spotlightsList })));
|
|
2192
|
-
};
|
|
2193
|
-
|
|
2194
|
-
styled__default["default"].div `
|
|
2195
|
-
display: grid;
|
|
2196
|
-
grid-template-columns: repeat(4, 1fr);
|
|
2197
|
-
gap: 24px;
|
|
2198
|
-
${utils.MediaQueries.tdDown} {
|
|
2199
|
-
gap: 12px;
|
|
2200
|
-
grid-template-columns: 1fr;
|
|
2201
|
-
}
|
|
2202
|
-
`;
|
|
2203
|
-
const StyleButton = styled__default["default"](index$2.Button) `
|
|
2204
|
-
border: 1px solid ${miscTheme.theme.colors.white} !important;
|
|
2205
|
-
.mantine-Button-leftIcon {
|
|
2206
|
-
width: 24px;
|
|
2207
|
-
height: 24px;
|
|
2208
|
-
}
|
|
2209
|
-
`;
|
|
2210
|
-
const StyleWrapperIcon = styled__default["default"].div `
|
|
2211
|
-
width: 20px;
|
|
2212
|
-
height: 20px;
|
|
2213
|
-
display: flex;
|
|
2214
|
-
justify-content: center;
|
|
2215
|
-
align-items: center;
|
|
2216
|
-
|
|
2217
|
-
border-radius: 5px;
|
|
2218
|
-
background: linear-gradient(
|
|
2219
|
-
180deg,
|
|
2220
|
-
rgba(255, 255, 255, 0.1) 15.1%,
|
|
2221
|
-
rgba(0, 0, 0, 0.01) 100%
|
|
2222
|
-
),
|
|
2223
|
-
linear-gradient(180deg, #65b5ff 0%, #2685f1 100%);
|
|
2224
|
-
background-blend-mode: soft-light, normal;
|
|
2225
|
-
`;
|
|
2226
|
-
|
|
2227
|
-
const InitialCart = () => (React__default["default"].createElement("svg", { xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", width: "512", height: "512", style: {
|
|
2228
|
-
width: '100%',
|
|
2229
|
-
height: '100%',
|
|
2230
|
-
contentVisibility: 'visible',
|
|
2231
|
-
}, viewBox: "0 0 512 512" },
|
|
2232
|
-
React__default["default"].createElement("defs", null,
|
|
2233
|
-
React__default["default"].createElement("clipPath", { id: "__lottie_element_2" },
|
|
2234
|
-
React__default["default"].createElement("path", { d: "M0 0h512v512H0z" })),
|
|
2235
|
-
React__default["default"].createElement("path", { fill: "#FFF", d: "m139 0-13 174h244l-30 292 165 1 4-466z", opacity: "1", id: "__lottie_element_6", display: "block" }),
|
|
2236
|
-
React__default["default"].createElement("mask", { id: "__lottie_element_6_1", "mask-type": "alpha" },
|
|
2237
|
-
React__default["default"].createElement("use", { xlinkHref: "#__lottie_element_6" }))),
|
|
2238
|
-
React__default["default"].createElement("g", { clipPath: "url(#__lottie_element_2)" },
|
|
2239
|
-
React__default["default"].createElement("path", { fill: "#2B62CD", d: "m430 181-40 41-111-120a18 18 0 0 1-5-13c0-5 2-9 5-13l6-5a18 18 0 0 1 25-1zm-348 0 40 41 111-120a18 18 0 0 0 0-26l-6-5a18 18 0 0 0-25-1z", display: "block" }),
|
|
2240
|
-
React__default["default"].createElement("g", { display: "block" },
|
|
2241
|
-
React__default["default"].createElement("path", { fill: "#2D87F3", d: "M385 427H125c-4 0-9-1-13-5a20 20 0 0 1-6-12L88 239h335l-18 171a20 20 0 0 1-7 12c-3 4-8 5-13 5" }),
|
|
2242
|
-
React__default["default"].createElement("path", { fill: "#2B62CD", d: "m160 402-5-2a6 6 0 0 1-1-4l-8-114v-2a6 6 0 0 1 3-4 6 6 0 0 1 5 0 6 6 0 0 1 4 5l8 115-1 2a6 6 0 0 1-1 2 6 6 0 0 1-4 2m61 0-5-2a6 6 0 0 1-1-4l-2-114c0-2 0-3 2-5a6 6 0 0 1 4-1l4 1a6 6 0 0 1 2 4l2 115a6 6 0 0 1-2 4 6 6 0 0 1-4 2zm131 0a6 6 0 0 1-5-4l-1-2 8-115a6 6 0 0 1 2-4l2-1a6 6 0 0 1 2 0 6 6 0 0 1 5 2 6 6 0 0 1 1 4l-8 114a6 6 0 0 1-6 6m-61 0a6 6 0 0 1-6-6l2-114 2-5a6 6 0 0 1 4-1 6 6 0 0 1 5 1 6 6 0 0 1 1 5l-2 114a6 6 0 0 1-1 4 6 6 0 0 1-5 2" }),
|
|
2243
|
-
React__default["default"].createElement("path", { fill: "#91CAFF", d: "M424 243H88a20 20 0 0 1-21-18l-3-28a20 20 0 0 1 20-23h344a20 20 0 0 1 20 23l-3 28a20 20 0 0 1-21 18" })),
|
|
2244
|
-
React__default["default"].createElement("g", { mask: "url(#__lottie_element_6_1)", display: "block" },
|
|
2245
|
-
React__default["default"].createElement("path", { fill: "#FFC326", d: "m294 198-16 123a5 5 0 0 1-5 5h-80l-4-2a5 5 0 0 1-1-4l15-115h1z" }),
|
|
2246
|
-
React__default["default"].createElement("path", { fill: "#FFD658", d: "M272 189c0 3 0 7 2 10a12 12 0 0 0 10 6h-81l-3-1c-3-1-5-3-6-5a15 15 0 0 1 5-19 17 17 0 0 1 9-3h80c-4 0-7 1-9 3a15 15 0 0 0-7 9" }),
|
|
2247
|
-
React__default["default"].createElement("path", { fill: "#FEA21E", d: "M277 326h-4c3 0 5-2 5-4l15-115 1-9v1l-1 1a9 9 0 0 1-5 4 11 11 0 0 1-8 0c-3-1-5-3-6-5-4-7-2-15 5-19 2-2 5-3 9-3h1c4 0 7 2 10 4l6 9 1 11 14 119-1 4z" }),
|
|
2248
|
-
React__default["default"].createElement("path", { fill: "#FC7419", d: "M303 310v-74a3 3 0 1 0-5 0v74l-21 16h38l4-2zm-5-109a13 13 0 0 1-5 6l1-9c0-1 0 0 0 0 0-3-1-6-4-7a4 4 0 0 0-5 1v1c0 2-1 3-2 3a3 3 0 0 1-3-2l1-4a9 9 0 0 1 11-4c3 1 5 3 6 6v9" })),
|
|
2249
|
-
React__default["default"].createElement("g", { display: "block" },
|
|
2250
|
-
React__default["default"].createElement("path", { fill: "#FFC326", d: "m460 330-16 123a5 5 0 0 1-5 5h-80l-4-2a5 5 0 0 1-1-4l15-115h1z" }),
|
|
2251
|
-
React__default["default"].createElement("path", { fill: "#FFD658", d: "M438 321c0 3 0 6 2 9a12 12 0 0 0 10 7h-81l-3-1c-3-1-5-3-6-6a15 15 0 0 1 5-18 17 17 0 0 1 9-3h80c-4 0-7 1-9 3a15 15 0 0 0-7 9" }),
|
|
2252
|
-
React__default["default"].createElement("path", { fill: "#FEA21E", d: "M443 458h-4c3 0 5-2 5-5l15-114 1-9v1l-1 1a9 9 0 0 1-5 4 11 11 0 0 1-8 0c-3-1-5-3-6-6-4-6-2-14 5-18 2-2 5-3 9-3h1c4 0 7 2 10 4s5 5 6 9l1 11 14 119-1 4z" }),
|
|
2253
|
-
React__default["default"].createElement("path", { fill: "#FC7419", d: "M469 442v-74a3 3 0 1 0-5 0v74l-21 16h38l4-2zm-5-109a13 13 0 0 1-5 6l1-9c0-1 0 0 0 0 0-3-1-6-4-7a4 4 0 0 0-4 1l-1 1-2 3a3 3 0 0 1-3-3l1-3a9 9 0 0 1 11-4c3 1 5 3 6 5 1 3 2 7 0 10" })))));
|
|
2254
|
-
|
|
2255
|
-
const InitialDoctor = () => (React__default["default"].createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "512", height: "512", style: {
|
|
2256
|
-
width: '100%',
|
|
2257
|
-
height: '100%',
|
|
2258
|
-
contentVisibility: 'visible',
|
|
2259
|
-
}, viewBox: "0 0 512 512" },
|
|
2260
|
-
React__default["default"].createElement("defs", null,
|
|
2261
|
-
React__default["default"].createElement("clipPath", { id: "__lottie_element_23" },
|
|
2262
|
-
React__default["default"].createElement("path", { d: "M0 0h512v512H0z" }))),
|
|
2263
|
-
React__default["default"].createElement("g", { clipPath: "url(#__lottie_element_23)" },
|
|
2264
|
-
React__default["default"].createElement("g", { display: "block" },
|
|
2265
|
-
React__default["default"].createElement("path", { fill: "#1B3250", d: "M430 332c-13-17-52-37-42-63 16-41-9-72-28-84-22-14-23-43-30-66-15-50-53-73-103-73s-88 21-103 71c-7 22-7 53-29 67-19 12-61 41-45 82 10 26-15 52-28 69-39 53 13 89 72 98l255 2c59-9 120-50 81-103" }),
|
|
2266
|
-
React__default["default"].createElement("path", { fill: "#FFB497", d: "M120 202c-11 4-13 17-10 29a29 29 0 0 0 14 17 29 29 0 0 0 22 3l-8-49a25 25 0 0 0-18 0" }),
|
|
2267
|
-
React__default["default"].createElement("path", { fill: "#FF977B", d: "M147 235a5 5 0 0 1-4-2c-6-8-17-8-17-8a5 5 0 0 1-4-2 5 5 0 0 1 0-7l4-1c1 0 16 0 25 11a5 5 0 0 1-4 9" }),
|
|
2268
|
-
React__default["default"].createElement("path", { fill: "#FFB497", d: "M332 202a25 25 0 0 0-18 0l-8 49a29 29 0 0 0 22-3c7-3 12-10 14-17 3-12 1-25-10-29" }),
|
|
2269
|
-
React__default["default"].createElement("path", { fill: "#FF977B", d: "M305 235a5 5 0 0 1-5-3 5 5 0 0 1 1-6c9-11 24-11 25-11a5 5 0 0 1 5 5 5 5 0 0 1-5 5s-11 0-17 8a5 5 0 0 1-4 2" }),
|
|
2270
|
-
React__default["default"].createElement("path", { fill: "#E3F2FF", d: "M366 452H86a3 3 0 0 1-4-4c5-19 19-47 37-65a153 153 0 0 1 42-28l1-1a85 85 0 0 1 29-19h70a84 84 0 0 1 29 19l1 1a153 153 0 0 1 42 28c18 18 32 46 37 65a3 3 0 0 1-1 3 3 3 0 0 1-3 1" }),
|
|
2271
|
-
React__default["default"].createElement("path", { fill: "#FCCAAF", d: "M261 335c-25 32-48 32-70 0l5-10v-1a45 45 0 0 0 2-13h56a48 48 0 0 0 2 13v1l5 10" }),
|
|
2272
|
-
React__default["default"].createElement("path", { fill: "#2D87F3", d: "M281 452H175c-14-93 16-117 16-117 7 9 20 15 35 15s28-6 35-15c0 0 9 12 16 37 5 20 6 60 4 80" }),
|
|
2273
|
-
React__default["default"].createElement("path", { fill: "#BCDEFF", d: "M191 335a84 84 0 0 0-30 19 53 53 0 0 0-13 28c0 3 11 1 16 0h1v1c-13 8-17 19-16 25 2 15 6 30 13 44h26s-12-72 3-117m96 48a1 1 0 0 1 0-1h1c1 0 0 0 0 0 5 1 16 3 16 0a53 53 0 0 0-13-28 83 83 0 0 0-30-19c15 45 3 117 3 117h26a157 157 0 0 0 13-44c1-6-3-17-16-25" }),
|
|
2274
|
-
React__default["default"].createElement("path", { fill: "#FF977B", d: "M256 325c-20 18-40 18-60 0v-1a46 46 0 0 0 2-13h56a48 48 0 0 0 2 13v1" }),
|
|
2275
|
-
React__default["default"].createElement("path", { fill: "#FCCAAF", d: "M314 205c-3 54-17 80-39 96-14 11-37 24-49 24s-35-13-49-24c-22-16-36-42-39-96 52-21 30-127 85-99a7 7 0 0 0 6 0c55-28 33 78 85 99" }),
|
|
2276
|
-
React__default["default"].createElement("path", { fill: "#FFB497", d: "M221 106c-27-12-34 12-43 40-7 25-16 54-41 63l1 3c43 0 71-62 83-106" })),
|
|
2277
|
-
React__default["default"].createElement("path", { fill: "#FF977B", d: "M233 233a5 5 0 0 0-4 2l-3 1-3-1a5 5 0 0 0-2-2 5 5 0 0 0-4 0 5 5 0 0 0-3 5c0 6 9 8 12 8s12-2 12-8a5 5 0 0 0-2-3 5 5 0 0 0-3-2", display: "block" }),
|
|
2278
|
-
React__default["default"].createElement("path", { fill: "#1B3250", d: "m261 199 9-5a27 27 0 0 1 11-1c4 0 7 0 11 2l8 4a2 2 0 0 1 1 2 2 2 0 0 1 0 1h-1l-10-1h-9a20 20 0 0 0-7 2 65 65 0 0 0-7 4 5 5 0 0 1-4 1 5 5 0 0 1-3-2 5 5 0 0 1-1-2 5 5 0 0 1 2-5", display: "block" }),
|
|
2279
|
-
React__default["default"].createElement("path", { fill: "#284A75", d: "M280 218a9 9 0 1 0 0-19 9 9 0 0 0 0 19", display: "block" }),
|
|
2280
|
-
React__default["default"].createElement("path", { fill: "#1B3250", d: "m192 210-7-4-7-2h-9l-9 1a2 2 0 0 1-2-1v-1l1-1 9-4c3-2 6-2 10-2 4-1 7 0 11 1l9 5a5 5 0 0 1 2 3v4a5 5 0 0 1-7 2l-1-1", display: "block" }),
|
|
2281
|
-
React__default["default"].createElement("path", { fill: "#284A75", d: "M184 218a9 9 0 1 0 0-19 9 9 0 0 0 0 19", display: "block" }),
|
|
2282
|
-
React__default["default"].createElement("g", { fill: "#FFF", display: "block" },
|
|
2283
|
-
React__default["default"].createElement("path", { d: "m216 213-4-1a5 5 0 0 1-1-3v-4a5 5 0 0 1 3-2 33 33 0 0 1 24 0 5 5 0 0 1 3 7 5 5 0 0 1-3 2h-3a23 23 0 0 0-18 1h-1" }),
|
|
2284
|
-
React__default["default"].createElement("path", { d: "M183 249a38 38 0 0 1-35-23 38 38 0 0 1-2-22 38 38 0 0 1 11-19 38 38 0 0 1 19-11c7-1 15 0 22 2a38 38 0 0 1 16 14 38 38 0 0 1 7 21 38 38 0 0 1-11 27 38 38 0 0 1-27 11m0-65a27 27 0 0 0-25 17 27 27 0 0 0-2 15 27 27 0 0 0 8 14 27 27 0 0 0 42-4c3-4 4-9 4-15a27 27 0 0 0-8-19 27 27 0 0 0-19-8zm86 65a38 38 0 0 1-35-24 38 38 0 0 1 27-51 38 38 0 0 1 39 16 38 38 0 0 1 6 21 38 38 0 0 1-11 27 38 38 0 0 1-26 11m0-65a27 27 0 0 0-25 17 27 27 0 0 0-2 15 27 27 0 0 0 8 14 27 27 0 0 0 46-19 27 27 0 0 0-8-19 27 27 0 0 0-19-8z" })),
|
|
2285
|
-
React__default["default"].createElement("path", { d: "m205 180-2-1c-10-4-39-9-47-1a5 5 0 0 1-3 2 5 5 0 0 1-4-2 5 5 0 0 1-2-3l1-4c14-15 52-4 59-1a5 5 0 0 1 3 6 5 5 0 0 1-2 3l-3 1zm42 0-3-1a5 5 0 0 1-1-7 5 5 0 0 1 2-2c7-3 45-14 59 1a5 5 0 0 1 1 4l-2 3a5 5 0 0 1-4 2l-3-2c-8-8-37-3-47 1l-2 1", fill: "#284A75", display: "block" }),
|
|
2286
|
-
React__default["default"].createElement("path", { fill: "#FF886C", d: "M208 260a4 4 0 0 0-3 1 4 4 0 0 0-1 3c2 8 6 19 22 19s21-11 22-19a4 4 0 0 0-4-4l-18-1-18 1", display: "block" }),
|
|
2287
|
-
React__default["default"].createElement("g", { display: "block" },
|
|
2288
|
-
React__default["default"].createElement("g", { fill: "#FFF" },
|
|
2289
|
-
React__default["default"].createElement("path", { d: "M469 405a85 85 0 1 1-170 0 85 85 0 0 1 170 0" }),
|
|
2290
|
-
React__default["default"].createElement("path", { d: "M469 405a85 85 0 1 1-170 0 85 85 0 0 1 170 0" })),
|
|
2291
|
-
React__default["default"].createElement("path", { fill: "#E4E8EC", d: "M384 480a75 75 0 1 0 0-149 75 75 0 0 0 0 149m0 11a85 85 0 1 0 0-171 85 85 0 0 0 0 171" }),
|
|
2292
|
-
React__default["default"].createElement("path", { fill: "#FFF", d: "M469 405a85 85 0 1 1-170 0 85 85 0 0 1 170 0" }),
|
|
2293
|
-
React__default["default"].createElement("path", { fill: "#E4E8EC", d: "M384 480a75 75 0 1 0 0-149 75 75 0 0 0 0 149m0 11a85 85 0 1 0 0-171 85 85 0 0 0 0 171" }),
|
|
2294
|
-
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" })))));
|
|
2295
|
-
|
|
2296
|
-
const MenuViewMore = ({ menuItems = [], isOpen, onClose }) => {
|
|
2297
|
-
const { locale, configs: { enableAppIntroPage }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
2298
|
-
const ecomNavItem = menuItems.find((m) => m.id === 'ecom');
|
|
2299
|
-
const careNavItem = menuItems.find((m) => m.id === 'care');
|
|
2300
|
-
return (React__default["default"].createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true, hideCloseBtn: true, stylesContainer: {
|
|
2301
|
-
display: 'flex',
|
|
2302
|
-
gap: 0,
|
|
2303
|
-
padding: 0,
|
|
2304
|
-
} },
|
|
2305
|
-
ecomNavItem && (React__default["default"].createElement("a", { tabIndex: 0, href: ecomNavItem.link, "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": ecomNavItem.link },
|
|
2306
|
-
React__default["default"].createElement(StyleButton, { variant: "tertiary", leftIcon: React__default["default"].createElement(InitialCart, null) }, ecomNavItem.name))),
|
|
2307
|
-
careNavItem && (React__default["default"].createElement("a", { tabIndex: 0, href: careNavItem.link, "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": careNavItem.link },
|
|
2308
|
-
React__default["default"].createElement(StyleButton, { variant: "tertiary", leftIcon: React__default["default"].createElement(InitialDoctor, null) }, careNavItem.name))),
|
|
2309
|
-
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` },
|
|
2310
|
-
React__default["default"].createElement(StyleButton, { variant: "tertiary", leftIcon: React__default["default"].createElement(StyleWrapperIcon, null,
|
|
2311
|
-
React__default["default"].createElement(core.Logo, { width: 16, height: 15 })) }, `${index$3.LOCALE_SPECS[locale || 'en-PH'].SITE_NAME_FORMATTED} App`)))));
|
|
2312
|
-
};
|
|
2313
|
-
|
|
2314
2361
|
const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent, subHead, projectType, customClasses, }) => {
|
|
2315
2362
|
var _a, _b, _c, _d;
|
|
2316
2363
|
const { siteType, isMobile = false, locale, sitewideBanner, sitewideBannerShown = true, sponsorComponent, isHomepage = false,
|
|
@@ -2328,7 +2375,7 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
|
|
|
2328
2375
|
// enableProfileEcom,
|
|
2329
2376
|
}, userState: { userInfo }, onLogout,
|
|
2330
2377
|
// userProfileRouterPush,
|
|
2331
|
-
isUserLoading, slot, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
2378
|
+
isUserLoading, slot, isWinCashBackTheme: winCashBackTheme, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
2332
2379
|
const { triggerLogin } = store.useSSOV2Store();
|
|
2333
2380
|
const { SSO_URL, HOME_PAGE_URL } = statics;
|
|
2334
2381
|
const isSponsored = !!sponsorComponent;
|
|
@@ -2384,49 +2431,49 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
|
|
|
2384
2431
|
scrolling();
|
|
2385
2432
|
}, [isMobile]);
|
|
2386
2433
|
const isShowingSiteWideBanner = sitewideBannerShown && !!sitewideBanner;
|
|
2387
|
-
return (
|
|
2434
|
+
return (React__namespace["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, "data-win-cash-back-theme": winCashBackTheme, id: "site-header", ref: headerRef, className: customClasses.wrapper },
|
|
2388
2435
|
sitewideBanner,
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
isMobile && (
|
|
2392
|
-
logoComponent || (
|
|
2436
|
+
React__namespace["default"].createElement(StyledHeader, { className: customClasses.header, "data-site-type": siteType, "data-win-cash-back-theme": winCashBackTheme },
|
|
2437
|
+
React__namespace["default"].createElement(StyledLeftGroup, { className: customClasses.leftGroup, "data-site-type": siteType },
|
|
2438
|
+
isMobile && (React__namespace["default"].createElement(HamburgerMenu, { menuItems: menuItems.filter((m) => !!m.link), isHomepage: isHomepage, projectType: projectType })),
|
|
2439
|
+
logoComponent || (React__namespace["default"].createElement("a", { style: {
|
|
2393
2440
|
flexShrink: 0,
|
|
2394
2441
|
}, href: HOME_PAGE_URL },
|
|
2395
|
-
|
|
2396
|
-
|
|
2442
|
+
React__namespace["default"].createElement("div", null,
|
|
2443
|
+
React__namespace["default"].createElement(index$d.Logo, { style: {
|
|
2397
2444
|
display: 'flex',
|
|
2398
|
-
}, type: logoType, badge: locale === 'id-ID' && (
|
|
2399
|
-
!isMobile && (
|
|
2400
|
-
|
|
2401
|
-
!isMobile && siteType !== 'marryBaby' && (
|
|
2445
|
+
}, type: logoType, badge: locale === 'id-ID' && (React__namespace["default"].createElement("img", { src: index$6.CommonGAssets.getAssetPath('sehat-badge.png'), width: "56", height: "23", loading: "lazy" })), dateForSeasonal: new Date(), locale: locale, key: typeof window !== 'undefined' ? 'client' : 'server', isLightLogo: winCashBackTheme })))),
|
|
2446
|
+
!isMobile && (React__namespace["default"].createElement(React__namespace["default"].Fragment, null, siteType === 'marryBaby' ? (React__namespace["default"].createElement(NavigationMenu, { menuItems: menuItems, originalMenuItems: menuItems, className: customClasses.navMenu })) : (enableSearchBar && (React__namespace["default"].createElement(NavigtionSearch, { siteType: siteType, projectType: projectType, isMobile: isMobile })))))),
|
|
2447
|
+
React__namespace["default"].createElement(StyledRightGroup, { className: customClasses.rightGroup, "data-site-type": siteType },
|
|
2448
|
+
!isMobile && siteType !== 'marryBaby' && (React__namespace["default"].createElement(NavigationMenu, { menuItems: menuItems.filter((m) => locale === Locale.LOCALE.Vietnam
|
|
2402
2449
|
? m.id !== 'ecom' && m.id !== 'care'
|
|
2403
2450
|
: true), originalMenuItems: menuItems, className: customClasses.navMenu })),
|
|
2404
|
-
|
|
2451
|
+
React__namespace["default"].createElement(StyledProfileNavGroup, null,
|
|
2405
2452
|
languageMenu,
|
|
2406
|
-
enableNavChatbotAi && (
|
|
2407
|
-
|
|
2453
|
+
enableNavChatbotAi && (React__namespace["default"].createElement(core$1.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" },
|
|
2454
|
+
React__namespace["default"].createElement(StyleButtonAiChat, { variant: "tertiary", leftIcon: React__namespace["default"].createElement(other.ChatAi, { size: 18, color: "#2F8AF2" }), size: "md", className: "ai-doctor-btn" }, (_b = index$3.LOCALE_SPECS[locale]) === null || _b === void 0 ? void 0 :
|
|
2408
2455
|
_b.SITE_NAME,
|
|
2409
2456
|
" AI"))),
|
|
2410
|
-
enableNavClinityDownload && (
|
|
2411
|
-
|
|
2457
|
+
enableNavClinityDownload && (React__namespace["default"].createElement(core$1.Box, { component: "a", href: `${(_c = index$3.STATIC_PAGES[locale]) === null || _c === void 0 ? void 0 : _c.CLINITY_DOWNLOAD_LINK}`, target: "_blank", "data-event-category": "Hamburger Navigation", "data-event-action": "Download Clinity", "data-event-label": `${(_d = index$3.STATIC_PAGES[locale]) === null || _d === void 0 ? void 0 : _d.CLINITY_DOWNLOAD_LINK}`, "data-cart-menu": true },
|
|
2458
|
+
React__namespace["default"].createElement("img", { src: index$6.CommonGAssets.getAssetPath('clinity-download.png'), alt: "Clinity", className: "clinity-logo", style: { display: 'block' } }))),
|
|
2412
2459
|
slot,
|
|
2413
|
-
|
|
2460
|
+
React__namespace["default"].createElement(navigationProfileButton.NavigationProfileButton, { userInfo: userInfo, siteType: siteType, onLoginClick: onLoginClick || goToLogin,
|
|
2414
2461
|
// SSO_URL={normalizeLink(statics.SSO_URL)}
|
|
2415
2462
|
currentUrl: currentUrl, onLogout: onLogout, isLoading: isUserLoading, locale: locale, enableAppIntroPage: enableAppIntroPage, isMobile: isMobile, className: customClasses.profileBtn }),
|
|
2416
|
-
cartNumber !== undefined && (
|
|
2417
|
-
!isMobile && (
|
|
2463
|
+
cartNumber !== undefined && (React__namespace["default"].createElement(React__namespace["default"].Fragment, null,
|
|
2464
|
+
!isMobile && (React__namespace["default"].createElement("hr", { style: {
|
|
2418
2465
|
height: 20,
|
|
2419
2466
|
width: 0,
|
|
2420
2467
|
border: 'none',
|
|
2421
2468
|
borderLeft: '1px solid #E4E8EC',
|
|
2422
2469
|
} })),
|
|
2423
|
-
|
|
2424
|
-
isMobile && isHomepage && (
|
|
2425
|
-
|
|
2470
|
+
React__namespace["default"].createElement(CartBadge, { "data-cart-menu": "true", "data-event-category": "Ecommerce", "data-event-action": "Cart Click", "data-event-label": currentUrl, count: cartNumber, locale: locale })))))),
|
|
2471
|
+
isMobile && isHomepage && (React__namespace["default"].createElement(StyleWrapperNavigtionSearch, { style: { padding: winCashBackTheme ? '12px 16px' : undefined } },
|
|
2472
|
+
React__namespace["default"].createElement(NavigtionSearch, { siteType: siteType, projectType: projectType, isMobile: isMobile, isHomepage: isHomepage }))),
|
|
2426
2473
|
sponsorComponent
|
|
2427
|
-
? !
|
|
2474
|
+
? !React__namespace["default"].isValidElement(sponsorComponent)
|
|
2428
2475
|
? sponsorComponent
|
|
2429
|
-
:
|
|
2476
|
+
: React__namespace["default"].cloneElement(sponsorComponent, {
|
|
2430
2477
|
isCollapsed,
|
|
2431
2478
|
locale,
|
|
2432
2479
|
isMobile,
|
|
@@ -2434,12 +2481,12 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
|
|
|
2434
2481
|
: null,
|
|
2435
2482
|
subHead && subHead));
|
|
2436
2483
|
};
|
|
2437
|
-
const NavigtionSearch = ({ siteType, projectType, isMobile = false, isHomepage = false, isRedirectSearchPage = false, }) => (
|
|
2438
|
-
|
|
2484
|
+
const NavigtionSearch = ({ siteType, projectType, isMobile = false, isHomepage = false, isRedirectSearchPage = false, }) => (React__namespace["default"].createElement(DisplayWrapper, { mediaQueryKey: "mbUp", className: `${siteType === 'marryBaby' ? 'marry-baby' : ''} ${isHomepage ? 'block-show' : ''}` },
|
|
2485
|
+
React__namespace["default"].createElement(SearchInput, { id: "desktop", projectType: projectType, isMobile: isMobile, isHomepage: isHomepage, isRedirectSearchPage: isRedirectSearchPage })));
|
|
2439
2486
|
const NavigationMenu = ({ menuItems, originalMenuItems, className, }) => {
|
|
2440
2487
|
const { siteType, locale, ssrMenuContent: { categories, healthTools, care, together, videos }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
2441
|
-
return (
|
|
2442
|
-
|
|
2488
|
+
return (React__namespace["default"].createElement(DisplayWrapper, { className: className, mediaQueryKey: "mbUp", style: { height: '100%' } },
|
|
2489
|
+
React__namespace["default"].createElement(StyledWrapMenuItems, { "data-site-type": siteType }, menuItems === null || menuItems === void 0 ? void 0 : menuItems.map((menuItem, index) => (React__namespace["default"].createElement(ItemMenu, { key: index, item: menuItem, menu: menuItem.popupType === 'categories' ? (React__namespace["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__namespace["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__namespace["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__namespace["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__namespace["default"].createElement(MenuVideoList, { spotlightsList: videos === null || videos === void 0 ? void 0 : videos.spotlights })) : menuItem.popupType === 'other' ? (React__namespace["default"].createElement(MenuViewMore, { menuItems: originalMenuItems })) : null }))))));
|
|
2443
2490
|
};
|
|
2444
2491
|
|
|
2445
2492
|
const useHeaderHeight = ({ hasSponsoredBanners, isSponsored, isShowingSiteWideBanner, isMobile, }) => {
|
|
@@ -2554,8 +2601,8 @@ const useNavServices = () => {
|
|
|
2554
2601
|
link: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}/categories/`,
|
|
2555
2602
|
niceName: '',
|
|
2556
2603
|
thumbnail: isMarryBaby
|
|
2557
|
-
? index$
|
|
2558
|
-
: index$
|
|
2604
|
+
? index$6.CommonGAssets.getAssetPath('categories-mb.svg')
|
|
2605
|
+
: index$6.CommonGAssets.getAssetPath('nav-icons/discover.svg'),
|
|
2559
2606
|
popupType: 'categories',
|
|
2560
2607
|
});
|
|
2561
2608
|
enableNavVideo &&
|
|
@@ -2564,7 +2611,7 @@ const useNavServices = () => {
|
|
|
2564
2611
|
id: 'video',
|
|
2565
2612
|
link: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}/videos/`,
|
|
2566
2613
|
niceName: '',
|
|
2567
|
-
thumbnail: index$
|
|
2614
|
+
thumbnail: index$6.CommonGAssets.getAssetPath('nav-icons/video.svg'),
|
|
2568
2615
|
popupType: 'video',
|
|
2569
2616
|
});
|
|
2570
2617
|
enableNavHealthTools &&
|
|
@@ -2573,8 +2620,8 @@ const useNavServices = () => {
|
|
|
2573
2620
|
id: 'tools',
|
|
2574
2621
|
link: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}${((_a = index$3.STATIC_PAGES[locale]) === null || _a === void 0 ? void 0 : _a.HEALTH_TOOLS) || ''}`,
|
|
2575
2622
|
thumbnail: isMarryBaby
|
|
2576
|
-
? index$
|
|
2577
|
-
: index$
|
|
2623
|
+
? index$6.CommonGAssets.getAssetPath('healthtools-mb.svg')
|
|
2624
|
+
: index$6.CommonGAssets.getAssetPath('nav-icons/health-tools.svg'),
|
|
2578
2625
|
popupType: 'tools',
|
|
2579
2626
|
});
|
|
2580
2627
|
enableNavTogether &&
|
|
@@ -2583,8 +2630,8 @@ const useNavServices = () => {
|
|
|
2583
2630
|
id: 'together',
|
|
2584
2631
|
link: normalizeLink.normalizeLinkSlash(statics.TOGETHER_URL_FE + '/'),
|
|
2585
2632
|
thumbnail: isMarryBaby
|
|
2586
|
-
? index$
|
|
2587
|
-
: index$
|
|
2633
|
+
? index$6.CommonGAssets.getAssetPath('community-mb.svg')
|
|
2634
|
+
: index$6.CommonGAssets.getAssetPath('nav-icons/community.svg'),
|
|
2588
2635
|
popupType: 'together',
|
|
2589
2636
|
});
|
|
2590
2637
|
enableNavEcom &&
|
|
@@ -2592,7 +2639,7 @@ const useNavServices = () => {
|
|
|
2592
2639
|
name: t('home.navigator.menuItem.helloEcom'),
|
|
2593
2640
|
id: 'ecom',
|
|
2594
2641
|
link: normalizeLink.normalizeLinkSlash(statics.HOME_PAGE_URL + '/shop/'),
|
|
2595
|
-
thumbnail: index$
|
|
2642
|
+
thumbnail: index$6.CommonGAssets.getAssetPath('nav-icons/shop.svg'),
|
|
2596
2643
|
popupType: null,
|
|
2597
2644
|
});
|
|
2598
2645
|
enableNavCare &&
|
|
@@ -2600,7 +2647,7 @@ const useNavServices = () => {
|
|
|
2600
2647
|
name: t('home.navigator.menuItem.helloCare'),
|
|
2601
2648
|
id: 'care',
|
|
2602
2649
|
link: normalizeLink.normalizeLinkSlash(statics.HOME_PAGE_URL + '/care/'),
|
|
2603
|
-
thumbnail: index$
|
|
2650
|
+
thumbnail: index$6.CommonGAssets.getAssetPath('nav-icons/care.svg'),
|
|
2604
2651
|
popupType: null,
|
|
2605
2652
|
});
|
|
2606
2653
|
enableNavViewMore &&
|
|
@@ -2610,7 +2657,7 @@ const useNavServices = () => {
|
|
|
2610
2657
|
link: '',
|
|
2611
2658
|
thumbnail: '',
|
|
2612
2659
|
popupType: 'other',
|
|
2613
|
-
icon: (
|
|
2660
|
+
icon: (React__namespace["default"].createElement(HamburgerIcon, { siteType: siteType, enableSearch: false, style: {
|
|
2614
2661
|
width: '16px',
|
|
2615
2662
|
height: '16px',
|
|
2616
2663
|
}, className: "mobile-hamburger-icon" })),
|
|
@@ -2661,18 +2708,18 @@ const _NavigationV2 = (props) => {
|
|
|
2661
2708
|
hasSponsoredBanners,
|
|
2662
2709
|
isMobile,
|
|
2663
2710
|
});
|
|
2664
|
-
return (
|
|
2711
|
+
return (React__namespace["default"].createElement(StyledContainer, { id: "navigation-v2", style: {
|
|
2665
2712
|
'--default-header-height': defaultHeaderHeight + 'px',
|
|
2666
2713
|
'--header-height': `calc(${headerHeight}px - var(--amp-site-wide-closed), 64px)`,
|
|
2667
2714
|
'--header-bottom': headerBottom + 'px',
|
|
2668
2715
|
}, className: className },
|
|
2669
|
-
|
|
2670
|
-
|
|
2716
|
+
React__namespace["default"].createElement("section", { ref: headerRef },
|
|
2717
|
+
React__namespace["default"].createElement(NavigationBar, { menuItems: services, onTopBarAppears: onTopBarAppears, logoComponent: logoComponent, subHead: subHead, projectType: projectType, languageMenu: React__namespace["default"].createElement(index$b.LanguageSwitcher, { languageOptions: languageOptions, locale: locale }), customClasses: customClasses }))));
|
|
2671
2718
|
};
|
|
2672
2719
|
const NavigationV2 = (props) => {
|
|
2673
2720
|
const propsWithDefaultValues = Object.assign({ siteType: 'helloSites', projectType: 'discover', locale: 'vi-VN', activeMenuService: 'categories', ssrMenuContent: {} }, props);
|
|
2674
|
-
return (
|
|
2675
|
-
|
|
2721
|
+
return (React__namespace["default"].createElement(navigationProfileButton.NavigationProvider, Object.assign({}, propsWithDefaultValues),
|
|
2722
|
+
React__namespace["default"].createElement(_NavigationV2, Object.assign({}, propsWithDefaultValues))));
|
|
2676
2723
|
};
|
|
2677
2724
|
const getNavMenuContent = (locale) => tslib_es6.__awaiter(void 0, void 0, void 0, function* () {
|
|
2678
2725
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0;
|
|
@@ -2741,7 +2788,9 @@ const getNavMenuContentWithCache = (locale) => tslib_es6.__awaiter(void 0, void
|
|
|
2741
2788
|
});
|
|
2742
2789
|
|
|
2743
2790
|
exports.HHG_SEARCH_BACK_KEY = HHG_SEARCH_BACK_KEY;
|
|
2791
|
+
exports.HamburgerWhite = HamburgerWhite;
|
|
2744
2792
|
exports.NavigationV2 = NavigationV2;
|
|
2793
|
+
exports.StarPair = StarPair;
|
|
2745
2794
|
exports.getNavMenuContent = getNavMenuContent;
|
|
2746
2795
|
exports.getNavMenuContentWithCache = getNavMenuContentWithCache;
|
|
2747
2796
|
exports.getTogetherUserPostsApiPath = getTogetherUserPostsApiPath;
|