@hhgtech/hhg-components 1.29.401-beta-2 → 1.29.401
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-2dd9b19f.js → InputDate-50b5a745.js} +3 -3
- package/build/{LastPeriod-40cfe16c.js → LastPeriod-85e52090.js} +1 -1
- package/build/{MobileBottomNavigationIcon-67cc40d7.js → MobileBottomNavigationIcon-33bb517a.js} +3 -3
- package/build/{Spinner-fa4ee226.js → Spinner-3fb88ec7.js} +1 -1
- package/build/{WhatsApp-e58eeb87.js → WhatsApp-97efd8bc.js} +1 -1
- package/build/adapters.js +19 -19
- package/build/atoms.js +48 -48
- package/build/babyGrowth.js +83 -83
- package/build/cache.js +2 -2
- package/build/care.js +17 -17
- package/build/careBookingSearchBar.js +14 -14
- package/build/careBookingSearchBarV2.js +15 -15
- package/build/components/navigationV2/components/molecules/navigationBar/index.d.ts +1 -3
- package/build/components/navigationV2/index.d.ts +1 -12
- package/build/components.js +97 -97
- package/build/{constants-60568c83.js → constants-1f31008e.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-2e4c4ab1.js → core-cc343cf3.js} +1 -1
- package/build/{dataTransform-5f7ada7e.js → dataTransform-4436b8e4.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-c5947234.js → editor-5b6ef21d.js} +11 -11
- package/build/embeddedHeathToolCards_babyGrowth.js +23 -23
- package/build/embeddedHeathToolCards_babyPoop.js +19 -19
- package/build/embeddedHeathToolCards_babyVaccine.js +22 -22
- package/build/embeddedHeathToolCards_bmi_bmi.js +25 -25
- package/build/embeddedHeathToolCards_bmrBmr.js +25 -25
- package/build/embeddedHeathToolCards_dueDate_dueDate.js +22 -22
- package/build/embeddedHeathToolCards_ovulation_ovulation.js +22 -22
- package/build/embeddedHeathToolCards_pwg_pwg.js +26 -26
- package/build/embeddedHeathToolCards_targetHeartRate.js +27 -27
- package/build/esm/{InputDate-fbac7954.js → InputDate-b0bd594a.js} +3 -3
- package/build/esm/{LastPeriod-41fcf94d.js → LastPeriod-5d04a8f1.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-5b6293df.js → MobileBottomNavigationIcon-d9e26713.js} +3 -3
- package/build/esm/{Spinner-68d141a2.js → Spinner-b1633c43.js} +1 -1
- package/build/esm/{WhatsApp-43e73add.js → WhatsApp-d607837f.js} +1 -1
- package/build/esm/adapters.js +19 -19
- package/build/esm/atoms.js +48 -48
- package/build/esm/babyGrowth.js +83 -83
- package/build/esm/cache.js +2 -2
- package/build/esm/care.js +17 -17
- package/build/esm/careBookingSearchBar.js +14 -14
- package/build/esm/careBookingSearchBarV2.js +15 -15
- package/build/esm/components/navigationV2/components/molecules/navigationBar/index.d.ts +1 -3
- package/build/esm/components/navigationV2/index.d.ts +1 -12
- package/build/esm/components.js +97 -97
- package/build/esm/{constants-f9f994f6.js → constants-624ac70e.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-7b5715b9.js → core-87474538.js} +1 -1
- package/build/esm/{dataTransform-addee38a.js → dataTransform-5323a3be.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-336a9746.js → editor-c2a8b689.js} +11 -11
- package/build/esm/embeddedHeathToolCards_babyGrowth.js +23 -23
- package/build/esm/embeddedHeathToolCards_babyPoop.js +19 -19
- package/build/esm/embeddedHeathToolCards_babyVaccine.js +22 -22
- package/build/esm/embeddedHeathToolCards_bmi_bmi.js +25 -25
- package/build/esm/embeddedHeathToolCards_bmrBmr.js +25 -25
- package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +22 -22
- package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +22 -22
- package/build/esm/embeddedHeathToolCards_pwg_pwg.js +26 -26
- package/build/esm/embeddedHeathToolCards_targetHeartRate.js +27 -27
- package/build/esm/footer.js +21 -21
- package/build/esm/gAssets.js +2 -2
- package/build/esm/{healthTools-9256a012.js → healthTools-88ca8859.js} +1 -1
- package/build/esm/healthToolsCardWrapper.js +18 -18
- package/build/esm/healthToolsForm.js +33 -33
- package/build/esm/hooks.js +13 -13
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-1554883b.js → index-06d72d58.js} +16 -16
- package/build/esm/{index-98590789.js → index-0ece596f.js} +1 -1
- package/build/esm/{index-5478fdab.js → index-16494cf1.js} +2 -2
- package/build/esm/{index-4275f07a.js → index-180cff82.js} +3 -3
- package/build/esm/{index-740b42fa.js → index-195dca53.js} +3 -3
- package/build/esm/{index-d37f8866.js → index-2a6977e0.js} +2 -2
- package/build/esm/{index-afba3ed0.js → index-2b62956e.js} +2 -2
- package/build/esm/{index-acae3549.js → index-2cb4efdf.js} +10 -10
- package/build/esm/{index-5e1b7279.js → index-2de22431.js} +2 -2
- package/build/esm/{index-d29bbcf3.js → index-34242fad.js} +2 -2
- package/build/esm/{index-3ad8f24c.js → index-34842f2c.js} +1 -1
- package/build/esm/{index-27a2c8cc.js → index-36701a5e.js} +12 -112
- package/build/esm/{index-61665cb3.js → index-38b8ba83.js} +13 -13
- package/build/esm/{index-5ea96aa1.js → index-3bb86a1e.js} +17 -17
- package/build/esm/{index-85209b91.js → index-3f67fc36.js} +24 -24
- package/build/esm/{index-e5f52eb9.js → index-40634dbb.js} +3 -3
- package/build/esm/{index-a2e0dfb8.js → index-40b74dab.js} +32 -32
- package/build/esm/{index-bc9b7617.js → index-431f07a0.js} +6 -6
- package/build/esm/{index-131c4f5c.js → index-4753b93c.js} +3 -3
- package/build/esm/{index-340c5bd9.js → index-476ac8a9.js} +2 -2
- package/build/esm/{index-05a2d07f.js → index-4da49d75.js} +2 -2
- package/build/esm/{index-a6ed5a69.js → index-4f3d9a5a.js} +13 -13
- package/build/esm/{index-869b67b9.js → index-510e07f1.js} +1 -1
- package/build/esm/{index-65946882.js → index-519d0493.js} +6 -6
- package/build/esm/{index-d56677fe.js → index-5e3dfac9.js} +22 -22
- package/build/esm/{index-598b909a.js → index-624da8dc.js} +2 -2
- package/build/esm/{index-cc78afc5.js → index-67c06e07.js} +13 -13
- package/build/esm/{index-a83db595.js → index-6a19c814.js} +21 -21
- package/build/esm/{index-78825314.js → index-6baceb51.js} +1 -1
- package/build/esm/{index-2c10360c.js → index-6d7d9397.js} +6 -6
- package/build/esm/{index-b146c9dc.js → index-6dbe0e99.js} +16 -16
- package/build/esm/{index-b16f6245.js → index-81c4724e.js} +17 -17
- package/build/esm/{index-87079858.js → index-829e609d.js} +31 -31
- package/build/esm/{index-ef24ef97.js → index-85b6de71.js} +2 -2
- package/build/esm/{index-d87506b7.js → index-85d11d26.js} +1 -1
- package/build/esm/{index-36280739.js → index-89f73df9.js} +17 -17
- package/build/esm/{index-86b0cea6.js → index-900222b2.js} +2 -2
- package/build/esm/{index-348d671e.js → index-905a9bb5.js} +7 -7
- package/build/esm/{index-1571f9df.js → index-97d720fd.js} +7 -7
- package/build/esm/{index-2f038661.js → index-9e31dde1.js} +13 -13
- package/build/esm/{index-383646d8.js → index-a0ec897d.js} +1 -1
- package/build/esm/{index-5efa8e9e.js → index-a3f9e67c.js} +1 -1
- package/build/esm/{index-7a8e08c4.js → index-a7d37f65.js} +16 -16
- package/build/esm/{index-5c818cec.js → index-acb9ec3f.js} +2 -2
- package/build/esm/{index-fd5a1463.js → index-ae7f5949.js} +3 -3
- package/build/esm/{index-839f959f.js → index-bbf4517d.js} +18 -18
- package/build/esm/{index-005a0046.js → index-c0a12eac.js} +18 -18
- package/build/esm/{index-8816d3f6.js → index-c7741a7b.js} +5 -5
- package/build/esm/{index-09e3ce48.js → index-ca52ce9f.js} +4 -4
- package/build/esm/{index-aa868110.js → index-cf25c576.js} +6 -6
- package/build/esm/{index-ddc9b082.js → index-cf8c9130.js} +11 -11
- package/build/esm/{index-5e63953c.js → index-d579d0a6.js} +1 -1
- package/build/esm/{index-c37c7275.js → index-df2ef983.js} +1 -1
- package/build/esm/{index-edc831e3.js → index-dfe674ff.js} +16 -16
- package/build/esm/{index-b6409790.js → index-e03359f5.js} +2 -2
- package/build/esm/{index-c27dd962.js → index-e0f38200.js} +5 -5
- package/build/esm/{index-06d8483c.js → index-e48db81e.js} +17 -17
- package/build/esm/{index-d9fd0a5c.js → index-e638943e.js} +15 -15
- package/build/esm/{index-4d1f996b.js → index-e6ff8a8d.js} +25 -25
- package/build/esm/{index-8907e116.js → index-e97d2ccd.js} +4 -4
- package/build/esm/{index-09fc4730.js → index-ef38443a.js} +2 -2
- package/build/esm/{index-fadea3df.js → index-f0adc4e5.js} +6 -6
- package/build/esm/{index-2005b004.js → index-f6ccd61a.js} +141 -47
- package/build/esm/{index-86d3a248.js → index-ffac9aa6.js} +3 -3
- package/build/esm/{index-992c1036.js → index-ffd3b149.js} +2 -2
- package/build/esm/index.js +118 -118
- package/build/esm/{labelSorting-ee76aca8.js → labelSorting-6e130433.js} +4 -4
- package/build/esm/lead.js +32 -32
- package/build/esm/{logoIcon-8e517fdb.js → logoIcon-b40d285c.js} +2 -2
- package/build/esm/mantine.js +25 -25
- package/build/esm/misc.js +17 -17
- package/build/esm/miscGetDynamicHealthTool.js +4 -4
- package/build/esm/miscGetSocialList.js +8 -8
- package/build/esm/miscScreenSizeContext.js +1 -1
- package/build/esm/mobileBottomNavigation.js +5 -5
- package/build/esm/mobileBottomNavigationIcon.js +5 -5
- package/build/esm/molecules.js +74 -74
- package/build/esm/moleculesArticleCard.js +6 -6
- package/build/esm/moleculesArticleCardV2.js +16 -16
- package/build/esm/navigation.js +46 -46
- package/build/esm/navigationLogoutPopup.js +9 -9
- package/build/esm/navigationProfileButton.js +23 -30
- package/build/esm/onboardingV2.js +29 -29
- package/build/esm/organisms.js +50 -50
- package/build/esm/{post-cfda7731.js → post-df7df0a4.js} +2 -2
- package/build/esm/profileNavigation.js +19 -19
- package/build/esm/progressBar.js +1 -1
- package/build/esm/pwg.js +22 -22
- package/build/esm/ssoV2/api/featureFlag.d.ts +1 -2
- package/build/esm/ssoV2.js +40 -52
- package/build/esm/{store-ff26652c.js → store-6705e0f3.js} +3 -3
- package/build/esm/subot.js +37 -37
- package/build/esm/surveyOrPremiumBanner.js +33 -33
- package/build/esm/surveyQuestionCard.js +10 -10
- package/build/esm/{surveyThankyouCard-b8fd0463.js → surveyThankyouCard-1767d6ac.js} +5 -5
- package/build/esm/together.js +56 -56
- package/build/esm/togetherApiUtils.js +4 -4
- package/build/esm/togetherAtoms.js +30 -30
- package/build/esm/togetherComponentGlobalContext.js +4 -4
- package/build/esm/togetherMolecules.js +51 -51
- package/build/esm/togetherMoleculesCardAuthor.js +28 -28
- package/build/esm/togetherMoleculesPostImagePreview.js +11 -11
- package/build/esm/togetherMoleculesProfileDetail.js +39 -39
- package/build/esm/togetherOrganisms.js +50 -50
- package/build/esm/togetherRichTextEditor.js +17 -17
- package/build/esm/togetherShareBox.js +10 -10
- package/build/esm/{translationsProvider-a1977643.js → translationsProvider-94b7d28f.js} +1 -1
- package/build/esm/{treePopoverMenu-c6afe1e1.js → treePopoverMenu-6e2a5a9e.js} +19 -19
- package/build/esm/{types-a10b8eba.js → types-ec73e5f3.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-c893441d.js → useCategory-497a159c.js} +5 -5
- package/build/esm/{useHealthToolCache-011e9fdc.js → useHealthToolCache-85faced6.js} +1 -1
- package/build/esm/{useMantineLocale-4f206fbe.js → useMantineLocale-4fe5572f.js} +6 -6
- package/build/esm/{usePlacesAutocomplete-6170b6a6.js → usePlacesAutocomplete-ce024969.js} +1 -1
- package/build/esm/{useScreenSize-359dbbca.js → useScreenSize-e8ec74ad.js} +2 -2
- package/build/esm/useTogetherAuthRequiredAction.js +10 -10
- package/build/esm/{utils-09508543.js → utils-2314a4f4.js} +5 -5
- package/build/esm/{utils-aa1c3f29.js → utils-2f6899d6.js} +3 -3
- package/build/esm/{utils-3d993968.js → utils-7fe04919.js} +2 -2
- package/build/esm/{utils-d5518e81.js → utils-a4a2df60.js} +2 -2
- package/build/esm/vaccination.js +21 -21
- package/build/footer.js +21 -21
- package/build/gAssets.js +2 -2
- package/build/{healthTools-f2993489.js → healthTools-f5ef99df.js} +1 -1
- package/build/healthToolsCardWrapper.js +18 -18
- package/build/healthToolsForm.js +33 -33
- package/build/hooks.js +13 -13
- package/build/i18n.js +2 -2
- package/build/i18nV2.js +1 -1
- package/build/{index-823efe37.js → index-0382d63a.js} +2 -2
- package/build/{index-c2cec275.js → index-08638301.js} +1 -1
- package/build/{index-065addac.js → index-0ad9e47d.js} +25 -25
- package/build/{index-2141cf2b.js → index-0b517a5d.js} +6 -6
- package/build/{index-1d4d15fa.js → index-0c0c9ca1.js} +24 -24
- package/build/{index-d6ab9705.js → index-116825a7.js} +18 -18
- package/build/{index-bd0a9a3d.js → index-18a22ba4.js} +2 -2
- package/build/{index-bf4eaff8.js → index-1d03ed03.js} +2 -2
- package/build/{index-4c24756c.js → index-245941fd.js} +17 -17
- package/build/{index-16fef013.js → index-26614c32.js} +11 -11
- package/build/{index-ae100ea1.js → index-2bce444d.js} +3 -3
- package/build/{index-f287c247.js → index-2ce81ae6.js} +13 -13
- package/build/{index-691292be.js → index-3f568ba2.js} +17 -17
- package/build/{index-d344c1a7.js → index-42bac98d.js} +31 -31
- package/build/{index-4e1ddd69.js → index-463616a1.js} +2 -2
- package/build/{index-4a04cbc4.js → index-4eefbb25.js} +1 -1
- package/build/{index-4369c286.js → index-4f857d8b.js} +2 -2
- package/build/{index-bdc2c5ca.js → index-545344dc.js} +15 -15
- package/build/{index-faa6d2a3.js → index-5776452a.js} +6 -6
- package/build/{index-c4dfa4c0.js → index-5f984dd1.js} +2 -2
- package/build/{index-36b07932.js → index-63b6a569.js} +2 -2
- package/build/{index-f0f21603.js → index-64cf752a.js} +236 -142
- package/build/{index-c2657751.js → index-66cfa53c.js} +10 -10
- package/build/{index-8117f9d9.js → index-6998b5bf.js} +2 -2
- package/build/{index-f88cad0c.js → index-6e157d57.js} +3 -3
- package/build/{index-427eeda1.js → index-7026c19b.js} +16 -16
- package/build/{index-01396828.js → index-7124e821.js} +6 -6
- package/build/{index-ef7a763b.js → index-715bdccd.js} +13 -13
- package/build/{index-d27d0c32.js → index-747aa7a3.js} +1 -1
- package/build/{index-7d38b78b.js → index-830260be.js} +7 -7
- package/build/{index-7081aa74.js → index-84701fcc.js} +4 -4
- package/build/{index-d2715b3b.js → index-88ccdeb4.js} +21 -21
- package/build/{index-2fb0be38.js → index-89a00675.js} +2 -2
- package/build/{index-fdd60a95.js → index-8ee27ca3.js} +6 -6
- package/build/{index-879bbe01.js → index-94887cc1.js} +3 -3
- package/build/{index-17d5a2a3.js → index-9b9ae8ac.js} +1 -1
- package/build/{index-086a6dd7.js → index-9e7dab0c.js} +2 -2
- package/build/{index-b0331f4a.js → index-a177467f.js} +1 -1
- package/build/{index-b3bc9dc6.js → index-a1bc78bc.js} +1 -1
- package/build/{index-36df5744.js → index-a4364c2d.js} +18 -18
- package/build/{index-d6a0fd36.js → index-abb18938.js} +1 -1
- package/build/{index-2e8408d0.js → index-abded276.js} +16 -16
- package/build/{index-63c16ba8.js → index-aee48ea7.js} +3 -3
- package/build/{index-67ad02ce.js → index-b3625020.js} +16 -16
- package/build/{index-4b558d6c.js → index-b4bf4add.js} +13 -13
- package/build/{index-9bce1b7c.js → index-b4ec6381.js} +2 -2
- package/build/{index-52e9508b.js → index-baff6e54.js} +2 -2
- package/build/{index-152aedf6.js → index-c99d2185.js} +17 -17
- package/build/{index-1dc66599.js → index-cab6508e.js} +5 -5
- package/build/{index-a7bc9c0c.js → index-cba3765b.js} +1 -1
- package/build/{index-85cb99b1.js → index-d0599fca.js} +1 -1
- package/build/{index-017e16df.js → index-d24ccc86.js} +22 -22
- package/build/{index-88b0f3cd.js → index-dc7d34d3.js} +4 -4
- package/build/{index-a80b608b.js → index-dd429469.js} +5 -5
- package/build/{index-9c6879d3.js → index-e0cf4d6d.js} +7 -7
- package/build/{index-f828a096.js → index-eb031819.js} +3 -3
- package/build/{index-53a8728d.js → index-eb387967.js} +2 -2
- package/build/{index-5d772c81.js → index-ec1f3ce6.js} +32 -32
- package/build/{index-1e0b53d5.js → index-ed7e1a0e.js} +16 -16
- package/build/{index-3452fea5.js → index-f3526bd2.js} +3 -3
- package/build/{index-774d9322.js → index-f4901327.js} +17 -17
- package/build/{index-fd97fc28.js → index-f8cf9e42.js} +18 -121
- package/build/{index-63351d6a.js → index-fa16212e.js} +6 -6
- package/build/{index-e20cfd47.js → index-fafafce2.js} +13 -13
- package/build/{index-083e9d67.js → index-fdedf7ae.js} +2 -2
- package/build/index.js +118 -118
- package/build/{labelSorting-67d4d4f8.js → labelSorting-43bf7546.js} +4 -4
- package/build/lead.js +32 -32
- package/build/{logoIcon-ecf7abb2.js → logoIcon-987ae99e.js} +2 -2
- package/build/mantine.js +22 -22
- package/build/misc.js +17 -17
- package/build/miscGetDynamicHealthTool.js +4 -4
- package/build/miscGetSocialList.js +8 -8
- package/build/miscScreenSizeContext.js +1 -1
- package/build/mobileBottomNavigation.js +5 -5
- package/build/mobileBottomNavigationIcon.js +5 -5
- package/build/molecules.js +74 -74
- package/build/moleculesArticleCard.js +6 -6
- package/build/moleculesArticleCardV2.js +16 -16
- package/build/navigation.js +46 -46
- package/build/navigationLogoutPopup.js +9 -9
- package/build/navigationProfileButton.js +23 -30
- package/build/onboardingV2.js +28 -28
- package/build/organisms.js +50 -50
- package/build/{post-f1b2dfa4.js → post-492e348d.js} +2 -2
- package/build/profileNavigation.js +19 -19
- package/build/progressBar.js +1 -1
- package/build/pwg.js +22 -22
- package/build/ssoV2/api/featureFlag.d.ts +1 -2
- package/build/ssoV2.js +38 -50
- package/build/{store-3376c7a7.js → store-42ed9969.js} +3 -3
- package/build/subot.js +36 -36
- package/build/surveyOrPremiumBanner.js +33 -33
- package/build/surveyQuestionCard.js +10 -10
- package/build/{surveyThankyouCard-1a259e2a.js → surveyThankyouCard-99734f4f.js} +5 -5
- package/build/together.js +56 -56
- package/build/togetherApiUtils.js +4 -4
- package/build/togetherAtoms.js +30 -30
- package/build/togetherComponentGlobalContext.js +4 -4
- package/build/togetherMolecules.js +51 -51
- package/build/togetherMoleculesCardAuthor.js +28 -28
- package/build/togetherMoleculesPostImagePreview.js +11 -11
- package/build/togetherMoleculesProfileDetail.js +39 -39
- package/build/togetherOrganisms.js +50 -50
- package/build/togetherRichTextEditor.js +17 -17
- package/build/togetherShareBox.js +10 -10
- package/build/{translationsProvider-6ad38eeb.js → translationsProvider-53121652.js} +1 -1
- package/build/{treePopoverMenu-750df480.js → treePopoverMenu-c80ba22d.js} +19 -19
- package/build/{types-f85688f5.js → types-a238b23f.js} +2 -2
- package/build/types.js +2 -2
- package/build/{useCategory-9698baeb.js → useCategory-d9f3bd8e.js} +5 -5
- package/build/{useHealthToolCache-4f2121d4.js → useHealthToolCache-7fbe16a5.js} +1 -1
- package/build/{useMantineLocale-2471f8ed.js → useMantineLocale-da63c803.js} +6 -6
- package/build/{usePlacesAutocomplete-27accf1a.js → usePlacesAutocomplete-a2ebc100.js} +1 -1
- package/build/{useScreenSize-f09a3e73.js → useScreenSize-87d8838d.js} +2 -2
- package/build/useTogetherAuthRequiredAction.js +10 -10
- package/build/{utils-6125ce71.js → utils-25c154d4.js} +3 -3
- package/build/{utils-e9b40d14.js → utils-32f2afd9.js} +2 -2
- package/build/{utils-427a19cc.js → utils-4a3e1b33.js} +2 -2
- package/build/{utils-350f2811.js → utils-75d10c83.js} +5 -5
- package/build/vaccination.js +21 -21
- package/package.json +1 -1
- /package/build/{BMI_BOYS.percentile.monthly-f344e147.js → BMI_BOYS.percentile.monthly-bed63eef.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-6119bc7d.js → BMI_BOYS.percentile.weekly-26916daa.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-09c46a3c.js → BMI_BOYS.percentile.yearly-89fc5afe.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-47dbc262.js → BMI_BOYS.zscore.monthly-b93a4a5b.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-13ce9e67.js → BMI_BOYS.zscore.weekly-ad9b8087.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-feae7490.js → BMI_BOYS.zscore.yearly-5e0be2b3.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-ad31701f.js → BMI_GIRLS.percentile.monthly-8bed985b.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-306e1b3a.js → BMI_GIRLS.percentile.weekly-772cea7f.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-41c238ff.js → BMI_GIRLS.percentile.yearly-2b77d1bc.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-c4d1a1c0.js → BMI_GIRLS.zscore.monthly-60aba58c.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-ce873e2e.js → BMI_GIRLS.zscore.weekly-1b0b85f1.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-04549a65.js → BMI_GIRLS.zscore.yearly-148dfa89.js} +0 -0
- /package/build/{ChevronDown-5eabb902.js → ChevronDown-2fab29f2.js} +0 -0
- /package/build/{Close-858ff261.js → Close-6c68d2b8.js} +0 -0
- /package/build/{Google-ee82aa34.js → Google-917dd2d2.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-2921fe49.js → HEAD CIRCUM_BOYS.percentile.monthly-3d62c2bb.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-e9037e4a.js → HEAD CIRCUM_BOYS.percentile.weekly-95333db8.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-115ae10b.js → HEAD CIRCUM_BOYS.percentile.yearly-eb75e3c8.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-0c380077.js → HEAD CIRCUM_BOYS.zscore.monthly-1528a116.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-8577d5bf.js → HEAD CIRCUM_BOYS.zscore.weekly-e7313a79.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-a12ffac0.js → HEAD CIRCUM_BOYS.zscore.yearly-cbc2402d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-71b06f76.js → HEAD CIRCUM_GIRLS.percentile.monthly-41d0ceca.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-f9c5c77d.js → HEAD CIRCUM_GIRLS.percentile.weekly-58d3fcf2.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-8c0e20cf.js → HEAD CIRCUM_GIRLS.percentile.yearly-94011390.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-3f5547d3.js → HEAD CIRCUM_GIRLS.zscore.monthly-98a53e42.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-2ea3fa72.js → HEAD CIRCUM_GIRLS.zscore.weekly-c045ec60.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-dd435dd0.js → HEAD CIRCUM_GIRLS.zscore.yearly-6cc721f7.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-429dba33.js → HEIGHT_BOYS.percentile.monthly-95eaab87.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-a2731f0e.js → HEIGHT_BOYS.percentile.weekly-1ee4cc50.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-d1c48ed7.js → HEIGHT_BOYS.percentile.yearly-819181a3.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-81c59036.js → HEIGHT_BOYS.zscore.monthly-a1d74980.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-34ba24be.js → HEIGHT_BOYS.zscore.weekly-d8ccb2ed.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-ce568ad3.js → HEIGHT_BOYS.zscore.yearly-c7fee28d.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-c4b70a26.js → HEIGHT_GIRLS.percentile.monthly-5df8f505.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-64bbe58c.js → HEIGHT_GIRLS.percentile.weekly-2e794a5e.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-c911e400.js → HEIGHT_GIRLS.percentile.yearly-f9b45a55.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-02be01b2.js → HEIGHT_GIRLS.zscore.monthly-62944450.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-1331ab92.js → HEIGHT_GIRLS.zscore.weekly-c9ecaa1b.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-c36a8b3e.js → HEIGHT_GIRLS.zscore.yearly-28e07c3b.js} +0 -0
- /package/build/{Locale-234c8a91.js → Locale-f7ec3d50.js} +0 -0
- /package/build/{Visible-4d51e81e.js → Visible-9a208364.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-b6b97edd.js → WEIGHT_BOYS.percentile.monthly-64c29aca.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-685889d4.js → WEIGHT_BOYS.percentile.weekly-0fc17ed9.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-7ee63e34.js → WEIGHT_BOYS.percentile.yearly-3a657028.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-2899c9ea.js → WEIGHT_BOYS.zscore.monthly-e5d44b9c.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-12f78c7b.js → WEIGHT_BOYS.zscore.weekly-56f78d88.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-4d4fa760.js → WEIGHT_BOYS.zscore.yearly-eb08c9bc.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-ec6429a7.js → WEIGHT_GIRLS.percentile.monthly-0ce7e5ed.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-fdd08a81.js → WEIGHT_GIRLS.percentile.weekly-14af00c6.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-c05923ab.js → WEIGHT_GIRLS.percentile.yearly-b7f646ca.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-b5c26eb5.js → WEIGHT_GIRLS.zscore.monthly-c2111398.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-96b3f19d.js → WEIGHT_GIRLS.zscore.weekly-cd6692bc.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-f2ec2e68.js → WEIGHT_GIRLS.zscore.yearly-770c5c9e.js} +0 -0
- /package/build/{animation-62d4148c.js → animation-0a7e9cee.js} +0 -0
- /package/build/{constants-f9c891d1.js → constants-1a4941a1.js} +0 -0
- /package/build/{constants-1f5f6146.js → constants-40401054.js} +0 -0
- /package/build/{constants-7f7ab502.js → constants-be28a5cb.js} +0 -0
- /package/build/{dataTransform-9888db26.js → dataTransform-c469f71a.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-ff7efc00.js → BMI_BOYS.percentile.monthly-809178b8.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-3f2cb905.js → BMI_BOYS.percentile.weekly-752de4d4.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-752e32f5.js → BMI_BOYS.percentile.yearly-c93250db.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-8b68e1a0.js → BMI_BOYS.zscore.monthly-f71cd014.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-7290b755.js → BMI_BOYS.zscore.weekly-3d95dd96.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-36e94d69.js → BMI_BOYS.zscore.yearly-d1e4e176.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-62248bd3.js → BMI_GIRLS.percentile.monthly-effe9e9f.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-b6d939b2.js → BMI_GIRLS.percentile.weekly-112fe5f0.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-452fe205.js → BMI_GIRLS.percentile.yearly-cf6e4bf2.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-91e0199d.js → BMI_GIRLS.zscore.monthly-831c78a1.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-96fc4c64.js → BMI_GIRLS.zscore.weekly-d88db413.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-701ddbf4.js → BMI_GIRLS.zscore.yearly-3f2cbc8c.js} +0 -0
- /package/build/esm/{ChevronDown-9d2405c5.js → ChevronDown-545b9c82.js} +0 -0
- /package/build/esm/{Close-89356da9.js → Close-1279cd68.js} +0 -0
- /package/build/esm/{Google-3789466e.js → Google-d9b4645c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-72bee6d4.js → HEAD CIRCUM_BOYS.percentile.monthly-3c3fd51f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-b39bfc0c.js → HEAD CIRCUM_BOYS.percentile.weekly-947ed7f8.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-75613d96.js → HEAD CIRCUM_BOYS.percentile.yearly-9b2c146f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-608f8322.js → HEAD CIRCUM_BOYS.zscore.monthly-d5a4a2a5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-e8864d3a.js → HEAD CIRCUM_BOYS.zscore.weekly-b06c6c89.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-a5aaac0a.js → HEAD CIRCUM_BOYS.zscore.yearly-2a92fac6.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-4a533c18.js → HEAD CIRCUM_GIRLS.percentile.monthly-1f842c14.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-a3763989.js → HEAD CIRCUM_GIRLS.percentile.weekly-4292f16e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-46f696b2.js → HEAD CIRCUM_GIRLS.percentile.yearly-54587475.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-b6086a83.js → HEAD CIRCUM_GIRLS.zscore.monthly-6d294975.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-4b2e017d.js → HEAD CIRCUM_GIRLS.zscore.weekly-63f2dbdc.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-b6aca64d.js → HEAD CIRCUM_GIRLS.zscore.yearly-e0ed4a30.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-06c7b8b0.js → HEIGHT_BOYS.percentile.monthly-a16a1d6e.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-c39572f3.js → HEIGHT_BOYS.percentile.weekly-0b0b679b.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-e9da7ae8.js → HEIGHT_BOYS.percentile.yearly-beadb752.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-3ed993d5.js → HEIGHT_BOYS.zscore.monthly-a5aafb91.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-f8a77714.js → HEIGHT_BOYS.zscore.weekly-c136fa6a.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-4c09cafe.js → HEIGHT_BOYS.zscore.yearly-3559fa63.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-4f3a5eed.js → HEIGHT_GIRLS.percentile.monthly-7b1aa4fd.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-f838644b.js → HEIGHT_GIRLS.percentile.weekly-3024dc0d.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-d3871e7d.js → HEIGHT_GIRLS.percentile.yearly-bacb6ee7.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-39a1798b.js → HEIGHT_GIRLS.zscore.monthly-ae92a5eb.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-fc0203c6.js → HEIGHT_GIRLS.zscore.weekly-279f3c66.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-958c7270.js → HEIGHT_GIRLS.zscore.yearly-3901fc71.js} +0 -0
- /package/build/esm/{Locale-48633979.js → Locale-b49cb218.js} +0 -0
- /package/build/esm/{Visible-d8b4169c.js → Visible-812816e6.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-6dd66778.js → WEIGHT_BOYS.percentile.monthly-c2150fad.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-9f1c705e.js → WEIGHT_BOYS.percentile.weekly-e0fb4d2e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-052b2e7a.js → WEIGHT_BOYS.percentile.yearly-8d3badec.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-65cabe50.js → WEIGHT_BOYS.zscore.monthly-3f7e60dc.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-0d57a66d.js → WEIGHT_BOYS.zscore.weekly-58013f22.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-c19aae15.js → WEIGHT_BOYS.zscore.yearly-82669d05.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-79257e05.js → WEIGHT_GIRLS.percentile.monthly-dfd9b9c3.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-1b14b107.js → WEIGHT_GIRLS.percentile.weekly-cec37c0d.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-43c86c20.js → WEIGHT_GIRLS.percentile.yearly-05a579b3.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-696a5996.js → WEIGHT_GIRLS.zscore.monthly-71c27891.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-74dc0f73.js → WEIGHT_GIRLS.zscore.weekly-888ed3db.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-371ee081.js → WEIGHT_GIRLS.zscore.yearly-d0834cda.js} +0 -0
- /package/build/esm/{animation-1a176043.js → animation-7074de2e.js} +0 -0
- /package/build/esm/{constants-d9af54d3.js → constants-cf9b0868.js} +0 -0
- /package/build/esm/{constants-e639bc10.js → constants-d07add0e.js} +0 -0
- /package/build/esm/{constants-2e3b61a6.js → constants-e3da1251.js} +0 -0
- /package/build/esm/{dataTransform-3cc4cb26.js → dataTransform-09599156.js} +0 -0
- /package/build/esm/{index-20e7fcdb.js → index-0bdc3e2b.js} +0 -0
- /package/build/esm/{index-33ea5676.js → index-63b50c7c.js} +0 -0
- /package/build/esm/{index-efe58942.js → index-8e6ca0ef.js} +0 -0
- /package/build/esm/{index-1d530c19.js → index-a2b34563.js} +0 -0
- /package/build/esm/{index-4913f19e.js → index-b41c721e.js} +0 -0
- /package/build/esm/{index-624afa4a.js → index-b9680220.js} +0 -0
- /package/build/esm/{index-1a3649ae.js → index-c3988444.js} +0 -0
- /package/build/esm/{index-132d754e.js → index-d5b876a2.js} +0 -0
- /package/build/esm/{index.styles-ee895b48.js → index.styles-bba78daa.js} +0 -0
- /package/build/esm/{localizeNumberFormat-d6394877.js → localizeNumberFormat-b136c3e2.js} +0 -0
- /package/build/esm/{normalizeLink-8cc56f88.js → normalizeLink-1052f131.js} +0 -0
- /package/build/esm/{number-0f7d7f16.js → number-9cc3f833.js} +0 -0
- /package/build/esm/{other-f5ee41e7.js → other-38d42e3e.js} +0 -0
- /package/build/esm/{paths-57b58c1c.js → paths-17dccce5.js} +0 -0
- /package/build/esm/{translationsContext-b103c685.js → translationsContext-315b4fd3.js} +0 -0
- /package/build/esm/{tslib.es6-04eaaacd.js → tslib.es6-c74116d0.js} +0 -0
- /package/build/esm/{types-4bd966bf.js → types-c2dabcca.js} +0 -0
- /package/build/esm/{useIsInit-f100a611.js → useIsInit-2f639bc2.js} +0 -0
- /package/build/esm/{useOutsideClick-9204cc3d.js → useOutsideClick-4f4d7302.js} +0 -0
- /package/build/esm/{useScrollbarSize-5084bba5.js → useScrollbarSize-d914f007.js} +0 -0
- /package/build/esm/{useUniqueId-1e5cddc4.js → useUniqueId-9fe1f3f3.js} +0 -0
- /package/build/esm/{utils-09e85993.js → utils-92b0b714.js} +0 -0
- /package/build/{index-3c93fbef.js → index-23b51a01.js} +0 -0
- /package/build/{index-891d54a5.js → index-5d4a7885.js} +0 -0
- /package/build/{index-f3eefc01.js → index-8192513e.js} +0 -0
- /package/build/{index-2f89ea69.js → index-986ac643.js} +0 -0
- /package/build/{index-8157819a.js → index-aadacef3.js} +0 -0
- /package/build/{index-706988fe.js → index-d05a6728.js} +0 -0
- /package/build/{index-63434736.js → index-d6bb43db.js} +0 -0
- /package/build/{index-4a7717a4.js → index-e197a721.js} +0 -0
- /package/build/{index.styles-4de019c4.js → index.styles-ec4554a3.js} +0 -0
- /package/build/{localizeNumberFormat-dfafeb72.js → localizeNumberFormat-d847d607.js} +0 -0
- /package/build/{normalizeLink-19f051fb.js → normalizeLink-5626bf72.js} +0 -0
- /package/build/{number-b632a54c.js → number-4ede4810.js} +0 -0
- /package/build/{other-2a14d646.js → other-2010d70b.js} +0 -0
- /package/build/{paths-53ea5b1b.js → paths-373d0d41.js} +0 -0
- /package/build/{translationsContext-8458e472.js → translationsContext-3134cd01.js} +0 -0
- /package/build/{tslib.es6-db2e173d.js → tslib.es6-ff726326.js} +0 -0
- /package/build/{types-781ea1cb.js → types-1f10c100.js} +0 -0
- /package/build/{useIsInit-b9a69337.js → useIsInit-f18f09f5.js} +0 -0
- /package/build/{useOutsideClick-10a2bcf3.js → useOutsideClick-2ad26202.js} +0 -0
- /package/build/{useScrollbarSize-eebb3d18.js → useScrollbarSize-fc1c883f.js} +0 -0
- /package/build/{useUniqueId-13b130ca.js → useUniqueId-5f5f82bc.js} +0 -0
- /package/build/{utils-2c2926e7.js → utils-658c0e88.js} +0 -0
|
@@ -1,50 +1,51 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require('./tslib.es6-
|
|
3
|
+
var tslib_es6 = require('./tslib.es6-ff726326.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var index$
|
|
6
|
-
var index$
|
|
7
|
-
var index$
|
|
8
|
-
var normalizeLink = require('./normalizeLink-
|
|
9
|
-
var dataTransform = require('./dataTransform-
|
|
5
|
+
var index$9 = require('./index-cba3765b.js');
|
|
6
|
+
var index$6 = require('./index-66cfa53c.js');
|
|
7
|
+
var index$1 = require('./index-5f984dd1.js');
|
|
8
|
+
var normalizeLink = require('./normalizeLink-5626bf72.js');
|
|
9
|
+
var dataTransform = require('./dataTransform-4436b8e4.js');
|
|
10
10
|
var other = require('@hhgtech/icons/other');
|
|
11
11
|
var core = require('@mantine/core');
|
|
12
|
-
var index$d = require('./index-
|
|
12
|
+
var index$d = require('./index-7124e821.js');
|
|
13
13
|
var throttle = require('lodash/throttle');
|
|
14
|
-
var index$b = require('./index-
|
|
14
|
+
var index$b = require('./index-26614c32.js');
|
|
15
15
|
require('@mantine/dates');
|
|
16
|
-
var index$
|
|
17
|
-
require('./useMantineLocale-
|
|
18
|
-
var index = require('./index-
|
|
19
|
-
var index$a = require('./index-
|
|
20
|
-
require('./index.styles-
|
|
21
|
-
require('./translationsContext-
|
|
16
|
+
var index$2 = require('./index-aadacef3.js');
|
|
17
|
+
require('./useMantineLocale-da63c803.js');
|
|
18
|
+
var index = require('./index-63b6a569.js');
|
|
19
|
+
var index$a = require('./index-d0599fca.js');
|
|
20
|
+
require('./index.styles-ec4554a3.js');
|
|
21
|
+
require('./translationsContext-3134cd01.js');
|
|
22
22
|
require('@mantine/hooks');
|
|
23
|
-
var utils = require('./utils-
|
|
24
|
-
require('./other-
|
|
25
|
-
require('./index-
|
|
26
|
-
var constants = require('./constants-
|
|
23
|
+
var utils = require('./utils-658c0e88.js');
|
|
24
|
+
require('./other-2010d70b.js');
|
|
25
|
+
require('./index-94887cc1.js');
|
|
26
|
+
var constants = require('./constants-1f31008e.js');
|
|
27
27
|
var styled = require('@emotion/styled');
|
|
28
|
-
var navigationProfileButton = require('./index-
|
|
29
|
-
var store = require('./store-
|
|
30
|
-
var
|
|
31
|
-
var
|
|
28
|
+
var navigationProfileButton = require('./index-f8cf9e42.js');
|
|
29
|
+
var store = require('./store-42ed9969.js');
|
|
30
|
+
var togetherComponentGlobalContext = require('./utils-25c154d4.js');
|
|
31
|
+
var constantsDomainLocales = require('./constantsDomainLocales.js');
|
|
32
|
+
var constants$1 = require('./constants-40401054.js');
|
|
33
|
+
var index$3 = require('./index-9b9ae8ac.js');
|
|
32
34
|
var miscTheme = require('./miscTheme.js');
|
|
33
|
-
var index$
|
|
35
|
+
var index$5 = require('./index-eb387967.js');
|
|
34
36
|
var core$1 = require('@hhgtech/icons/core');
|
|
35
|
-
var index$
|
|
36
|
-
var useIsInit = require('./useIsInit-
|
|
37
|
+
var index$4 = require('./index-4eefbb25.js');
|
|
38
|
+
var useIsInit = require('./useIsInit-f18f09f5.js');
|
|
37
39
|
var miscDefaultClassWrapper = require('./miscDefaultClassWrapper.js');
|
|
38
|
-
var index$
|
|
40
|
+
var index$7 = require('./index-463616a1.js');
|
|
39
41
|
var dayjs = require('dayjs');
|
|
40
42
|
var relativeTime = require('dayjs/plugin/relativeTime');
|
|
41
|
-
var index$
|
|
43
|
+
var index$8 = require('./index-6998b5bf.js');
|
|
42
44
|
var formatString = require('string-format');
|
|
43
|
-
var
|
|
44
|
-
var index$c = require('./index-4a7717a4.js');
|
|
45
|
+
var index$c = require('./index-e197a721.js');
|
|
45
46
|
var debounce = require('lodash/debounce');
|
|
46
|
-
var Locale = require('./Locale-
|
|
47
|
-
var core$2 = require('./core-
|
|
47
|
+
var Locale = require('./Locale-f7ec3d50.js');
|
|
48
|
+
var core$2 = require('./core-cc343cf3.js');
|
|
48
49
|
|
|
49
50
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
50
51
|
|
|
@@ -99,6 +100,100 @@ const DisplayWrapper = ({ forceDisplay, mediaQueryKey, children, className, styl
|
|
|
99
100
|
|
|
100
101
|
var styles$2 = {"menuContainer":"y5VJdvw","menuIcon":"oVhOSCy","menuIconWrapper":"pX8OXTM"};
|
|
101
102
|
|
|
103
|
+
const useNavConfig = ({ locale, projectType, siteType, enableBookingBtn, }) => {
|
|
104
|
+
const config = React.useMemo(() => {
|
|
105
|
+
const enableSearchBar = projectType === 'discover' ||
|
|
106
|
+
projectType === 'together' ||
|
|
107
|
+
projectType === 'marryBaby' ||
|
|
108
|
+
(projectType === 'profile' && siteType === 'marryBaby');
|
|
109
|
+
const enableNavCare = siteType !== 'marryBaby' &&
|
|
110
|
+
projectType !== 'marryBaby' &&
|
|
111
|
+
index$1.CARE_LOCALES.includes(locale);
|
|
112
|
+
const enableNavCareBooking = enableBookingBtn &&
|
|
113
|
+
projectType !== 'marryBaby' &&
|
|
114
|
+
projectType === 'discover' &&
|
|
115
|
+
siteType !== 'marryBaby' &&
|
|
116
|
+
index$1.CARE_BOOKING_LOCALES.includes(locale);
|
|
117
|
+
const enableNavTogether = projectType === 'marryBaby' || index$1.TOGETHER_LOCALES.includes(locale);
|
|
118
|
+
const enableNavDiscover = true;
|
|
119
|
+
const enableNavHealthTools = true;
|
|
120
|
+
const enableProfileMySaved = true;
|
|
121
|
+
const enableNavEcom = siteType !== 'marryBaby' && index$1.ECOM_LOCALES.includes(locale);
|
|
122
|
+
const enableProfileEcom = siteType !== 'marryBaby' && index$1.ECOM_LOCALES.includes(locale);
|
|
123
|
+
const enableProfileMyHealth = true;
|
|
124
|
+
const enableNavVideo = index$1.VIDEO_LOCALES.includes(locale);
|
|
125
|
+
const baseUrl = normalizeLink.getCurrentBaseUrl(locale, siteType === 'marryBaby');
|
|
126
|
+
let fixBaseUrl = baseUrl;
|
|
127
|
+
if (typeof window !== 'undefined') {
|
|
128
|
+
if (fixBaseUrl.includes('//id.'))
|
|
129
|
+
fixBaseUrl = fixBaseUrl.replace('id.', '');
|
|
130
|
+
if (fixBaseUrl.includes('//staging-id.'))
|
|
131
|
+
fixBaseUrl = fixBaseUrl.replace('staging-id.', 'discover.');
|
|
132
|
+
}
|
|
133
|
+
const ssoUrl = normalizeLink.getCurrentSsoUrl(locale, siteType === 'marryBaby');
|
|
134
|
+
const statics = (() => {
|
|
135
|
+
return {
|
|
136
|
+
HOME_PAGE_URL: fixBaseUrl,
|
|
137
|
+
CARE_URL_FE: `${fixBaseUrl}/care`,
|
|
138
|
+
TOGETHER_URL_FE: `${fixBaseUrl}/community`,
|
|
139
|
+
VIDEO_URL_FE: `${fixBaseUrl}/videos`,
|
|
140
|
+
SSO_URL: ssoUrl,
|
|
141
|
+
TOGETHER_API: normalizeLink.getTogetherApiDomain(),
|
|
142
|
+
DISCOVER_API: normalizeLink.getDiscoverApiDomain(locale),
|
|
143
|
+
};
|
|
144
|
+
})();
|
|
145
|
+
return {
|
|
146
|
+
enableSearchBar,
|
|
147
|
+
enableNavCare,
|
|
148
|
+
enableNavCareBooking,
|
|
149
|
+
enableNavTogether,
|
|
150
|
+
enableNavEcom,
|
|
151
|
+
enableProfileEcom,
|
|
152
|
+
enableNavVideo,
|
|
153
|
+
enableProfileMyHealth,
|
|
154
|
+
enableNavDiscover,
|
|
155
|
+
enableNavHealthTools,
|
|
156
|
+
enableProfileMySaved,
|
|
157
|
+
statics,
|
|
158
|
+
};
|
|
159
|
+
}, []);
|
|
160
|
+
return config;
|
|
161
|
+
};
|
|
162
|
+
|
|
163
|
+
const NavigationContext = React__default["default"].createContext({});
|
|
164
|
+
const NavigationProvider = (_a) => {
|
|
165
|
+
var { children } = _a, props = tslib_es6.__rest(_a, ["children"]);
|
|
166
|
+
const [currentUrl, setCurrentUrl] = React__default["default"].useState(() => {
|
|
167
|
+
return (props.currentUrl ||
|
|
168
|
+
`https://${props.siteType === 'marryBaby'
|
|
169
|
+
? togetherComponentGlobalContext.domainLocalesMarryBaby[props.locale || 'en-PH']
|
|
170
|
+
: constantsDomainLocales.domainLocales[props.locale || 'en-PH']}${props.projectType === 'together'
|
|
171
|
+
? '/community'
|
|
172
|
+
: props.projectType === 'ecom'
|
|
173
|
+
? '/ecom'
|
|
174
|
+
: props.projectType === 'care'
|
|
175
|
+
? '/care'
|
|
176
|
+
: ''}/`);
|
|
177
|
+
});
|
|
178
|
+
React.useEffect(() => {
|
|
179
|
+
const update = () => {
|
|
180
|
+
setCurrentUrl(window.location.href);
|
|
181
|
+
};
|
|
182
|
+
window.addEventListener('popstate', update);
|
|
183
|
+
update();
|
|
184
|
+
return () => {
|
|
185
|
+
window.removeEventListener('popstate', update);
|
|
186
|
+
};
|
|
187
|
+
}, []);
|
|
188
|
+
const configs = useNavConfig({
|
|
189
|
+
locale: props.locale,
|
|
190
|
+
projectType: props.projectType,
|
|
191
|
+
siteType: props.siteType,
|
|
192
|
+
enableBookingBtn: props.enableBookingBtn,
|
|
193
|
+
});
|
|
194
|
+
return (React__default["default"].createElement(NavigationContext.Provider, { value: Object.assign(Object.assign({}, props), { configs: Object.assign(Object.assign({}, configs), props.configs), currentUrl: props.currentUrl || currentUrl }) }, children));
|
|
195
|
+
};
|
|
196
|
+
|
|
102
197
|
function ClosePopupIcon({ className }) {
|
|
103
198
|
return (React__default["default"].createElement("div", null,
|
|
104
199
|
React__default["default"].createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", className: className },
|
|
@@ -109,8 +204,8 @@ function HamburgerIcon({ siteType, enableSearch, className, style, }) {
|
|
|
109
204
|
if (siteType === 'helloSites') {
|
|
110
205
|
return (React__default["default"].createElement("div", { className: "hamburger-container" },
|
|
111
206
|
React__default["default"].createElement("img", { "data-list-type": "Header", "data-content-type": "Navigation", "data-content-topic": "Hamburger", src: enableSearch
|
|
112
|
-
? index$
|
|
113
|
-
: index$
|
|
207
|
+
? index$2.CommonGAssets.getAssetPath('hamburgerMenuNewWithSearch.svg')
|
|
208
|
+
: index$2.CommonGAssets.getAssetPath('hamburgerMenuNew.svg'), style: Object.assign({ width: '24px', height: '24px' }, style), alt: "home", className: className, loading: "lazy" })));
|
|
114
209
|
}
|
|
115
210
|
/** Marry Baby */
|
|
116
211
|
return (React__default["default"].createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", className: className },
|
|
@@ -325,9 +420,9 @@ const ItemMenu = ({ item, menu }) => {
|
|
|
325
420
|
: null)));
|
|
326
421
|
};
|
|
327
422
|
const NewWrapper = ({ isNew, children, }) => {
|
|
328
|
-
const { t } = index$
|
|
423
|
+
const { t } = index$3.useTranslations();
|
|
329
424
|
if (isNew) {
|
|
330
|
-
return (React__default["default"].createElement(index$
|
|
425
|
+
return (React__default["default"].createElement(index$4.Indicator, { color: "green", label: t('home.navigator.menuItem.new'), size: 20, styles: {
|
|
331
426
|
root: {
|
|
332
427
|
paddingRight: 10,
|
|
333
428
|
},
|
|
@@ -337,22 +432,22 @@ const NewWrapper = ({ isNew, children, }) => {
|
|
|
337
432
|
};
|
|
338
433
|
|
|
339
434
|
const Categories = ({ hrefViewMore, titleBtnViewMore, UrlFE, onClosePopup, menuItems, headingTitle, activeItem, }) => {
|
|
340
|
-
const { siteType } = React.useContext(
|
|
341
|
-
const { t } = index$
|
|
435
|
+
const { siteType } = React.useContext(NavigationContext);
|
|
436
|
+
const { t } = index$3.useTranslations();
|
|
342
437
|
const theme = core.useMantineTheme();
|
|
343
438
|
return (React__default["default"].createElement(StyledItemGridLeft, null,
|
|
344
439
|
React__default["default"].createElement("div", null,
|
|
345
440
|
React__default["default"].createElement(StyledHeading$1, null,
|
|
346
|
-
React__default["default"].createElement(index$
|
|
347
|
-
menuItems.slice(0, 6).map((item, index$
|
|
441
|
+
React__default["default"].createElement(index$5.Heading, { tag: siteType === 'marryBaby' ? 'h5' : 'h6', as: "p", fontWeight: "semibold" }, headingTitle)), menuItems === null || menuItems === void 0 ? void 0 :
|
|
442
|
+
menuItems.slice(0, 6).map((item, index$1) => {
|
|
348
443
|
const href = (item === null || item === void 0 ? void 0 : item.link)
|
|
349
444
|
? (item === null || item === void 0 ? void 0 : item.link.startsWith('http'))
|
|
350
445
|
? item === null || item === void 0 ? void 0 : item.link
|
|
351
446
|
: `${UrlFE}/${item === null || item === void 0 ? void 0 : item.link.split('/').filter(Boolean).join('/')}/`
|
|
352
447
|
: '/';
|
|
353
|
-
return (React__default["default"].createElement(StyledItem$6, Object.assign({ className: "iconMenu", "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": href, "data-is-heading-category": false, "data-active": item.id && item.id === activeItem, "data-is-mobile-tool": item.isMobileAppTool, href: href }, (!index$
|
|
448
|
+
return (React__default["default"].createElement(StyledItem$6, Object.assign({ className: "iconMenu", "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": href, "data-is-heading-category": false, "data-active": item.id && item.id === activeItem, "data-is-mobile-tool": item.isMobileAppTool, href: href }, (!index$6.isInternalLink(href) && {
|
|
354
449
|
target: '_blank',
|
|
355
|
-
}), { "data-theme": siteType, key: index$
|
|
450
|
+
}), { "data-theme": siteType, key: index$1, onClick: onClosePopup }),
|
|
356
451
|
React__default["default"].createElement("div", { className: "icon" },
|
|
357
452
|
React__default["default"].createElement("img", { loading: "lazy", alt: item.name, src: item.thumbnail || '/images/avatar.jpg', style: {
|
|
358
453
|
width: 32,
|
|
@@ -371,15 +466,15 @@ const Categories = ({ hrefViewMore, titleBtnViewMore, UrlFE, onClosePopup, menuI
|
|
|
371
466
|
item.isMobileAppTool && (React__default["default"].createElement(StyledIconNav, null,
|
|
372
467
|
React__default["default"].createElement(Phone, { className: "phone-icon", size: 16 }))),
|
|
373
468
|
React__default["default"].createElement(StyledIconNav, { className: "arrow-icon" },
|
|
374
|
-
React__default["default"].createElement("img", { src: index$
|
|
469
|
+
React__default["default"].createElement("img", { src: index$2.CommonGAssets.getAssetPath('chevronRight.svg'), style: { width: '16px', height: '16px' }, loading: "lazy" }))));
|
|
375
470
|
})),
|
|
376
471
|
titleBtnViewMore && (React__default["default"].createElement(StyledViewMore$1, { "data-theme": siteType, style: { textDecoration: 'none' }, href: hrefViewMore, "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": hrefViewMore },
|
|
377
472
|
React__default["default"].createElement(StyledItemAll, { onClick: onClosePopup, "data-theme": siteType, "data-is-heading-category": false },
|
|
378
473
|
titleBtnViewMore,
|
|
379
474
|
React__default["default"].createElement(StyledImageWrapper, null,
|
|
380
475
|
React__default["default"].createElement("img", { className: "svg", src: siteType === 'marryBaby'
|
|
381
|
-
? index$
|
|
382
|
-
: index$
|
|
476
|
+
? index$2.CommonGAssets.getAssetPath('chevronRightPink.svg')
|
|
477
|
+
: index$2.CommonGAssets.getAssetPath('chevronRightActive.svg'), style: { width: '16px', height: '16px' }, loading: "lazy" })))))));
|
|
383
478
|
};
|
|
384
479
|
|
|
385
480
|
const StyledContainerItems$5 = styled__default["default"].div `
|
|
@@ -545,13 +640,13 @@ const StyledItem$5 = styled__default["default"].a `
|
|
|
545
640
|
|
|
546
641
|
const Item$4 = ({ item, index = 0 }) => {
|
|
547
642
|
var _a;
|
|
548
|
-
const { t } = index$
|
|
549
|
-
const { locale, configs: { statics }, } = React.useContext(
|
|
643
|
+
const { t } = index$3.useTranslations();
|
|
644
|
+
const { locale, configs: { statics }, } = React.useContext(NavigationContext);
|
|
550
645
|
if (!item)
|
|
551
646
|
return null;
|
|
552
647
|
const href = `${statics.CARE_URL_FE}/${(_a = constants$1.LOCALIZED_SLUGS[locale]) === null || _a === void 0 ? void 0 : _a.HOSPITAL}/${item.slug}-${item.id}`;
|
|
553
648
|
return (React__default["default"].createElement(StyledItem$5, { key: item.id, href: href, "data-event-category": "Hamburger Navigation", "data-event-action": `Care Click ${index + 1}`, "data-event-label": href },
|
|
554
|
-
React__default["default"].createElement("img", { src: index$
|
|
649
|
+
React__default["default"].createElement("img", { src: index$2.CommonGAssets.getAssetPath('navCareCardBg.svg'), alt: "", className: "bg-svg", loading: "lazy" }),
|
|
555
650
|
React__default["default"].createElement(StyledImageCard$3, null,
|
|
556
651
|
React__default["default"].createElement(StyledImageCardInner, null,
|
|
557
652
|
React__default["default"].createElement("img", { loading: "lazy", alt: item.name, src: item.logo || '/images/avatar.jpg' }))),
|
|
@@ -560,7 +655,7 @@ const Item$4 = ({ item, index = 0 }) => {
|
|
|
560
655
|
React__default["default"].createElement(StyledDes$2, null, item.description),
|
|
561
656
|
React__default["default"].createElement(StyledBtnView$2, null,
|
|
562
657
|
t('home.seeMore'),
|
|
563
|
-
React__default["default"].createElement("img", { src: index$
|
|
658
|
+
React__default["default"].createElement("img", { src: index$2.CommonGAssets.getAssetPath('chevronRightActive.svg'), style: {
|
|
564
659
|
width: '16px',
|
|
565
660
|
height: '16px',
|
|
566
661
|
marginTop: '3px',
|
|
@@ -635,19 +730,19 @@ const StyledLeft = styled__default["default"].div `
|
|
|
635
730
|
`;
|
|
636
731
|
|
|
637
732
|
const SpotlightNoData = ({ title, link, description, cta, icon }) => {
|
|
638
|
-
const { siteType } = React.useContext(
|
|
733
|
+
const { siteType } = React.useContext(NavigationContext);
|
|
639
734
|
return (React__default["default"].createElement(StyledContainerNoPosts, { "data-theme": siteType },
|
|
640
735
|
React__default["default"].createElement(StyledLeft, null,
|
|
641
736
|
React__default["default"].createElement("img", { src: siteType === 'marryBaby'
|
|
642
|
-
? index$
|
|
643
|
-
: index$
|
|
737
|
+
? index$2.CommonGAssets.getAssetPath('navMBSpotlightBgNoData.svg')
|
|
738
|
+
: index$2.CommonGAssets.getAssetPath('navSpotlightBgNoData.svg'), alt: "", loading: "lazy", className: "bg-svg" }),
|
|
644
739
|
React__default["default"].createElement(StyledContentLeft, null, icon && React__default["default"].createElement("img", { src: icon, width: 64, height: 64, loading: "lazy" }))),
|
|
645
740
|
React__default["default"].createElement("div", null,
|
|
646
741
|
title && React__default["default"].createElement(StyledTitle$4, null, title),
|
|
647
742
|
description && React__default["default"].createElement(StyledDescription, null, description),
|
|
648
743
|
cta && (React__default["default"].createElement("div", null,
|
|
649
744
|
React__default["default"].createElement("a", { href: link },
|
|
650
|
-
React__default["default"].createElement(index$
|
|
745
|
+
React__default["default"].createElement(index$7.Button, { theme: siteType, className: "survey-contact-submit", size: "md" }, cta)))))));
|
|
651
746
|
};
|
|
652
747
|
|
|
653
748
|
const StyledItemGridRight = styled__default["default"].div `
|
|
@@ -691,21 +786,21 @@ const StyledViewMore = styled__default["default"].a `
|
|
|
691
786
|
`;
|
|
692
787
|
|
|
693
788
|
const Spotlights = ({ title, viewMore, children, link, dataEventAction = '', }) => {
|
|
694
|
-
const { siteType } = React.useContext(
|
|
789
|
+
const { siteType } = React.useContext(NavigationContext);
|
|
695
790
|
return (React__default["default"].createElement(StyledItemGridRight, null,
|
|
696
791
|
React__default["default"].createElement(StyledHeading, null,
|
|
697
|
-
React__default["default"].createElement(index$
|
|
792
|
+
React__default["default"].createElement(index$5.Heading, { tag: siteType === 'marryBaby' ? 'h5' : 'h6', as: "p", fontWeight: "semibold" }, title),
|
|
698
793
|
viewMore && (React__default["default"].createElement(StyledViewMore, { "data-event-category": "Hamburger Navigation", "data-event-action": dataEventAction, "data-event-label": link, href: link, "data-theme": siteType },
|
|
699
794
|
viewMore,
|
|
700
795
|
React__default["default"].createElement("img", { src: siteType === 'marryBaby'
|
|
701
|
-
? index$
|
|
702
|
-
: index$
|
|
796
|
+
? index$2.CommonGAssets.getAssetPath('chevronRightPink.svg')
|
|
797
|
+
: index$2.CommonGAssets.getAssetPath('chevronRightActive.svg'), style: { width: '16px', height: '16px' }, loading: "lazy" })))),
|
|
703
798
|
children));
|
|
704
799
|
};
|
|
705
800
|
|
|
706
801
|
const CareSpotlights = ({ spotlights = [], hrefViewMore }) => {
|
|
707
|
-
const { t } = index$
|
|
708
|
-
const { siteType } = React.useContext(
|
|
802
|
+
const { t } = index$3.useTranslations();
|
|
803
|
+
const { siteType } = React.useContext(NavigationContext);
|
|
709
804
|
return (React__default["default"].createElement(Spotlights, { title: t('home.navigator.menu.spotlightHospitals') }, spotlights.length !== 0 ? (React__default["default"].createElement(React__default["default"].Fragment, null,
|
|
710
805
|
React__default["default"].createElement(StyledContainerItems$5, null, spotlights === null || spotlights === void 0 ? void 0 : spotlights.slice(0, 3).map((s, index) => (React__default["default"].createElement(Item$4, { key: index, index: index, item: s })))),
|
|
711
806
|
React__default["default"].createElement("div", { style: {
|
|
@@ -714,7 +809,7 @@ const CareSpotlights = ({ spotlights = [], hrefViewMore }) => {
|
|
|
714
809
|
right: '1rem',
|
|
715
810
|
} },
|
|
716
811
|
React__default["default"].createElement("a", { href: hrefViewMore },
|
|
717
|
-
React__default["default"].createElement(index$
|
|
812
|
+
React__default["default"].createElement(index$7.Button, { theme: siteType, className: "survey-contact-submit", size: "md" }, t('home.navigator.menu.care.homeButton')))))) : (React__default["default"].createElement(SpotlightNoData, { title: t('home.navigator.menu.care.noDatas.title'), description: t('home.navigator.menu.care.noDatas.description'), link: hrefViewMore, cta: t('home.navigator.menu.care.homeButton'), icon: index$2.CommonGAssets.getAssetPath('community.svg') }))));
|
|
718
813
|
};
|
|
719
814
|
|
|
720
815
|
const StyledContainerItems$4 = styled__default["default"].div `
|
|
@@ -781,14 +876,14 @@ const Item$3 = ({ item, index = 0 }) => {
|
|
|
781
876
|
};
|
|
782
877
|
|
|
783
878
|
const CategorySpotlights = ({ spotlightsList = [], hrefViewMore }) => {
|
|
784
|
-
const { t } = index$
|
|
785
|
-
const { configs: { statics }, } = React.useContext(
|
|
879
|
+
const { t } = index$3.useTranslations();
|
|
880
|
+
const { configs: { statics }, } = React.useContext(NavigationContext);
|
|
786
881
|
return (React__default["default"].createElement(Spotlights, { title: t('home.navigator.menu.spotlights'), viewMore: t('home.navigator.menu.spotlights.seeAll'), link: hrefViewMore, dataEventAction: "Spotlight See More Click" }, spotlightsList.length !== 0 ? (React__default["default"].createElement(StyledContainerItems$4, null, spotlightsList === null || spotlightsList === void 0 ? void 0 : spotlightsList.slice(0, 4).map((spotlight, index) => (React__default["default"].createElement(Item$3, { key: index, index: index, item: {
|
|
787
882
|
id: spotlight.id,
|
|
788
883
|
link: statics.HOME_PAGE_URL + spotlight.permalink,
|
|
789
884
|
title: spotlight.name,
|
|
790
885
|
banner: spotlight.image,
|
|
791
|
-
} }))))) : (React__default["default"].createElement(SpotlightNoData, { title: t('home.navigator.menu.category.noDatas.title'), description: t('home.navigator.menu.category.noDatas.description'), link: hrefViewMore, cta: t('home.navigator.menu.category.noDatas.cta'), icon: index$
|
|
886
|
+
} }))))) : (React__default["default"].createElement(SpotlightNoData, { title: t('home.navigator.menu.category.noDatas.title'), description: t('home.navigator.menu.category.noDatas.description'), link: hrefViewMore, cta: t('home.navigator.menu.category.noDatas.cta'), icon: index$2.CommonGAssets.getAssetPath('Spotlight.svg') }))));
|
|
792
887
|
};
|
|
793
888
|
|
|
794
889
|
const StyledContainerItems$3 = styled__default["default"].div `
|
|
@@ -911,7 +1006,7 @@ const StyledWrapInfo = styled__default["default"].div `
|
|
|
911
1006
|
dayjs__default["default"].extend(relativeTime__default["default"]);
|
|
912
1007
|
const Item$2 = ({ post, index = 0 }) => {
|
|
913
1008
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
914
|
-
const { siteType, configs: { statics }, } = React.useContext(
|
|
1009
|
+
const { siteType, configs: { statics }, } = React.useContext(NavigationContext);
|
|
915
1010
|
if (!post)
|
|
916
1011
|
return null;
|
|
917
1012
|
const communityUrl = [statics.TOGETHER_URL_FE, (_a = post.community) === null || _a === void 0 ? void 0 : _a.slug].join('/');
|
|
@@ -926,7 +1021,7 @@ const Item$2 = ({ post, index = 0 }) => {
|
|
|
926
1021
|
return (React__default["default"].createElement(StyledItem$3, { href: postUrl, "data-event-category": "Hamburger Navigation", "data-event-action": `Together Click ${index + 1}`, "data-event-label": postUrl },
|
|
927
1022
|
React__default["default"].createElement(StyledContent$1, null,
|
|
928
1023
|
React__default["default"].createElement(StyledInfoUser, null,
|
|
929
|
-
React__default["default"].createElement(index$
|
|
1024
|
+
React__default["default"].createElement(index$8.UserAvatar, { avatar: (_b = post.author) === null || _b === void 0 ? void 0 : _b.avatar, username: ((_c = post.author) === null || _c === void 0 ? void 0 : _c.name) || ((_d = post.author) === null || _d === void 0 ? void 0 : _d.username) }),
|
|
930
1025
|
React__default["default"].createElement(StyledWrapInfo, null,
|
|
931
1026
|
React__default["default"].createElement(StyledName, { "data-theme": siteType }, (_e = post.author) === null || _e === void 0 ? void 0 : _e.name),
|
|
932
1027
|
React__default["default"].createElement(StyledInfo, null,
|
|
@@ -941,9 +1036,9 @@ const Item$2 = ({ post, index = 0 }) => {
|
|
|
941
1036
|
};
|
|
942
1037
|
|
|
943
1038
|
const CommunitySpotlights = ({ spotlights = [] }) => {
|
|
944
|
-
const { configs: { statics }, } = React.useContext(
|
|
945
|
-
const { t } = index$
|
|
946
|
-
return (React__default["default"].createElement(Spotlights, { title: t('home.navigator.menu.trendingPosts'), viewMore: t('home.navigator.menu.trendingPosts.seeMore'), link: normalizeLink.normalizeLink(statics.TOGETHER_URL_FE), dataEventAction: "Together See More Click" }, spotlights.length !== 0 ? (React__default["default"].createElement(StyledContainerItems$3, null, spotlights === null || spotlights === void 0 ? void 0 : spotlights.slice(0, 4).map((p, index) => (React__default["default"].createElement(Item$2, { index: index, post: p, key: p.id }))))) : (React__default["default"].createElement(SpotlightNoData, { title: t('home.navigator.menu.together.noPosts.title'), description: t('home.navigator.menu.together.noPosts.description'), link: `${statics.HOME_PAGE_URL}/community/`, cta: t('home.navigator.menu.together.noPosts.cta'), icon: index$
|
|
1039
|
+
const { configs: { statics }, } = React.useContext(NavigationContext);
|
|
1040
|
+
const { t } = index$3.useTranslations();
|
|
1041
|
+
return (React__default["default"].createElement(Spotlights, { title: t('home.navigator.menu.trendingPosts'), viewMore: t('home.navigator.menu.trendingPosts.seeMore'), link: normalizeLink.normalizeLink(statics.TOGETHER_URL_FE), dataEventAction: "Together See More Click" }, spotlights.length !== 0 ? (React__default["default"].createElement(StyledContainerItems$3, null, spotlights === null || spotlights === void 0 ? void 0 : spotlights.slice(0, 4).map((p, index) => (React__default["default"].createElement(Item$2, { index: index, post: p, key: p.id }))))) : (React__default["default"].createElement(SpotlightNoData, { title: t('home.navigator.menu.together.noPosts.title'), description: t('home.navigator.menu.together.noPosts.description'), link: `${statics.HOME_PAGE_URL}/community/`, cta: t('home.navigator.menu.together.noPosts.cta'), icon: index$2.CommonGAssets.getAssetPath('community.svg') }))));
|
|
947
1042
|
};
|
|
948
1043
|
|
|
949
1044
|
const StyledContainerItems$2 = styled__default["default"].div `
|
|
@@ -963,10 +1058,10 @@ const StyledItem$2 = styled__default["default"].a `
|
|
|
963
1058
|
align-items: center;
|
|
964
1059
|
`;
|
|
965
1060
|
|
|
966
|
-
const Item$1 = ({ item, index: index$
|
|
1061
|
+
const Item$1 = ({ item, index: index$1 = 0 }) => {
|
|
967
1062
|
if (!item)
|
|
968
1063
|
return null;
|
|
969
|
-
return (React__default["default"].createElement(StyledItem$2, { href: item.url, "data-event-category": "Hamburger Navigation", "data-event-action": `Care Click ${index$
|
|
1064
|
+
return (React__default["default"].createElement(StyledItem$2, { href: item.url, "data-event-category": "Hamburger Navigation", "data-event-action": `Care Click ${index$1 + 1}`, "data-event-label": item.url },
|
|
970
1065
|
React__default["default"].createElement("img", { loading: "lazy", alt: item.name, src: item.featuredImage || '/images/avatar.jpg', style: {
|
|
971
1066
|
width: '40px',
|
|
972
1067
|
height: '40px',
|
|
@@ -974,7 +1069,7 @@ const Item$1 = ({ item, index: index$2 = 0 }) => {
|
|
|
974
1069
|
React__default["default"].createElement(index.Text, { size: "p2", weight: "regular", style: {
|
|
975
1070
|
marginLeft: 16,
|
|
976
1071
|
} }, item.name),
|
|
977
|
-
React__default["default"].createElement("img", { src: index$
|
|
1072
|
+
React__default["default"].createElement("img", { src: index$2.CommonGAssets.getAssetPath('chevronRightActive.svg'), style: {
|
|
978
1073
|
width: '20px',
|
|
979
1074
|
height: '20px',
|
|
980
1075
|
marginLeft: 'auto',
|
|
@@ -982,7 +1077,7 @@ const Item$1 = ({ item, index: index$2 = 0 }) => {
|
|
|
982
1077
|
};
|
|
983
1078
|
|
|
984
1079
|
const EcomSpotlights = ({ helpfulUrls = [], }) => {
|
|
985
|
-
const { t } = index$
|
|
1080
|
+
const { t } = index$3.useTranslations();
|
|
986
1081
|
// const { siteType } = useContext(NavigationContext)
|
|
987
1082
|
if (!helpfulUrls.length)
|
|
988
1083
|
return null;
|
|
@@ -1128,8 +1223,8 @@ const StyledContentWrapper$1 = styled__default["default"].div `
|
|
|
1128
1223
|
`;
|
|
1129
1224
|
|
|
1130
1225
|
const Item = ({ item, index = 0 }) => {
|
|
1131
|
-
const { t } = index$
|
|
1132
|
-
const { configs: { statics }, } = React.useContext(
|
|
1226
|
+
const { t } = index$3.useTranslations();
|
|
1227
|
+
const { configs: { statics }, } = React.useContext(NavigationContext);
|
|
1133
1228
|
if (!item)
|
|
1134
1229
|
return null;
|
|
1135
1230
|
const link = item.link
|
|
@@ -1139,7 +1234,7 @@ const Item = ({ item, index = 0 }) => {
|
|
|
1139
1234
|
: undefined;
|
|
1140
1235
|
return (React__default["default"].createElement(StyledItem$1, { href: link, "data-event-category": "Hamburger Navigation", "data-event-action": `Engage Click ${index + 1}`, "data-event-label": link },
|
|
1141
1236
|
item.isMobileAppTool && React__default["default"].createElement(Phone, { size: 20, className: "phone-badge" }),
|
|
1142
|
-
React__default["default"].createElement("img", { src: index$
|
|
1237
|
+
React__default["default"].createElement("img", { src: index$2.CommonGAssets.getAssetPath('navToolCardBg.svg'), alt: "", loading: "lazy", className: "bg-svg" }),
|
|
1143
1238
|
React__default["default"].createElement(StyledContentWrapper$1, null,
|
|
1144
1239
|
React__default["default"].createElement(StyledTitle$1, null, item.title),
|
|
1145
1240
|
React__default["default"].createElement(StyledDes$1, null, item.subtitle),
|
|
@@ -1360,8 +1455,8 @@ const StyledWrapName = styled__default["default"].div `
|
|
|
1360
1455
|
`;
|
|
1361
1456
|
|
|
1362
1457
|
const ItemMarryBaby = ({ item, index = 0, color }) => {
|
|
1363
|
-
const { t } = index$
|
|
1364
|
-
const { configs: { statics }, } = React.useContext(
|
|
1458
|
+
const { t } = index$3.useTranslations();
|
|
1459
|
+
const { configs: { statics }, } = React.useContext(NavigationContext);
|
|
1365
1460
|
if (!item)
|
|
1366
1461
|
return null;
|
|
1367
1462
|
const link = item.link
|
|
@@ -1377,7 +1472,7 @@ const ItemMarryBaby = ({ item, index = 0, color }) => {
|
|
|
1377
1472
|
React__default["default"].createElement(StyledDes, null, item.subtitle)),
|
|
1378
1473
|
React__default["default"].createElement(StyledBtnView, null,
|
|
1379
1474
|
React__default["default"].createElement("div", { className: "mobile-only" }, t('home.seeMore')),
|
|
1380
|
-
React__default["default"].createElement("img", { src: index$
|
|
1475
|
+
React__default["default"].createElement("img", { src: index$2.CommonGAssets.getAssetPath('arrowRightGray.svg'), style: {
|
|
1381
1476
|
width: '12px',
|
|
1382
1477
|
height: '12px',
|
|
1383
1478
|
marginTop: '2px',
|
|
@@ -1386,7 +1481,7 @@ const ItemMarryBaby = ({ item, index = 0, color }) => {
|
|
|
1386
1481
|
return (React__default["default"].createElement(StyledItem, { href: link, "data-event-category": "Hamburger Navigation", "data-event-action": `Engage Click ${index + 1}`, "data-event-label": link, "data-color": color },
|
|
1387
1482
|
React__default["default"].createElement("svg", { className: "bg-svg", width: "74", height: "121", viewBox: "0 0 74 121", fill: "none" },
|
|
1388
1483
|
React__default["default"].createElement("path", { d: "M58.5713 53.428C40.6466 70.0213 12.9929 71.0875 -7.00506 84.9856C-24.9277 97.4005 -38.3893 120.472 -60.213 120.346C-73.3615 120.271 -84.9289 110.925 -91.9303 99.8138C-101.443 84.7327 -103.994 64.0482 -93.916 49.3276C-81.8133 31.6505 -56.6933 28.1101 -41.7246 12.7895C-35.4351 6.35117 -31.2212 -1.90115 -24.8564 -8.25051C-7.17639 -25.9054 34.9604 -29.7543 56.852 -16.9562C80.9056 -2.89888 77.046 36.3304 58.5713 53.428Z", strokeWidth: "0" })),
|
|
1389
|
-
React__default["default"].createElement("img", { src: index$
|
|
1484
|
+
React__default["default"].createElement("img", { src: index$2.CommonGAssets.getAssetPath('navMBCardDotBg.svg'), className: "dot-svg", loading: "lazy", alt: "" }),
|
|
1390
1485
|
React__default["default"].createElement(StyledContentWrapper, null,
|
|
1391
1486
|
React__default["default"].createElement("div", { className: "mobile-only" }, renderIcon()),
|
|
1392
1487
|
React__default["default"].createElement("div", { className: "desktop-only" }, renderName())),
|
|
@@ -1395,12 +1490,12 @@ const ItemMarryBaby = ({ item, index = 0, color }) => {
|
|
|
1395
1490
|
};
|
|
1396
1491
|
|
|
1397
1492
|
const ToolSpotlights = ({ hrefViewMore, spotlightHealthTools = [] }) => {
|
|
1398
|
-
const { t } = index$
|
|
1493
|
+
const { t } = index$3.useTranslations();
|
|
1399
1494
|
const marryBabyCardColor = ['pink', 'orange', 'green'];
|
|
1400
|
-
const { siteType } = React.useContext(
|
|
1495
|
+
const { siteType } = React.useContext(NavigationContext);
|
|
1401
1496
|
return (React__default["default"].createElement(Spotlights, { title: t('home.navigator.menu.spotlightTools') },
|
|
1402
1497
|
spotlightHealthTools.length !== 0 && (React__default["default"].createElement(StyledContainerItems$1, null, spotlightHealthTools === null || spotlightHealthTools === void 0 ? void 0 : spotlightHealthTools.slice(0, 3).map((item, index) => siteType === 'marryBaby' ? (React__default["default"].createElement(ItemMarryBaby, { key: index, index: index, item: item, color: marryBabyCardColor[index] })) : (React__default["default"].createElement(Item, { key: index, index: index, item: item }))))),
|
|
1403
|
-
spotlightHealthTools.length === 0 && (React__default["default"].createElement(SpotlightNoData, { title: t('home.navigator.menu.healthTools.noDatas.title'), description: t('home.navigator.menu.healthTools.noDatas.description'), link: hrefViewMore, cta: t('home.navigator.menu.healthTools.noDatas.cta'), icon: index$
|
|
1498
|
+
spotlightHealthTools.length === 0 && (React__default["default"].createElement(SpotlightNoData, { title: t('home.navigator.menu.healthTools.noDatas.title'), description: t('home.navigator.menu.healthTools.noDatas.description'), link: hrefViewMore, cta: t('home.navigator.menu.healthTools.noDatas.cta'), icon: index$2.CommonGAssets.getAssetPath('community.svg') }))));
|
|
1404
1499
|
};
|
|
1405
1500
|
|
|
1406
1501
|
const StyledContainerItems = styled__default["default"].div `
|
|
@@ -1415,22 +1510,22 @@ const StyledContainerItems = styled__default["default"].div `
|
|
|
1415
1510
|
`;
|
|
1416
1511
|
|
|
1417
1512
|
const VideoSpotlights = ({ spotlightsList = [], layout = 'default', }) => {
|
|
1418
|
-
const { t } = index$
|
|
1419
|
-
const { configs: { statics }, } = React.useContext(
|
|
1420
|
-
return (React__default["default"].createElement(Spotlights, { title: t('home.navigator.menu.lastestVideos') }, spotlightsList.length !== 0 ? (React__default["default"].createElement(StyledContainerItems, null, spotlightsList === null || spotlightsList === void 0 ? void 0 : spotlightsList.slice(0, 4).map((video, index) => (React__default["default"].createElement(index$
|
|
1513
|
+
const { t } = index$3.useTranslations();
|
|
1514
|
+
const { configs: { statics }, } = React.useContext(NavigationContext);
|
|
1515
|
+
return (React__default["default"].createElement(Spotlights, { title: t('home.navigator.menu.lastestVideos') }, spotlightsList.length !== 0 ? (React__default["default"].createElement(StyledContainerItems, null, spotlightsList === null || spotlightsList === void 0 ? void 0 : spotlightsList.slice(0, 4).map((video, index) => (React__default["default"].createElement(index$6.VideoItem, { key: index, data: Object.assign(Object.assign({}, video), { type: index$9.VideoType.SHORTS }), layout: layout === 'default' ? 'overlay' : 'horizon', redirectToLandingPage: true, dataEventCategory: "Hamburger Navigation", dataEventAction: `Video Click ${index + 1}` }))))) : (React__default["default"].createElement(SpotlightNoData, { title: t('home.navigator.menu.category.noDatas.title'), description: t('home.navigator.menu.category.noDatas.description'), link: `${statics.VIDEO_URL_FE}/`, cta: t('home.navigator.menu.category.noDatas.cta'), icon: index$2.CommonGAssets.getAssetPath('Spotlight.svg') }))));
|
|
1421
1516
|
};
|
|
1422
1517
|
|
|
1423
1518
|
const MenuServiceList = ({ closePopup, menuItems = [], projectType, isHomepage = false, }) => {
|
|
1424
1519
|
var _a, _b;
|
|
1425
|
-
const { siteType, ssrMenuContent: { categories, healthTools, care, together, ecom, videos }, activeMenuService, configs: { statics }, locale,
|
|
1426
|
-
const { t } = index$
|
|
1427
|
-
return (React__default["default"].createElement(StyledMasterMenuContainer, {
|
|
1520
|
+
const { siteType, ssrMenuContent: { categories, healthTools, care, together, ecom, videos }, activeMenuService, configs: { statics }, locale, } = React.useContext(NavigationContext);
|
|
1521
|
+
const { t } = index$3.useTranslations();
|
|
1522
|
+
return (React__default["default"].createElement(StyledMasterMenuContainer, { id: 'categories-menu' },
|
|
1428
1523
|
!isHomepage && (React__default["default"].createElement(StyleWrapperSearch, null,
|
|
1429
1524
|
React__default["default"].createElement(NavigtionSearch, { siteType: siteType, projectType: projectType, isMobile: false, isRedirectSearchPage: true }))),
|
|
1430
1525
|
React__default["default"].createElement(StyledWrapper, null,
|
|
1431
1526
|
React__default["default"].createElement(Categories, { UrlFE: statics.HOME_PAGE_URL, titleBtnViewMore: t('home.navigator.menuItem.allCategories'), menuItems: menuItems, headingTitle: t('home.navigator.menuItem.healthCategories'), onClosePopup: closePopup, activeItem: activeMenuService }),
|
|
1432
1527
|
activeMenuService === 'categories' && (React__default["default"].createElement(CategorySpotlights, { spotlightsList: (categories === null || categories === void 0 ? void 0 : categories.spotlights) || [], hrefViewMore: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}/spotlight/` })),
|
|
1433
|
-
activeMenuService === 'tools' && (React__default["default"].createElement(ToolSpotlights, { spotlightHealthTools: healthTools === null || healthTools === void 0 ? void 0 : healthTools.spotlights, hrefViewMore: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}${((_a = index$
|
|
1528
|
+
activeMenuService === 'tools' && (React__default["default"].createElement(ToolSpotlights, { spotlightHealthTools: healthTools === null || healthTools === void 0 ? void 0 : healthTools.spotlights, hrefViewMore: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}${((_a = index$1.STATIC_PAGES[locale]) === null || _a === void 0 ? void 0 : _a.HEALTH_TOOLS) || ''}` })),
|
|
1434
1529
|
activeMenuService === 'care' && (React__default["default"].createElement(CareSpotlights, { spotlights: care === null || care === void 0 ? void 0 : care.spotlights, hrefViewMore: `${statics.CARE_URL_FE}/${(_b = constants$1.LOCALIZED_SLUGS[locale]) === null || _b === void 0 ? void 0 : _b.SPECIALTIES}` })),
|
|
1435
1530
|
activeMenuService === 'together' && (React__default["default"].createElement(CommunitySpotlights, { spotlights: together === null || together === void 0 ? void 0 : together.spotlights })),
|
|
1436
1531
|
activeMenuService === 'ecom' && (React__default["default"].createElement(EcomSpotlights, { helpfulUrls: ecom === null || ecom === void 0 ? void 0 : ecom.helpfulUrls })),
|
|
@@ -1438,7 +1533,7 @@ const MenuServiceList = ({ closePopup, menuItems = [], projectType, isHomepage =
|
|
|
1438
1533
|
};
|
|
1439
1534
|
|
|
1440
1535
|
const HamburgerMenu = ({ menuItems, isHomepage, projectType }) => {
|
|
1441
|
-
const { siteType } = React.useContext(
|
|
1536
|
+
const { siteType } = React.useContext(NavigationContext);
|
|
1442
1537
|
const { containerRef, onContainerFocus, onContainerBlur, onButtonMouseDown, onClose, } = navigationProfileButton.useCSSFocusPopupHelper();
|
|
1443
1538
|
return (React__default["default"].createElement(DisplayWrapper, { mediaQueryKey: "mbDown" },
|
|
1444
1539
|
React__default["default"].createElement("header", { className: styles$2.menuContainer },
|
|
@@ -1707,10 +1802,10 @@ const StyleInput = styled__default["default"](index$b.Input) `
|
|
|
1707
1802
|
`;
|
|
1708
1803
|
|
|
1709
1804
|
const SearchInput = ({ id, isMobile = false, isHomepage = false, projectType, isRedirectSearchPage = false, }) => {
|
|
1710
|
-
const { locale, configs: { statics }, siteType, } = React.useContext(
|
|
1805
|
+
const { locale, configs: { statics }, siteType, } = React.useContext(NavigationContext);
|
|
1711
1806
|
const [keyword, setKeyword] = React.useState('');
|
|
1712
1807
|
const [eventCategoryTracking, setEventCategoryTracking] = React.useState('Search From Another Page');
|
|
1713
|
-
const { t } = index$
|
|
1808
|
+
const { t } = index$3.useTranslations();
|
|
1714
1809
|
const goToSearchPage = (searchValue = '') => {
|
|
1715
1810
|
let sourceParam = '';
|
|
1716
1811
|
if (projectType === 'together') {
|
|
@@ -1753,8 +1848,8 @@ const SearchInput = ({ id, isMobile = false, isHomepage = false, projectType, is
|
|
|
1753
1848
|
React__default["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3.3097 9.06111C3.3097 5.88483 5.88458 3.30994 9.06087 3.30994C12.2372 3.30994 14.812 5.88483 14.812 9.06111C14.812 12.2374 12.2372 14.8123 9.06087 14.8123C5.88458 14.8123 3.3097 12.2374 3.3097 9.06111ZM9.06087 1.66675C4.97707 1.66675 1.6665 4.97732 1.6665 9.06111C1.6665 13.1449 4.97707 16.4555 9.06087 16.4555C10.8067 16.4555 12.4112 15.8505 13.6761 14.8387L16.9305 18.0931C17.2514 18.4139 17.7716 18.4139 18.0924 18.0931C18.4133 17.7722 18.4133 17.252 18.0924 16.9312L14.8381 13.6768C15.8501 12.4118 16.4552 10.8071 16.4552 9.06111C16.4552 4.97732 13.1447 1.66675 9.06087 1.66675Z", fill: "#8C8C8C" })))) : (React__default["default"].createElement(StyleInput, { className: "fake-search-input", name: 'search-input-menu-service' + id, size: "md", "data-event-category": eventCategoryTracking, "data-event-action": "Search", "data-event-label": keyword, placeholder: siteType === 'marryBaby'
|
|
1754
1849
|
? t('navigation.search.input.placeholder')
|
|
1755
1850
|
: t('home.search', {
|
|
1756
|
-
site: index$
|
|
1757
|
-
? index$
|
|
1851
|
+
site: index$1.LOCALE_SPECS[locale || 'en-PH']
|
|
1852
|
+
? index$1.LOCALE_SPECS[locale || 'en-PH'].SITE_NAME
|
|
1758
1853
|
: '',
|
|
1759
1854
|
}), onChange: setKeyword, value: keyword, onKeyDown: (e) => e.key === 'Enter' &&
|
|
1760
1855
|
goToSearchPage(e.target.value), type: "search", onFocus: (e) => {
|
|
@@ -1935,7 +2030,7 @@ const formatVideoItem = (data) => {
|
|
|
1935
2030
|
videoId: data.video_id || '',
|
|
1936
2031
|
url: data.video_url || '',
|
|
1937
2032
|
title: data.video_title || '',
|
|
1938
|
-
type: data.type || index$
|
|
2033
|
+
type: data.type || index$9.VideoType.VIDEO,
|
|
1939
2034
|
totalView: data.total_view || 0,
|
|
1940
2035
|
description: data.description || '',
|
|
1941
2036
|
createTime: data.create_time || '',
|
|
@@ -1966,8 +2061,8 @@ const PopupWrapper = ({ onClosePopup, isDisplay, children, isNavMenu, hideCloseB
|
|
|
1966
2061
|
|
|
1967
2062
|
const MenuCareList = ({ careSpecialties = [], isOpen, onClose, spotlights = [], }) => {
|
|
1968
2063
|
var _a;
|
|
1969
|
-
const { t } = index$
|
|
1970
|
-
const { locale, configs: { statics }, } = React.useContext(
|
|
2064
|
+
const { t } = index$3.useTranslations();
|
|
2065
|
+
const { locale, configs: { statics }, } = React.useContext(NavigationContext);
|
|
1971
2066
|
return (React__default["default"].createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true },
|
|
1972
2067
|
React__default["default"].createElement(Categories, { headingTitle: t('home.navigator.menuItem.specialties'), hrefViewMore: `${statics.CARE_URL_FE}/`, UrlFE: statics.CARE_URL_FE, onClosePopup: onClose, titleBtnViewMore: t('home.navigator.menuItem.allSpecialties'), menuItems: (careSpecialties === null || careSpecialties === void 0 ? void 0 : careSpecialties.map((specialty) => {
|
|
1973
2068
|
if (!specialty)
|
|
@@ -1986,8 +2081,8 @@ const MenuCareList = ({ careSpecialties = [], isOpen, onClose, spotlights = [],
|
|
|
1986
2081
|
};
|
|
1987
2082
|
|
|
1988
2083
|
const MenuCategoriesList = ({ categories = [], spotlightsList = [], onClose, isOpen, }) => {
|
|
1989
|
-
const { t } = index$
|
|
1990
|
-
const { locale, configs: { statics }, } = React.useContext(
|
|
2084
|
+
const { t } = index$3.useTranslations();
|
|
2085
|
+
const { locale, configs: { statics }, } = React.useContext(NavigationContext);
|
|
1991
2086
|
return (React__default["default"].createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true },
|
|
1992
2087
|
React__default["default"].createElement(Categories, { hrefViewMore: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}/categories/`, UrlFE: statics.HOME_PAGE_URL, onClosePopup: onClose, titleBtnViewMore: t('home.navigator.menuItem.allCategories'), menuItems: (categories === null || categories === void 0 ? void 0 : categories.map((cat) => {
|
|
1993
2088
|
if (!cat)
|
|
@@ -2002,8 +2097,8 @@ const MenuCategoriesList = ({ categories = [], spotlightsList = [], onClose, isO
|
|
|
2002
2097
|
};
|
|
2003
2098
|
|
|
2004
2099
|
const MenuCommunitiesList = ({ communities = [], onClose, isOpen, spotlights = [], }) => {
|
|
2005
|
-
const { t } = index$
|
|
2006
|
-
const { configs: { statics }, } = React.useContext(
|
|
2100
|
+
const { t } = index$3.useTranslations();
|
|
2101
|
+
const { configs: { statics }, } = React.useContext(NavigationContext);
|
|
2007
2102
|
return (React__default["default"].createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true },
|
|
2008
2103
|
React__default["default"].createElement(Categories, { hrefViewMore: normalizeLink.normalizeLink(statics.TOGETHER_URL_FE), UrlFE: normalizeLink.normalizeLinkSlash(statics.TOGETHER_URL_FE), onClosePopup: onClose, titleBtnViewMore: t('home.navigator.menuItem.allCommunities'), menuItems: (communities === null || communities === void 0 ? void 0 : communities.map((community) => {
|
|
2009
2104
|
if (!community)
|
|
@@ -2019,9 +2114,9 @@ const MenuCommunitiesList = ({ communities = [], onClose, isOpen, spotlights = [
|
|
|
2019
2114
|
|
|
2020
2115
|
const MenuHealthToolsList = ({ locale, onClose, isOpen, spotlightHealthTools = [], healthTools = [], }) => {
|
|
2021
2116
|
var _a;
|
|
2022
|
-
const { t } = index$
|
|
2023
|
-
const { configs: { statics }, } = React.useContext(
|
|
2024
|
-
const hrefViewMore = `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}${((_a = index$
|
|
2117
|
+
const { t } = index$3.useTranslations();
|
|
2118
|
+
const { configs: { statics }, } = React.useContext(NavigationContext);
|
|
2119
|
+
const hrefViewMore = `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}${((_a = index$1.STATIC_PAGES[locale]) === null || _a === void 0 ? void 0 : _a.HEALTH_TOOLS) || ''}`;
|
|
2025
2120
|
return (React__default["default"].createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true },
|
|
2026
2121
|
React__default["default"].createElement(Categories, { hrefViewMore: hrefViewMore, UrlFE: statics.HOME_PAGE_URL, onClosePopup: onClose, headingTitle: t('home.navigator.menuItem.healthToolsList'), titleBtnViewMore: t('home.navigator.menuItem.allHealthTools'), menuItems: healthTools.map((t) => ({
|
|
2027
2122
|
name: t.title,
|
|
@@ -2037,18 +2132,18 @@ const MenuHealthToolsList = ({ locale, onClose, isOpen, spotlightHealthTools = [
|
|
|
2037
2132
|
};
|
|
2038
2133
|
|
|
2039
2134
|
const MenuVideoList = ({ spotlightsList = [], onClose, isOpen }) => {
|
|
2040
|
-
const { t } = index$
|
|
2041
|
-
const { locale, configs: { statics }, } = React.useContext(
|
|
2135
|
+
const { t } = index$3.useTranslations();
|
|
2136
|
+
const { locale, configs: { statics }, } = React.useContext(NavigationContext);
|
|
2042
2137
|
const listing = React.useMemo(() => [
|
|
2043
2138
|
{
|
|
2044
2139
|
name: t('home.navigator.menu.videos'),
|
|
2045
2140
|
link: `${statics.VIDEO_URL_FE}/video/`,
|
|
2046
|
-
thumbnail: index$
|
|
2141
|
+
thumbnail: index$2.CommonGAssets.getAssetPath('nav-icons/video.svg'),
|
|
2047
2142
|
},
|
|
2048
2143
|
{
|
|
2049
2144
|
name: t('home.navigator.menu.shorts'),
|
|
2050
2145
|
link: `${statics.VIDEO_URL_FE}/short/`,
|
|
2051
|
-
thumbnail: index$
|
|
2146
|
+
thumbnail: index$2.CommonGAssets.getAssetPath('nav-icons/short.svg'),
|
|
2052
2147
|
},
|
|
2053
2148
|
// {
|
|
2054
2149
|
// name: t('home.navigator.menu.podcasts'),
|
|
@@ -2164,7 +2259,7 @@ const InitialDoctor = () => (React__default["default"].createElement("svg", { xm
|
|
|
2164
2259
|
React__default["default"].createElement("path", { fill: "#FF6F4D", d: "M389 358h-11a17 17 0 0 0-12 5 17 17 0 0 0-5 12v3l-1 3a4 4 0 0 1-3 1h-3a17 17 0 0 0-17 17v12a17 17 0 0 0 17 17h3a4 4 0 0 1 4 3v3a17 17 0 0 0 17 17h11c5 0 9-2 12-5s5-7 5-12v-3a4 4 0 0 1 4-3h3c4 0 9-2 12-5s5-8 5-12v-12c0-5-2-9-5-12a17 17 0 0 0-12-5h-3a4 4 0 0 1-4-4v-3a17 17 0 0 0-5-12 17 17 0 0 0-12-5" })))));
|
|
2165
2260
|
|
|
2166
2261
|
const MenuViewMore = ({ menuItems = [], isOpen, onClose }) => {
|
|
2167
|
-
const { locale, configs: { enableAppIntroPage }, } = React.useContext(
|
|
2262
|
+
const { locale, configs: { enableAppIntroPage }, } = React.useContext(NavigationContext);
|
|
2168
2263
|
const ecomNavItem = menuItems.find((m) => m.id === 'ecom');
|
|
2169
2264
|
const careNavItem = menuItems.find((m) => m.id === 'care');
|
|
2170
2265
|
return (React__default["default"].createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true, hideCloseBtn: true, stylesContainer: {
|
|
@@ -2178,10 +2273,10 @@ const MenuViewMore = ({ menuItems = [], isOpen, onClose }) => {
|
|
|
2178
2273
|
React__default["default"].createElement(StyleButton, { variant: "tertiary", leftIcon: React__default["default"].createElement(InitialDoctor, null) }, careNavItem.name))),
|
|
2179
2274
|
enableAppIntroPage && (React__default["default"].createElement("a", { tabIndex: 0, href: "https://applink.hellobacsi.com/o9Q88rQh7Mb", "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": `https://applink.hellobacsi.com/o9Q88rQh7Mb` },
|
|
2180
2275
|
React__default["default"].createElement(StyleButton, { variant: "tertiary", leftIcon: React__default["default"].createElement(StyleWrapperIcon, null,
|
|
2181
|
-
React__default["default"].createElement(core$1.Logo, { width: 16, height: 15 })) }, `${index$
|
|
2276
|
+
React__default["default"].createElement(core$1.Logo, { width: 16, height: 15 })) }, `${index$1.LOCALE_SPECS[locale || 'en-PH'].SITE_NAME_FORMATTED} App`)))));
|
|
2182
2277
|
};
|
|
2183
2278
|
|
|
2184
|
-
const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent, subHead, projectType,
|
|
2279
|
+
const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent, subHead, projectType, }) => {
|
|
2185
2280
|
var _a, _b;
|
|
2186
2281
|
const { siteType, isMobile = false, locale, sitewideBanner, sitewideBannerShown = true, sponsorComponent, isHomepage = false,
|
|
2187
2282
|
// onBookingClick,
|
|
@@ -2198,7 +2293,7 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
|
|
|
2198
2293
|
// enableProfileEcom,
|
|
2199
2294
|
}, userState: { userInfo }, onLogout,
|
|
2200
2295
|
// userProfileRouterPush,
|
|
2201
|
-
isUserLoading,
|
|
2296
|
+
isUserLoading, } = React.useContext(NavigationContext);
|
|
2202
2297
|
const { triggerLogin } = store.useSSOV2Store();
|
|
2203
2298
|
const { SSO_URL, HOME_PAGE_URL } = statics;
|
|
2204
2299
|
const isSponsored = !!sponsorComponent;
|
|
@@ -2215,7 +2310,7 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
|
|
|
2215
2310
|
: currentLocation;
|
|
2216
2311
|
};
|
|
2217
2312
|
const logoType = siteType === 'helloSites'
|
|
2218
|
-
? (_a = index$
|
|
2313
|
+
? (_a = index$1.LOCALE_SPECS[locale]) === null || _a === void 0 ? void 0 : _a.LOGO_TYPE
|
|
2219
2314
|
: siteType;
|
|
2220
2315
|
const isBrowser = typeof window !== 'undefined';
|
|
2221
2316
|
const scrolling = React.useCallback(throttle__default["default"](() => {
|
|
@@ -2254,10 +2349,10 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
|
|
|
2254
2349
|
scrolling();
|
|
2255
2350
|
}, [isMobile]);
|
|
2256
2351
|
const isShowingSiteWideBanner = sitewideBannerShown && !!sitewideBanner;
|
|
2257
|
-
return (React__default["default"].createElement(StyledHeaderWrapper, { "data-site-type": siteType, "data-sponsored": isSponsored, "data-sitewide-banner-shown": isShowingSiteWideBanner, "data-header-type": "home", "data-collapsed": isCollapsed, "data-is-displayed": true, id: "site-header", ref: headerRef
|
|
2352
|
+
return (React__default["default"].createElement(StyledHeaderWrapper, { "data-site-type": siteType, "data-sponsored": isSponsored, "data-sitewide-banner-shown": isShowingSiteWideBanner, "data-header-type": "home", "data-collapsed": isCollapsed, "data-is-displayed": true, id: "site-header", ref: headerRef },
|
|
2258
2353
|
sitewideBanner,
|
|
2259
|
-
React__default["default"].createElement(StyledHeader, {
|
|
2260
|
-
React__default["default"].createElement(StyledLeftGroup, {
|
|
2354
|
+
React__default["default"].createElement(StyledHeader, { "data-site-type": siteType },
|
|
2355
|
+
React__default["default"].createElement(StyledLeftGroup, { "data-site-type": siteType },
|
|
2261
2356
|
isMobile && (React__default["default"].createElement(HamburgerMenu, { menuItems: menuItems.filter((m) => !!m.link), isHomepage: isHomepage, projectType: projectType })),
|
|
2262
2357
|
logoComponent || (React__default["default"].createElement("a", { style: {
|
|
2263
2358
|
flexShrink: 0,
|
|
@@ -2265,17 +2360,16 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
|
|
|
2265
2360
|
React__default["default"].createElement("div", null,
|
|
2266
2361
|
React__default["default"].createElement(index$d.Logo, { style: {
|
|
2267
2362
|
display: 'flex',
|
|
2268
|
-
}, type: logoType, badge: locale === 'id-ID' && (React__default["default"].createElement("img", { src: index$
|
|
2269
|
-
!isMobile && (React__default["default"].createElement(React__default["default"].Fragment, null, siteType === 'marryBaby' ? (React__default["default"].createElement(NavigationMenu, { menuItems: menuItems, originalMenuItems: menuItems
|
|
2270
|
-
React__default["default"].createElement(StyledRightGroup, {
|
|
2271
|
-
!isMobile && siteType !== 'marryBaby' && (React__default["default"].createElement(NavigationMenu, { menuItems: menuItems.filter((m) => m.id !== 'ecom' && m.id !== 'care'), originalMenuItems: menuItems
|
|
2363
|
+
}, type: logoType, badge: locale === 'id-ID' && (React__default["default"].createElement("img", { src: index$2.CommonGAssets.getAssetPath('sehat-badge.png'), width: "56", height: "23", loading: "lazy" })), dateForSeasonal: new Date(), locale: locale, key: typeof window !== 'undefined' ? 'client' : 'server' })))),
|
|
2364
|
+
!isMobile && (React__default["default"].createElement(React__default["default"].Fragment, null, siteType === 'marryBaby' ? (React__default["default"].createElement(NavigationMenu, { menuItems: menuItems, originalMenuItems: menuItems })) : (enableSearchBar && (React__default["default"].createElement(NavigtionSearch, { siteType: siteType, projectType: projectType, isMobile: isMobile })))))),
|
|
2365
|
+
React__default["default"].createElement(StyledRightGroup, { "data-site-type": siteType },
|
|
2366
|
+
!isMobile && siteType !== 'marryBaby' && (React__default["default"].createElement(NavigationMenu, { menuItems: menuItems.filter((m) => m.id !== 'ecom' && m.id !== 'care'), originalMenuItems: menuItems })),
|
|
2272
2367
|
React__default["default"].createElement(StyledProfileNavGroup, null,
|
|
2273
2368
|
languageMenu,
|
|
2274
2369
|
enableNavChatbotAi && (React__default["default"].createElement(core.Box, { component: "a", href: `${normalizeLink.getCurrentBaseUrl(locale)}/ai-doctor`, "data-event-category": "Chatbot AI", "data-event-action": "Open", "data-event-label": "Hamburger Navigation", className: "ai-doctor-nav-item" },
|
|
2275
|
-
React__default["default"].createElement(StyleButtonAiChat, { variant: "tertiary", leftIcon: React__default["default"].createElement(other.ChatAi, { size: 18, color: "#2F8AF2" }), size: "md", className: "ai-doctor-btn" }, (_b = index$
|
|
2370
|
+
React__default["default"].createElement(StyleButtonAiChat, { variant: "tertiary", leftIcon: React__default["default"].createElement(other.ChatAi, { size: 18, color: "#2F8AF2" }), size: "md", className: "ai-doctor-btn" }, (_b = index$1.LOCALE_SPECS[locale]) === null || _b === void 0 ? void 0 :
|
|
2276
2371
|
_b.SITE_NAME,
|
|
2277
2372
|
" AI"))),
|
|
2278
|
-
slot,
|
|
2279
2373
|
React__default["default"].createElement(navigationProfileButton.NavigationProfileButton, { userInfo: userInfo, siteType: siteType, onLoginClick: onLoginClick || goToLogin,
|
|
2280
2374
|
// SSO_URL={normalizeLink(statics.SSO_URL)}
|
|
2281
2375
|
currentUrl: currentUrl, onLogout: onLogout, isLoading: isUserLoading, locale: locale, enableAppIntroPage: enableAppIntroPage, isMobile: isMobile }),
|
|
@@ -2302,9 +2396,9 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
|
|
|
2302
2396
|
};
|
|
2303
2397
|
const NavigtionSearch = ({ siteType, projectType, isMobile = false, isHomepage = false, isRedirectSearchPage = false, }) => (React__default["default"].createElement(DisplayWrapper, { mediaQueryKey: "mbUp", className: `${siteType === 'marryBaby' ? 'marry-baby' : ''} ${isHomepage ? 'block-show' : ''}` },
|
|
2304
2398
|
React__default["default"].createElement(SearchInput, { id: "desktop", projectType: projectType, isMobile: isMobile, isHomepage: isHomepage, isRedirectSearchPage: isRedirectSearchPage })));
|
|
2305
|
-
const NavigationMenu = ({ menuItems, originalMenuItems,
|
|
2306
|
-
const { siteType, locale, ssrMenuContent: { categories, healthTools, care, together, videos }, } = React.useContext(
|
|
2307
|
-
return (React__default["default"].createElement(DisplayWrapper, {
|
|
2399
|
+
const NavigationMenu = ({ menuItems, originalMenuItems, }) => {
|
|
2400
|
+
const { siteType, locale, ssrMenuContent: { categories, healthTools, care, together, videos }, } = React.useContext(NavigationContext);
|
|
2401
|
+
return (React__default["default"].createElement(DisplayWrapper, { mediaQueryKey: "mbUp", style: { height: '100%' } },
|
|
2308
2402
|
React__default["default"].createElement(StyledWrapMenuItems, { "data-site-type": siteType }, menuItems === null || menuItems === void 0 ? void 0 : menuItems.map((menuItem, index) => (React__default["default"].createElement(ItemMenu, { key: index, item: menuItem, menu: menuItem.popupType === 'categories' ? (React__default["default"].createElement(MenuCategoriesList, { categories: categories === null || categories === void 0 ? void 0 : categories.items, spotlightsList: categories === null || categories === void 0 ? void 0 : categories.spotlights })) : menuItem.popupType === 'tools' ? (React__default["default"].createElement(MenuHealthToolsList, { locale: locale, healthTools: healthTools === null || healthTools === void 0 ? void 0 : healthTools.items, spotlightHealthTools: healthTools === null || healthTools === void 0 ? void 0 : healthTools.spotlights })) : menuItem.popupType === 'together' ? (React__default["default"].createElement(MenuCommunitiesList, { communities: together === null || together === void 0 ? void 0 : together.items, spotlights: together === null || together === void 0 ? void 0 : together.spotlights })) : menuItem.popupType === 'care' ? (React__default["default"].createElement(MenuCareList, { careSpecialties: care === null || care === void 0 ? void 0 : care.items, spotlights: care === null || care === void 0 ? void 0 : care.spotlights })) : menuItem.popupType === 'video' ? (React__default["default"].createElement(MenuVideoList, { spotlightsList: videos === null || videos === void 0 ? void 0 : videos.spotlights })) : menuItem.popupType === 'other' ? (React__default["default"].createElement(MenuViewMore, { menuItems: originalMenuItems })) : null }))))));
|
|
2309
2403
|
};
|
|
2310
2404
|
|
|
@@ -2368,7 +2462,7 @@ const useHeaderHeight = ({ hasSponsoredBanners, isSponsored, isShowingSiteWideBa
|
|
|
2368
2462
|
};
|
|
2369
2463
|
|
|
2370
2464
|
const useInsider = () => {
|
|
2371
|
-
const { isFirstLogin, userState } = React.useContext(
|
|
2465
|
+
const { isFirstLogin, userState } = React.useContext(NavigationContext);
|
|
2372
2466
|
const { userInfo } = userState;
|
|
2373
2467
|
React.useEffect(() => {
|
|
2374
2468
|
if (userInfo === null || userInfo === void 0 ? void 0 : userInfo.id) {
|
|
@@ -2405,8 +2499,8 @@ const useInsider = () => {
|
|
|
2405
2499
|
};
|
|
2406
2500
|
|
|
2407
2501
|
const useNavServices = () => {
|
|
2408
|
-
const { t } = index$
|
|
2409
|
-
const { siteType, locale, configs: { enableNavDiscover, enableNavHealthTools, enableNavCare, enableNavTogether, enableNavEcom, enableNavVideo, enableAppIntroPage, statics, }, } = React.useContext(
|
|
2502
|
+
const { t } = index$3.useTranslations();
|
|
2503
|
+
const { siteType, locale, configs: { enableNavDiscover, enableNavHealthTools, enableNavCare, enableNavTogether, enableNavEcom, enableNavVideo, enableAppIntroPage, statics, }, } = React.useContext(NavigationContext);
|
|
2410
2504
|
const isMarryBaby = siteType === 'marryBaby';
|
|
2411
2505
|
const enableNavViewMore = enableAppIntroPage || enableNavCare || enableNavEcom;
|
|
2412
2506
|
const services = React.useMemo(() => {
|
|
@@ -2419,8 +2513,8 @@ const useNavServices = () => {
|
|
|
2419
2513
|
link: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}/categories/`,
|
|
2420
2514
|
niceName: '',
|
|
2421
2515
|
thumbnail: isMarryBaby
|
|
2422
|
-
? index$
|
|
2423
|
-
: index$
|
|
2516
|
+
? index$2.CommonGAssets.getAssetPath('categories-mb.svg')
|
|
2517
|
+
: index$2.CommonGAssets.getAssetPath('nav-icons/discover.svg'),
|
|
2424
2518
|
popupType: 'categories',
|
|
2425
2519
|
});
|
|
2426
2520
|
enableNavVideo &&
|
|
@@ -2429,17 +2523,17 @@ const useNavServices = () => {
|
|
|
2429
2523
|
id: 'video',
|
|
2430
2524
|
link: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}/videos/`,
|
|
2431
2525
|
niceName: '',
|
|
2432
|
-
thumbnail: index$
|
|
2526
|
+
thumbnail: index$2.CommonGAssets.getAssetPath('nav-icons/video.svg'),
|
|
2433
2527
|
popupType: 'video',
|
|
2434
2528
|
});
|
|
2435
2529
|
enableNavHealthTools &&
|
|
2436
2530
|
_services.push({
|
|
2437
2531
|
name: t('home.navigator.menuItem.healthTools'),
|
|
2438
2532
|
id: 'tools',
|
|
2439
|
-
link: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}${((_a = index$
|
|
2533
|
+
link: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}${((_a = index$1.STATIC_PAGES[locale]) === null || _a === void 0 ? void 0 : _a.HEALTH_TOOLS) || ''}`,
|
|
2440
2534
|
thumbnail: isMarryBaby
|
|
2441
|
-
? index$
|
|
2442
|
-
: index$
|
|
2535
|
+
? index$2.CommonGAssets.getAssetPath('healthtools-mb.svg')
|
|
2536
|
+
: index$2.CommonGAssets.getAssetPath('nav-icons/health-tools.svg'),
|
|
2443
2537
|
popupType: 'tools',
|
|
2444
2538
|
});
|
|
2445
2539
|
enableNavTogether &&
|
|
@@ -2448,8 +2542,8 @@ const useNavServices = () => {
|
|
|
2448
2542
|
id: 'together',
|
|
2449
2543
|
link: normalizeLink.normalizeLinkSlash(statics.TOGETHER_URL_FE + '/'),
|
|
2450
2544
|
thumbnail: isMarryBaby
|
|
2451
|
-
? index$
|
|
2452
|
-
: index$
|
|
2545
|
+
? index$2.CommonGAssets.getAssetPath('community-mb.svg')
|
|
2546
|
+
: index$2.CommonGAssets.getAssetPath('nav-icons/community.svg'),
|
|
2453
2547
|
popupType: 'together',
|
|
2454
2548
|
});
|
|
2455
2549
|
enableNavEcom &&
|
|
@@ -2457,7 +2551,7 @@ const useNavServices = () => {
|
|
|
2457
2551
|
name: t('home.navigator.menuItem.helloEcom'),
|
|
2458
2552
|
id: 'ecom',
|
|
2459
2553
|
link: normalizeLink.normalizeLinkSlash(statics.HOME_PAGE_URL + '/shop'),
|
|
2460
|
-
thumbnail: index$
|
|
2554
|
+
thumbnail: index$2.CommonGAssets.getAssetPath('nav-icons/shop.svg'),
|
|
2461
2555
|
popupType: null,
|
|
2462
2556
|
});
|
|
2463
2557
|
enableNavCare &&
|
|
@@ -2465,7 +2559,7 @@ const useNavServices = () => {
|
|
|
2465
2559
|
name: t('home.navigator.menuItem.helloCare'),
|
|
2466
2560
|
id: 'care',
|
|
2467
2561
|
link: normalizeLink.normalizeLinkSlash(statics.HOME_PAGE_URL + '/care'),
|
|
2468
|
-
thumbnail: index$
|
|
2562
|
+
thumbnail: index$2.CommonGAssets.getAssetPath('nav-icons/care.svg'),
|
|
2469
2563
|
popupType: locale === 'id-ID' ? 'care' : null,
|
|
2470
2564
|
});
|
|
2471
2565
|
enableNavViewMore &&
|
|
@@ -2514,7 +2608,7 @@ const StyledContainer = styled__default["default"].div `
|
|
|
2514
2608
|
|
|
2515
2609
|
const _NavigationV2 = (props) => {
|
|
2516
2610
|
var _a, _b;
|
|
2517
|
-
const { isMobile, locale, onTopBarAppears, languageOptions, sponsorComponent, sitewideBanner, sitewideBannerShown, className, logoComponent, subHead, projectType,
|
|
2611
|
+
const { isMobile, locale, onTopBarAppears, languageOptions, sponsorComponent, sitewideBanner, sitewideBannerShown, className, logoComponent, subHead, projectType, } = props;
|
|
2518
2612
|
const services = useNavServices();
|
|
2519
2613
|
useInsider();
|
|
2520
2614
|
const isShowingSiteWideBanner = sitewideBannerShown && !!sitewideBanner;
|
|
@@ -2532,11 +2626,11 @@ const _NavigationV2 = (props) => {
|
|
|
2532
2626
|
'--header-bottom': headerBottom + 'px',
|
|
2533
2627
|
}, className: className },
|
|
2534
2628
|
React__default["default"].createElement("section", { ref: headerRef },
|
|
2535
|
-
React__default["default"].createElement(NavigationBar, { menuItems: services, onTopBarAppears: onTopBarAppears, logoComponent: logoComponent, subHead: subHead, projectType: projectType, languageMenu: React__default["default"].createElement(index$
|
|
2629
|
+
React__default["default"].createElement(NavigationBar, { menuItems: services, onTopBarAppears: onTopBarAppears, logoComponent: logoComponent, subHead: subHead, projectType: projectType, languageMenu: React__default["default"].createElement(index$6.LanguageSwitcher, { languageOptions: languageOptions, locale: locale }) }))));
|
|
2536
2630
|
};
|
|
2537
2631
|
const NavigationV2 = (props) => {
|
|
2538
2632
|
const propsWithDefaultValues = Object.assign({ siteType: 'helloSites', projectType: 'discover', locale: 'vi-VN', activeMenuService: 'categories', ssrMenuContent: {} }, props);
|
|
2539
|
-
return (React__default["default"].createElement(
|
|
2633
|
+
return (React__default["default"].createElement(NavigationProvider, Object.assign({}, propsWithDefaultValues),
|
|
2540
2634
|
React__default["default"].createElement(_NavigationV2, Object.assign({}, propsWithDefaultValues))));
|
|
2541
2635
|
};
|
|
2542
2636
|
const getNavMenuContent = (locale) => tslib_es6.__awaiter(void 0, void 0, void 0, function* () {
|
|
@@ -2567,7 +2661,7 @@ const getNavMenuContent = (locale) => tslib_es6.__awaiter(void 0, void 0, void 0
|
|
|
2567
2661
|
};
|
|
2568
2662
|
}
|
|
2569
2663
|
catch (_1) { }
|
|
2570
|
-
if (isMarryBaby || index$
|
|
2664
|
+
if (isMarryBaby || index$1.TOGETHER_LOCALES.includes(locale)) {
|
|
2571
2665
|
try {
|
|
2572
2666
|
const [communities, spotlightPosts] = yield Promise.all([
|
|
2573
2667
|
fetch(normalizeLink.normalizeLinkSlash(`${normalizeLink.getTogetherApiDomain()}/api/v1/community?website_url=https://${constantsDomainLocales.domainLocales[locale]}`)).then((res) => res.json()),
|
|
@@ -2580,7 +2674,7 @@ const getNavMenuContent = (locale) => tslib_es6.__awaiter(void 0, void 0, void 0
|
|
|
2580
2674
|
}
|
|
2581
2675
|
catch (_2) { }
|
|
2582
2676
|
}
|
|
2583
|
-
if (index$
|
|
2677
|
+
if (index$1.CARE_LOCALES.includes(locale)) {
|
|
2584
2678
|
try {
|
|
2585
2679
|
const [specialties, hospitals] = yield Promise.all([
|
|
2586
2680
|
fetch(normalizeLink.normalizeLinkSlash(normalizeLink.getCareApiDomain() +
|