@hhgtech/hhg-components 1.29.496 → 1.29.497-beta-1
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-40395879.js → InputDate-bd1c0d86.js} +5 -5
- package/build/{LastPeriod-57e55801.js → LastPeriod-e1249671.js} +1 -1
- package/build/{MobileBottomNavigationIcon-7bd962e7.js → MobileBottomNavigationIcon-3cd46e95.js} +3 -3
- package/build/{Spinner-fca99459.js → Spinner-7b1c8e04.js} +1 -1
- package/build/{WhatsApp-2bb3f3f9.js → WhatsApp-0070ec6b.js} +1 -1
- package/build/adapters.js +20 -20
- package/build/atoms.js +50 -50
- package/build/babyGrowth.js +86 -86
- package/build/cache.js +2 -2
- package/build/care.js +18 -18
- package/build/careBookingSearchBar.js +14 -14
- package/build/careBookingSearchBarV2.js +15 -15
- package/build/components/atoms/genderOptionControl/index.d.ts +3 -2
- package/build/components/atoms/genderOptionControl/index.styles.d.ts +2 -0
- package/build/components/molecules/list/ListProvider.d.ts +1 -1
- package/build/components/molecules/list/type.d.ts +3 -0
- package/build/components/molecules/list/useList.d.ts +5 -2
- package/build/components/navigationV2/components/atoms/ClosePopupIcon.d.ts +2 -1
- package/build/components/navigationV2/components/atoms/HamburgerIcon.d.ts +2 -1
- package/build/components/navigationV2/components/atoms/ItemNav/index.d.ts +2 -1
- package/build/components/navigationV2/components/atoms/searchInput/index.d.ts +2 -1
- package/build/components/navigationV2/components/molecules/navigationBar/hamburgerMenu/index.d.ts +2 -1
- package/build/components/navigationV2/components/molecules/navigationBar/index.d.ts +4 -2
- package/build/components/navigationV2/components/molecules/navigationBar/index.styled.d.ts +4 -0
- package/build/components/navigationV2/index.d.ts +1 -0
- package/build/components/organisms/navigationProfileButton/index.d.ts +2 -1
- package/build/components/organisms/navigationProfileButton/index.styled.d.ts +2 -0
- package/build/components.js +104 -104
- package/build/{constants-87fc7417.js → constants-a38e34d7.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-15f67a58.js → core-3d992220.js} +1 -1
- package/build/{dataTransform-a9b22fa9.js → dataTransform-97e713e9.js} +1 -1
- package/build/ecom.js +5 -5
- package/build/{editor-240c0a55.js → editor-712c4ea8.js} +11 -11
- package/build/embeddedHeathToolCards_babyGrowth.js +25 -25
- package/build/embeddedHeathToolCards_babyPoop.js +22 -22
- package/build/embeddedHeathToolCards_babyVaccine.js +24 -24
- package/build/embeddedHeathToolCards_bmi_bmi.js +27 -27
- package/build/embeddedHeathToolCards_bmrBmr.js +27 -27
- package/build/embeddedHeathToolCards_dueDate_dueDate.js +24 -24
- package/build/embeddedHeathToolCards_ovulation_ovulation.js +24 -24
- package/build/embeddedHeathToolCards_pwg_pwg.js +28 -28
- package/build/embeddedHeathToolCards_targetHeartRate.js +29 -29
- package/build/esm/{InputDate-681b65ca.js → InputDate-6dc798b1.js} +5 -5
- package/build/esm/{LastPeriod-71c3eb8b.js → LastPeriod-7387260d.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-70d70690.js → MobileBottomNavigationIcon-40e0221a.js} +3 -3
- package/build/esm/{Spinner-49b44051.js → Spinner-edecbc8a.js} +1 -1
- package/build/esm/{WhatsApp-cfb7b5a3.js → WhatsApp-9fd58c1e.js} +1 -1
- package/build/esm/adapters.js +20 -20
- package/build/esm/atoms.js +50 -50
- package/build/esm/babyGrowth.js +86 -86
- package/build/esm/cache.js +2 -2
- package/build/esm/care.js +18 -18
- package/build/esm/careBookingSearchBar.js +14 -14
- package/build/esm/careBookingSearchBarV2.js +15 -15
- package/build/esm/components/atoms/genderOptionControl/index.d.ts +3 -2
- package/build/esm/components/atoms/genderOptionControl/index.styles.d.ts +2 -0
- package/build/esm/components/molecules/list/ListProvider.d.ts +1 -1
- package/build/esm/components/molecules/list/type.d.ts +3 -0
- package/build/esm/components/molecules/list/useList.d.ts +5 -2
- package/build/esm/components/navigationV2/components/atoms/ClosePopupIcon.d.ts +2 -1
- package/build/esm/components/navigationV2/components/atoms/HamburgerIcon.d.ts +2 -1
- package/build/esm/components/navigationV2/components/atoms/ItemNav/index.d.ts +2 -1
- package/build/esm/components/navigationV2/components/atoms/searchInput/index.d.ts +2 -1
- package/build/esm/components/navigationV2/components/molecules/navigationBar/hamburgerMenu/index.d.ts +2 -1
- package/build/esm/components/navigationV2/components/molecules/navigationBar/index.d.ts +4 -2
- package/build/esm/components/navigationV2/components/molecules/navigationBar/index.styled.d.ts +4 -0
- package/build/esm/components/navigationV2/index.d.ts +1 -0
- package/build/esm/components/organisms/navigationProfileButton/index.d.ts +2 -1
- package/build/esm/components/organisms/navigationProfileButton/index.styled.d.ts +2 -0
- package/build/esm/components.js +104 -104
- package/build/esm/{constants-14614e90.js → constants-be66f840.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-35b6ebb6.js → core-4afe186f.js} +1 -1
- package/build/esm/{dataTransform-c297d3ed.js → dataTransform-5ce6872f.js} +2 -2
- package/build/esm/ecom.js +5 -5
- package/build/esm/{editor-27780afe.js → editor-1439e643.js} +11 -11
- package/build/esm/embeddedHeathToolCards_babyGrowth.js +25 -25
- package/build/esm/embeddedHeathToolCards_babyPoop.js +22 -22
- package/build/esm/embeddedHeathToolCards_babyVaccine.js +24 -24
- package/build/esm/embeddedHeathToolCards_bmi_bmi.js +27 -27
- package/build/esm/embeddedHeathToolCards_bmrBmr.js +27 -27
- package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +24 -24
- package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +24 -24
- package/build/esm/embeddedHeathToolCards_pwg_pwg.js +28 -28
- package/build/esm/embeddedHeathToolCards_targetHeartRate.js +29 -29
- package/build/esm/footer.js +22 -22
- package/build/esm/gAssets.js +2 -2
- package/build/esm/{healthTools-798da76e.js → healthTools-f73c94c2.js} +1 -1
- package/build/esm/healthToolsCardWrapper.js +20 -20
- package/build/esm/healthToolsForm.js +35 -35
- package/build/esm/hooks.js +13 -13
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/icons/HamburgerWhite.d.ts +4 -0
- package/build/esm/icons/LoginBlueWhite.d.ts +4 -0
- package/build/esm/icons/StarPair.d.ts +4 -0
- package/build/esm/icons/UserPlain.d.ts +4 -0
- package/build/esm/icons/index.d.ts +5 -1
- package/build/esm/{index-1f66e012.js → index-012af66b.js} +3 -3
- package/build/esm/{index-3145e780.js → index-067b9b70.js} +3 -3
- package/build/esm/{index-b605df78.js → index-0e48fc2c.js} +4 -4
- package/build/esm/{index-91c071c1.js → index-13398579.js} +2 -2
- package/build/esm/{index-ddc8f8b5.js → index-1346f942.js} +2 -2
- package/build/esm/{index-c2dbcd2e.js → index-1568f809.js} +14 -14
- package/build/esm/{index-536e3608.js → index-19bb2662.js} +1 -1
- package/build/esm/{index-4f1b85b2.js → index-1d93613f.js} +2 -2
- package/build/esm/{index-499af97a.js → index-25786055.js} +3 -3
- package/build/esm/{index-48d71bca.js → index-2b530684.js} +19 -19
- package/build/esm/{index-f35a0aab.js → index-3067e2a6.js} +2 -2
- package/build/esm/{index-a80c6d0a.js → index-31ed4e1e.js} +15 -16
- package/build/esm/{index-19384c38.js → index-32968531.js} +7 -7
- package/build/esm/{index-d123a4f2.js → index-345a4b12.js} +11 -11
- package/build/esm/{index-a673e20b.js → index-34c2a007.js} +3 -3
- package/build/esm/{index-8fc02026.js → index-35beecf8.js} +21 -21
- package/build/esm/{index-c76e8d38.js → index-39dc2e0a.js} +25 -25
- package/build/esm/{index-f43a3862.js → index-3be39c36.js} +1 -1
- package/build/esm/{index-b6814580.js → index-3d13da83.js} +32 -32
- package/build/esm/{index-ab6aebca.js → index-41aa9ddd.js} +2 -2
- package/build/esm/{index-2eec4eac.js → index-4ab9fdb1.js} +15 -15
- package/build/esm/{index-1053ec90.js → index-4c215b70.js} +2 -2
- package/build/esm/{index-d4e72273.js → index-4c83df72.js} +2 -2
- package/build/esm/{index-cad00bb9.js → index-4ce6fabc.js} +2 -2
- package/build/esm/{index-71d897a6.js → index-51d2d909.js} +16 -16
- package/build/esm/{index-9be53398.js → index-52809c2d.js} +2 -2
- package/build/esm/{index-ded62cac.js → index-605221de.js} +1 -1
- package/build/esm/{index-6450a2e2.js → index-6297b340.js} +6 -6
- package/build/esm/{index-8d72eb61.js → index-6498713c.js} +2 -2
- package/build/esm/{index-e17b03e2.js → index-672a4962.js} +2 -2
- package/build/esm/{index-8704def0.js → index-687eb652.js} +2 -2
- package/build/esm/{index-e89d558b.js → index-6989dc51.js} +5 -5
- package/build/esm/{index-85e1e6dd.js → index-699981c0.js} +3 -3
- package/build/esm/{index-8772629c.js → index-7c0bbc62.js} +19 -18
- package/build/esm/{index-dfa2ab61.js → index-83cc21e5.js} +16 -16
- package/build/esm/{index-cda66dcc.js → index-88a0ab48.js} +6 -6
- package/build/esm/{index-12860aa8.js → index-91e3ecc4.js} +9 -9
- package/build/esm/{index-a72fae58.js → index-94cda95e.js} +9 -9
- package/build/esm/{index-515a8bf9.js → index-97f62d2d.js} +8 -8
- package/build/esm/{index-e1d9dcf4.js → index-9916d169.js} +3 -3
- package/build/esm/{index-36e01fa0.js → index-99eb57b5.js} +16 -16
- package/build/esm/{index-780bb0b8.js → index-9a1ce783.js} +88 -68
- package/build/esm/{index-3a613204.js → index-a3efe9db.js} +22 -22
- package/build/esm/{index-04de81a1.js → index-a4b3c754.js} +3 -3
- package/build/esm/{index-74e651f1.js → index-ab6d28ec.js} +7 -7
- package/build/esm/{index-6b1a189b.js → index-acd0a9ec.js} +1 -1
- package/build/esm/{index-cbd45576.js → index-b43a6520.js} +6 -6
- package/build/esm/{index-22d04008.js → index-bae065ec.js} +21 -21
- package/build/esm/{index-ec042aba.js → index-bb3e96ac.js} +2 -2
- package/build/esm/{index-e0b5cd10.js → index-bbde8174.js} +2 -2
- package/build/esm/{index-b867b186.js → index-c252f71b.js} +15 -15
- package/build/esm/{index-00758edc.js → index-cb5727c3.js} +13 -13
- package/build/esm/{index-9c12c5dd.js → index-cfca9657.js} +17 -17
- package/build/esm/{index-087212ca.js → index-d132b362.js} +3 -3
- package/build/esm/{index-d0ebcc01.js → index-d16c86f4.js} +1 -1
- package/build/esm/{index-de7b7ca1.js → index-d1e34aa7.js} +18 -18
- package/build/esm/{index-eac427ec.js → index-d26bd515.js} +1 -1
- package/build/esm/{index-39de6861.js → index-d26e218d.js} +14 -14
- package/build/esm/{index-5a9d34fd.js → index-d6205f13.js} +18 -18
- package/build/esm/{index-139bf475.js → index-dc502110.js} +5 -5
- package/build/esm/{index-8bc015a0.js → index-e019f5fb.js} +6 -6
- package/build/esm/{index-5f6e8655.js → index-e0d14bfa.js} +54 -31
- package/build/esm/{index-29f7e8fa.js → index-e442c24f.js} +1 -1
- package/build/esm/{index-2ba9592e.js → index-e91180b3.js} +2 -2
- package/build/esm/{index-4511d7cc.js → index-e9db5383.js} +2 -2
- package/build/esm/{index-7f128d1d.js → index-e9e6500d.js} +14 -14
- package/build/esm/{index-fe96867c.js → index-eda168ff.js} +3 -3
- package/build/esm/{index-f374f9f1.js → index-eea761b6.js} +3 -3
- package/build/esm/{index-555b17ce.js → index-f0e639a3.js} +4 -4
- package/build/esm/{index-3b792d11.js → index-f41edc13.js} +32 -32
- package/build/esm/{index-57999016.js → index-f45afe1f.js} +16 -16
- package/build/esm/{index-9c5182cb.js → index-f8d9f912.js} +28 -17
- package/build/esm/index.js +130 -130
- package/build/esm/{labelSorting-db939b1e.js → labelSorting-48999140.js} +4 -4
- package/build/esm/lead.js +35 -35
- package/build/esm/{logoIcon-a507591d.js → logoIcon-db284dca.js} +2 -2
- package/build/esm/mantine.js +27 -27
- package/build/esm/misc.js +19 -19
- package/build/esm/miscGetDynamicHealthTool.js +4 -4
- package/build/esm/miscGetSocialList.js +8 -8
- package/build/esm/miscScreenSizeContext.js +1 -1
- package/build/esm/mobileBottomNavigation.js +5 -5
- package/build/esm/mobileBottomNavigationIcon.js +5 -5
- package/build/esm/molecules.js +78 -78
- package/build/esm/moleculesArticleCard.js +6 -6
- package/build/esm/moleculesArticleCardV2.js +17 -17
- package/build/esm/navigation.js +47 -47
- package/build/esm/navigationLogoutPopup.js +11 -11
- package/build/esm/navigationProfileButton.js +27 -27
- package/build/esm/onboardingV2.js +30 -30
- package/build/esm/organisms.js +57 -57
- package/build/esm/{post-dabc5031.js → post-d14aa171.js} +2 -2
- package/build/esm/profileNavigation.js +20 -20
- package/build/esm/progressBar.js +1 -1
- package/build/esm/pwg.js +23 -23
- package/build/esm/ssoV2.js +31 -31
- package/build/esm/{store-4d17e18f.js → store-8e1ed91e.js} +3 -3
- package/build/esm/subot.js +40 -40
- package/build/esm/surveyOrPremiumBanner.js +34 -34
- package/build/esm/surveyQuestionCard.js +11 -11
- package/build/esm/{surveyThankyouCard-ec9f184e.js → surveyThankyouCard-647f6705.js} +5 -5
- package/build/esm/together.js +57 -57
- package/build/esm/togetherApiUtils.js +4 -4
- package/build/esm/togetherAtoms.js +31 -31
- package/build/esm/togetherComponentGlobalContext.js +4 -4
- package/build/esm/togetherMolecules.js +52 -52
- package/build/esm/togetherMoleculesCardAuthor.js +29 -29
- package/build/esm/togetherMoleculesPostImagePreview.js +11 -11
- package/build/esm/togetherMoleculesProfileDetail.js +40 -40
- package/build/esm/togetherOrganisms.js +51 -51
- package/build/esm/togetherRichTextEditor.js +18 -18
- package/build/esm/togetherShareBox.js +10 -10
- package/build/esm/{translationsProvider-e6002532.js → translationsProvider-3f8d38d7.js} +1 -1
- package/build/esm/{treePopoverMenu-2b486995.js → treePopoverMenu-a57db3d6.js} +19 -19
- package/build/esm/types.js +2 -2
- package/build/esm/{useHealthToolCache-52bc22e9.js → useHealthToolCache-a8425d13.js} +1 -1
- package/build/esm/{usePhoneValidator-c02de115.js → usePhoneValidator-090f18af.js} +5 -5
- package/build/esm/{usePlacesAutocomplete-52b5b555.js → usePlacesAutocomplete-825edea7.js} +1 -1
- package/build/esm/useTogetherAuthRequiredAction.js +10 -10
- package/build/esm/{utils-d70f5012.js → utils-02ed0a06.js} +4 -4
- package/build/esm/{utils-0bb95423.js → utils-48427658.js} +2 -2
- package/build/esm/{utils-06563089.js → utils-9a2875c4.js} +5 -5
- package/build/esm/{utils-2993011b.js → utils-ec21ce45.js} +2 -2
- package/build/esm/vaccination.js +22 -22
- package/build/footer.js +22 -22
- package/build/gAssets.js +2 -2
- package/build/{healthTools-211268fd.js → healthTools-505267ba.js} +1 -1
- package/build/healthToolsCardWrapper.js +20 -20
- package/build/healthToolsForm.js +35 -35
- package/build/hooks.js +13 -13
- package/build/i18n.js +2 -2
- package/build/i18nV2.js +1 -1
- package/build/icons/HamburgerWhite.d.ts +4 -0
- package/build/icons/LoginBlueWhite.d.ts +4 -0
- package/build/icons/StarPair.d.ts +4 -0
- package/build/icons/UserPlain.d.ts +4 -0
- package/build/icons/index.d.ts +5 -1
- package/build/{index-2c6d35dc.js → index-0efc5faa.js} +7 -7
- package/build/{index-e4ef166f.js → index-1375b247.js} +22 -22
- package/build/{index-6762ef5e.js → index-25fde662.js} +1 -1
- package/build/{index-04143336.js → index-3428669c.js} +1 -1
- package/build/{index-d001a723.js → index-3609d57b.js} +16 -16
- package/build/{index-31faec91.js → index-397b8d0f.js} +2 -2
- package/build/{index-7a83eea3.js → index-3bc21bdc.js} +54 -31
- package/build/{index-3ea75c60.js → index-3bcf22f4.js} +2 -2
- package/build/{index-2a2074fd.js → index-3d9ffee7.js} +2 -2
- package/build/{index-606729ac.js → index-430edbe3.js} +3 -3
- package/build/{index-5a54147a.js → index-47c14c0e.js} +8 -8
- package/build/{index-658fb4d5.js → index-4b974de2.js} +16 -16
- package/build/{index-1031358f.js → index-4b9a5056.js} +3 -3
- package/build/{index-c801ffa4.js → index-4c552f06.js} +15 -15
- package/build/{index-2b79ceb9.js → index-4df9ce95.js} +3 -3
- package/build/{index-0c523e73.js → index-504dcb48.js} +2 -2
- package/build/{index-45d5e9da.js → index-581d0fd6.js} +2 -2
- package/build/{index-c576b5f4.js → index-58de8634.js} +25 -25
- package/build/{index-1ad4f90a.js → index-59231ca8.js} +16 -16
- package/build/{index-ac3bc4f0.js → index-5d996ad7.js} +6 -6
- package/build/{index-363a0347.js → index-60fe0bf6.js} +1 -1
- package/build/{index-d6451452.js → index-646cb7ea.js} +13 -13
- package/build/{index-1a4ce97d.js → index-681e9bc5.js} +2 -2
- package/build/{index-d1026f64.js → index-694ba566.js} +66 -36
- package/build/{index-7c9dd7eb.js → index-69ee398b.js} +2 -2
- package/build/{index-bb28dfb2.js → index-73d4ac29.js} +16 -16
- package/build/{index-9fc9836c.js → index-7956984b.js} +2 -2
- package/build/{index-203a18d6.js → index-7c009561.js} +3 -3
- package/build/{index-3e1b0155.js → index-7d005ef1.js} +11 -11
- package/build/{index-ad85bc2a.js → index-7f6fb293.js} +15 -16
- package/build/{index-56e9321f.js → index-80445796.js} +4 -4
- package/build/{index-d02b5aae.js → index-882a7077.js} +5 -5
- package/build/{index-aa5fe0cf.js → index-8f7abe3f.js} +8 -8
- package/build/{index-55bba4c1.js → index-9024d0b6.js} +32 -32
- package/build/{index-42c9aabb.js → index-91fb08fa.js} +6 -6
- package/build/{index-39948eb2.js → index-92eee866.js} +32 -32
- package/build/{index-238dc63b.js → index-93e0a822.js} +2 -2
- package/build/{index-4ae318f3.js → index-94032e19.js} +7 -7
- package/build/{index-62bb4119.js → index-96350253.js} +19 -18
- package/build/{index-8989bcfa.js → index-9ad7a046.js} +1 -1
- package/build/{index-297330d0.js → index-9aea2543.js} +2 -2
- package/build/{index-3335bd7f.js → index-9c4500a5.js} +1 -1
- package/build/{index-edb66172.js → index-ab92a90b.js} +3 -3
- package/build/{index-9770101a.js → index-b007dbd1.js} +5 -5
- package/build/{index-fd168366.js → index-b0db283b.js} +14 -14
- package/build/{index-d1927606.js → index-b52e902e.js} +2 -2
- package/build/{index-90333f06.js → index-b5ed03a2.js} +14 -14
- package/build/{index-90a00d39.js → index-ba8ee8d9.js} +1 -1
- package/build/{index-98d4c8cc.js → index-bc05091e.js} +18 -18
- package/build/{index-619ae643.js → index-c16d64a1.js} +18 -18
- package/build/{index-de6a61ed.js → index-c534bd00.js} +21 -21
- package/build/{index-84aef465.js → index-c7675c6f.js} +3 -3
- package/build/{index-3aecf24f.js → index-c9d2d6ff.js} +15 -15
- package/build/{index-5013f4ef.js → index-ca02f1d5.js} +2 -2
- package/build/{index-eaeac711.js → index-d0b8e9fb.js} +6 -6
- package/build/{index-245bdaf2.js → index-d2ff8eb5.js} +9 -9
- package/build/{index-18a618a2.js → index-d4532965.js} +6 -6
- package/build/{index-cf9827de.js → index-d48617c6.js} +3 -3
- package/build/{index-f5c5bb16.js → index-d9c576c7.js} +19 -19
- package/build/{index-5a332e06.js → index-dc281def.js} +3 -3
- package/build/{index-d05c9bbf.js → index-dc669703.js} +14 -14
- package/build/{index-dcfb6efd.js → index-e01fbdde.js} +2 -2
- package/build/{index-07e57da1.js → index-e6483982.js} +2 -2
- package/build/{index-0c251ebc.js → index-e66aba1c.js} +3 -3
- package/build/{index-89e53ea4.js → index-e96282b1.js} +4 -4
- package/build/{index-fed20e0b.js → index-ed0d4334.js} +21 -21
- package/build/{index-0ea4630a.js → index-edcde52a.js} +378 -339
- package/build/{index-89912766.js → index-f3811123.js} +2 -2
- package/build/{index-63548307.js → index-f403b3d7.js} +2 -2
- package/build/{index-ce552879.js → index-f7fbf7a2.js} +1 -1
- package/build/{index-17139f0e.js → index-f9ef8d8d.js} +2 -2
- package/build/{index-c5ceb4d4.js → index-fc636244.js} +17 -17
- package/build/index.js +138 -134
- package/build/{labelSorting-a0306cce.js → labelSorting-e6e86743.js} +4 -4
- package/build/lead.js +35 -35
- package/build/{logoIcon-a7da9e79.js → logoIcon-c50193af.js} +2 -2
- package/build/mantine.js +25 -25
- package/build/misc.js +19 -19
- package/build/miscGetDynamicHealthTool.js +4 -4
- package/build/miscGetSocialList.js +8 -8
- package/build/miscScreenSizeContext.js +1 -1
- package/build/mobileBottomNavigation.js +5 -5
- package/build/mobileBottomNavigationIcon.js +5 -5
- package/build/molecules.js +78 -78
- package/build/moleculesArticleCard.js +6 -6
- package/build/moleculesArticleCardV2.js +17 -17
- package/build/navigation.js +47 -47
- package/build/navigationLogoutPopup.js +11 -11
- package/build/navigationProfileButton.js +27 -27
- package/build/onboardingV2.js +29 -29
- package/build/organisms.js +57 -57
- package/build/{post-5e529e6d.js → post-2d0beebb.js} +2 -2
- package/build/profileNavigation.js +20 -20
- package/build/progressBar.js +1 -1
- package/build/pwg.js +23 -23
- package/build/ssoV2.js +29 -29
- package/build/{store-216083ce.js → store-16335444.js} +3 -3
- package/build/subot.js +39 -39
- package/build/surveyOrPremiumBanner.js +34 -34
- package/build/surveyQuestionCard.js +11 -11
- package/build/{surveyThankyouCard-33188017.js → surveyThankyouCard-c60b3d01.js} +5 -5
- package/build/together.js +57 -57
- package/build/togetherApiUtils.js +4 -4
- package/build/togetherAtoms.js +31 -31
- package/build/togetherComponentGlobalContext.js +4 -4
- package/build/togetherMolecules.js +52 -52
- package/build/togetherMoleculesCardAuthor.js +29 -29
- package/build/togetherMoleculesPostImagePreview.js +11 -11
- package/build/togetherMoleculesProfileDetail.js +40 -40
- package/build/togetherOrganisms.js +51 -51
- package/build/togetherRichTextEditor.js +18 -18
- package/build/togetherShareBox.js +10 -10
- package/build/{translationsProvider-91475cb1.js → translationsProvider-aba5a3ce.js} +1 -1
- package/build/{treePopoverMenu-6ac52f10.js → treePopoverMenu-534aa77d.js} +19 -19
- package/build/types.js +2 -2
- package/build/{useHealthToolCache-7dba1430.js → useHealthToolCache-14e4750b.js} +1 -1
- package/build/{usePhoneValidator-24c9c417.js → usePhoneValidator-dfcd8533.js} +5 -5
- package/build/{usePlacesAutocomplete-827ffd96.js → usePlacesAutocomplete-50f6b386.js} +1 -1
- package/build/useTogetherAuthRequiredAction.js +10 -10
- package/build/{utils-0a9d47ad.js → utils-1f24e930.js} +3 -3
- package/build/{utils-f2162351.js → utils-2817dcd8.js} +2 -2
- package/build/{utils-cdbe460b.js → utils-66317c41.js} +5 -5
- package/build/{utils-541f56d2.js → utils-e69a36c4.js} +2 -2
- package/build/vaccination.js +22 -22
- package/package.json +1 -1
- /package/build/{BMI_BOYS.percentile.monthly-7bad6215.js → BMI_BOYS.percentile.monthly-33eacfc5.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-18bf6b42.js → BMI_BOYS.percentile.weekly-2f92d282.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-011d346b.js → BMI_BOYS.percentile.yearly-d2c603cd.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-5160d4d3.js → BMI_BOYS.zscore.monthly-c78b6b62.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-17e1dc1c.js → BMI_BOYS.zscore.weekly-bfe29a08.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-ff8f5481.js → BMI_BOYS.zscore.yearly-5bfd4153.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-5c54b894.js → BMI_GIRLS.percentile.monthly-53c7369b.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-cdf5efea.js → BMI_GIRLS.percentile.weekly-06e3cd72.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-371a3e4c.js → BMI_GIRLS.percentile.yearly-429a40c5.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-7f2f0f5f.js → BMI_GIRLS.zscore.monthly-48f6534b.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-ebafaf46.js → BMI_GIRLS.zscore.weekly-a50cf49e.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-d068bea5.js → BMI_GIRLS.zscore.yearly-393fe77b.js} +0 -0
- /package/build/{ChevronDown-ab5fae72.js → ChevronDown-600531a1.js} +0 -0
- /package/build/{Close-970de949.js → Close-d6c71d62.js} +0 -0
- /package/build/{Google-5f1d4650.js → Google-a5e530bb.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-8fd19404.js → HEAD CIRCUM_BOYS.percentile.monthly-87a79844.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-f2098d58.js → HEAD CIRCUM_BOYS.percentile.weekly-2cc50453.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-46c22271.js → HEAD CIRCUM_BOYS.percentile.yearly-5749449d.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-44b54032.js → HEAD CIRCUM_BOYS.zscore.monthly-8e10749a.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-38c10ce1.js → HEAD CIRCUM_BOYS.zscore.weekly-6673288c.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-84871f8e.js → HEAD CIRCUM_BOYS.zscore.yearly-8823bf1d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-92d6ac32.js → HEAD CIRCUM_GIRLS.percentile.monthly-dbe6a0a6.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-b95e9591.js → HEAD CIRCUM_GIRLS.percentile.weekly-c65c0cd3.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-d2ef28a0.js → HEAD CIRCUM_GIRLS.percentile.yearly-bb2a3c65.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-a170b180.js → HEAD CIRCUM_GIRLS.zscore.monthly-32acadfc.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-99758310.js → HEAD CIRCUM_GIRLS.zscore.weekly-a723cb17.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-265b0026.js → HEAD CIRCUM_GIRLS.zscore.yearly-cee2a892.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-ced5cc2c.js → HEIGHT_BOYS.percentile.monthly-fcdf19fc.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-899d9caa.js → HEIGHT_BOYS.percentile.weekly-077d1d5e.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-3912c155.js → HEIGHT_BOYS.percentile.yearly-16d029cf.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-55d43847.js → HEIGHT_BOYS.zscore.monthly-32e9474b.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-4fcfe090.js → HEIGHT_BOYS.zscore.weekly-3de30e2d.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-b13e1858.js → HEIGHT_BOYS.zscore.yearly-f7c9baeb.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-40159830.js → HEIGHT_GIRLS.percentile.monthly-099a57cf.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-50351dee.js → HEIGHT_GIRLS.percentile.weekly-8bc5a6fd.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-6ac1cce9.js → HEIGHT_GIRLS.percentile.yearly-80bc843d.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-4841d8d8.js → HEIGHT_GIRLS.zscore.monthly-838eacd2.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-87489ac8.js → HEIGHT_GIRLS.zscore.weekly-216ad16a.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-b192dd5d.js → HEIGHT_GIRLS.zscore.yearly-60671e23.js} +0 -0
- /package/build/{Locale-5af0fa60.js → Locale-ce16c457.js} +0 -0
- /package/build/{Visible-e7a57b56.js → Visible-cd6f9027.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-dc85a694.js → WEIGHT_BOYS.percentile.monthly-5672fc17.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-79cd522b.js → WEIGHT_BOYS.percentile.weekly-60087f64.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-253a31e6.js → WEIGHT_BOYS.percentile.yearly-1fda8c86.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-45fb400c.js → WEIGHT_BOYS.zscore.monthly-e8c40232.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-b3f28d6d.js → WEIGHT_BOYS.zscore.weekly-d2b58763.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-9a5783e6.js → WEIGHT_BOYS.zscore.yearly-69118867.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-aa510a94.js → WEIGHT_GIRLS.percentile.monthly-78b75ede.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-782fd3f2.js → WEIGHT_GIRLS.percentile.weekly-817a65e2.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-55b34257.js → WEIGHT_GIRLS.percentile.yearly-43f42eda.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-eb70dbbe.js → WEIGHT_GIRLS.zscore.monthly-b205562e.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-01ab61b2.js → WEIGHT_GIRLS.zscore.weekly-7df64a31.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-b1c45ecf.js → WEIGHT_GIRLS.zscore.yearly-43b5add3.js} +0 -0
- /package/build/{ageGenerate-5425c27e.js → ageGenerate-11fa4bb0.js} +0 -0
- /package/build/{animation-b67de3b9.js → animation-1f5d08cf.js} +0 -0
- /package/build/{constants-fd110f81.js → constants-2cd9bd95.js} +0 -0
- /package/build/{constants-840e3579.js → constants-45894de6.js} +0 -0
- /package/build/{constants-439de4e7.js → constants-f5feacca.js} +0 -0
- /package/build/{context-de9d3148.js → context-54fefa0e.js} +0 -0
- /package/build/{dataTransform-32292b88.js → dataTransform-cc0cee48.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-770b3664.js → BMI_BOYS.percentile.monthly-187e1cbb.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-4be593bc.js → BMI_BOYS.percentile.weekly-71f7f9d3.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-a5513c8a.js → BMI_BOYS.percentile.yearly-163276a4.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-09df3f08.js → BMI_BOYS.zscore.monthly-6d3fb022.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-d0c787ef.js → BMI_BOYS.zscore.weekly-598f3d05.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-9b0609c0.js → BMI_BOYS.zscore.yearly-9ac08426.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-e99f4ff9.js → BMI_GIRLS.percentile.monthly-94eb3d23.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-79c94a99.js → BMI_GIRLS.percentile.weekly-c8b3da1c.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-34bd3ad9.js → BMI_GIRLS.percentile.yearly-6119df4b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-0fd9a0e5.js → BMI_GIRLS.zscore.monthly-a0656da3.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-1ac7668e.js → BMI_GIRLS.zscore.weekly-33c7a468.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-b88f2705.js → BMI_GIRLS.zscore.yearly-72dfdeef.js} +0 -0
- /package/build/esm/{ChevronDown-ea4538be.js → ChevronDown-fcc2e7b5.js} +0 -0
- /package/build/esm/{Close-0ebd4007.js → Close-2a2231b2.js} +0 -0
- /package/build/esm/{Google-3b51dbe1.js → Google-316dc2a1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-39840b5c.js → HEAD CIRCUM_BOYS.percentile.monthly-6dfc7152.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-093fc864.js → HEAD CIRCUM_BOYS.percentile.weekly-8579a0ea.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-29423792.js → HEAD CIRCUM_BOYS.percentile.yearly-28f17f44.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-e4bb4b10.js → HEAD CIRCUM_BOYS.zscore.monthly-780104cb.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-8cd5e6b0.js → HEAD CIRCUM_BOYS.zscore.weekly-3d6928ca.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-be45786c.js → HEAD CIRCUM_BOYS.zscore.yearly-f09b1687.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-a7d0517e.js → HEAD CIRCUM_GIRLS.percentile.monthly-9f3dec9c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-5aea7c0c.js → HEAD CIRCUM_GIRLS.percentile.weekly-ba5f77d0.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-0d8b5a57.js → HEAD CIRCUM_GIRLS.percentile.yearly-b8bfa03e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-db0888cb.js → HEAD CIRCUM_GIRLS.zscore.monthly-aa187cbb.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-2f467fff.js → HEAD CIRCUM_GIRLS.zscore.weekly-dda73b49.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-1e9afa9b.js → HEAD CIRCUM_GIRLS.zscore.yearly-24e0e9c2.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-9fe4f33a.js → HEIGHT_BOYS.percentile.monthly-8e204bae.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-a0749e41.js → HEIGHT_BOYS.percentile.weekly-d88b125b.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-a53ff68a.js → HEIGHT_BOYS.percentile.yearly-74bd367f.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-51b535ee.js → HEIGHT_BOYS.zscore.monthly-adf502f5.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-1a862b8e.js → HEIGHT_BOYS.zscore.weekly-62b47bf5.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-b10a8567.js → HEIGHT_BOYS.zscore.yearly-fa4b1e69.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-a6f2ebf7.js → HEIGHT_GIRLS.percentile.monthly-5aeb2079.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-d79a0cdb.js → HEIGHT_GIRLS.percentile.weekly-d46b9c6a.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-b4a17fbb.js → HEIGHT_GIRLS.percentile.yearly-7d78896b.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-50687558.js → HEIGHT_GIRLS.zscore.monthly-c410851f.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-3de978b5.js → HEIGHT_GIRLS.zscore.weekly-65114afd.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-85534090.js → HEIGHT_GIRLS.zscore.yearly-812ba366.js} +0 -0
- /package/build/esm/{Locale-ead296e8.js → Locale-4fc39ae5.js} +0 -0
- /package/build/esm/{Visible-a9c6b790.js → Visible-e77e6e68.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-2e6951cf.js → WEIGHT_BOYS.percentile.monthly-d147db92.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-12428911.js → WEIGHT_BOYS.percentile.weekly-68dfbfe3.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-38b49744.js → WEIGHT_BOYS.percentile.yearly-46f678a2.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-6fd4d616.js → WEIGHT_BOYS.zscore.monthly-462705c2.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-5e5ca5c8.js → WEIGHT_BOYS.zscore.weekly-f18bbd44.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-e44c5c07.js → WEIGHT_BOYS.zscore.yearly-af7d70ac.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-fa08e251.js → WEIGHT_GIRLS.percentile.monthly-09df8e9b.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-7943e1c0.js → WEIGHT_GIRLS.percentile.weekly-aa64b3fb.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-e11cca22.js → WEIGHT_GIRLS.percentile.yearly-95bf5f5a.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-5c639ff8.js → WEIGHT_GIRLS.zscore.monthly-d292c9e1.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-9b4798eb.js → WEIGHT_GIRLS.zscore.weekly-d6dfd25a.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-621f12d3.js → WEIGHT_GIRLS.zscore.yearly-74e3aff1.js} +0 -0
- /package/build/esm/{ageGenerate-e61cb3f2.js → ageGenerate-cd03850a.js} +0 -0
- /package/build/esm/{animation-de453b96.js → animation-fb97f7fd.js} +0 -0
- /package/build/esm/{constants-34d3b44c.js → constants-2eaeca1b.js} +0 -0
- /package/build/esm/{constants-63486f1f.js → constants-5f08ea2c.js} +0 -0
- /package/build/esm/{constants-5b909d20.js → constants-d2593c92.js} +0 -0
- /package/build/esm/{context-1f417d39.js → context-84c9c116.js} +0 -0
- /package/build/esm/{dataTransform-1e62b334.js → dataTransform-0231677f.js} +0 -0
- /package/build/esm/{index-1513f74f.js → index-061965b8.js} +0 -0
- /package/build/esm/{index-cee378f7.js → index-114fe04f.js} +0 -0
- /package/build/esm/{index-1a2ae540.js → index-178628c9.js} +0 -0
- /package/build/esm/{index-78d791d9.js → index-447fb8c9.js} +0 -0
- /package/build/esm/{index-6f1dee1a.js → index-559d56cb.js} +0 -0
- /package/build/esm/{index-914ef191.js → index-6574218e.js} +0 -0
- /package/build/esm/{index-df0e821e.js → index-76c4102d.js} +0 -0
- /package/build/esm/{index-dab46b91.js → index-d039195e.js} +0 -0
- /package/build/esm/{index-5257825b.js → index-e5c5f27b.js} +0 -0
- /package/build/esm/{index.styles-9c4af062.js → index.styles-3a0314b7.js} +0 -0
- /package/build/esm/{localizeNumberFormat-26a15add.js → localizeNumberFormat-d9b96f6b.js} +0 -0
- /package/build/esm/{normalizeLink-a819aa12.js → normalizeLink-7889f115.js} +0 -0
- /package/build/esm/{number-addc79c3.js → number-ff3cf1c2.js} +0 -0
- /package/build/esm/{paths-6e79df9e.js → paths-e192cf3b.js} +0 -0
- /package/build/esm/{shared-8e94e2d2.js → shared-dbc94490.js} +0 -0
- /package/build/esm/{translationsContext-97d7f3f5.js → translationsContext-3ba22159.js} +0 -0
- /package/build/esm/{tslib.es6-b6091bcc.js → tslib.es6-811208a0.js} +0 -0
- /package/build/esm/{types-c5c98274.js → types-507c7660.js} +0 -0
- /package/build/esm/{types-e3b20453.js → types-bd06d395.js} +0 -0
- /package/build/esm/{useIsInit-6f26e450.js → useIsInit-0468a513.js} +0 -0
- /package/build/esm/{useOutsideClick-fb18b50b.js → useOutsideClick-2c2a4c7e.js} +0 -0
- /package/build/esm/{useScrollbarSize-d2e15f5b.js → useScrollbarSize-8e8630e1.js} +0 -0
- /package/build/esm/{useUniqueId-c01bb65a.js → useUniqueId-5971c8df.js} +0 -0
- /package/build/esm/{utils-ba48c89a.js → utils-bcd8ff86.js} +0 -0
- /package/build/esm/{utils-2b4131a5.js → utils-f94ac687.js} +0 -0
- /package/build/{index-bf12b4b8.js → index-22f9771a.js} +0 -0
- /package/build/{index-17324d6a.js → index-67efee0e.js} +0 -0
- /package/build/{index-2af87a87.js → index-74ec3190.js} +0 -0
- /package/build/{index-4dc265ad.js → index-876c6f45.js} +0 -0
- /package/build/{index-d4815d36.js → index-98c44be3.js} +0 -0
- /package/build/{index-6e355eed.js → index-9bb16246.js} +0 -0
- /package/build/{index-3544e59b.js → index-b78d926c.js} +0 -0
- /package/build/{index-0b9afa62.js → index-c936ea7d.js} +0 -0
- /package/build/{index-89820ca0.js → index-ebe9ef8d.js} +0 -0
- /package/build/{index.styles-938ccf7f.js → index.styles-dd1b559b.js} +0 -0
- /package/build/{localizeNumberFormat-9484a6c3.js → localizeNumberFormat-eb965afb.js} +0 -0
- /package/build/{normalizeLink-ab0a8c63.js → normalizeLink-83021266.js} +0 -0
- /package/build/{number-076d5406.js → number-ab5ebf71.js} +0 -0
- /package/build/{paths-aaaeeadb.js → paths-64e2b53f.js} +0 -0
- /package/build/{shared-07215f84.js → shared-4418e2c5.js} +0 -0
- /package/build/{translationsContext-4546c7ee.js → translationsContext-bd7bc6a2.js} +0 -0
- /package/build/{tslib.es6-e25a257c.js → tslib.es6-85491f19.js} +0 -0
- /package/build/{types-465e9124.js → types-c5f1f2ac.js} +0 -0
- /package/build/{types-b5e47684.js → types-e9bd356b.js} +0 -0
- /package/build/{useIsInit-d47520be.js → useIsInit-0e56ad6b.js} +0 -0
- /package/build/{useOutsideClick-e3444166.js → useOutsideClick-dc446467.js} +0 -0
- /package/build/{useScrollbarSize-998562c8.js → useScrollbarSize-5bbe92d8.js} +0 -0
- /package/build/{useUniqueId-0f11f0c1.js → useUniqueId-62bb7fd8.js} +0 -0
- /package/build/{utils-eecade99.js → utils-40f54d67.js} +0 -0
- /package/build/{utils-abe15b37.js → utils-ca303dc9.js} +0 -0
|
@@ -1,54 +1,72 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require('./tslib.es6-
|
|
3
|
+
var tslib_es6 = require('./tslib.es6-85491f19.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var index$8 = require('./index-
|
|
6
|
-
var index$3 = require('./index-
|
|
7
|
-
var normalizeLink = require('./normalizeLink-
|
|
8
|
-
var dataTransform = require('./dataTransform-
|
|
5
|
+
var index$8 = require('./index-7d005ef1.js');
|
|
6
|
+
var index$3 = require('./index-ca02f1d5.js');
|
|
7
|
+
var normalizeLink = require('./normalizeLink-83021266.js');
|
|
8
|
+
var dataTransform = require('./dataTransform-97e713e9.js');
|
|
9
9
|
var core = require('@hhgtech/icons/core');
|
|
10
|
-
require('./translationsContext-
|
|
10
|
+
require('./translationsContext-bd7bc6a2.js');
|
|
11
11
|
var styled = require('@emotion/styled');
|
|
12
|
-
var index = require('./index-
|
|
12
|
+
var index = require('./index-47c14c0e.js');
|
|
13
13
|
var miscTheme = require('./miscTheme.js');
|
|
14
|
-
var navigationProfileButton = require('./index-
|
|
14
|
+
var navigationProfileButton = require('./index-694ba566.js');
|
|
15
15
|
var other = require('@hhgtech/icons/other');
|
|
16
16
|
var core$1 = require('@mantine/core');
|
|
17
|
-
var index$d = require('./index-
|
|
17
|
+
var index$d = require('./index-d0b8e9fb.js');
|
|
18
18
|
var throttle = require('lodash/throttle');
|
|
19
19
|
require('@mantine/dates');
|
|
20
|
-
var index$a = require('./index-
|
|
21
|
-
var index$5 = require('./index-
|
|
22
|
-
require('./index-
|
|
23
|
-
var index$4 = require('./index-
|
|
24
|
-
var index$2 = require('./index-
|
|
25
|
-
require('./index-
|
|
26
|
-
require('./index.styles-
|
|
20
|
+
var index$a = require('./index-60fe0bf6.js');
|
|
21
|
+
var index$5 = require('./index-ebe9ef8d.js');
|
|
22
|
+
require('./index-8f7abe3f.js');
|
|
23
|
+
var index$4 = require('./index-93e0a822.js');
|
|
24
|
+
var index$2 = require('./index-4df9ce95.js');
|
|
25
|
+
require('./index-876c6f45.js');
|
|
26
|
+
require('./index.styles-dd1b559b.js');
|
|
27
27
|
require('@mantine/hooks');
|
|
28
|
-
var utils = require('./utils-
|
|
29
|
-
require('./index-
|
|
30
|
-
var constants = require('./constants-
|
|
31
|
-
var store = require('./store-
|
|
32
|
-
var constants$1 = require('./constants-
|
|
33
|
-
var index$1 = require('./index-
|
|
34
|
-
var index$7 = require('./index-
|
|
35
|
-
var index$6 = require('./index-
|
|
36
|
-
var useIsInit = require('./useIsInit-
|
|
28
|
+
var utils = require('./utils-40f54d67.js');
|
|
29
|
+
require('./index-dc281def.js');
|
|
30
|
+
var constants = require('./constants-a38e34d7.js');
|
|
31
|
+
var store = require('./store-16335444.js');
|
|
32
|
+
var constants$1 = require('./constants-2cd9bd95.js');
|
|
33
|
+
var index$1 = require('./index-9c4500a5.js');
|
|
34
|
+
var index$7 = require('./index-f3811123.js');
|
|
35
|
+
var index$6 = require('./index-3428669c.js');
|
|
36
|
+
var useIsInit = require('./useIsInit-0e56ad6b.js');
|
|
37
37
|
var miscDefaultClassWrapper = require('./miscDefaultClassWrapper.js');
|
|
38
|
-
var index$9 = require('./index-
|
|
38
|
+
var index$9 = require('./index-7956984b.js');
|
|
39
39
|
var formatString = require('string-format');
|
|
40
40
|
var constantsDomainLocales = require('./constantsDomainLocales.js');
|
|
41
41
|
var dayjs = require('dayjs');
|
|
42
42
|
var relativeTime = require('dayjs/plugin/relativeTime');
|
|
43
|
-
var index$b = require('./index-
|
|
44
|
-
var index$c = require('./index-
|
|
45
|
-
var Locale = require('./Locale-
|
|
43
|
+
var index$b = require('./index-581d0fd6.js');
|
|
44
|
+
var index$c = require('./index-b78d926c.js');
|
|
45
|
+
var Locale = require('./Locale-ce16c457.js');
|
|
46
46
|
var debounce = require('lodash/debounce');
|
|
47
|
-
var core$2 = require('./core-
|
|
47
|
+
var core$2 = require('./core-3d992220.js');
|
|
48
48
|
|
|
49
49
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
50
50
|
|
|
51
|
-
|
|
51
|
+
function _interopNamespace(e) {
|
|
52
|
+
if (e && e.__esModule) return e;
|
|
53
|
+
var n = Object.create(null);
|
|
54
|
+
if (e) {
|
|
55
|
+
Object.keys(e).forEach(function (k) {
|
|
56
|
+
if (k !== 'default') {
|
|
57
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
58
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
59
|
+
enumerable: true,
|
|
60
|
+
get: function () { return e[k]; }
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
n["default"] = e;
|
|
66
|
+
return Object.freeze(n);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
52
70
|
var styled__default = /*#__PURE__*/_interopDefault(styled);
|
|
53
71
|
var throttle__default = /*#__PURE__*/_interopDefault(throttle);
|
|
54
72
|
var formatString__default = /*#__PURE__*/_interopDefault(formatString);
|
|
@@ -56,6 +74,15 @@ var dayjs__default = /*#__PURE__*/_interopDefault(dayjs);
|
|
|
56
74
|
var relativeTime__default = /*#__PURE__*/_interopDefault(relativeTime);
|
|
57
75
|
var debounce__default = /*#__PURE__*/_interopDefault(debounce);
|
|
58
76
|
|
|
77
|
+
const HamburgerWhite = (props) => (React__namespace.createElement("svg", Object.assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
|
|
78
|
+
React__namespace.createElement("path", { d: "M4 12H20", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
79
|
+
React__namespace.createElement("path", { d: "M4 7H20", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
80
|
+
React__namespace.createElement("path", { d: "M4 17H20", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })));
|
|
81
|
+
|
|
82
|
+
const StarPair = (props) => (React__namespace.createElement("svg", Object.assign({ width: "22", height: "28", viewBox: "0 0 22 28", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
|
|
83
|
+
React__namespace.createElement("path", { d: "M6.35278 10.7516C6.42759 10.976 6.63881 11.1279 6.87534 11.1279C7.11187 11.1279 7.322 10.976 7.39791 10.7516C7.68947 9.87691 8.37585 9.19053 9.25054 8.89896C9.47497 8.82415 9.62679 8.61403 9.62679 8.3775C9.62679 8.14097 9.47497 7.93084 9.25054 7.85603C8.37585 7.56446 7.68947 6.87809 7.39791 6.00339C7.24719 5.55453 6.5046 5.55453 6.35388 6.00339C6.06231 6.87809 5.37594 7.56446 4.50125 7.85603C4.27682 7.93084 4.125 8.14097 4.125 8.3775C4.125 8.61403 4.27682 8.82415 4.50125 8.89896C5.37565 9.19043 6.06193 9.87699 6.35278 10.7516Z", fill: "#2743AD" }),
|
|
84
|
+
React__namespace.createElement("path", { d: "M20.1723 14.3286L18.5342 13.6789C16.821 12.9995 15.4655 11.6411 14.7897 9.92641L14.1396 8.27697C13.9232 7.72994 13.0262 7.72994 12.8097 8.27697L12.1597 9.92641C11.4839 11.6411 10.1284 12.9995 8.41517 13.6789L6.77705 14.3286C6.5044 14.4367 6.32422 14.7016 6.32422 14.9952C6.32422 15.2888 6.50345 15.5537 6.77705 15.6618L8.41517 16.3115C10.1284 16.991 11.4839 18.3494 12.1597 20.064L12.8097 21.7135C12.9175 21.987 13.1815 22.1668 13.4742 22.1668C13.7669 22.1668 14.031 21.987 14.1387 21.7135L14.7888 20.064C15.4646 18.3494 16.8201 16.991 18.5333 16.3115L20.1714 15.6618C20.444 15.5537 20.6242 15.2888 20.6242 14.9952C20.6242 14.7016 20.4459 14.4367 20.1723 14.3286Z", fill: "#2743AD" })));
|
|
85
|
+
|
|
59
86
|
const StyleInput = styled__default["default"](index.Input) `
|
|
60
87
|
.mantine-Input-input {
|
|
61
88
|
border-radius: 40px;
|
|
@@ -86,7 +113,7 @@ const StyleInput = styled__default["default"](index.Input) `
|
|
|
86
113
|
`;
|
|
87
114
|
|
|
88
115
|
const HHG_SEARCH_BACK_KEY = 'hhg_search_history';
|
|
89
|
-
const SearchInput = ({ id, isMobile = false, isHomepage = false, projectType, isRedirectSearchPage = false, }) => {
|
|
116
|
+
const SearchInput = ({ id, isMobile = false, isHomepage = false, projectType, isRedirectSearchPage = false, winCashBackTheme = false, }) => {
|
|
90
117
|
const { locale, siteType } = React.useContext(navigationProfileButton.NavigationContext);
|
|
91
118
|
const [keyword, setKeyword] = React.useState('');
|
|
92
119
|
const [eventCategoryTracking, setEventCategoryTracking] = React.useState('Search From Another Page');
|
|
@@ -132,13 +159,13 @@ const SearchInput = ({ id, isMobile = false, isHomepage = false, projectType, is
|
|
|
132
159
|
setKeyword(searchValue);
|
|
133
160
|
}
|
|
134
161
|
}, []);
|
|
135
|
-
return isMobile && !isHomepage ? (
|
|
162
|
+
return isMobile && !isHomepage ? (React__namespace["default"].createElement(index$2.Button, { variant: "tertiary", style: {
|
|
136
163
|
padding: '6px',
|
|
137
164
|
}, size: "sm", onClick: goBack },
|
|
138
|
-
|
|
165
|
+
React__namespace["default"].createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", style: {
|
|
139
166
|
verticalAlign: 'bottom',
|
|
140
167
|
} },
|
|
141
|
-
|
|
168
|
+
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3.3097 9.06111C3.3097 5.88483 5.88458 3.30994 9.06087 3.30994C12.2372 3.30994 14.812 5.88483 14.812 9.06111C14.812 12.2374 12.2372 14.8123 9.06087 14.8123C5.88458 14.8123 3.3097 12.2374 3.3097 9.06111ZM9.06087 1.66675C4.97707 1.66675 1.6665 4.97732 1.6665 9.06111C1.6665 13.1449 4.97707 16.4555 9.06087 16.4555C10.8067 16.4555 12.4112 15.8505 13.6761 14.8387L16.9305 18.0931C17.2514 18.4139 17.7716 18.4139 18.0924 18.0931C18.4133 17.7722 18.4133 17.252 18.0924 16.9312L14.8381 13.6768C15.8501 12.4118 16.4552 10.8071 16.4552 9.06111C16.4552 4.97732 13.1447 1.66675 9.06087 1.66675Z", fill: "#8C8C8C" })))) : (React__namespace["default"].createElement(StyleInput, { className: "fake-search-input", name: 'search-input-menu-service' + id, size: "md", "data-event-category": eventCategoryTracking, "data-event-action": "Search", "data-event-label": keyword, placeholder: siteType === 'marryBaby'
|
|
142
169
|
? t('navigation.search.input.placeholder')
|
|
143
170
|
: t('home.search', {
|
|
144
171
|
site: index$3.LOCALE_SPECS[locale || 'en-PH']
|
|
@@ -150,16 +177,16 @@ const SearchInput = ({ id, isMobile = false, isHomepage = false, projectType, is
|
|
|
150
177
|
if ((isMobile && isHomepage) || isRedirectSearchPage) {
|
|
151
178
|
goToSearchPage('');
|
|
152
179
|
}
|
|
153
|
-
}, rightSection: keyword ? (
|
|
154
|
-
|
|
180
|
+
}, rightSection: keyword ? (React__namespace["default"].createElement("div", { className: "close-icon-wrapper", onClick: () => setKeyword(''), "data-event-category": "Search Page", "data-event-action": "Delete Search" },
|
|
181
|
+
React__namespace["default"].createElement(core.Close, { size: 17, color: miscTheme.theme.colors.white }))) : winCashBackTheme ? (React__namespace["default"].createElement(StarPair, { className: "star-pair-icon" })) : (''), icon: React__namespace["default"].createElement("a", { "data-event-category": "Search Button", "data-event-action": "Click", className: "search-icon-btn", onClick: () => {
|
|
155
182
|
if ((isMobile && isHomepage) || isRedirectSearchPage) {
|
|
156
183
|
goToSearchPage('');
|
|
157
184
|
}
|
|
158
185
|
} },
|
|
159
|
-
|
|
186
|
+
React__namespace["default"].createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", style: {
|
|
160
187
|
verticalAlign: 'bottom',
|
|
161
188
|
} },
|
|
162
|
-
|
|
189
|
+
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3.3097 9.06111C3.3097 5.88483 5.88458 3.30994 9.06087 3.30994C12.2372 3.30994 14.812 5.88483 14.812 9.06111C14.812 12.2374 12.2372 14.8123 9.06087 14.8123C5.88458 14.8123 3.3097 12.2374 3.3097 9.06111ZM9.06087 1.66675C4.97707 1.66675 1.6665 4.97732 1.6665 9.06111C1.6665 13.1449 4.97707 16.4555 9.06087 16.4555C10.8067 16.4555 12.4112 15.8505 13.6761 14.8387L16.9305 18.0931C17.2514 18.4139 17.7716 18.4139 18.0924 18.0931C18.4133 17.7722 18.4133 17.252 18.0924 16.9312L14.8381 13.6768C15.8501 12.4118 16.4552 10.8071 16.4552 9.06111C16.4552 4.97732 13.1447 1.66675 9.06087 1.66675Z", fill: "#8C8C8C" }))) }));
|
|
163
190
|
};
|
|
164
191
|
|
|
165
192
|
const getEcomUrl = ({ path, locale, }) => {
|
|
@@ -185,10 +212,10 @@ const CartBadge = (_a) => {
|
|
|
185
212
|
styles,
|
|
186
213
|
classNames,
|
|
187
214
|
});
|
|
188
|
-
return typeof count !== 'undefined' ? (
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
215
|
+
return typeof count !== 'undefined' ? (React__namespace["default"].createElement(core$1.Box, Object.assign({ component: "a", href: getEcomUrl({ path: 'CART', locale }), className: cx(classes.root, className) }, boxProps),
|
|
216
|
+
React__namespace["default"].createElement(core$1.Indicator, { withBorder: true, color: 'red', size: 20, disabled: count === 0, label: React__namespace["default"].createElement(index$4.Text, { className: classes.iconText, size: "s5" }, count > 99 ? '99+' : count) },
|
|
217
|
+
React__namespace["default"].createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" },
|
|
218
|
+
React__namespace["default"].createElement("path", { d: "M5.308 21.5q-.748 0-1.278-.53a1.74 1.74 0 0 1-.53-1.278V8.308q0-.75.53-1.278.53-.53 1.278-.53H7.5q0-1.873 1.313-3.187Q10.127 2 12 2t3.187 1.313T16.5 6.5h2.192q.749 0 1.278.53.53.53.53 1.278v11.384q0 .749-.53 1.278-.53.53-1.278.53zm0-1.5h13.384a.3.3 0 0 0 .212-.096.3.3 0 0 0 .096-.212V8.308a.3.3 0 0 0-.096-.212.3.3 0 0 0-.212-.096H5.308a.3.3 0 0 0-.212.096.3.3 0 0 0-.096.212v11.384q0 .116.096.212a.3.3 0 0 0 .212.096M9 6.5h6q0-1.25-.875-2.125A2.9 2.9 0 0 0 12 3.5q-1.25 0-2.125.875A2.9 2.9 0 0 0 9 6.5m2.985 7q1.695 0 3.047-1.148 1.35-1.148 1.335-2.606a.74.74 0 0 0-.207-.528.7.7 0 0 0-.527-.218.7.7 0 0 0-.471.182 1 1 0 0 0-.295.506 2.8 2.8 0 0 1-1.036 1.665 2.9 2.9 0 0 1-1.846.647 2.93 2.93 0 0 1-1.854-.647A2.73 2.73 0 0 1 9.1 9.688q-.086-.34-.278-.514A.66.66 0 0 0 8.367 9a.72.72 0 0 0-.534.218.72.72 0 0 0-.216.528q0 1.457 1.336 2.606 1.335 1.148 3.032 1.148", fill: "#2D87F3" }))))) : null;
|
|
192
219
|
};
|
|
193
220
|
|
|
194
221
|
const StyledDisplayWrapper = styled__default["default"].div `
|
|
@@ -200,27 +227,26 @@ const StyledDisplayWrapper = styled__default["default"].div `
|
|
|
200
227
|
const DisplayWrapper = ({ forceDisplay, mediaQueryKey, children, className, style, }) => {
|
|
201
228
|
// use CSS to display or not
|
|
202
229
|
const [lowerBoundValue, upperBoundValue] = React.useMemo(() => utils.getBoundariesFromMediaQueryKey(mediaQueryKey), [mediaQueryKey]);
|
|
203
|
-
return (
|
|
230
|
+
return (React__namespace["default"].createElement(StyledDisplayWrapper, { lowerBound: forceDisplay ? 0 : lowerBoundValue, upperBound: forceDisplay ? 0 : upperBoundValue, className: className, style: style }, children));
|
|
204
231
|
};
|
|
205
232
|
|
|
206
233
|
var styles$2 = {"menuContainer":"y5VJdvw","menuIcon":"oVhOSCy","menuIconWrapper":"pX8OXTM"};
|
|
207
234
|
|
|
208
|
-
function ClosePopupIcon({ className }) {
|
|
209
|
-
return (
|
|
210
|
-
|
|
211
|
-
|
|
235
|
+
function ClosePopupIcon({ className, winCashBackTheme }) {
|
|
236
|
+
return (React__namespace["default"].createElement("div", null,
|
|
237
|
+
React__namespace["default"].createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", className: className },
|
|
238
|
+
React__namespace["default"].createElement("path", { d: "M18 6L6 18M18 18L6 6", stroke: winCashBackTheme ? '#FFFFFF' : '#3E3F58', strokeWidth: "1.3", strokeLinecap: "round" }))));
|
|
212
239
|
}
|
|
213
240
|
|
|
214
|
-
function HamburgerIcon({ siteType, enableSearch, className, style, }) {
|
|
241
|
+
function HamburgerIcon({ siteType, enableSearch, winCashBackTheme, className, style, }) {
|
|
215
242
|
if (siteType === 'helloSites') {
|
|
216
|
-
return (
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
: index$5.CommonGAssets.getAssetPath('hamburgerMenuNew.svg'), style: Object.assign({ width: '24px', height: '24px' }, style), alt: "home", className: className, loading: "lazy" })));
|
|
243
|
+
return (React__namespace["default"].createElement("div", { className: "hamburger-container" }, winCashBackTheme ? (React__namespace["default"].createElement(HamburgerWhite, { className: className })) : (React__namespace["default"].createElement("img", { "data-list-type": "Header", "data-content-type": "Navigation", "data-content-topic": "Hamburger", src: enableSearch
|
|
244
|
+
? index$5.CommonGAssets.getAssetPath('hamburgerMenuNewWithSearch.svg')
|
|
245
|
+
: index$5.CommonGAssets.getAssetPath('hamburgerMenuNew.svg'), style: Object.assign({ width: '24px', height: '24px' }, style), alt: "home", className: className, loading: "lazy" }))));
|
|
220
246
|
}
|
|
221
247
|
/** Marry Baby */
|
|
222
|
-
return (
|
|
223
|
-
|
|
248
|
+
return (React__namespace["default"].createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", className: className },
|
|
249
|
+
React__namespace["default"].createElement("path", { d: "M3.35 15a.65.65 0 0 1 .65-.65h10a.65.65 0 1 1 0 1.3H4a.65.65 0 0 1-.65-.65m0-6A.65.65 0 0 1 4 8.35h16a.65.65 0 1 1 0 1.3H4A.65.65 0 0 1 3.35 9", fill: "#3E3F58" })));
|
|
224
250
|
}
|
|
225
251
|
|
|
226
252
|
const StyledMasterMenuContainer = styled__default["default"].div `
|
|
@@ -275,8 +301,8 @@ const StyleWrapperSearch = styled__default["default"].div `
|
|
|
275
301
|
|
|
276
302
|
const Phone = (_a) => {
|
|
277
303
|
var { size = 24, color = miscTheme.theme.colors.neutral600 } = _a, rest = tslib_es6.__rest(_a, ["size", "color"]);
|
|
278
|
-
return (
|
|
279
|
-
|
|
304
|
+
return (React__namespace["default"].createElement("svg", Object.assign({ width: size, height: size, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, rest),
|
|
305
|
+
React__namespace["default"].createElement("path", { d: "M6.088 18.75q-.63 0-1.068-.437a1.45 1.45 0 0 1-.438-1.07V2.757q0-.63.438-1.068a1.45 1.45 0 0 1 1.068-.438h7.82q.633 0 1.07.438.437.437.437 1.068v14.488q0 .63-.437 1.069a1.45 1.45 0 0 1-1.07.437zm3.91-1.859a.7.7 0 0 0 .522-.216.7.7 0 0 0 .216-.521.7.7 0 0 0-.216-.522.7.7 0 0 0-.521-.215.7.7 0 0 0-.522.215.7.7 0 0 0-.215.522.7.7 0 0 0 .215.521.7.7 0 0 0 .522.216m-4.166-3.333h8.333V4.792H5.832z", fill: color })));
|
|
280
306
|
};
|
|
281
307
|
|
|
282
308
|
const StyledItemGridLeft = styled__default["default"].div `
|
|
@@ -404,28 +430,32 @@ const StyledViewMore$1 = styled__default["default"].a `
|
|
|
404
430
|
|
|
405
431
|
var styles$1 = {"menuIconWrapper":"wnUb-dV","menuButton":"cjbOxWe","itemNavButton":"-sx0jrx","scale":"EDlp5Zf"};
|
|
406
432
|
|
|
407
|
-
const ItemMenu = ({ item, menu }) => {
|
|
433
|
+
const ItemMenu = ({ item, menu, winCashBackTheme }) => {
|
|
408
434
|
const { containerRef, onButtonMouseDown, onClose } = navigationProfileButton.useCSSFocusPopupHelper({
|
|
409
435
|
allowBgScroll: true,
|
|
410
436
|
});
|
|
411
437
|
const isInit = useIsInit.useIsInit();
|
|
412
438
|
if (!item.popupType && item.link) {
|
|
413
|
-
return (
|
|
414
|
-
|
|
415
|
-
|
|
439
|
+
return (React__namespace["default"].createElement(NewWrapper, { isNew: item.isNew },
|
|
440
|
+
React__namespace["default"].createElement("a", { className: `hhgcomp-navigation-itemnav-headeritem ${!isInit ? `menu-handler-${item.id}` : ''}`, tabIndex: 0, href: item.link, "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": item.link },
|
|
441
|
+
React__namespace["default"].createElement("div", { "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": item.link, className: styles$1.menuButton }, item.name))));
|
|
416
442
|
}
|
|
417
|
-
return (
|
|
418
|
-
|
|
419
|
-
|
|
443
|
+
return (React__namespace["default"].createElement(NewWrapper, { isNew: item.isNew },
|
|
444
|
+
React__namespace["default"].createElement("div", { ref: containerRef, className: `hhgcomp-navigation-itemnav-headeritem ${!isInit ? `menu-handler-${item.id}` : ''}`, tabIndex: 0, key: item.id, "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": item.link, style: { borderBottom: winCashBackTheme ? 'none' : undefined } },
|
|
445
|
+
React__namespace["default"].createElement("div", { "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": item.link, onMouseDown: onButtonMouseDown, className: styles$1.menuButton, style: { color: winCashBackTheme ? 'white' : undefined } },
|
|
420
446
|
item.name,
|
|
421
|
-
item.popupType && (
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
447
|
+
item.popupType && (React__namespace["default"].createElement(React__namespace["default"].Fragment, null, (item === null || item === void 0 ? void 0 : item.icon) ? (React__namespace["default"].createElement("div", { className: "wrapper-menu-icon" },
|
|
448
|
+
React__namespace["default"].createElement("div", { className: "origin-icon", style: {
|
|
449
|
+
filter: winCashBackTheme
|
|
450
|
+
? 'brightness(0) invert(1)'
|
|
451
|
+
: undefined,
|
|
452
|
+
} }, item.icon),
|
|
453
|
+
React__namespace["default"].createElement("div", { className: "close-icon", onClick: onClose },
|
|
454
|
+
React__namespace["default"].createElement(core.Close, { size: 16, color: winCashBackTheme ? 'white' : undefined })))) : (React__namespace["default"].createElement("div", { className: styles$1.menuIconWrapper },
|
|
455
|
+
React__namespace["default"].createElement("svg", { width: "18", height: "18", viewBox: "0 0 18 18", fill: "none" },
|
|
456
|
+
React__namespace["default"].createElement("path", { d: "M11.5 7.5L9 10L6.5 7.5", stroke: winCashBackTheme ? 'white' : '#202135', strokeWidth: "1.33", strokeLinecap: "round", strokeLinejoin: "round" }))))))),
|
|
457
|
+
React__namespace["default"].isValidElement(menu)
|
|
458
|
+
? React__namespace["default"].cloneElement(menu, {
|
|
429
459
|
onClose,
|
|
430
460
|
})
|
|
431
461
|
: null)));
|
|
@@ -433,57 +463,57 @@ const ItemMenu = ({ item, menu }) => {
|
|
|
433
463
|
const NewWrapper = ({ isNew, children, }) => {
|
|
434
464
|
const { t } = index$1.useTranslations();
|
|
435
465
|
if (isNew) {
|
|
436
|
-
return (
|
|
466
|
+
return (React__namespace["default"].createElement(index$6.Indicator, { color: "green", label: t('home.navigator.menuItem.new'), size: 20, styles: {
|
|
437
467
|
root: {
|
|
438
468
|
paddingRight: 10,
|
|
439
469
|
},
|
|
440
470
|
} }, children));
|
|
441
471
|
}
|
|
442
|
-
return
|
|
472
|
+
return React__namespace["default"].createElement(React__namespace["default"].Fragment, null, children);
|
|
443
473
|
};
|
|
444
474
|
|
|
445
475
|
const Categories = ({ hrefViewMore, titleBtnViewMore, UrlFE, onClosePopup, menuItems, headingTitle, activeItem, }) => {
|
|
446
476
|
const { siteType } = React.useContext(navigationProfileButton.NavigationContext);
|
|
447
477
|
const { t } = index$1.useTranslations();
|
|
448
478
|
const theme = core$1.useMantineTheme();
|
|
449
|
-
return (
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
479
|
+
return (React__namespace["default"].createElement(StyledItemGridLeft, null,
|
|
480
|
+
React__namespace["default"].createElement("div", null,
|
|
481
|
+
React__namespace["default"].createElement(StyledHeading$1, null,
|
|
482
|
+
React__namespace["default"].createElement(index$7.Heading, { tag: siteType === 'marryBaby' ? 'h5' : 'h6', as: "p", fontWeight: "semibold" }, headingTitle)), menuItems === null || menuItems === void 0 ? void 0 :
|
|
453
483
|
menuItems.slice(0, 6).map((item, index) => {
|
|
454
484
|
const href = (item === null || item === void 0 ? void 0 : item.link)
|
|
455
485
|
? (item === null || item === void 0 ? void 0 : item.link.startsWith('http'))
|
|
456
486
|
? item === null || item === void 0 ? void 0 : item.link
|
|
457
487
|
: `${UrlFE}/${item === null || item === void 0 ? void 0 : item.link.split('/').filter(Boolean).join('/')}/`
|
|
458
488
|
: '/';
|
|
459
|
-
return (
|
|
489
|
+
return (React__namespace["default"].createElement(StyledItem$6, Object.assign({ className: core$1.clsx('iconMenu', `itemMenu-${item.id}`), "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": href, "data-is-heading-category": false, "data-active": item.id && item.id === activeItem, "data-is-mobile-tool": item.isMobileAppTool, href: href }, (!index$8.isInternalLink(href) && {
|
|
460
490
|
target: '_blank',
|
|
461
491
|
}), { "data-theme": siteType, key: index, onClick: onClosePopup }),
|
|
462
|
-
|
|
463
|
-
|
|
492
|
+
React__namespace["default"].createElement("div", { className: "icon" },
|
|
493
|
+
React__namespace["default"].createElement("img", { loading: "lazy", alt: item.name, src: item.thumbnail || '/images/avatar.jpg', style: {
|
|
464
494
|
width: 32,
|
|
465
495
|
height: 32,
|
|
466
496
|
maxWidth: 32,
|
|
467
497
|
maxHeight: 32,
|
|
468
498
|
overflow: 'hidden',
|
|
469
499
|
} })),
|
|
470
|
-
|
|
471
|
-
|
|
500
|
+
React__namespace["default"].createElement(NewWrapper, { isNew: item.isNew },
|
|
501
|
+
React__namespace["default"].createElement("div", { style: {
|
|
472
502
|
padding: '0 0.4rem',
|
|
473
503
|
paddingRight: item.isNew ? 10 : 0,
|
|
474
504
|
} },
|
|
475
|
-
|
|
476
|
-
item.isMobileAppTool && (
|
|
477
|
-
item.isMobileAppTool && (
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
505
|
+
React__namespace["default"].createElement("p", { className: "name" }, item.name),
|
|
506
|
+
item.isMobileAppTool && (React__namespace["default"].createElement(index$4.Text, { size: "n1", color: theme.fn.primaryColor(), weight: "regular" }, t('home.calcWithApp'))))),
|
|
507
|
+
item.isMobileAppTool && (React__namespace["default"].createElement(StyledIconNav, null,
|
|
508
|
+
React__namespace["default"].createElement(Phone, { className: "phone-icon", size: 16 }))),
|
|
509
|
+
React__namespace["default"].createElement(StyledIconNav, { className: "arrow-icon" },
|
|
510
|
+
React__namespace["default"].createElement("img", { src: index$5.CommonGAssets.getAssetPath('chevronRight.svg'), style: { width: '16px', height: '16px' }, loading: "lazy" }))));
|
|
481
511
|
})),
|
|
482
|
-
titleBtnViewMore && (
|
|
483
|
-
|
|
512
|
+
titleBtnViewMore && (React__namespace["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 },
|
|
513
|
+
React__namespace["default"].createElement(StyledItemAll, { onClick: onClosePopup, "data-theme": siteType, "data-is-heading-category": false },
|
|
484
514
|
titleBtnViewMore,
|
|
485
|
-
|
|
486
|
-
|
|
515
|
+
React__namespace["default"].createElement(StyledImageWrapper, null,
|
|
516
|
+
React__namespace["default"].createElement("img", { className: "svg", src: siteType === 'marryBaby'
|
|
487
517
|
? index$5.CommonGAssets.getAssetPath('chevronRightPink.svg')
|
|
488
518
|
: index$5.CommonGAssets.getAssetPath('chevronRightActive.svg'), style: { width: '16px', height: '16px' }, loading: "lazy" })))))));
|
|
489
519
|
};
|
|
@@ -656,17 +686,17 @@ const Item$4 = ({ item, index = 0 }) => {
|
|
|
656
686
|
if (!item)
|
|
657
687
|
return null;
|
|
658
688
|
const href = `${statics.CARE_URL_FE}/${(_a = constants$1.LOCALIZED_SLUGS[locale]) === null || _a === void 0 ? void 0 : _a.HOSPITAL}/${item.slug}-${item.id}`;
|
|
659
|
-
return (
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
689
|
+
return (React__namespace["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 },
|
|
690
|
+
React__namespace["default"].createElement("img", { src: index$5.CommonGAssets.getAssetPath('navCareCardBg.svg'), alt: "", className: "bg-svg", loading: "lazy" }),
|
|
691
|
+
React__namespace["default"].createElement(StyledImageCard$3, null,
|
|
692
|
+
React__namespace["default"].createElement(StyledImageCardInner, null,
|
|
693
|
+
React__namespace["default"].createElement("img", { loading: "lazy", alt: item.name, src: item.logo || '/images/avatar.jpg' }))),
|
|
694
|
+
React__namespace["default"].createElement(StyledContentWrapper$2, null,
|
|
695
|
+
React__namespace["default"].createElement(StyledTitle$5, null, item.name),
|
|
696
|
+
React__namespace["default"].createElement(StyledDes$2, null, item.description),
|
|
697
|
+
React__namespace["default"].createElement(StyledBtnView$2, null,
|
|
668
698
|
t('home.seeMore'),
|
|
669
|
-
|
|
699
|
+
React__namespace["default"].createElement("img", { src: index$5.CommonGAssets.getAssetPath('chevronRightActive.svg'), style: {
|
|
670
700
|
width: '16px',
|
|
671
701
|
height: '16px',
|
|
672
702
|
marginTop: '3px',
|
|
@@ -742,18 +772,18 @@ const StyledLeft = styled__default["default"].div `
|
|
|
742
772
|
|
|
743
773
|
const SpotlightNoData = ({ title, link, description, cta, icon }) => {
|
|
744
774
|
const { siteType } = React.useContext(navigationProfileButton.NavigationContext);
|
|
745
|
-
return (
|
|
746
|
-
|
|
747
|
-
|
|
775
|
+
return (React__namespace["default"].createElement(StyledContainerNoPosts, { "data-theme": siteType },
|
|
776
|
+
React__namespace["default"].createElement(StyledLeft, null,
|
|
777
|
+
React__namespace["default"].createElement("img", { src: siteType === 'marryBaby'
|
|
748
778
|
? index$5.CommonGAssets.getAssetPath('navMBSpotlightBgNoData.svg')
|
|
749
779
|
: index$5.CommonGAssets.getAssetPath('navSpotlightBgNoData.svg'), alt: "", loading: "lazy", className: "bg-svg" }),
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
title &&
|
|
753
|
-
description &&
|
|
754
|
-
cta && (
|
|
755
|
-
|
|
756
|
-
|
|
780
|
+
React__namespace["default"].createElement(StyledContentLeft, null, icon && React__namespace["default"].createElement("img", { src: icon, width: 64, height: 64, loading: "lazy" }))),
|
|
781
|
+
React__namespace["default"].createElement("div", null,
|
|
782
|
+
title && React__namespace["default"].createElement(StyledTitle$4, null, title),
|
|
783
|
+
description && React__namespace["default"].createElement(StyledDescription, null, description),
|
|
784
|
+
cta && (React__namespace["default"].createElement("div", null,
|
|
785
|
+
React__namespace["default"].createElement("a", { href: link },
|
|
786
|
+
React__namespace["default"].createElement(index$9.Button, { theme: siteType, className: "survey-contact-submit", size: "md" }, cta)))))));
|
|
757
787
|
};
|
|
758
788
|
|
|
759
789
|
const StyledItemGridRight = styled__default["default"].div `
|
|
@@ -798,12 +828,12 @@ const StyledViewMore = styled__default["default"].a `
|
|
|
798
828
|
|
|
799
829
|
const Spotlights = ({ title, viewMore, children, link, dataEventAction = '', }) => {
|
|
800
830
|
const { siteType } = React.useContext(navigationProfileButton.NavigationContext);
|
|
801
|
-
return (
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
viewMore && (
|
|
831
|
+
return (React__namespace["default"].createElement(StyledItemGridRight, null,
|
|
832
|
+
React__namespace["default"].createElement(StyledHeading, null,
|
|
833
|
+
React__namespace["default"].createElement(index$7.Heading, { tag: siteType === 'marryBaby' ? 'h5' : 'h6', as: "p", fontWeight: "semibold" }, title),
|
|
834
|
+
viewMore && (React__namespace["default"].createElement(StyledViewMore, { "data-event-category": "Hamburger Navigation", "data-event-action": dataEventAction, "data-event-label": link, href: link, "data-theme": siteType },
|
|
805
835
|
viewMore,
|
|
806
|
-
|
|
836
|
+
React__namespace["default"].createElement("img", { src: siteType === 'marryBaby'
|
|
807
837
|
? index$5.CommonGAssets.getAssetPath('chevronRightPink.svg')
|
|
808
838
|
: index$5.CommonGAssets.getAssetPath('chevronRightActive.svg'), style: { width: '16px', height: '16px' }, loading: "lazy" })))),
|
|
809
839
|
children));
|
|
@@ -812,15 +842,15 @@ const Spotlights = ({ title, viewMore, children, link, dataEventAction = '', })
|
|
|
812
842
|
const CareSpotlights = ({ spotlights = [], hrefViewMore }) => {
|
|
813
843
|
const { t } = index$1.useTranslations();
|
|
814
844
|
const { siteType } = React.useContext(navigationProfileButton.NavigationContext);
|
|
815
|
-
return (
|
|
816
|
-
|
|
817
|
-
|
|
845
|
+
return (React__namespace["default"].createElement(Spotlights, { title: t('home.navigator.menu.spotlightHospitals') }, spotlights.length !== 0 ? (React__namespace["default"].createElement(React__namespace["default"].Fragment, null,
|
|
846
|
+
React__namespace["default"].createElement(StyledContainerItems$5, null, spotlights === null || spotlights === void 0 ? void 0 : spotlights.slice(0, 3).map((s, index) => (React__namespace["default"].createElement(Item$4, { key: index, index: index, item: s })))),
|
|
847
|
+
React__namespace["default"].createElement("div", { style: {
|
|
818
848
|
position: 'absolute',
|
|
819
849
|
bottom: '6px',
|
|
820
850
|
right: '1rem',
|
|
821
851
|
} },
|
|
822
|
-
|
|
823
|
-
|
|
852
|
+
React__namespace["default"].createElement("a", { href: hrefViewMore },
|
|
853
|
+
React__namespace["default"].createElement(index$9.Button, { theme: siteType, className: "survey-contact-submit", size: "md" }, t('home.navigator.menu.care.homeButton')))))) : (React__namespace["default"].createElement(SpotlightNoData, { title: t('home.navigator.menu.care.noDatas.title'), description: t('home.navigator.menu.care.noDatas.description'), link: hrefViewMore, cta: t('home.navigator.menu.care.homeButton'), icon: index$5.CommonGAssets.getAssetPath('community.svg') }))));
|
|
824
854
|
};
|
|
825
855
|
|
|
826
856
|
const StyledContainerItems$4 = styled__default["default"].div `
|
|
@@ -1178,28 +1208,28 @@ const Item$3 = ({ item, index = 0 }) => {
|
|
|
1178
1208
|
'data-event-action': `Spotlight Click ${index + 1}`,
|
|
1179
1209
|
'data-event-label': item.link,
|
|
1180
1210
|
};
|
|
1181
|
-
return (
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1211
|
+
return (React__namespace["default"].createElement(StyledItem$4, Object.assign({ key: item.id }, linkProps),
|
|
1212
|
+
React__namespace["default"].createElement(StyledImageCard$2, null,
|
|
1213
|
+
React__namespace["default"].createElement("img", { loading: "lazy", alt: item.title, src: item.banner || '/images/notFound-min-small.jpg' })),
|
|
1214
|
+
React__namespace["default"].createElement("div", { style: {
|
|
1185
1215
|
display: 'flex',
|
|
1186
1216
|
flexDirection: 'column',
|
|
1187
1217
|
gap: 8,
|
|
1188
1218
|
} },
|
|
1189
|
-
|
|
1190
|
-
!!item.buttonDisplay && (
|
|
1219
|
+
React__namespace["default"].createElement(StyledTitle$3, null, item.title),
|
|
1220
|
+
!!item.buttonDisplay && (React__namespace["default"].createElement(StyledButton, Object.assign({ bgColor: item.buttonDisplay.button_background_color, textColor: item.buttonDisplay.button_text_color }, linkProps), item.buttonDisplay.button_label)))));
|
|
1191
1221
|
};
|
|
1192
1222
|
|
|
1193
1223
|
const CategorySpotlights = ({ spotlightsList = [], hrefViewMore }) => {
|
|
1194
1224
|
const { t } = index$1.useTranslations();
|
|
1195
1225
|
const { configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
1196
|
-
return (
|
|
1226
|
+
return (React__namespace["default"].createElement(Spotlights, { title: t('home.navigator.menu.spotlights'), viewMore: t('home.navigator.menu.spotlights.seeAll'), link: hrefViewMore, dataEventAction: "Spotlight See More Click" }, spotlightsList.length !== 0 ? (React__namespace["default"].createElement(StyledContainerItems$4, null, spotlightsList === null || spotlightsList === void 0 ? void 0 : spotlightsList.slice(0, 4).map((spotlight, index) => (React__namespace["default"].createElement(Item$3, { key: index, index: index, item: {
|
|
1197
1227
|
id: spotlight.id,
|
|
1198
1228
|
link: statics.HOME_PAGE_URL + spotlight.permalink,
|
|
1199
1229
|
title: spotlight.name,
|
|
1200
1230
|
banner: spotlight.image,
|
|
1201
1231
|
buttonDisplay: spotlight.buttonDisplay,
|
|
1202
|
-
} }))))) : (
|
|
1232
|
+
} }))))) : (React__namespace["default"].createElement(SpotlightNoData, { title: t('home.navigator.menu.category.noDatas.title'), description: t('home.navigator.menu.category.noDatas.description'), link: hrefViewMore, cta: t('home.navigator.menu.category.noDatas.cta'), icon: index$5.CommonGAssets.getAssetPath('Spotlight.svg') }))));
|
|
1203
1233
|
};
|
|
1204
1234
|
|
|
1205
1235
|
const StyledContainerItems$3 = styled__default["default"].div `
|
|
@@ -1334,27 +1364,27 @@ const Item$2 = ({ post, index = 0 }) => {
|
|
|
1334
1364
|
: null
|
|
1335
1365
|
: null;
|
|
1336
1366
|
const timeText = cleanedTimeDate ? dayjs__default["default"](cleanedTimeDate).toNow(true) : time;
|
|
1337
|
-
return (
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1367
|
+
return (React__namespace["default"].createElement(StyledItem$3, { href: postUrl, "data-event-category": "Hamburger Navigation", "data-event-action": `Together Click ${index + 1}`, "data-event-label": postUrl },
|
|
1368
|
+
React__namespace["default"].createElement(StyledContent$1, null,
|
|
1369
|
+
React__namespace["default"].createElement(StyledInfoUser, null,
|
|
1370
|
+
React__namespace["default"].createElement(index$b.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) }),
|
|
1371
|
+
React__namespace["default"].createElement(StyledWrapInfo, null,
|
|
1372
|
+
React__namespace["default"].createElement(StyledName, { "data-theme": siteType }, (_e = post.author) === null || _e === void 0 ? void 0 : _e.name),
|
|
1373
|
+
React__namespace["default"].createElement(StyledInfo, null,
|
|
1374
|
+
React__namespace["default"].createElement(StyledCategory, { "data-event-category": "Hamburger Navigation", "data-event-action": `Topic Click ${index + 1}`, "data-event-label": communityUrl, onClick: (e) => {
|
|
1345
1375
|
e.preventDefault();
|
|
1346
1376
|
location.href = communityUrl;
|
|
1347
1377
|
}, "data-theme": siteType }, (_f = post.community) === null || _f === void 0 ? void 0 : _f.name),
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
!!((_g = post.photos) === null || _g === void 0 ? void 0 : _g.length) && (
|
|
1378
|
+
React__namespace["default"].createElement(StyledDot, null, "\u2022"),
|
|
1379
|
+
React__namespace["default"].createElement(StyledModifiedTime, { "data-theme": siteType }, timeText)))),
|
|
1380
|
+
React__namespace["default"].createElement(StyledTitle$2, null, post.title)),
|
|
1381
|
+
!!((_g = post.photos) === null || _g === void 0 ? void 0 : _g.length) && (React__namespace["default"].createElement(StyledImage, { loading: "lazy", src: post.photos[0] }))));
|
|
1352
1382
|
};
|
|
1353
1383
|
|
|
1354
1384
|
const CommunitySpotlights = ({ spotlights = [] }) => {
|
|
1355
1385
|
const { configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
1356
1386
|
const { t } = index$1.useTranslations();
|
|
1357
|
-
return (
|
|
1387
|
+
return (React__namespace["default"].createElement(Spotlights, { title: t('home.navigator.menu.trendingPosts'), viewMore: t('home.navigator.menu.trendingPosts.seeMore'), link: normalizeLink.normalizeLink(statics.TOGETHER_URL_FE), dataEventAction: "Together See More Click" }, spotlights.length !== 0 ? (React__namespace["default"].createElement(StyledContainerItems$3, null, spotlights === null || spotlights === void 0 ? void 0 : spotlights.slice(0, 4).map((p, index) => (React__namespace["default"].createElement(Item$2, { index: index, post: p, key: p.id }))))) : (React__namespace["default"].createElement(SpotlightNoData, { title: t('home.navigator.menu.together.noPosts.title'), description: t('home.navigator.menu.together.noPosts.description'), link: `${statics.HOME_PAGE_URL}/community/`, cta: t('home.navigator.menu.together.noPosts.cta'), icon: index$5.CommonGAssets.getAssetPath('community.svg') }))));
|
|
1358
1388
|
};
|
|
1359
1389
|
|
|
1360
1390
|
const StyledContainerItems$2 = styled__default["default"].div `
|
|
@@ -1377,15 +1407,15 @@ const StyledItem$2 = styled__default["default"].a `
|
|
|
1377
1407
|
const Item$1 = ({ item, index = 0 }) => {
|
|
1378
1408
|
if (!item)
|
|
1379
1409
|
return null;
|
|
1380
|
-
return (
|
|
1381
|
-
|
|
1410
|
+
return (React__namespace["default"].createElement(StyledItem$2, { href: item.url, "data-event-category": "Hamburger Navigation", "data-event-action": `Care Click ${index + 1}`, "data-event-label": item.url },
|
|
1411
|
+
React__namespace["default"].createElement("img", { loading: "lazy", alt: item.name, src: item.featuredImage || '/images/avatar.jpg', style: {
|
|
1382
1412
|
width: '40px',
|
|
1383
1413
|
height: '40px',
|
|
1384
1414
|
} }),
|
|
1385
|
-
|
|
1415
|
+
React__namespace["default"].createElement(index$4.Text, { size: "p2", weight: "regular", style: {
|
|
1386
1416
|
marginLeft: 16,
|
|
1387
1417
|
} }, item.name),
|
|
1388
|
-
|
|
1418
|
+
React__namespace["default"].createElement("img", { src: index$5.CommonGAssets.getAssetPath('chevronRightActive.svg'), style: {
|
|
1389
1419
|
width: '20px',
|
|
1390
1420
|
height: '20px',
|
|
1391
1421
|
marginLeft: 'auto',
|
|
@@ -1397,7 +1427,7 @@ const EcomSpotlights = ({ helpfulUrls = [], }) => {
|
|
|
1397
1427
|
// const { siteType } = useContext(NavigationContext)
|
|
1398
1428
|
if (!helpfulUrls.length)
|
|
1399
1429
|
return null;
|
|
1400
|
-
return (
|
|
1430
|
+
return (React__namespace["default"].createElement(Spotlights, { title: t('home.navigator.menu.spotlightEcom') }, helpfulUrls.length !== 0 ? (React__namespace["default"].createElement(StyledContainerItems$2, null, helpfulUrls === null || helpfulUrls === void 0 ? void 0 : helpfulUrls.slice(0, 5).map((s, index) => (React__namespace["default"].createElement(Item$1, { key: index, index: index, item: s }))))) : (React__namespace["default"].createElement(React__namespace["default"].Fragment, null)
|
|
1401
1431
|
// <SpotlightNoData
|
|
1402
1432
|
// title={t('home.navigator.menu.ecom.noDatas.title')}
|
|
1403
1433
|
// description={t('home.navigator.menu.ecom.noDatas.description')}
|
|
@@ -1421,10 +1451,10 @@ const StyledContainerItems$1 = styled__default["default"].div `
|
|
|
1421
1451
|
|
|
1422
1452
|
const AppIcon = (_a) => {
|
|
1423
1453
|
var { size = 24, color = '#2D87F3' } = _a, rest = tslib_es6.__rest(_a, ["size", "color"]);
|
|
1424
|
-
return (
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1454
|
+
return (React__namespace["default"].createElement("svg", Object.assign({ width: size, height: size, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, rest),
|
|
1455
|
+
React__namespace["default"].createElement("rect", { width: "20", height: "20", rx: "4", fill: color }),
|
|
1456
|
+
React__namespace["default"].createElement("path", { d: "M9.12 6.005c0-.088-.005-.181-.012-.27-.022-.611-.623-1.071-1.208-1.046-.69.04-.839 1.007-.248 1.297.09.047.115.088.105.172v5.048c.004.064-.016.096-.077.122-.63.274-.474 1.276.233 1.304.583.03 1.16-.453 1.195-1.044q.012-.135.013-.272c0-1.77.013-3.54 0-5.311m-3.093 5.34c-.109-.048-.144-.108-.132-.232V6.117c.009-.114.103-.108.176-.165.544-.357.313-1.249-.346-1.264h-.023c-.659 0-1.172.546-1.172 1.194q-.002 2.09.004 4.177l.003 1.396c0 .62.527 1.175 1.15 1.175.68 0 .989-.978.34-1.285m7.299-1.489a.623.623 0 1 1-1.247 0 .623.623 0 0 1 1.247 0", fill: "#fff" }),
|
|
1457
|
+
React__namespace["default"].createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.927 9.821c0 1.338.925 2.46 2.162 2.743-.089 1.583-2.049 1.657-3.22 1.47a2.5 2.5 0 0 1-.716-.225 1.3 1.3 0 0 1-.614-.68c-.057-.142-.093-.293-.158-.431a.58.58 0 0 0-.674-.346.59.59 0 0 0-.462.603c.017.415.192.827.44 1.156.26.354.607.625 1.058.827.636.29 1.336.375 2.03.375.774 0 1.591-.132 2.267-.53.643-.38 1.25-.878 1.263-2.217a2.81 2.81 0 0 0 2.17-2.745c0-1.55-1.244-2.811-2.773-2.811S9.927 8.27 9.927 9.82m4.275 0c0 .841-.674 1.525-1.502 1.525a1.515 1.515 0 0 1-1.502-1.525c0-.84.674-1.525 1.502-1.525a1.516 1.516 0 0 1 1.502 1.525", fill: "#fff" })));
|
|
1428
1458
|
};
|
|
1429
1459
|
|
|
1430
1460
|
const StyledItem$1 = styled__default["default"].a `
|
|
@@ -1548,19 +1578,19 @@ const Item = ({ item, index = 0 }) => {
|
|
|
1548
1578
|
? item.link
|
|
1549
1579
|
: `${statics.HOME_PAGE_URL}${item.link}`
|
|
1550
1580
|
: undefined;
|
|
1551
|
-
return (
|
|
1552
|
-
item.isMobileAppTool &&
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
t('home.calcWithApp'))) : (
|
|
1581
|
+
return (React__namespace["default"].createElement(StyledItem$1, { href: link, "data-event-category": "Hamburger Navigation", "data-event-action": `Engage Click ${index + 1}`, "data-event-label": link },
|
|
1582
|
+
item.isMobileAppTool && React__namespace["default"].createElement(Phone, { size: 20, className: "phone-badge" }),
|
|
1583
|
+
React__namespace["default"].createElement("img", { src: index$5.CommonGAssets.getAssetPath('navToolCardBg.svg'), alt: "", loading: "lazy", className: "bg-svg" }),
|
|
1584
|
+
React__namespace["default"].createElement(StyledContentWrapper$1, null,
|
|
1585
|
+
React__namespace["default"].createElement(StyledTitle$1, null, item.title),
|
|
1586
|
+
React__namespace["default"].createElement(StyledDes$1, null, item.subtitle),
|
|
1587
|
+
React__namespace["default"].createElement(StyledBtnView$1, null, item.isMobileAppTool ? (React__namespace["default"].createElement(React__namespace["default"].Fragment, null,
|
|
1588
|
+
React__namespace["default"].createElement(AppIcon, { size: 16 }),
|
|
1589
|
+
t('home.calcWithApp'))) : (React__namespace["default"].createElement(React__namespace["default"].Fragment, null,
|
|
1560
1590
|
t('home.seeMore'),
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1591
|
+
React__namespace["default"].createElement(other.ArrowRight, { size: 18, useCurrentColor: true }))))),
|
|
1592
|
+
React__namespace["default"].createElement(StyledImageCard$1, null,
|
|
1593
|
+
React__namespace["default"].createElement("img", { loading: "lazy", alt: item.title, src: item.icon || '/images/avatar.jpg' }))));
|
|
1564
1594
|
};
|
|
1565
1595
|
|
|
1566
1596
|
const StyledItem = styled__default["default"].a `
|
|
@@ -1780,38 +1810,38 @@ const ItemMarryBaby = ({ item, index = 0, color }) => {
|
|
|
1780
1810
|
? item.link
|
|
1781
1811
|
: `${statics.HOME_PAGE_URL}${item.link}`
|
|
1782
1812
|
: undefined;
|
|
1783
|
-
const renderIcon = () => (
|
|
1784
|
-
|
|
1785
|
-
const renderName = () => (
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1813
|
+
const renderIcon = () => (React__namespace["default"].createElement(StyledImageCard, null,
|
|
1814
|
+
React__namespace["default"].createElement("img", { loading: "lazy", alt: item.title, src: item.icon || '/images/avatar.jpg' })));
|
|
1815
|
+
const renderName = () => (React__namespace["default"].createElement(StyledWrapName, null,
|
|
1816
|
+
React__namespace["default"].createElement(StyledContent, null,
|
|
1817
|
+
React__namespace["default"].createElement(StyledTitle, null, item.title),
|
|
1818
|
+
React__namespace["default"].createElement(StyledDes, null, item.subtitle)),
|
|
1819
|
+
React__namespace["default"].createElement(StyledBtnView, null,
|
|
1820
|
+
React__namespace["default"].createElement("div", { className: "mobile-only" }, t('home.seeMore')),
|
|
1821
|
+
React__namespace["default"].createElement("img", { src: index$5.CommonGAssets.getAssetPath('arrowRightGray.svg'), style: {
|
|
1792
1822
|
width: '12px',
|
|
1793
1823
|
height: '12px',
|
|
1794
1824
|
marginTop: '2px',
|
|
1795
1825
|
marginLeft: '5px',
|
|
1796
1826
|
}, loading: "lazy" }))));
|
|
1797
|
-
return (
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1827
|
+
return (React__namespace["default"].createElement(StyledItem, { href: link, "data-event-category": "Hamburger Navigation", "data-event-action": `Engage Click ${index + 1}`, "data-event-label": link, "data-color": color },
|
|
1828
|
+
React__namespace["default"].createElement("svg", { className: "bg-svg", width: "74", height: "121", viewBox: "0 0 74 121", fill: "none" },
|
|
1829
|
+
React__namespace["default"].createElement("path", { d: "M58.5713 53.428C40.6466 70.0213 12.9929 71.0875 -7.00506 84.9856C-24.9277 97.4005 -38.3893 120.472 -60.213 120.346C-73.3615 120.271 -84.9289 110.925 -91.9303 99.8138C-101.443 84.7327 -103.994 64.0482 -93.916 49.3276C-81.8133 31.6505 -56.6933 28.1101 -41.7246 12.7895C-35.4351 6.35117 -31.2212 -1.90115 -24.8564 -8.25051C-7.17639 -25.9054 34.9604 -29.7543 56.852 -16.9562C80.9056 -2.89888 77.046 36.3304 58.5713 53.428Z", strokeWidth: "0" })),
|
|
1830
|
+
React__namespace["default"].createElement("img", { src: index$5.CommonGAssets.getAssetPath('navMBCardDotBg.svg'), className: "dot-svg", loading: "lazy", alt: "" }),
|
|
1831
|
+
React__namespace["default"].createElement(StyledContentWrapper, null,
|
|
1832
|
+
React__namespace["default"].createElement("div", { className: "mobile-only" }, renderIcon()),
|
|
1833
|
+
React__namespace["default"].createElement("div", { className: "desktop-only" }, renderName())),
|
|
1834
|
+
React__namespace["default"].createElement("div", { className: "mobile-only" }, renderName()),
|
|
1835
|
+
React__namespace["default"].createElement("div", { className: "desktop-only" }, renderIcon())));
|
|
1806
1836
|
};
|
|
1807
1837
|
|
|
1808
1838
|
const ToolSpotlights = ({ hrefViewMore, spotlightHealthTools = [] }) => {
|
|
1809
1839
|
const { t } = index$1.useTranslations();
|
|
1810
1840
|
const marryBabyCardColor = ['pink', 'orange', 'green'];
|
|
1811
1841
|
const { siteType } = React.useContext(navigationProfileButton.NavigationContext);
|
|
1812
|
-
return (
|
|
1813
|
-
spotlightHealthTools.length !== 0 && (
|
|
1814
|
-
spotlightHealthTools.length === 0 && (
|
|
1842
|
+
return (React__namespace["default"].createElement(Spotlights, { title: t('home.navigator.menu.spotlightTools') },
|
|
1843
|
+
spotlightHealthTools.length !== 0 && (React__namespace["default"].createElement(StyledContainerItems$1, null, spotlightHealthTools === null || spotlightHealthTools === void 0 ? void 0 : spotlightHealthTools.slice(0, 3).map((item, index) => siteType === 'marryBaby' ? (React__namespace["default"].createElement(ItemMarryBaby, { key: index, index: index, item: item, color: marryBabyCardColor[index] })) : (React__namespace["default"].createElement(Item, { key: index, index: index, item: item }))))),
|
|
1844
|
+
spotlightHealthTools.length === 0 && (React__namespace["default"].createElement(SpotlightNoData, { title: t('home.navigator.menu.healthTools.noDatas.title'), description: t('home.navigator.menu.healthTools.noDatas.description'), link: hrefViewMore, cta: t('home.navigator.menu.healthTools.noDatas.cta'), icon: index$5.CommonGAssets.getAssetPath('community.svg') }))));
|
|
1815
1845
|
};
|
|
1816
1846
|
|
|
1817
1847
|
const StyledContainerItems = styled__default["default"].div `
|
|
@@ -1828,36 +1858,36 @@ const StyledContainerItems = styled__default["default"].div `
|
|
|
1828
1858
|
const VideoSpotlights = ({ spotlightsList = [], layout = 'default', }) => {
|
|
1829
1859
|
const { t } = index$1.useTranslations();
|
|
1830
1860
|
const { configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
1831
|
-
return (
|
|
1861
|
+
return (React__namespace["default"].createElement(Spotlights, { title: t('home.navigator.menu.lastestVideos') }, spotlightsList.length !== 0 ? (React__namespace["default"].createElement(StyledContainerItems, null, spotlightsList === null || spotlightsList === void 0 ? void 0 : spotlightsList.slice(0, 4).map((video, index) => (React__namespace["default"].createElement(index$8.VideoItem, { key: index, data: Object.assign(Object.assign({}, video), { type: index$a.VideoType.SHORTS }), layout: layout === 'default' ? 'overlay' : 'horizon', dataEventCategory: "Hamburger Navigation", dataEventAction: `Video Click ${index + 1}` }))))) : (React__namespace["default"].createElement(SpotlightNoData, { title: t('home.navigator.menu.category.noDatas.title'), description: t('home.navigator.menu.category.noDatas.description'), link: `${statics.VIDEO_URL_FE}/`, cta: t('home.navigator.menu.category.noDatas.cta'), icon: index$5.CommonGAssets.getAssetPath('Spotlight.svg') }))));
|
|
1832
1862
|
};
|
|
1833
1863
|
|
|
1834
1864
|
const MenuServiceList = ({ closePopup, menuItems = [], projectType, isHomepage = false, }) => {
|
|
1835
1865
|
var _a, _b;
|
|
1836
1866
|
const { siteType, ssrMenuContent: { categories, healthTools, care, together, ecom, videos }, activeMenuService, configs: { statics }, locale, customClasses, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
1837
1867
|
const { t } = index$1.useTranslations();
|
|
1838
|
-
return (
|
|
1839
|
-
!isHomepage && (
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
activeMenuService === 'categories' && (
|
|
1844
|
-
activeMenuService === 'tools' && (
|
|
1845
|
-
activeMenuService === 'care' && (
|
|
1846
|
-
activeMenuService === 'together' && (
|
|
1847
|
-
activeMenuService === 'ecom' && (
|
|
1848
|
-
activeMenuService === 'video' && (
|
|
1868
|
+
return (React__namespace["default"].createElement(StyledMasterMenuContainer, { className: customClasses.categoriesMenu, id: "categories-menu" },
|
|
1869
|
+
!isHomepage && (React__namespace["default"].createElement(StyleWrapperSearch, null,
|
|
1870
|
+
React__namespace["default"].createElement(NavigtionSearch, { siteType: siteType, projectType: projectType, isMobile: false, isRedirectSearchPage: true }))),
|
|
1871
|
+
React__namespace["default"].createElement(StyledWrapper, null,
|
|
1872
|
+
React__namespace["default"].createElement(Categories, { UrlFE: statics.HOME_PAGE_URL, titleBtnViewMore: t('home.navigator.menuItem.allCategories'), menuItems: menuItems, headingTitle: t('home.navigator.menuItem.healthCategories'), onClosePopup: closePopup, activeItem: activeMenuService }),
|
|
1873
|
+
activeMenuService === 'categories' && (React__namespace["default"].createElement(CategorySpotlights, { spotlightsList: (categories === null || categories === void 0 ? void 0 : categories.spotlights) || [], hrefViewMore: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}/spotlight/` })),
|
|
1874
|
+
activeMenuService === 'tools' && (React__namespace["default"].createElement(ToolSpotlights, { spotlightHealthTools: healthTools === null || healthTools === void 0 ? void 0 : healthTools.spotlights, hrefViewMore: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}${((_a = index$3.STATIC_PAGES[locale]) === null || _a === void 0 ? void 0 : _a.HEALTH_TOOLS) || ''}` })),
|
|
1875
|
+
activeMenuService === 'care' && (React__namespace["default"].createElement(CareSpotlights, { spotlights: care === null || care === void 0 ? void 0 : care.spotlights, hrefViewMore: `${statics.CARE_URL_FE}/${(_b = constants$1.LOCALIZED_SLUGS[locale]) === null || _b === void 0 ? void 0 : _b.SPECIALTIES}` })),
|
|
1876
|
+
activeMenuService === 'together' && (React__namespace["default"].createElement(CommunitySpotlights, { spotlights: together === null || together === void 0 ? void 0 : together.spotlights })),
|
|
1877
|
+
activeMenuService === 'ecom' && (React__namespace["default"].createElement(EcomSpotlights, { helpfulUrls: ecom === null || ecom === void 0 ? void 0 : ecom.helpfulUrls })),
|
|
1878
|
+
activeMenuService === 'video' && (React__namespace["default"].createElement(VideoSpotlights, { spotlightsList: videos === null || videos === void 0 ? void 0 : videos.spotlights, layout: "stack" })))));
|
|
1849
1879
|
};
|
|
1850
1880
|
|
|
1851
|
-
const HamburgerMenu = ({ menuItems, isHomepage, projectType }) => {
|
|
1881
|
+
const HamburgerMenu = ({ menuItems, isHomepage, projectType, winCashBackTheme, }) => {
|
|
1852
1882
|
const { siteType } = React.useContext(navigationProfileButton.NavigationContext);
|
|
1853
1883
|
const { containerRef, onContainerFocus, onContainerBlur, onButtonMouseDown, onClose, } = navigationProfileButton.useCSSFocusPopupHelper();
|
|
1854
|
-
return (
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1884
|
+
return (React__namespace["default"].createElement(DisplayWrapper, { mediaQueryKey: "mbDown" },
|
|
1885
|
+
React__namespace["default"].createElement("header", { className: styles$2.menuContainer },
|
|
1886
|
+
React__namespace["default"].createElement("div", { className: styles$2.menuIcon, ref: containerRef, role: "button", tabIndex: 0, onBlur: onContainerBlur, onFocus: onContainerFocus },
|
|
1887
|
+
React__namespace["default"].createElement("div", { className: styles$2.menuIconWrapper, onMouseDown: onButtonMouseDown, "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": "Hamburger Navigation URL" },
|
|
1888
|
+
React__namespace["default"].createElement(ClosePopupIcon, { className: "mobile-close-icon", winCashBackTheme: winCashBackTheme }),
|
|
1889
|
+
React__namespace["default"].createElement(HamburgerIcon, { siteType: siteType, enableSearch: false, className: "mobile-hamburger-icon", winCashBackTheme: winCashBackTheme })),
|
|
1890
|
+
React__namespace["default"].createElement(MenuServiceList, { menuItems: menuItems, isHomepage: isHomepage, projectType: projectType, closePopup: onClose })))));
|
|
1861
1891
|
};
|
|
1862
1892
|
|
|
1863
1893
|
const StyledHeaderWrapper = styled__default["default"].div `
|
|
@@ -1865,13 +1895,14 @@ const StyledHeaderWrapper = styled__default["default"].div `
|
|
|
1865
1895
|
width: 100%;
|
|
1866
1896
|
align-items: center;
|
|
1867
1897
|
|
|
1868
|
-
background-color: ${miscTheme.theme.colors.white};
|
|
1898
|
+
background-color: ${({ winCashBackTheme }) => winCashBackTheme ? miscTheme.theme.colors.blue900 : miscTheme.theme.colors.white};
|
|
1869
1899
|
|
|
1870
1900
|
transition: height 0.3s, transform 0.3s;
|
|
1871
1901
|
|
|
1872
1902
|
&[data-site-type='helloSites'] {
|
|
1873
|
-
border-bottom: 1px solid ${miscTheme.theme.colors.neutral100};
|
|
1903
|
+
border-bottom: ${({ winCashBackTheme }) => winCashBackTheme ? 'none' : `1px solid ${miscTheme.theme.colors.neutral100}`};
|
|
1874
1904
|
}
|
|
1905
|
+
|
|
1875
1906
|
&[data-sponsored='true'] {
|
|
1876
1907
|
border-bottom: none;
|
|
1877
1908
|
}
|
|
@@ -1951,7 +1982,7 @@ const StyledHeader = styled__default["default"].div `
|
|
|
1951
1982
|
${utils.MediaQueries.mbDown} {
|
|
1952
1983
|
position: relative;
|
|
1953
1984
|
height: 56px;
|
|
1954
|
-
background: white;
|
|
1985
|
+
background: ${({ winCashBackTheme }) => winCashBackTheme ? miscTheme.theme.colors.blue900 : miscTheme.theme.colors.white};
|
|
1955
1986
|
gap: 2px;
|
|
1956
1987
|
}
|
|
1957
1988
|
|
|
@@ -2081,25 +2112,25 @@ const StyleButtonAiChat = styled__default["default"](index$2.Button) `
|
|
|
2081
2112
|
var styles = {"gridContainer":"q3nL5cp","container":"_2DNf80G","closeWrapper":"Q-glX-n"};
|
|
2082
2113
|
|
|
2083
2114
|
const BtnClosePopup = ({ onClosePopup }) => {
|
|
2084
|
-
return (
|
|
2085
|
-
|
|
2086
|
-
|
|
2115
|
+
return (React__namespace["default"].createElement("div", { className: `${styles.closeWrapper} close-btn`, onClick: onClosePopup },
|
|
2116
|
+
React__namespace["default"].createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" },
|
|
2117
|
+
React__namespace["default"].createElement("path", { d: "M18 6L6 18M18 18L6 6", stroke: "#3E3F58", strokeWidth: "1.3", strokeLinecap: "round" }))));
|
|
2087
2118
|
};
|
|
2088
2119
|
|
|
2089
2120
|
const PopupWrapper = ({ onClosePopup, isDisplay, children, isNavMenu, hideCloseBtn, stylesContainer, }) => {
|
|
2090
|
-
return (
|
|
2091
|
-
|
|
2092
|
-
!hideCloseBtn && (
|
|
2093
|
-
|
|
2094
|
-
|
|
2121
|
+
return (React__namespace["default"].createElement("div", { className: "hhgcomp-navigation-popupwrapper-menuwrapper top-menu-health-tools", "data-is-display": !!isDisplay, "data-is-nav-menu": !!isNavMenu },
|
|
2122
|
+
React__namespace["default"].createElement(index$c.Container, { className: "hhgcomp-navigation-popupwrapper-menuwrapper-child" },
|
|
2123
|
+
!hideCloseBtn && (React__namespace["default"].createElement("div", { className: styles.container },
|
|
2124
|
+
React__namespace["default"].createElement(BtnClosePopup, { onClosePopup: onClosePopup }))),
|
|
2125
|
+
React__namespace["default"].createElement(index$c.Container, { className: styles.gridContainer, style: stylesContainer }, children))));
|
|
2095
2126
|
};
|
|
2096
2127
|
|
|
2097
2128
|
const MenuCareList = ({ careSpecialties = [], isOpen, onClose, spotlights = [], }) => {
|
|
2098
2129
|
var _a;
|
|
2099
2130
|
const { t } = index$1.useTranslations();
|
|
2100
2131
|
const { locale, configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
2101
|
-
return (
|
|
2102
|
-
|
|
2132
|
+
return (React__namespace["default"].createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true },
|
|
2133
|
+
React__namespace["default"].createElement(Categories, { headingTitle: t('home.navigator.menuItem.specialties'), hrefViewMore: `${statics.CARE_URL_FE}/`, UrlFE: statics.CARE_URL_FE, onClosePopup: onClose, titleBtnViewMore: t('home.navigator.menuItem.allSpecialties'), menuItems: (careSpecialties === null || careSpecialties === void 0 ? void 0 : careSpecialties.map((specialty) => {
|
|
2103
2134
|
if (!specialty)
|
|
2104
2135
|
return {};
|
|
2105
2136
|
return {
|
|
@@ -2112,14 +2143,14 @@ const MenuCareList = ({ careSpecialties = [], isOpen, onClose, spotlights = [],
|
|
|
2112
2143
|
thumbnail: (specialty === null || specialty === void 0 ? void 0 : specialty.thumbnail) || '',
|
|
2113
2144
|
};
|
|
2114
2145
|
})) || [] }),
|
|
2115
|
-
|
|
2146
|
+
React__namespace["default"].createElement(CareSpotlights, { spotlights: spotlights, hrefViewMore: `${statics.CARE_URL_FE}/${(_a = constants$1.LOCALIZED_SLUGS[locale]) === null || _a === void 0 ? void 0 : _a.SPECIALTIES}/` })));
|
|
2116
2147
|
};
|
|
2117
2148
|
|
|
2118
2149
|
const MenuCategoriesList = ({ categories = [], spotlightsList = [], onClose, isOpen, }) => {
|
|
2119
2150
|
const { t } = index$1.useTranslations();
|
|
2120
2151
|
const { locale, configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
2121
|
-
return (
|
|
2122
|
-
|
|
2152
|
+
return (React__namespace["default"].createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true },
|
|
2153
|
+
React__namespace["default"].createElement(Categories, { hrefViewMore: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}/categories/`, UrlFE: statics.HOME_PAGE_URL, onClosePopup: onClose, titleBtnViewMore: t('home.navigator.menuItem.allCategories'), menuItems: (categories === null || categories === void 0 ? void 0 : categories.map((cat) => {
|
|
2123
2154
|
if (!cat)
|
|
2124
2155
|
return {};
|
|
2125
2156
|
return {
|
|
@@ -2128,14 +2159,14 @@ const MenuCategoriesList = ({ categories = [], spotlightsList = [], onClose, isO
|
|
|
2128
2159
|
thumbnail: cat.iconUrl || null,
|
|
2129
2160
|
};
|
|
2130
2161
|
})) || [], headingTitle: t('home.navigator.menuItem.healthCategories') }),
|
|
2131
|
-
|
|
2162
|
+
React__namespace["default"].createElement(CategorySpotlights, { spotlightsList: spotlightsList, hrefViewMore: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}/spotlight/` })));
|
|
2132
2163
|
};
|
|
2133
2164
|
|
|
2134
2165
|
const MenuCommunitiesList = ({ communities = [], onClose, isOpen, spotlights = [], }) => {
|
|
2135
2166
|
const { t } = index$1.useTranslations();
|
|
2136
2167
|
const { configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
2137
|
-
return (
|
|
2138
|
-
|
|
2168
|
+
return (React__namespace["default"].createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true },
|
|
2169
|
+
React__namespace["default"].createElement(Categories, { hrefViewMore: normalizeLink.normalizeLink(statics.TOGETHER_URL_FE), UrlFE: normalizeLink.normalizeLinkSlash(statics.TOGETHER_URL_FE), onClosePopup: onClose, titleBtnViewMore: t('home.navigator.menuItem.allCommunities'), menuItems: (communities === null || communities === void 0 ? void 0 : communities.map((community) => {
|
|
2139
2170
|
if (!community)
|
|
2140
2171
|
return {};
|
|
2141
2172
|
return {
|
|
@@ -2144,7 +2175,7 @@ const MenuCommunitiesList = ({ communities = [], onClose, isOpen, spotlights = [
|
|
|
2144
2175
|
thumbnail: community.thumbnail || '',
|
|
2145
2176
|
};
|
|
2146
2177
|
})) || [], headingTitle: t('home.navigator.menuItem.allCommunitiesheadingTitle') }),
|
|
2147
|
-
|
|
2178
|
+
React__namespace["default"].createElement(CommunitySpotlights, { spotlights: spotlights })));
|
|
2148
2179
|
};
|
|
2149
2180
|
|
|
2150
2181
|
const MenuHealthToolsList = ({ locale, onClose, isOpen, spotlightHealthTools = [], healthTools = [], }) => {
|
|
@@ -2152,8 +2183,8 @@ const MenuHealthToolsList = ({ locale, onClose, isOpen, spotlightHealthTools = [
|
|
|
2152
2183
|
const { t } = index$1.useTranslations();
|
|
2153
2184
|
const { configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
2154
2185
|
const hrefViewMore = `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}${((_a = index$3.STATIC_PAGES[locale]) === null || _a === void 0 ? void 0 : _a.HEALTH_TOOLS) || ''}`;
|
|
2155
|
-
return (
|
|
2156
|
-
|
|
2186
|
+
return (React__namespace["default"].createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true },
|
|
2187
|
+
React__namespace["default"].createElement(Categories, { hrefViewMore: hrefViewMore, UrlFE: statics.HOME_PAGE_URL, onClosePopup: onClose, headingTitle: t('home.navigator.menuItem.healthToolsList'), titleBtnViewMore: t('home.navigator.menuItem.allHealthTools'), menuItems: healthTools.map((t) => ({
|
|
2157
2188
|
name: t.title,
|
|
2158
2189
|
link: t.link
|
|
2159
2190
|
? t.link.startsWith('http')
|
|
@@ -2163,7 +2194,7 @@ const MenuHealthToolsList = ({ locale, onClose, isOpen, spotlightHealthTools = [
|
|
|
2163
2194
|
thumbnail: t.icon,
|
|
2164
2195
|
isMobileAppTool: t.isMobileAppTool,
|
|
2165
2196
|
})) }),
|
|
2166
|
-
|
|
2197
|
+
React__namespace["default"].createElement(ToolSpotlights, { spotlightHealthTools: spotlightHealthTools, hrefViewMore: hrefViewMore })));
|
|
2167
2198
|
};
|
|
2168
2199
|
|
|
2169
2200
|
const MenuVideoList = ({ spotlightsList = [], onClose, isOpen }) => {
|
|
@@ -2186,9 +2217,9 @@ const MenuVideoList = ({ spotlightsList = [], onClose, isOpen }) => {
|
|
|
2186
2217
|
// thumbnail: CommonGAssets.getAssetPath('nav-icons/podcast.svg'),
|
|
2187
2218
|
// },
|
|
2188
2219
|
], []);
|
|
2189
|
-
return (
|
|
2190
|
-
|
|
2191
|
-
|
|
2220
|
+
return (React__namespace["default"].createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true },
|
|
2221
|
+
React__namespace["default"].createElement(Categories, { hrefViewMore: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}/videos/`, UrlFE: statics.HOME_PAGE_URL, onClosePopup: onClose, titleBtnViewMore: t('home.navigator.menuItem.allVideos'), menuItems: listing, headingTitle: t('home.navigator.menuItem.videoCategories') }),
|
|
2222
|
+
React__namespace["default"].createElement(VideoSpotlights, { spotlightsList: spotlightsList })));
|
|
2192
2223
|
};
|
|
2193
2224
|
|
|
2194
2225
|
styled__default["default"].div `
|
|
@@ -2224,94 +2255,94 @@ const StyleWrapperIcon = styled__default["default"].div `
|
|
|
2224
2255
|
background-blend-mode: soft-light, normal;
|
|
2225
2256
|
`;
|
|
2226
2257
|
|
|
2227
|
-
const InitialCart = () => (
|
|
2258
|
+
const InitialCart = () => (React__namespace["default"].createElement("svg", { xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", width: "512", height: "512", style: {
|
|
2228
2259
|
width: '100%',
|
|
2229
2260
|
height: '100%',
|
|
2230
2261
|
contentVisibility: 'visible',
|
|
2231
2262
|
}, viewBox: "0 0 512 512" },
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
const InitialDoctor = () => (
|
|
2263
|
+
React__namespace["default"].createElement("defs", null,
|
|
2264
|
+
React__namespace["default"].createElement("clipPath", { id: "__lottie_element_2" },
|
|
2265
|
+
React__namespace["default"].createElement("path", { d: "M0 0h512v512H0z" })),
|
|
2266
|
+
React__namespace["default"].createElement("path", { fill: "#FFF", d: "m139 0-13 174h244l-30 292 165 1 4-466z", opacity: "1", id: "__lottie_element_6", display: "block" }),
|
|
2267
|
+
React__namespace["default"].createElement("mask", { id: "__lottie_element_6_1", "mask-type": "alpha" },
|
|
2268
|
+
React__namespace["default"].createElement("use", { xlinkHref: "#__lottie_element_6" }))),
|
|
2269
|
+
React__namespace["default"].createElement("g", { clipPath: "url(#__lottie_element_2)" },
|
|
2270
|
+
React__namespace["default"].createElement("path", { fill: "#2B62CD", d: "m430 181-40 41-111-120a18 18 0 0 1-5-13c0-5 2-9 5-13l6-5a18 18 0 0 1 25-1zm-348 0 40 41 111-120a18 18 0 0 0 0-26l-6-5a18 18 0 0 0-25-1z", display: "block" }),
|
|
2271
|
+
React__namespace["default"].createElement("g", { display: "block" },
|
|
2272
|
+
React__namespace["default"].createElement("path", { fill: "#2D87F3", d: "M385 427H125c-4 0-9-1-13-5a20 20 0 0 1-6-12L88 239h335l-18 171a20 20 0 0 1-7 12c-3 4-8 5-13 5" }),
|
|
2273
|
+
React__namespace["default"].createElement("path", { fill: "#2B62CD", d: "m160 402-5-2a6 6 0 0 1-1-4l-8-114v-2a6 6 0 0 1 3-4 6 6 0 0 1 5 0 6 6 0 0 1 4 5l8 115-1 2a6 6 0 0 1-1 2 6 6 0 0 1-4 2m61 0-5-2a6 6 0 0 1-1-4l-2-114c0-2 0-3 2-5a6 6 0 0 1 4-1l4 1a6 6 0 0 1 2 4l2 115a6 6 0 0 1-2 4 6 6 0 0 1-4 2zm131 0a6 6 0 0 1-5-4l-1-2 8-115a6 6 0 0 1 2-4l2-1a6 6 0 0 1 2 0 6 6 0 0 1 5 2 6 6 0 0 1 1 4l-8 114a6 6 0 0 1-6 6m-61 0a6 6 0 0 1-6-6l2-114 2-5a6 6 0 0 1 4-1 6 6 0 0 1 5 1 6 6 0 0 1 1 5l-2 114a6 6 0 0 1-1 4 6 6 0 0 1-5 2" }),
|
|
2274
|
+
React__namespace["default"].createElement("path", { fill: "#91CAFF", d: "M424 243H88a20 20 0 0 1-21-18l-3-28a20 20 0 0 1 20-23h344a20 20 0 0 1 20 23l-3 28a20 20 0 0 1-21 18" })),
|
|
2275
|
+
React__namespace["default"].createElement("g", { mask: "url(#__lottie_element_6_1)", display: "block" },
|
|
2276
|
+
React__namespace["default"].createElement("path", { fill: "#FFC326", d: "m294 198-16 123a5 5 0 0 1-5 5h-80l-4-2a5 5 0 0 1-1-4l15-115h1z" }),
|
|
2277
|
+
React__namespace["default"].createElement("path", { fill: "#FFD658", d: "M272 189c0 3 0 7 2 10a12 12 0 0 0 10 6h-81l-3-1c-3-1-5-3-6-5a15 15 0 0 1 5-19 17 17 0 0 1 9-3h80c-4 0-7 1-9 3a15 15 0 0 0-7 9" }),
|
|
2278
|
+
React__namespace["default"].createElement("path", { fill: "#FEA21E", d: "M277 326h-4c3 0 5-2 5-4l15-115 1-9v1l-1 1a9 9 0 0 1-5 4 11 11 0 0 1-8 0c-3-1-5-3-6-5-4-7-2-15 5-19 2-2 5-3 9-3h1c4 0 7 2 10 4l6 9 1 11 14 119-1 4z" }),
|
|
2279
|
+
React__namespace["default"].createElement("path", { fill: "#FC7419", d: "M303 310v-74a3 3 0 1 0-5 0v74l-21 16h38l4-2zm-5-109a13 13 0 0 1-5 6l1-9c0-1 0 0 0 0 0-3-1-6-4-7a4 4 0 0 0-5 1v1c0 2-1 3-2 3a3 3 0 0 1-3-2l1-4a9 9 0 0 1 11-4c3 1 5 3 6 6v9" })),
|
|
2280
|
+
React__namespace["default"].createElement("g", { display: "block" },
|
|
2281
|
+
React__namespace["default"].createElement("path", { fill: "#FFC326", d: "m460 330-16 123a5 5 0 0 1-5 5h-80l-4-2a5 5 0 0 1-1-4l15-115h1z" }),
|
|
2282
|
+
React__namespace["default"].createElement("path", { fill: "#FFD658", d: "M438 321c0 3 0 6 2 9a12 12 0 0 0 10 7h-81l-3-1c-3-1-5-3-6-6a15 15 0 0 1 5-18 17 17 0 0 1 9-3h80c-4 0-7 1-9 3a15 15 0 0 0-7 9" }),
|
|
2283
|
+
React__namespace["default"].createElement("path", { fill: "#FEA21E", d: "M443 458h-4c3 0 5-2 5-5l15-114 1-9v1l-1 1a9 9 0 0 1-5 4 11 11 0 0 1-8 0c-3-1-5-3-6-6-4-6-2-14 5-18 2-2 5-3 9-3h1c4 0 7 2 10 4s5 5 6 9l1 11 14 119-1 4z" }),
|
|
2284
|
+
React__namespace["default"].createElement("path", { fill: "#FC7419", d: "M469 442v-74a3 3 0 1 0-5 0v74l-21 16h38l4-2zm-5-109a13 13 0 0 1-5 6l1-9c0-1 0 0 0 0 0-3-1-6-4-7a4 4 0 0 0-4 1l-1 1-2 3a3 3 0 0 1-3-3l1-3a9 9 0 0 1 11-4c3 1 5 3 6 5 1 3 2 7 0 10" })))));
|
|
2285
|
+
|
|
2286
|
+
const InitialDoctor = () => (React__namespace["default"].createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "512", height: "512", style: {
|
|
2256
2287
|
width: '100%',
|
|
2257
2288
|
height: '100%',
|
|
2258
2289
|
contentVisibility: 'visible',
|
|
2259
2290
|
}, viewBox: "0 0 512 512" },
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2291
|
+
React__namespace["default"].createElement("defs", null,
|
|
2292
|
+
React__namespace["default"].createElement("clipPath", { id: "__lottie_element_23" },
|
|
2293
|
+
React__namespace["default"].createElement("path", { d: "M0 0h512v512H0z" }))),
|
|
2294
|
+
React__namespace["default"].createElement("g", { clipPath: "url(#__lottie_element_23)" },
|
|
2295
|
+
React__namespace["default"].createElement("g", { display: "block" },
|
|
2296
|
+
React__namespace["default"].createElement("path", { fill: "#1B3250", d: "M430 332c-13-17-52-37-42-63 16-41-9-72-28-84-22-14-23-43-30-66-15-50-53-73-103-73s-88 21-103 71c-7 22-7 53-29 67-19 12-61 41-45 82 10 26-15 52-28 69-39 53 13 89 72 98l255 2c59-9 120-50 81-103" }),
|
|
2297
|
+
React__namespace["default"].createElement("path", { fill: "#FFB497", d: "M120 202c-11 4-13 17-10 29a29 29 0 0 0 14 17 29 29 0 0 0 22 3l-8-49a25 25 0 0 0-18 0" }),
|
|
2298
|
+
React__namespace["default"].createElement("path", { fill: "#FF977B", d: "M147 235a5 5 0 0 1-4-2c-6-8-17-8-17-8a5 5 0 0 1-4-2 5 5 0 0 1 0-7l4-1c1 0 16 0 25 11a5 5 0 0 1-4 9" }),
|
|
2299
|
+
React__namespace["default"].createElement("path", { fill: "#FFB497", d: "M332 202a25 25 0 0 0-18 0l-8 49a29 29 0 0 0 22-3c7-3 12-10 14-17 3-12 1-25-10-29" }),
|
|
2300
|
+
React__namespace["default"].createElement("path", { fill: "#FF977B", d: "M305 235a5 5 0 0 1-5-3 5 5 0 0 1 1-6c9-11 24-11 25-11a5 5 0 0 1 5 5 5 5 0 0 1-5 5s-11 0-17 8a5 5 0 0 1-4 2" }),
|
|
2301
|
+
React__namespace["default"].createElement("path", { fill: "#E3F2FF", d: "M366 452H86a3 3 0 0 1-4-4c5-19 19-47 37-65a153 153 0 0 1 42-28l1-1a85 85 0 0 1 29-19h70a84 84 0 0 1 29 19l1 1a153 153 0 0 1 42 28c18 18 32 46 37 65a3 3 0 0 1-1 3 3 3 0 0 1-3 1" }),
|
|
2302
|
+
React__namespace["default"].createElement("path", { fill: "#FCCAAF", d: "M261 335c-25 32-48 32-70 0l5-10v-1a45 45 0 0 0 2-13h56a48 48 0 0 0 2 13v1l5 10" }),
|
|
2303
|
+
React__namespace["default"].createElement("path", { fill: "#2D87F3", d: "M281 452H175c-14-93 16-117 16-117 7 9 20 15 35 15s28-6 35-15c0 0 9 12 16 37 5 20 6 60 4 80" }),
|
|
2304
|
+
React__namespace["default"].createElement("path", { fill: "#BCDEFF", d: "M191 335a84 84 0 0 0-30 19 53 53 0 0 0-13 28c0 3 11 1 16 0h1v1c-13 8-17 19-16 25 2 15 6 30 13 44h26s-12-72 3-117m96 48a1 1 0 0 1 0-1h1c1 0 0 0 0 0 5 1 16 3 16 0a53 53 0 0 0-13-28 83 83 0 0 0-30-19c15 45 3 117 3 117h26a157 157 0 0 0 13-44c1-6-3-17-16-25" }),
|
|
2305
|
+
React__namespace["default"].createElement("path", { fill: "#FF977B", d: "M256 325c-20 18-40 18-60 0v-1a46 46 0 0 0 2-13h56a48 48 0 0 0 2 13v1" }),
|
|
2306
|
+
React__namespace["default"].createElement("path", { fill: "#FCCAAF", d: "M314 205c-3 54-17 80-39 96-14 11-37 24-49 24s-35-13-49-24c-22-16-36-42-39-96 52-21 30-127 85-99a7 7 0 0 0 6 0c55-28 33 78 85 99" }),
|
|
2307
|
+
React__namespace["default"].createElement("path", { fill: "#FFB497", d: "M221 106c-27-12-34 12-43 40-7 25-16 54-41 63l1 3c43 0 71-62 83-106" })),
|
|
2308
|
+
React__namespace["default"].createElement("path", { fill: "#FF977B", d: "M233 233a5 5 0 0 0-4 2l-3 1-3-1a5 5 0 0 0-2-2 5 5 0 0 0-4 0 5 5 0 0 0-3 5c0 6 9 8 12 8s12-2 12-8a5 5 0 0 0-2-3 5 5 0 0 0-3-2", display: "block" }),
|
|
2309
|
+
React__namespace["default"].createElement("path", { fill: "#1B3250", d: "m261 199 9-5a27 27 0 0 1 11-1c4 0 7 0 11 2l8 4a2 2 0 0 1 1 2 2 2 0 0 1 0 1h-1l-10-1h-9a20 20 0 0 0-7 2 65 65 0 0 0-7 4 5 5 0 0 1-4 1 5 5 0 0 1-3-2 5 5 0 0 1-1-2 5 5 0 0 1 2-5", display: "block" }),
|
|
2310
|
+
React__namespace["default"].createElement("path", { fill: "#284A75", d: "M280 218a9 9 0 1 0 0-19 9 9 0 0 0 0 19", display: "block" }),
|
|
2311
|
+
React__namespace["default"].createElement("path", { fill: "#1B3250", d: "m192 210-7-4-7-2h-9l-9 1a2 2 0 0 1-2-1v-1l1-1 9-4c3-2 6-2 10-2 4-1 7 0 11 1l9 5a5 5 0 0 1 2 3v4a5 5 0 0 1-7 2l-1-1", display: "block" }),
|
|
2312
|
+
React__namespace["default"].createElement("path", { fill: "#284A75", d: "M184 218a9 9 0 1 0 0-19 9 9 0 0 0 0 19", display: "block" }),
|
|
2313
|
+
React__namespace["default"].createElement("g", { fill: "#FFF", display: "block" },
|
|
2314
|
+
React__namespace["default"].createElement("path", { d: "m216 213-4-1a5 5 0 0 1-1-3v-4a5 5 0 0 1 3-2 33 33 0 0 1 24 0 5 5 0 0 1 3 7 5 5 0 0 1-3 2h-3a23 23 0 0 0-18 1h-1" }),
|
|
2315
|
+
React__namespace["default"].createElement("path", { d: "M183 249a38 38 0 0 1-35-23 38 38 0 0 1-2-22 38 38 0 0 1 11-19 38 38 0 0 1 19-11c7-1 15 0 22 2a38 38 0 0 1 16 14 38 38 0 0 1 7 21 38 38 0 0 1-11 27 38 38 0 0 1-27 11m0-65a27 27 0 0 0-25 17 27 27 0 0 0-2 15 27 27 0 0 0 8 14 27 27 0 0 0 42-4c3-4 4-9 4-15a27 27 0 0 0-8-19 27 27 0 0 0-19-8zm86 65a38 38 0 0 1-35-24 38 38 0 0 1 27-51 38 38 0 0 1 39 16 38 38 0 0 1 6 21 38 38 0 0 1-11 27 38 38 0 0 1-26 11m0-65a27 27 0 0 0-25 17 27 27 0 0 0-2 15 27 27 0 0 0 8 14 27 27 0 0 0 46-19 27 27 0 0 0-8-19 27 27 0 0 0-19-8z" })),
|
|
2316
|
+
React__namespace["default"].createElement("path", { d: "m205 180-2-1c-10-4-39-9-47-1a5 5 0 0 1-3 2 5 5 0 0 1-4-2 5 5 0 0 1-2-3l1-4c14-15 52-4 59-1a5 5 0 0 1 3 6 5 5 0 0 1-2 3l-3 1zm42 0-3-1a5 5 0 0 1-1-7 5 5 0 0 1 2-2c7-3 45-14 59 1a5 5 0 0 1 1 4l-2 3a5 5 0 0 1-4 2l-3-2c-8-8-37-3-47 1l-2 1", fill: "#284A75", display: "block" }),
|
|
2317
|
+
React__namespace["default"].createElement("path", { fill: "#FF886C", d: "M208 260a4 4 0 0 0-3 1 4 4 0 0 0-1 3c2 8 6 19 22 19s21-11 22-19a4 4 0 0 0-4-4l-18-1-18 1", display: "block" }),
|
|
2318
|
+
React__namespace["default"].createElement("g", { display: "block" },
|
|
2319
|
+
React__namespace["default"].createElement("g", { fill: "#FFF" },
|
|
2320
|
+
React__namespace["default"].createElement("path", { d: "M469 405a85 85 0 1 1-170 0 85 85 0 0 1 170 0" }),
|
|
2321
|
+
React__namespace["default"].createElement("path", { d: "M469 405a85 85 0 1 1-170 0 85 85 0 0 1 170 0" })),
|
|
2322
|
+
React__namespace["default"].createElement("path", { fill: "#E4E8EC", d: "M384 480a75 75 0 1 0 0-149 75 75 0 0 0 0 149m0 11a85 85 0 1 0 0-171 85 85 0 0 0 0 171" }),
|
|
2323
|
+
React__namespace["default"].createElement("path", { fill: "#FFF", d: "M469 405a85 85 0 1 1-170 0 85 85 0 0 1 170 0" }),
|
|
2324
|
+
React__namespace["default"].createElement("path", { fill: "#E4E8EC", d: "M384 480a75 75 0 1 0 0-149 75 75 0 0 0 0 149m0 11a85 85 0 1 0 0-171 85 85 0 0 0 0 171" }),
|
|
2325
|
+
React__namespace["default"].createElement("path", { fill: "#FF6F4D", d: "M389 358h-11a17 17 0 0 0-12 5 17 17 0 0 0-5 12v3l-1 3a4 4 0 0 1-3 1h-3a17 17 0 0 0-17 17v12a17 17 0 0 0 17 17h3a4 4 0 0 1 4 3v3a17 17 0 0 0 17 17h11c5 0 9-2 12-5s5-7 5-12v-3a4 4 0 0 1 4-3h3c4 0 9-2 12-5s5-8 5-12v-12c0-5-2-9-5-12a17 17 0 0 0-12-5h-3a4 4 0 0 1-4-4v-3a17 17 0 0 0-5-12 17 17 0 0 0-12-5" })))));
|
|
2295
2326
|
|
|
2296
2327
|
const MenuViewMore = ({ menuItems = [], isOpen, onClose }) => {
|
|
2297
2328
|
const { locale, configs: { enableAppIntroPage }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
2298
2329
|
const ecomNavItem = menuItems.find((m) => m.id === 'ecom');
|
|
2299
2330
|
const careNavItem = menuItems.find((m) => m.id === 'care');
|
|
2300
|
-
return (
|
|
2331
|
+
return (React__namespace["default"].createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true, hideCloseBtn: true, stylesContainer: {
|
|
2301
2332
|
display: 'flex',
|
|
2302
2333
|
gap: 0,
|
|
2303
2334
|
padding: 0,
|
|
2304
2335
|
} },
|
|
2305
|
-
ecomNavItem && (
|
|
2306
|
-
|
|
2307
|
-
careNavItem && (
|
|
2308
|
-
|
|
2309
|
-
enableAppIntroPage && (
|
|
2310
|
-
|
|
2311
|
-
|
|
2336
|
+
ecomNavItem && (React__namespace["default"].createElement("a", { tabIndex: 0, href: ecomNavItem.link, "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": ecomNavItem.link },
|
|
2337
|
+
React__namespace["default"].createElement(StyleButton, { variant: "tertiary", leftIcon: React__namespace["default"].createElement(InitialCart, null) }, ecomNavItem.name))),
|
|
2338
|
+
careNavItem && (React__namespace["default"].createElement("a", { tabIndex: 0, href: careNavItem.link, "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": careNavItem.link },
|
|
2339
|
+
React__namespace["default"].createElement(StyleButton, { variant: "tertiary", leftIcon: React__namespace["default"].createElement(InitialDoctor, null) }, careNavItem.name))),
|
|
2340
|
+
enableAppIntroPage && (React__namespace["default"].createElement("a", { tabIndex: 0, href: "https://applink.hellobacsi.com/o9Q88rQh7Mb", "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": `https://applink.hellobacsi.com/o9Q88rQh7Mb` },
|
|
2341
|
+
React__namespace["default"].createElement(StyleButton, { variant: "tertiary", leftIcon: React__namespace["default"].createElement(StyleWrapperIcon, null,
|
|
2342
|
+
React__namespace["default"].createElement(core.Logo, { width: 16, height: 15 })) }, `${index$3.LOCALE_SPECS[locale || 'en-PH'].SITE_NAME_FORMATTED} App`)))));
|
|
2312
2343
|
};
|
|
2313
2344
|
|
|
2314
|
-
const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent, subHead, projectType, customClasses, }) => {
|
|
2345
|
+
const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent, subHead, projectType, customClasses, winCashBackTheme, }) => {
|
|
2315
2346
|
var _a, _b, _c, _d;
|
|
2316
2347
|
const { siteType, isMobile = false, locale, sitewideBanner, sitewideBannerShown = true, sponsorComponent, isHomepage = false,
|
|
2317
2348
|
// onBookingClick,
|
|
@@ -2384,49 +2415,49 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
|
|
|
2384
2415
|
scrolling();
|
|
2385
2416
|
}, [isMobile]);
|
|
2386
2417
|
const isShowingSiteWideBanner = sitewideBannerShown && !!sitewideBanner;
|
|
2387
|
-
return (
|
|
2418
|
+
return (React__namespace["default"].createElement(StyledHeaderWrapper, { "data-site-type": siteType, "data-sponsored": isSponsored, "data-sitewide-banner-shown": isShowingSiteWideBanner, "data-header-type": "home", "data-collapsed": isCollapsed, "data-is-displayed": true, id: "site-header", ref: headerRef, winCashBackTheme: winCashBackTheme, className: customClasses.wrapper },
|
|
2388
2419
|
sitewideBanner,
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
isMobile && (
|
|
2392
|
-
logoComponent
|
|
2420
|
+
React__namespace["default"].createElement(StyledHeader, { className: customClasses.header, "data-site-type": siteType, winCashBackTheme: winCashBackTheme },
|
|
2421
|
+
React__namespace["default"].createElement(StyledLeftGroup, { className: customClasses.leftGroup, "data-site-type": siteType },
|
|
2422
|
+
isMobile && (React__namespace["default"].createElement(HamburgerMenu, { menuItems: menuItems.filter((m) => !!m.link), isHomepage: isHomepage, projectType: projectType, winCashBackTheme: winCashBackTheme })),
|
|
2423
|
+
logoComponent ? (React__namespace["default"].createElement("a", { style: { flexShrink: 0 }, href: HOME_PAGE_URL }, logoComponent)) : (React__namespace["default"].createElement("a", { style: {
|
|
2393
2424
|
flexShrink: 0,
|
|
2394
2425
|
}, href: HOME_PAGE_URL },
|
|
2395
|
-
|
|
2396
|
-
|
|
2426
|
+
React__namespace["default"].createElement("div", null,
|
|
2427
|
+
React__namespace["default"].createElement(index$d.Logo, { style: {
|
|
2397
2428
|
display: 'flex',
|
|
2398
|
-
}, type: logoType, badge: locale === 'id-ID' && (
|
|
2399
|
-
!isMobile && (
|
|
2400
|
-
|
|
2401
|
-
!isMobile && siteType !== 'marryBaby' && (
|
|
2429
|
+
}, type: logoType, badge: locale === 'id-ID' && (React__namespace["default"].createElement("img", { src: index$5.CommonGAssets.getAssetPath('sehat-badge.png'), width: "56", height: "23", loading: "lazy" })), dateForSeasonal: new Date(), locale: locale, key: typeof window !== 'undefined' ? 'client' : 'server' })))),
|
|
2430
|
+
!isMobile && (React__namespace["default"].createElement(React__namespace["default"].Fragment, null, siteType === 'marryBaby' ? (React__namespace["default"].createElement(NavigationMenu, { menuItems: menuItems, originalMenuItems: menuItems, className: customClasses.navMenu })) : (enableSearchBar && (React__namespace["default"].createElement(NavigtionSearch, { siteType: siteType, projectType: projectType, isMobile: isMobile, winCashBackTheme: winCashBackTheme })))))),
|
|
2431
|
+
React__namespace["default"].createElement(StyledRightGroup, { className: customClasses.rightGroup, "data-site-type": siteType },
|
|
2432
|
+
!isMobile && siteType !== 'marryBaby' && (React__namespace["default"].createElement(NavigationMenu, { menuItems: menuItems.filter((m) => locale === Locale.LOCALE.Vietnam
|
|
2402
2433
|
? m.id !== 'ecom' && m.id !== 'care'
|
|
2403
|
-
: true), originalMenuItems: menuItems, className: customClasses.navMenu })),
|
|
2404
|
-
|
|
2434
|
+
: true), originalMenuItems: menuItems, winCashBackTheme: winCashBackTheme, className: customClasses.navMenu })),
|
|
2435
|
+
React__namespace["default"].createElement(StyledProfileNavGroup, null,
|
|
2405
2436
|
languageMenu,
|
|
2406
|
-
enableNavChatbotAi && (
|
|
2407
|
-
|
|
2437
|
+
enableNavChatbotAi && (React__namespace["default"].createElement(core$1.Box, { component: "a", href: `${normalizeLink.getCurrentBaseUrl(locale)}/ai-doctor`, "data-event-category": "Chatbot AI", "data-event-action": "Open", "data-event-label": "Hamburger Navigation", className: "ai-doctor-nav-item" },
|
|
2438
|
+
React__namespace["default"].createElement(StyleButtonAiChat, { variant: "tertiary", leftIcon: React__namespace["default"].createElement(other.ChatAi, { size: 18, color: "#2F8AF2" }), size: "md", className: "ai-doctor-btn" }, (_b = index$3.LOCALE_SPECS[locale]) === null || _b === void 0 ? void 0 :
|
|
2408
2439
|
_b.SITE_NAME,
|
|
2409
2440
|
" AI"))),
|
|
2410
|
-
enableNavClinityDownload && (
|
|
2411
|
-
|
|
2441
|
+
enableNavClinityDownload && (React__namespace["default"].createElement(core$1.Box, { component: "a", href: `${(_c = index$3.STATIC_PAGES[locale]) === null || _c === void 0 ? void 0 : _c.CLINITY_DOWNLOAD_LINK}`, target: "_blank", "data-event-category": "Hamburger Navigation", "data-event-action": "Download Clinity", "data-event-label": `${(_d = index$3.STATIC_PAGES[locale]) === null || _d === void 0 ? void 0 : _d.CLINITY_DOWNLOAD_LINK}`, "data-cart-menu": true },
|
|
2442
|
+
React__namespace["default"].createElement("img", { src: index$5.CommonGAssets.getAssetPath('clinity-download.png'), alt: "Clinity", className: "clinity-logo", style: { display: 'block' } }))),
|
|
2412
2443
|
slot,
|
|
2413
|
-
|
|
2444
|
+
React__namespace["default"].createElement(navigationProfileButton.NavigationProfileButton, { userInfo: userInfo, siteType: siteType, onLoginClick: onLoginClick || goToLogin,
|
|
2414
2445
|
// SSO_URL={normalizeLink(statics.SSO_URL)}
|
|
2415
|
-
currentUrl: currentUrl, onLogout: onLogout, isLoading: isUserLoading, locale: locale, enableAppIntroPage: enableAppIntroPage, isMobile: isMobile, className: customClasses.profileBtn }),
|
|
2416
|
-
cartNumber !== undefined && (
|
|
2417
|
-
!isMobile && (
|
|
2446
|
+
currentUrl: currentUrl, onLogout: onLogout, isLoading: isUserLoading, locale: locale, enableAppIntroPage: enableAppIntroPage, isMobile: isMobile, winCashBackTheme: winCashBackTheme, className: customClasses.profileBtn }),
|
|
2447
|
+
cartNumber !== undefined && (React__namespace["default"].createElement(React__namespace["default"].Fragment, null,
|
|
2448
|
+
!isMobile && (React__namespace["default"].createElement("hr", { style: {
|
|
2418
2449
|
height: 20,
|
|
2419
2450
|
width: 0,
|
|
2420
2451
|
border: 'none',
|
|
2421
2452
|
borderLeft: '1px solid #E4E8EC',
|
|
2422
2453
|
} })),
|
|
2423
|
-
|
|
2424
|
-
isMobile && isHomepage && (
|
|
2425
|
-
|
|
2454
|
+
React__namespace["default"].createElement(CartBadge, { "data-cart-menu": "true", "data-event-category": "Ecommerce", "data-event-action": "Cart Click", "data-event-label": currentUrl, count: cartNumber, locale: locale })))))),
|
|
2455
|
+
isMobile && isHomepage && (React__namespace["default"].createElement(StyleWrapperNavigtionSearch, { style: { padding: winCashBackTheme ? '12px 16px' : undefined } },
|
|
2456
|
+
React__namespace["default"].createElement(NavigtionSearch, { siteType: siteType, projectType: projectType, isMobile: isMobile, isHomepage: isHomepage, winCashBackTheme: winCashBackTheme }))),
|
|
2426
2457
|
sponsorComponent
|
|
2427
|
-
? !
|
|
2458
|
+
? !React__namespace["default"].isValidElement(sponsorComponent)
|
|
2428
2459
|
? sponsorComponent
|
|
2429
|
-
:
|
|
2460
|
+
: React__namespace["default"].cloneElement(sponsorComponent, {
|
|
2430
2461
|
isCollapsed,
|
|
2431
2462
|
locale,
|
|
2432
2463
|
isMobile,
|
|
@@ -2434,12 +2465,12 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
|
|
|
2434
2465
|
: null,
|
|
2435
2466
|
subHead && subHead));
|
|
2436
2467
|
};
|
|
2437
|
-
const NavigtionSearch = ({ siteType, projectType, isMobile = false, isHomepage = false, isRedirectSearchPage = false, }) => (
|
|
2438
|
-
|
|
2439
|
-
const NavigationMenu = ({ menuItems, originalMenuItems, className, }) => {
|
|
2468
|
+
const NavigtionSearch = ({ siteType, projectType, isMobile = false, isHomepage = false, isRedirectSearchPage = false, winCashBackTheme = false, }) => (React__namespace["default"].createElement(DisplayWrapper, { mediaQueryKey: "mbUp", className: `${siteType === 'marryBaby' ? 'marry-baby' : ''} ${isHomepage ? 'block-show' : ''}` },
|
|
2469
|
+
React__namespace["default"].createElement(SearchInput, { id: "desktop", projectType: projectType, isMobile: isMobile, isHomepage: isHomepage, isRedirectSearchPage: isRedirectSearchPage, winCashBackTheme: winCashBackTheme })));
|
|
2470
|
+
const NavigationMenu = ({ menuItems, originalMenuItems, className, winCashBackTheme, }) => {
|
|
2440
2471
|
const { siteType, locale, ssrMenuContent: { categories, healthTools, care, together, videos }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
2441
|
-
return (
|
|
2442
|
-
|
|
2472
|
+
return (React__namespace["default"].createElement(DisplayWrapper, { className: className, mediaQueryKey: "mbUp", style: { height: '100%' } },
|
|
2473
|
+
React__namespace["default"].createElement(StyledWrapMenuItems, { "data-site-type": siteType }, menuItems === null || menuItems === void 0 ? void 0 : menuItems.map((menuItem, index) => (React__namespace["default"].createElement(ItemMenu, { key: index, item: menuItem, menu: menuItem.popupType === 'categories' ? (React__namespace["default"].createElement(MenuCategoriesList, { categories: categories === null || categories === void 0 ? void 0 : categories.items, spotlightsList: categories === null || categories === void 0 ? void 0 : categories.spotlights })) : menuItem.popupType === 'tools' ? (React__namespace["default"].createElement(MenuHealthToolsList, { locale: locale, healthTools: healthTools === null || healthTools === void 0 ? void 0 : healthTools.items, spotlightHealthTools: healthTools === null || healthTools === void 0 ? void 0 : healthTools.spotlights })) : menuItem.popupType === 'together' ? (React__namespace["default"].createElement(MenuCommunitiesList, { communities: together === null || together === void 0 ? void 0 : together.items, spotlights: together === null || together === void 0 ? void 0 : together.spotlights })) : menuItem.popupType === 'care' ? (React__namespace["default"].createElement(MenuCareList, { careSpecialties: care === null || care === void 0 ? void 0 : care.items, spotlights: care === null || care === void 0 ? void 0 : care.spotlights })) : menuItem.popupType === 'video' ? (React__namespace["default"].createElement(MenuVideoList, { spotlightsList: videos === null || videos === void 0 ? void 0 : videos.spotlights })) : menuItem.popupType === 'other' ? (React__namespace["default"].createElement(MenuViewMore, { menuItems: originalMenuItems })) : null, winCashBackTheme: winCashBackTheme }))))));
|
|
2443
2474
|
};
|
|
2444
2475
|
|
|
2445
2476
|
const useHeaderHeight = ({ hasSponsoredBanners, isSponsored, isShowingSiteWideBanner, isMobile, }) => {
|
|
@@ -2610,7 +2641,7 @@ const useNavServices = () => {
|
|
|
2610
2641
|
link: '',
|
|
2611
2642
|
thumbnail: '',
|
|
2612
2643
|
popupType: 'other',
|
|
2613
|
-
icon: (
|
|
2644
|
+
icon: (React__namespace["default"].createElement(HamburgerIcon, { siteType: siteType, enableSearch: false, style: {
|
|
2614
2645
|
width: '16px',
|
|
2615
2646
|
height: '16px',
|
|
2616
2647
|
}, className: "mobile-hamburger-icon" })),
|
|
@@ -2649,7 +2680,7 @@ const StyledContainer = styled__default["default"].div `
|
|
|
2649
2680
|
|
|
2650
2681
|
const _NavigationV2 = (props) => {
|
|
2651
2682
|
var _a, _b;
|
|
2652
|
-
const { isMobile, locale, onTopBarAppears, languageOptions, sponsorComponent, sitewideBanner, sitewideBannerShown, className, logoComponent, subHead, projectType, customClasses = {}, } = props;
|
|
2683
|
+
const { isMobile, locale, onTopBarAppears, languageOptions, sponsorComponent, sitewideBanner, sitewideBannerShown, className, logoComponent, subHead, projectType, customClasses = {}, isWinCashBackTheme = false, } = props;
|
|
2653
2684
|
const services = useNavServices();
|
|
2654
2685
|
useInsider();
|
|
2655
2686
|
const isShowingSiteWideBanner = sitewideBannerShown && !!sitewideBanner;
|
|
@@ -2661,18 +2692,24 @@ const _NavigationV2 = (props) => {
|
|
|
2661
2692
|
hasSponsoredBanners,
|
|
2662
2693
|
isMobile,
|
|
2663
2694
|
});
|
|
2664
|
-
|
|
2695
|
+
React.useEffect(() => {
|
|
2696
|
+
document.documentElement.style.setProperty('--header-height', `${headerHeight}px`);
|
|
2697
|
+
return () => {
|
|
2698
|
+
document.documentElement.style.removeProperty('--header-height');
|
|
2699
|
+
};
|
|
2700
|
+
}, [headerHeight]);
|
|
2701
|
+
return (React__namespace["default"].createElement(StyledContainer, { id: "navigation-v2", style: {
|
|
2665
2702
|
'--default-header-height': defaultHeaderHeight + 'px',
|
|
2666
2703
|
'--header-height': `calc(${headerHeight}px - var(--amp-site-wide-closed), 64px)`,
|
|
2667
2704
|
'--header-bottom': headerBottom + 'px',
|
|
2668
2705
|
}, className: className },
|
|
2669
|
-
|
|
2670
|
-
|
|
2706
|
+
React__namespace["default"].createElement("section", { ref: headerRef },
|
|
2707
|
+
React__namespace["default"].createElement(NavigationBar, { menuItems: services, onTopBarAppears: onTopBarAppears, logoComponent: logoComponent, subHead: subHead, projectType: projectType, languageMenu: React__namespace["default"].createElement(index$8.LanguageSwitcher, { languageOptions: languageOptions, locale: locale }), winCashBackTheme: isWinCashBackTheme, customClasses: customClasses }))));
|
|
2671
2708
|
};
|
|
2672
2709
|
const NavigationV2 = (props) => {
|
|
2673
2710
|
const propsWithDefaultValues = Object.assign({ siteType: 'helloSites', projectType: 'discover', locale: 'vi-VN', activeMenuService: 'categories', ssrMenuContent: {} }, props);
|
|
2674
|
-
return (
|
|
2675
|
-
|
|
2711
|
+
return (React__namespace["default"].createElement(navigationProfileButton.NavigationProvider, Object.assign({}, propsWithDefaultValues),
|
|
2712
|
+
React__namespace["default"].createElement(_NavigationV2, Object.assign({}, propsWithDefaultValues))));
|
|
2676
2713
|
};
|
|
2677
2714
|
const getNavMenuContent = (locale) => tslib_es6.__awaiter(void 0, void 0, void 0, function* () {
|
|
2678
2715
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0;
|
|
@@ -2741,7 +2778,9 @@ const getNavMenuContentWithCache = (locale) => tslib_es6.__awaiter(void 0, void
|
|
|
2741
2778
|
});
|
|
2742
2779
|
|
|
2743
2780
|
exports.HHG_SEARCH_BACK_KEY = HHG_SEARCH_BACK_KEY;
|
|
2781
|
+
exports.HamburgerWhite = HamburgerWhite;
|
|
2744
2782
|
exports.NavigationV2 = NavigationV2;
|
|
2783
|
+
exports.StarPair = StarPair;
|
|
2745
2784
|
exports.getNavMenuContent = getNavMenuContent;
|
|
2746
2785
|
exports.getNavMenuContentWithCache = getNavMenuContentWithCache;
|
|
2747
2786
|
exports.getTogetherUserPostsApiPath = getTogetherUserPostsApiPath;
|