@hhgtech/hhg-components 1.29.495-beta-2 → 1.29.495-beta-4
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-2cba7323.js → InputDate-6faefc89.js} +5 -5
- package/build/{LastPeriod-5df7acf7.js → LastPeriod-9939d95f.js} +1 -1
- package/build/{MobileBottomNavigationIcon-4c77cff4.js → MobileBottomNavigationIcon-933c0778.js} +3 -3
- package/build/{Spinner-0448428e.js → Spinner-2a605aa0.js} +1 -1
- package/build/{WhatsApp-1bba255a.js → WhatsApp-53b732a6.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/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-fb4e1fc7.js → constants-09aad9be.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-0e8250c6.js → core-81643063.js} +1 -1
- package/build/{dataTransform-f8064551.js → dataTransform-5cd9e972.js} +1 -1
- package/build/ecom.js +5 -5
- package/build/{editor-00698549.js → editor-88dd1865.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-67537535.js → InputDate-7f1960f3.js} +5 -5
- package/build/esm/{LastPeriod-9867172e.js → LastPeriod-c2a7074d.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-b99d4ab7.js → MobileBottomNavigationIcon-86d38962.js} +3 -3
- package/build/esm/{Spinner-c3e3f5ab.js → Spinner-0b99600a.js} +1 -1
- package/build/esm/{WhatsApp-bd2615f4.js → WhatsApp-e55081fe.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/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-5b755fd0.js → constants-24fb90f9.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-17038a1f.js → core-df695399.js} +1 -1
- package/build/esm/{dataTransform-8f3f3c5b.js → dataTransform-5decfe82.js} +2 -2
- package/build/esm/ecom.js +5 -5
- package/build/esm/{editor-0591e6eb.js → editor-0244ce41.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-670f34a8.js → healthTools-8779f9b5.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-efacb14e.js → index-0318419c.js} +2 -2
- package/build/esm/{index-d67d0ed6.js → index-046cd716.js} +1 -1
- package/build/esm/{index-d6fd87d5.js → index-08598b4f.js} +1 -1
- package/build/esm/{index-ae21a912.js → index-0bce1312.js} +2 -2
- package/build/esm/{index-1b3d5c4d.js → index-0cb664ca.js} +18 -18
- package/build/esm/{index-eb9b593b.js → index-0db8aee6.js} +3 -3
- package/build/esm/{index-b9583af5.js → index-111e7cba.js} +2 -2
- package/build/esm/{index-eec3c720.js → index-164b8133.js} +26 -26
- package/build/esm/{index-ff66d943.js → index-17c12391.js} +3 -3
- package/build/esm/{index-15f6b460.js → index-1950b244.js} +14 -14
- package/build/esm/{index-537e0d8e.js → index-1f29a008.js} +13 -13
- package/build/esm/{index-a1552ba5.js → index-22325fb9.js} +14 -14
- package/build/esm/{index-14844bfc.js → index-280e9dc1.js} +2 -2
- package/build/esm/{index-c62fa87f.js → index-2875f9ab.js} +16 -16
- package/build/esm/{index-4f3413db.js → index-2eb4ce9c.js} +2 -2
- package/build/esm/{index-cd4b4335.js → index-30ecbb49.js} +28 -17
- package/build/esm/{index-86105d99.js → index-33418ff8.js} +5 -5
- package/build/esm/{index-6cb9bb0c.js → index-375acd9b.js} +8 -8
- package/build/esm/{index-343aa980.js → index-3d385a2a.js} +21 -21
- package/build/esm/{index-8ca37fb2.js → index-3feeedc9.js} +2 -2
- package/build/esm/{index-5d32aa77.js → index-451f02fa.js} +11 -11
- package/build/esm/{index-5b4b5acd.js → index-4570433d.js} +78 -65
- package/build/esm/{index-3146c623.js → index-46b65f70.js} +4 -4
- package/build/esm/{index-df9a1700.js → index-4717abd7.js} +2 -2
- package/build/esm/{index-7a147283.js → index-4c977adb.js} +2 -2
- package/build/esm/{index-0891419c.js → index-54301611.js} +3 -3
- package/build/esm/{index-ad519440.js → index-5cdd8be2.js} +16 -16
- package/build/esm/{index-2f8211ab.js → index-6181ffef.js} +2 -2
- package/build/esm/{index-b70da891.js → index-6f8be0ce.js} +2 -2
- package/build/esm/{index-4005fde1.js → index-6fb053ad.js} +2 -2
- package/build/esm/{index-b1ef24ab.js → index-6fb95d82.js} +21 -21
- package/build/esm/{index-363d878d.js → index-753ae1ff.js} +6 -6
- package/build/esm/{index-b8bbf6ae.js → index-75eb9bd6.js} +25 -25
- package/build/esm/{index-54e601a0.js → index-786cab03.js} +1 -1
- package/build/esm/{index-79645fca.js → index-78e8568f.js} +7 -7
- package/build/esm/{index-8e1420b2.js → index-7b957fed.js} +14 -14
- package/build/esm/{index-ded44bf0.js → index-80e13bb6.js} +6 -6
- package/build/esm/{index-11291e32.js → index-80ee6eaf.js} +2 -2
- package/build/esm/{index-cec41d14.js → index-82061315.js} +18 -18
- package/build/esm/{index-abed6f40.js → index-846dd2c7.js} +2 -2
- package/build/esm/{index-2a324e67.js → index-85224b40.js} +3 -3
- package/build/esm/{index-06a58249.js → index-8c6d0efc.js} +1 -1
- package/build/esm/{index-0e7c5da0.js → index-a2245bc7.js} +1 -1
- package/build/esm/{index-c2921524.js → index-a4e3b021.js} +32 -32
- package/build/esm/{index-57d19334.js → index-a6c04728.js} +32 -32
- package/build/esm/{index-3c09abbf.js → index-a99e5b0b.js} +15 -15
- package/build/esm/{index-0c20d1e4.js → index-aaf7412b.js} +22 -22
- package/build/esm/{index-e71b3725.js → index-afb8c815.js} +5 -5
- package/build/esm/{index-cc9c901c.js → index-afc496d7.js} +3 -3
- package/build/esm/{index-45a48642.js → index-b1712375.js} +3 -3
- package/build/esm/{index-898a1185.js → index-b5bd1743.js} +17 -17
- package/build/esm/{index-8e12fb03.js → index-b654dc79.js} +15 -15
- package/build/esm/{index-d415c38b.js → index-b8024258.js} +3 -3
- package/build/esm/{index-c02472aa.js → index-b826d497.js} +19 -19
- package/build/esm/{index-16a163f5.js → index-bd2e1478.js} +1 -1
- package/build/esm/{index-6fd115b1.js → index-bf124cbf.js} +4 -4
- package/build/esm/{index-60516aaa.js → index-bfa93a92.js} +1 -1
- package/build/esm/{index-e86f96f4.js → index-c15c8302.js} +16 -16
- package/build/esm/{index-668ae4e0.js → index-c468961c.js} +3 -3
- package/build/esm/{index-b48de1ff.js → index-cad0847f.js} +14 -14
- package/build/esm/{index-c9605f8e.js → index-d0da0055.js} +16 -16
- package/build/esm/{index-8f5c8039.js → index-d583820e.js} +6 -6
- package/build/esm/{index-7bc7b510.js → index-d6669596.js} +2 -2
- package/build/esm/{index-e5252719.js → index-d7a4cc50.js} +2 -2
- package/build/esm/{index-7d4f6dd3.js → index-da8ca9e9.js} +6 -6
- package/build/esm/{index-371b9e01.js → index-e23d9774.js} +9 -9
- package/build/esm/{index-ad3941b1.js → index-f1632789.js} +7 -7
- package/build/esm/{index-a8f27687.js → index-f838a6b2.js} +13 -13
- package/build/esm/{index-3134ef7a.js → index-f92f6259.js} +3 -3
- package/build/esm/{index-68cc1a02.js → index-fac14f56.js} +2 -2
- package/build/esm/{index-37e53ff1.js → index-fba81698.js} +3 -3
- package/build/esm/{index-1cfabf7e.js → index-fbc7f866.js} +9 -9
- package/build/esm/index.js +130 -130
- package/build/esm/{labelSorting-20975b7b.js → labelSorting-227d5902.js} +4 -4
- package/build/esm/lead.js +35 -35
- package/build/esm/{logoIcon-c9c68845.js → logoIcon-09f7b178.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-ae825c8e.js → post-f029b4b9.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-3a2e6dc1.js → store-0046d3e6.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-a2e5622f.js → surveyThankyouCard-f677471f.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-549ac44d.js → translationsProvider-e5ac0da2.js} +1 -1
- package/build/esm/{treePopoverMenu-c038cc49.js → treePopoverMenu-98e6a87b.js} +19 -19
- package/build/esm/types.js +2 -2
- package/build/esm/{useHealthToolCache-0d2567fd.js → useHealthToolCache-9ef4a349.js} +1 -1
- package/build/esm/{usePhoneValidator-049186d9.js → usePhoneValidator-e17f192c.js} +5 -5
- package/build/esm/{usePlacesAutocomplete-58a7c6d9.js → usePlacesAutocomplete-31059e0c.js} +1 -1
- package/build/esm/useTogetherAuthRequiredAction.js +10 -10
- package/build/esm/{utils-60335e4d.js → utils-27755b84.js} +2 -2
- package/build/esm/{utils-8b529b19.js → utils-281dffbf.js} +2 -2
- package/build/esm/{utils-b7243d3e.js → utils-732d970a.js} +4 -4
- package/build/esm/{utils-227fe1e3.js → utils-89f14803.js} +5 -5
- package/build/esm/vaccination.js +22 -22
- package/build/footer.js +22 -22
- package/build/gAssets.js +2 -2
- package/build/{healthTools-275741f6.js → healthTools-c571ee39.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-3ec7921f.js → index-0e5611c6.js} +3 -3
- package/build/{index-4a85c7c9.js → index-127ac174.js} +3 -3
- package/build/{index-1074ec37.js → index-145869f5.js} +2 -2
- package/build/{index-de269384.js → index-14e2f305.js} +1 -1
- package/build/{index-72980243.js → index-1722ffc4.js} +1 -1
- package/build/{index-6b8d9f97.js → index-17e01fff.js} +5 -5
- package/build/{index-2bbd6c95.js → index-18f96a5a.js} +16 -16
- package/build/{index-34db690e.js → index-296bc840.js} +2 -2
- package/build/{index-5b86ad05.js → index-2d697327.js} +2 -2
- package/build/{index-494d86d3.js → index-2e9bcb7c.js} +13 -13
- package/build/{index-d1c7c324.js → index-351d62d7.js} +1 -1
- package/build/{index-b14aef60.js → index-3ad28de6.js} +32 -32
- package/build/{index-bea2aec7.js → index-3ed06c17.js} +9 -9
- package/build/{index-7acd89ea.js → index-3fbed5df.js} +14 -14
- package/build/{index-51f72770.js → index-4b44ef15.js} +6 -6
- package/build/{index-d86ee627.js → index-539bc394.js} +3 -3
- package/build/{index-5b1ee844.js → index-577b2e12.js} +3 -3
- package/build/{index-02c0f9d2.js → index-588b5767.js} +18 -18
- package/build/{index-e65935df.js → index-591a35f5.js} +16 -16
- package/build/{index-7e7a34af.js → index-598d9826.js} +14 -14
- package/build/{index-d2e48fd1.js → index-5ad623e2.js} +5 -5
- package/build/{index-62b7f447.js → index-5bc32d0e.js} +1 -1
- package/build/{index-30cbc8e4.js → index-5cb9304b.js} +14 -14
- package/build/{index-37e8e323.js → index-602eecd3.js} +21 -21
- package/build/{index-bf71f79c.js → index-61afd28e.js} +25 -25
- package/build/{index-4f6835a4.js → index-65262d69.js} +2 -2
- package/build/{index-c18c4cbc.js → index-66c34fe2.js} +8 -8
- package/build/{index-b1949854.js → index-69a0e63b.js} +1 -1
- package/build/{index-dbe6d908.js → index-6cc0b7c1.js} +2 -2
- package/build/{index-114cfe9b.js → index-6d46797d.js} +7 -7
- package/build/{index-a6335be5.js → index-6e650b97.js} +8 -8
- package/build/{index-fc86d79f.js → index-6fd35fad.js} +2 -2
- package/build/{index-c46c2c7d.js → index-70f7b120.js} +6 -6
- package/build/{index-b2e72d1c.js → index-7199a3f1.js} +2 -2
- package/build/{index-e28396d1.js → index-75396944.js} +15 -15
- package/build/{index-9aea2d05.js → index-795d2008.js} +13 -13
- package/build/{index-c7bf08e7.js → index-7d664929.js} +3 -3
- package/build/{index-626844c8.js → index-7f8592d1.js} +17 -17
- package/build/{index-940939bd.js → index-829820e2.js} +11 -11
- package/build/{index-1524c3d1.js → index-8422e8f7.js} +6 -6
- package/build/{index-6aee1e18.js → index-865811c2.js} +2 -2
- package/build/{index-90534518.js → index-8ee59e44.js} +3 -3
- package/build/{index-5af447a4.js → index-917acdf8.js} +6 -6
- package/build/{index-35938400.js → index-97857ea9.js} +3 -3
- package/build/{index-aae6aefe.js → index-98c5526f.js} +2 -2
- package/build/{index-e30b447e.js → index-9a948c58.js} +3 -3
- package/build/{index-531f199d.js → index-9beb12ee.js} +66 -36
- package/build/{index-5c6f73ca.js → index-a28c9674.js} +2 -2
- package/build/{index-8cea7271.js → index-af9a26ab.js} +370 -338
- package/build/{index-0a3b2265.js → index-b57ab702.js} +2 -2
- package/build/{index-792c3c60.js → index-b6b298d8.js} +4 -4
- package/build/{index-84c997b1.js → index-b9af8973.js} +21 -21
- package/build/{index-ca47133a.js → index-bb4f293c.js} +15 -15
- package/build/{index-add3d234.js → index-c1a98f1f.js} +2 -2
- package/build/{index-9c62a53e.js → index-c1ac31b5.js} +32 -32
- package/build/{index-bb1f7816.js → index-c306778a.js} +2 -2
- package/build/{index-79e67594.js → index-c3cdf20b.js} +4 -4
- package/build/{index-a6d657f3.js → index-c4705ee9.js} +14 -14
- package/build/{index-f79ae11b.js → index-c77da1c3.js} +18 -18
- package/build/{index-0f29139d.js → index-cbeab220.js} +2 -2
- package/build/{index-8cef2e8c.js → index-cfcda434.js} +1 -1
- package/build/{index-103ea22f.js → index-d03047d8.js} +19 -19
- package/build/{index-585993c8.js → index-d6303b70.js} +2 -2
- package/build/{index-30d09256.js → index-d7670991.js} +16 -16
- package/build/{index-143d9b8b.js → index-dafcab1c.js} +1 -1
- package/build/{index-fea2163b.js → index-e6a2a352.js} +2 -2
- package/build/{index-3bf3d4c3.js → index-ec6ef49a.js} +2 -2
- package/build/{index-46dd1a71.js → index-f85e9c99.js} +3 -3
- package/build/{index-f06dd7fc.js → index-fb9ad47e.js} +22 -22
- package/build/{index-a11cbb0b.js → index-fd6836ce.js} +7 -7
- package/build/{index-e5c9c63e.js → index-fde96094.js} +26 -26
- package/build/{index-c59ae7c7.js → index-fe2bfa2b.js} +16 -16
- package/build/index.js +138 -134
- package/build/{labelSorting-eb638c00.js → labelSorting-948f6653.js} +4 -4
- package/build/lead.js +35 -35
- package/build/{logoIcon-f95fb0f7.js → logoIcon-c3399db7.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-20cb765d.js → post-5e1c6fa7.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-297db4b2.js → store-b135512b.js} +3 -3
- package/build/subot.js +39 -39
- package/build/surveyOrPremiumBanner.js +34 -34
- package/build/surveyQuestionCard.js +11 -11
- package/build/{surveyThankyouCard-a1cd9383.js → surveyThankyouCard-e4355ce1.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-f4aa262d.js → translationsProvider-c07d0000.js} +1 -1
- package/build/{treePopoverMenu-3b80096c.js → treePopoverMenu-4855afcd.js} +19 -19
- package/build/types.js +2 -2
- package/build/{useHealthToolCache-a80e04a8.js → useHealthToolCache-48a8be0c.js} +1 -1
- package/build/{usePhoneValidator-c36fe396.js → usePhoneValidator-de53525d.js} +5 -5
- package/build/{usePlacesAutocomplete-fbb997df.js → usePlacesAutocomplete-a3624e44.js} +1 -1
- package/build/useTogetherAuthRequiredAction.js +10 -10
- package/build/{utils-0fc80e0b.js → utils-96fdff8b.js} +3 -3
- package/build/{utils-66f03ffc.js → utils-9875cdd7.js} +5 -5
- package/build/{utils-fcfca5f2.js → utils-c616ef61.js} +2 -2
- package/build/{utils-1e7b9a01.js → utils-e44ba647.js} +2 -2
- package/build/vaccination.js +22 -22
- package/package.json +1 -1
- /package/build/{BMI_BOYS.percentile.monthly-accd2a68.js → BMI_BOYS.percentile.monthly-6cddd293.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-ebe41a38.js → BMI_BOYS.percentile.weekly-4f7885f1.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-7eb139ad.js → BMI_BOYS.percentile.yearly-d7e42f00.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-5cd21606.js → BMI_BOYS.zscore.monthly-b16a7edc.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-efcf9cc8.js → BMI_BOYS.zscore.weekly-a88e251f.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-a9c1af55.js → BMI_BOYS.zscore.yearly-37f0ffb1.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-f2d49e75.js → BMI_GIRLS.percentile.monthly-78e3b791.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-e938f409.js → BMI_GIRLS.percentile.weekly-f6c8d11a.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-35c639ff.js → BMI_GIRLS.percentile.yearly-34b124ae.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-49af79cc.js → BMI_GIRLS.zscore.monthly-ad4212bc.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-265153fd.js → BMI_GIRLS.zscore.weekly-7e67155f.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-9663ef35.js → BMI_GIRLS.zscore.yearly-ea2c552c.js} +0 -0
- /package/build/{ChevronDown-7d34ca3f.js → ChevronDown-75cc2b7e.js} +0 -0
- /package/build/{Close-08ca7f35.js → Close-6eafd030.js} +0 -0
- /package/build/{Google-849ad5f8.js → Google-90b2b6e0.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-758cbeab.js → HEAD CIRCUM_BOYS.percentile.monthly-9d500bdf.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-7c8d0f27.js → HEAD CIRCUM_BOYS.percentile.weekly-3ff9b3a4.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-fc7f988d.js → HEAD CIRCUM_BOYS.percentile.yearly-47c34c4a.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-30fd246d.js → HEAD CIRCUM_BOYS.zscore.monthly-b26f250b.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-e9eaa573.js → HEAD CIRCUM_BOYS.zscore.weekly-f93b925a.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-16db1c95.js → HEAD CIRCUM_BOYS.zscore.yearly-637fb44d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-e6782ecd.js → HEAD CIRCUM_GIRLS.percentile.monthly-84fd33cc.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-a4fc31c6.js → HEAD CIRCUM_GIRLS.percentile.weekly-f527775e.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-b2f91a15.js → HEAD CIRCUM_GIRLS.percentile.yearly-7ee4db2e.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-13b33739.js → HEAD CIRCUM_GIRLS.zscore.monthly-323632dc.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-8731b0ca.js → HEAD CIRCUM_GIRLS.zscore.weekly-ceb9f979.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-18fdb2d7.js → HEAD CIRCUM_GIRLS.zscore.yearly-91480167.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-b7d23686.js → HEIGHT_BOYS.percentile.monthly-46f6eb9d.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-576cc83a.js → HEIGHT_BOYS.percentile.weekly-49caa87f.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-9736f6f9.js → HEIGHT_BOYS.percentile.yearly-1cf53b51.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-694d71b3.js → HEIGHT_BOYS.zscore.monthly-89972da7.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-ac229edb.js → HEIGHT_BOYS.zscore.weekly-eac1fd2f.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-00864064.js → HEIGHT_BOYS.zscore.yearly-674041fe.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-408ffcd7.js → HEIGHT_GIRLS.percentile.monthly-d481a639.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-e9fdec3c.js → HEIGHT_GIRLS.percentile.weekly-85247277.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-8beeb415.js → HEIGHT_GIRLS.percentile.yearly-04695fe4.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-947b971a.js → HEIGHT_GIRLS.zscore.monthly-6f4c93e4.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-cdd84bc5.js → HEIGHT_GIRLS.zscore.weekly-8bd25a74.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-168c1f4a.js → HEIGHT_GIRLS.zscore.yearly-2eb4669f.js} +0 -0
- /package/build/{Locale-3536b9b5.js → Locale-3cd5f30a.js} +0 -0
- /package/build/{Visible-a6228076.js → Visible-202b5a79.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-23068195.js → WEIGHT_BOYS.percentile.monthly-fa20311c.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-6163dd34.js → WEIGHT_BOYS.percentile.weekly-a9b26e3c.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-ee650c63.js → WEIGHT_BOYS.percentile.yearly-e83d0a08.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-31270be2.js → WEIGHT_BOYS.zscore.monthly-23a287b4.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-87f9e027.js → WEIGHT_BOYS.zscore.weekly-04a197a3.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-80bec933.js → WEIGHT_BOYS.zscore.yearly-33235594.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-ecfce779.js → WEIGHT_GIRLS.percentile.monthly-361299fd.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-695bf80a.js → WEIGHT_GIRLS.percentile.weekly-5bf17c56.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-0450f33c.js → WEIGHT_GIRLS.percentile.yearly-d40d23c1.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-4a2d1b68.js → WEIGHT_GIRLS.zscore.monthly-fd0a5fcf.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-5362c902.js → WEIGHT_GIRLS.zscore.weekly-4b0ad0bc.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-f4a2ba44.js → WEIGHT_GIRLS.zscore.yearly-1db42d9e.js} +0 -0
- /package/build/{ageGenerate-99364f65.js → ageGenerate-25c1887f.js} +0 -0
- /package/build/{animation-ce6c371c.js → animation-be01e17a.js} +0 -0
- /package/build/{constants-908ef9fc.js → constants-165b8034.js} +0 -0
- /package/build/{constants-1edd766d.js → constants-8fd10c3c.js} +0 -0
- /package/build/{constants-a244ea16.js → constants-ea794814.js} +0 -0
- /package/build/{context-cb51bf6c.js → context-9be51747.js} +0 -0
- /package/build/{dataTransform-b3db158d.js → dataTransform-4f004bbd.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-2ecf0d63.js → BMI_BOYS.percentile.monthly-bd1f5cbd.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-99560bee.js → BMI_BOYS.percentile.weekly-7727c670.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-e61eca1f.js → BMI_BOYS.percentile.yearly-96e7578d.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-4f770bc9.js → BMI_BOYS.zscore.monthly-c4ce45bf.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-f2b88df1.js → BMI_BOYS.zscore.weekly-9dd448e4.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-6e7be8f8.js → BMI_BOYS.zscore.yearly-8301f226.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-acbf7ff6.js → BMI_GIRLS.percentile.monthly-0da1b75a.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-2ea4fa55.js → BMI_GIRLS.percentile.weekly-39436158.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-4694526f.js → BMI_GIRLS.percentile.yearly-90035d35.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-9576fefc.js → BMI_GIRLS.zscore.monthly-4ca010d5.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-9089a10a.js → BMI_GIRLS.zscore.weekly-975bb799.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-0870152d.js → BMI_GIRLS.zscore.yearly-be96c6a9.js} +0 -0
- /package/build/esm/{ChevronDown-1bd8fe09.js → ChevronDown-0e42b29f.js} +0 -0
- /package/build/esm/{Close-02fe90c7.js → Close-1343261c.js} +0 -0
- /package/build/esm/{Google-09bdb206.js → Google-504f242a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-3895d76c.js → HEAD CIRCUM_BOYS.percentile.monthly-76adb89f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-8a84960c.js → HEAD CIRCUM_BOYS.percentile.weekly-ea274a28.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-b160a763.js → HEAD CIRCUM_BOYS.percentile.yearly-112c6b96.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-c0c8169f.js → HEAD CIRCUM_BOYS.zscore.monthly-8d43fbc8.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-74b3fe0d.js → HEAD CIRCUM_BOYS.zscore.weekly-2b8e44c2.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-f2d31b60.js → HEAD CIRCUM_BOYS.zscore.yearly-adfbe166.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-e59afcac.js → HEAD CIRCUM_GIRLS.percentile.monthly-8643794d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-fdbffc9c.js → HEAD CIRCUM_GIRLS.percentile.weekly-1876717d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-a7bedc43.js → HEAD CIRCUM_GIRLS.percentile.yearly-745b5de3.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-9d2914db.js → HEAD CIRCUM_GIRLS.zscore.monthly-48fbc0f3.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-8b0b7c12.js → HEAD CIRCUM_GIRLS.zscore.weekly-7c2da959.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-4667c58b.js → HEAD CIRCUM_GIRLS.zscore.yearly-4a35a7d3.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-f0ad39a9.js → HEIGHT_BOYS.percentile.monthly-3249853c.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-3fbe5224.js → HEIGHT_BOYS.percentile.weekly-0895d776.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-aa18d66d.js → HEIGHT_BOYS.percentile.yearly-bd8ea7a6.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-dd5cfcee.js → HEIGHT_BOYS.zscore.monthly-fcb82f0a.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-bc4a1589.js → HEIGHT_BOYS.zscore.weekly-97ce630e.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-6954b439.js → HEIGHT_BOYS.zscore.yearly-96a08e2b.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-2cde070c.js → HEIGHT_GIRLS.percentile.monthly-eabb009e.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-56417eb1.js → HEIGHT_GIRLS.percentile.weekly-cd3d638c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-e20bdc00.js → HEIGHT_GIRLS.percentile.yearly-f41c0cbe.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-8f8d2543.js → HEIGHT_GIRLS.zscore.monthly-e6fa3f48.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-709ec984.js → HEIGHT_GIRLS.zscore.weekly-977da583.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-0d920fa4.js → HEIGHT_GIRLS.zscore.yearly-832954b9.js} +0 -0
- /package/build/esm/{Locale-695dbbeb.js → Locale-42aafd11.js} +0 -0
- /package/build/esm/{Visible-98f3beaf.js → Visible-ac383f20.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-0da8e01e.js → WEIGHT_BOYS.percentile.monthly-4069c966.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-166518e3.js → WEIGHT_BOYS.percentile.weekly-a4c1163b.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-8c5569cd.js → WEIGHT_BOYS.percentile.yearly-ccee7a25.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-fe349992.js → WEIGHT_BOYS.zscore.monthly-a40d91d3.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-d9584f1a.js → WEIGHT_BOYS.zscore.weekly-af259764.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-0080a9b1.js → WEIGHT_BOYS.zscore.yearly-dec07499.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-333bda70.js → WEIGHT_GIRLS.percentile.monthly-b782ce19.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-63fa7190.js → WEIGHT_GIRLS.percentile.weekly-acd693a8.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-683cf01c.js → WEIGHT_GIRLS.percentile.yearly-bd1327c3.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-7371189e.js → WEIGHT_GIRLS.zscore.monthly-ef575ad3.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-7c41d499.js → WEIGHT_GIRLS.zscore.weekly-b85c075e.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-5057fdf6.js → WEIGHT_GIRLS.zscore.yearly-e3d1ba76.js} +0 -0
- /package/build/esm/{ageGenerate-c282e282.js → ageGenerate-bc9c7162.js} +0 -0
- /package/build/esm/{animation-540b42a3.js → animation-9999982e.js} +0 -0
- /package/build/esm/{constants-407f28cf.js → constants-089983eb.js} +0 -0
- /package/build/esm/{constants-f12e03ef.js → constants-1ded2d39.js} +0 -0
- /package/build/esm/{constants-382e9fe4.js → constants-403bc801.js} +0 -0
- /package/build/esm/{context-2efa8751.js → context-6ad859c2.js} +0 -0
- /package/build/esm/{dataTransform-77abdf8d.js → dataTransform-66619398.js} +0 -0
- /package/build/esm/{index-ea83f1fd.js → index-3b1c96a2.js} +0 -0
- /package/build/esm/{index-a6eaaea7.js → index-44a7783f.js} +0 -0
- /package/build/esm/{index-881bf287.js → index-4c21de75.js} +0 -0
- /package/build/esm/{index-894c1a0f.js → index-676b5146.js} +0 -0
- /package/build/esm/{index-6bc2c495.js → index-782dfc14.js} +0 -0
- /package/build/esm/{index-d8218496.js → index-abdade88.js} +0 -0
- /package/build/esm/{index-b7c51b57.js → index-af169608.js} +0 -0
- /package/build/esm/{index-6a214e79.js → index-b5b46977.js} +0 -0
- /package/build/esm/{index-fddcd8d5.js → index-ece0a054.js} +0 -0
- /package/build/esm/{index.styles-8899296e.js → index.styles-e08da4ab.js} +0 -0
- /package/build/esm/{localizeNumberFormat-abcda253.js → localizeNumberFormat-a1fa2d87.js} +0 -0
- /package/build/esm/{normalizeLink-11124a1f.js → normalizeLink-6be22bda.js} +0 -0
- /package/build/esm/{number-0f3b700f.js → number-0ddd3f39.js} +0 -0
- /package/build/esm/{paths-c74b1c46.js → paths-209ca525.js} +0 -0
- /package/build/esm/{shared-2ba7c139.js → shared-24dd7c65.js} +0 -0
- /package/build/esm/{translationsContext-687f9e4f.js → translationsContext-11c3e0ba.js} +0 -0
- /package/build/esm/{tslib.es6-96cec347.js → tslib.es6-20c0a199.js} +0 -0
- /package/build/esm/{types-ac96207a.js → types-42b991ba.js} +0 -0
- /package/build/esm/{types-cdbb76d8.js → types-96360a83.js} +0 -0
- /package/build/esm/{useIsInit-a557519d.js → useIsInit-b5757998.js} +0 -0
- /package/build/esm/{useOutsideClick-f7096511.js → useOutsideClick-44da286d.js} +0 -0
- /package/build/esm/{useScrollbarSize-bfae7360.js → useScrollbarSize-98d23842.js} +0 -0
- /package/build/esm/{useUniqueId-c3d5a8cb.js → useUniqueId-8da30fbe.js} +0 -0
- /package/build/esm/{utils-37292b72.js → utils-c4a2fc0d.js} +0 -0
- /package/build/esm/{utils-c41130f9.js → utils-e9207444.js} +0 -0
- /package/build/{index-982ed08f.js → index-00596034.js} +0 -0
- /package/build/{index-ff3e747f.js → index-05f9ba34.js} +0 -0
- /package/build/{index-525f4ccd.js → index-39f9a91b.js} +0 -0
- /package/build/{index-2c32d562.js → index-90c2d39f.js} +0 -0
- /package/build/{index-7fceeb7c.js → index-9700462e.js} +0 -0
- /package/build/{index-5bad878b.js → index-a00bdb66.js} +0 -0
- /package/build/{index-57c23668.js → index-d3899548.js} +0 -0
- /package/build/{index-9be59cf1.js → index-f951b653.js} +0 -0
- /package/build/{index-ac4efbad.js → index-fe503495.js} +0 -0
- /package/build/{index.styles-37a50b39.js → index.styles-3f59bba4.js} +0 -0
- /package/build/{localizeNumberFormat-5f39f838.js → localizeNumberFormat-56a77dc9.js} +0 -0
- /package/build/{normalizeLink-277b94e6.js → normalizeLink-f20dc64d.js} +0 -0
- /package/build/{number-66f39ed1.js → number-85146612.js} +0 -0
- /package/build/{paths-115dccc7.js → paths-05ab96ba.js} +0 -0
- /package/build/{shared-5a06d1d4.js → shared-6a370e5c.js} +0 -0
- /package/build/{translationsContext-b54a23b8.js → translationsContext-bc4cf044.js} +0 -0
- /package/build/{tslib.es6-1743c71b.js → tslib.es6-efd8855a.js} +0 -0
- /package/build/{types-535e51eb.js → types-632392e4.js} +0 -0
- /package/build/{types-4b8af49e.js → types-c9a2d85d.js} +0 -0
- /package/build/{useIsInit-19267958.js → useIsInit-5678ab62.js} +0 -0
- /package/build/{useOutsideClick-f04fcbd0.js → useOutsideClick-16f50b27.js} +0 -0
- /package/build/{useScrollbarSize-7a2e6507.js → useScrollbarSize-8124ebbd.js} +0 -0
- /package/build/{useUniqueId-0cfe44a8.js → useUniqueId-024fe068.js} +0 -0
- /package/build/{utils-56c77abb.js → utils-572fa46d.js} +0 -0
- /package/build/{utils-a2a9ba92.js → utils-d8a4c030.js} +0 -0
|
@@ -1,24 +1,34 @@
|
|
|
1
|
-
import { _ as __rest, a as __awaiter } from './tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __awaiter } from './tslib.es6-20c0a199.js';
|
|
2
|
+
import * as React from 'react';
|
|
2
3
|
import React__default, { useMemo, useEffect, useRef, useContext, useState } from 'react';
|
|
3
4
|
import { User } from '@hhgtech/icons/core';
|
|
4
|
-
import { S as Spinner } from './Spinner-
|
|
5
|
-
import {
|
|
6
|
-
import { B as Button } from './index-
|
|
7
|
-
import { T as Text } from './index-
|
|
8
|
-
import { u as useTranslations } from './index-
|
|
9
|
-
import { C as CommonGAssets } from './index-
|
|
5
|
+
import { S as Spinner } from './Spinner-0b99600a.js';
|
|
6
|
+
import { A as Avatar } from './index-e23d9774.js';
|
|
7
|
+
import { B as Button } from './index-85224b40.js';
|
|
8
|
+
import { T as Text } from './index-0bce1312.js';
|
|
9
|
+
import { u as useTranslations } from './index-bd2e1478.js';
|
|
10
|
+
import { C as CommonGAssets } from './index-abdade88.js';
|
|
10
11
|
import { theme } from './miscTheme.js';
|
|
11
12
|
import styled from '@emotion/styled';
|
|
12
|
-
import { M as MediaQueries } from './utils-
|
|
13
|
+
import { M as MediaQueries } from './utils-c4a2fc0d.js';
|
|
13
14
|
import { setDefaultClass } from './miscDefaultClassWrapper.js';
|
|
14
15
|
import classNames from 'classnames';
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import { g as getCurrentBaseUrl, a as getCurrentSsoUrl, b as getTogetherApiDomain, c as getDiscoverApiDomain } from './normalizeLink-
|
|
16
|
+
import { C as CARE_LOCALES, d as CARE_BOOKING_LOCALES, c as LOCALE_HAS_COMMUNITY_SITE, E as ECOM_LOCALES, V as VIDEO_LOCALES, H as HAS_CLINITY_DOWNLOAD_SITE } from './index-54301611.js';
|
|
17
|
+
import { d as domainLocalesMarryBaby } from './utils-732d970a.js';
|
|
18
|
+
import { g as getCurrentBaseUrl, a as getCurrentSsoUrl, b as getTogetherApiDomain, c as getDiscoverApiDomain } from './normalizeLink-6be22bda.js';
|
|
18
19
|
import { domainLocales } from './constantsDomainLocales.js';
|
|
19
20
|
import { ProfileNavigation } from './profileNavigation.js';
|
|
20
21
|
import { NavigationLogoutPopup } from './navigationLogoutPopup.js';
|
|
21
22
|
|
|
23
|
+
const BlueWhiteLogin = (props) => (React.createElement("svg", Object.assign({ width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
|
|
24
|
+
React.createElement("rect", { y: "0.5", width: "31", height: "31", rx: "15.5", fill: "white" }),
|
|
25
|
+
React.createElement("path", { d: "M15.4999 14.3797C16.9062 14.3797 18.0462 13.2397 18.0462 11.8334C18.0462 10.4271 16.9062 9.28711 15.4999 9.28711C14.0936 9.28711 12.9536 10.4271 12.9536 11.8334C12.9536 13.2397 14.0936 14.3797 15.4999 14.3797Z", stroke: "#2743AD", strokeWidth: "1.2", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
26
|
+
React.createElement("path", { d: "M19.9092 22.0335C20.7055 21.7825 21.124 20.9029 20.786 20.1399C19.8879 18.1112 17.861 16.6946 15.4999 16.6946C13.1388 16.6946 11.112 18.1112 10.2138 20.1399C9.87585 20.9038 10.2944 21.7825 11.0907 22.0335C12.2249 22.3909 13.7258 22.7131 15.4999 22.7131C17.274 22.7131 18.7749 22.3909 19.9092 22.0335Z", stroke: "#2743AD", strokeWidth: "1.2", strokeLinecap: "round", strokeLinejoin: "round" })));
|
|
27
|
+
|
|
28
|
+
const UserPlain = (props) => (React.createElement("svg", Object.assign({ width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
|
|
29
|
+
React.createElement("path", { d: "M9.99991 8.3797C11.4062 8.3797 12.5462 7.23969 12.5462 5.83341C12.5462 4.42712 11.4062 3.28711 9.99991 3.28711C8.59363 3.28711 7.45361 4.42712 7.45361 5.83341C7.45361 7.23969 8.59363 8.3797 9.99991 8.3797Z", stroke: "white", strokeWidth: "1.2", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
30
|
+
React.createElement("path", { d: "M14.4092 16.0335C15.2055 15.7825 15.624 14.9029 15.286 14.1399C14.3879 12.1112 12.361 10.6946 9.99992 10.6946C7.63881 10.6946 5.61196 12.1112 4.71381 14.1399C4.37585 14.9038 4.79436 15.7825 5.59066 16.0335C6.72492 16.3909 8.22584 16.7131 9.99992 16.7131C11.774 16.7131 13.2749 16.3909 14.4092 16.0335Z", stroke: "white", strokeWidth: "1.2", strokeLinecap: "round", strokeLinejoin: "round" })));
|
|
31
|
+
|
|
22
32
|
const useNavConfig = ({ locale, projectType, siteType, enableBookingBtn, }) => {
|
|
23
33
|
const config = useMemo(() => {
|
|
24
34
|
const enableSearchBar = projectType === 'discover' ||
|
|
@@ -296,6 +306,7 @@ const StyledLoggedOutAnchor = styled.a `
|
|
|
296
306
|
${MediaQueries.mbUp} {
|
|
297
307
|
display: block;
|
|
298
308
|
border: 1px solid ${theme.colors.neutral100};
|
|
309
|
+
color: ${({ winCashBackTheme }) => winCashBackTheme ? theme.colors.white : undefined};
|
|
299
310
|
}
|
|
300
311
|
}
|
|
301
312
|
`;
|
|
@@ -313,7 +324,7 @@ const ProfilePopup = ({ isOpen, userInfo, closePopup, siteType = 'helloSites', d
|
|
|
313
324
|
React__default.createElement(ProfileNavigation, { siteType: siteType, onLogout: handleClickLogout, userInfo: userInfo, configs: { enableProfileFindMyBooking } }))));
|
|
314
325
|
};
|
|
315
326
|
|
|
316
|
-
const NavigationProfileButton = ({ userInfo, siteType, onLoginClick, currentUrl, isMinifyLogin, onLogout, style, isLoading, isMobile, className, }) => {
|
|
327
|
+
const NavigationProfileButton = ({ userInfo, siteType, onLoginClick, currentUrl, isMinifyLogin, onLogout, style, isLoading, isMobile, winCashBackTheme, className, }) => {
|
|
317
328
|
const { t } = useTranslations();
|
|
318
329
|
const [isLogoutConfirmOpen, setIsLogoutConfirmOpen] = useState(false);
|
|
319
330
|
const name = (userInfo === null || userInfo === void 0 ? void 0 : userInfo.name) || (userInfo === null || userInfo === void 0 ? void 0 : userInfo.username);
|
|
@@ -350,18 +361,18 @@ const NavigationProfileButton = ({ userInfo, siteType, onLoginClick, currentUrl,
|
|
|
350
361
|
setIsLogoutConfirmOpen(false);
|
|
351
362
|
document.body.classList.toggle('noscroll', false);
|
|
352
363
|
yield onLogout();
|
|
353
|
-
}) }))) : (React__default.createElement(StyledLoggedOutAnchor, { style: Object.assign({ textDecoration: 'none' }, style), "data-event-category": "Sign Up", "data-event-action": "Button Click", "data-event-label": currentUrl, "data-site-type": siteType, onClick: onLoginClick }, isMinifyLogin ? (React__default.createElement(StyledAvatar, null,
|
|
364
|
+
}) }))) : (React__default.createElement(StyledLoggedOutAnchor, { style: Object.assign({ textDecoration: 'none' }, style), "data-event-category": "Sign Up", "data-event-action": "Button Click", "data-event-label": currentUrl, "data-site-type": siteType, onClick: onLoginClick, winCashBackTheme: winCashBackTheme }, isMinifyLogin ? (React__default.createElement(StyledAvatar, null,
|
|
354
365
|
React__default.createElement("img", { src: CommonGAssets.getAssetPath('lock.png'), className: "avatar", loading: "lazy", alt: "avatar" }))) : (
|
|
355
366
|
// LOGIC:
|
|
356
367
|
// - DEsktop: always show button
|
|
357
368
|
// - Mobile: show button only for helloSites, show text for MarryBaby
|
|
358
369
|
React__default.createElement(React__default.Fragment, null,
|
|
359
370
|
siteType === 'helloSites' &&
|
|
360
|
-
(isLoginIcon ? (React__default.createElement("img", { className: "mobile-only", src: CommonGAssets.getAssetPath('login.svg'), style: {
|
|
371
|
+
(isLoginIcon ? (winCashBackTheme ? (React__default.createElement(BlueWhiteLogin, { className: "mobile-only", style: { cursor: 'pointer' } })) : (React__default.createElement("img", { className: "mobile-only", src: CommonGAssets.getAssetPath('login.svg'), style: {
|
|
361
372
|
cursor: 'pointer',
|
|
362
373
|
height: 24,
|
|
363
374
|
width: 24,
|
|
364
|
-
} })) : (React__default.createElement(Button, { className: "mobile-only", size: "sm", leftIcon: React__default.createElement(User, { color: "currentColor", isSolid: true, size: 22 }), sx: {
|
|
375
|
+
} }))) : (React__default.createElement(Button, { className: "mobile-only", size: "sm", leftIcon: React__default.createElement(User, { color: "currentColor", isSolid: true, size: 22 }), sx: {
|
|
365
376
|
paddingLeft: '8px',
|
|
366
377
|
paddingRight: '12px',
|
|
367
378
|
}, styles: {
|
|
@@ -373,7 +384,7 @@ const NavigationProfileButton = ({ userInfo, siteType, onLoginClick, currentUrl,
|
|
|
373
384
|
paddingLeft: 16,
|
|
374
385
|
} },
|
|
375
386
|
React__default.createElement(Text, { size: "p3", color: theme.mbColors.pink }, t('navigation.loginJoin')))),
|
|
376
|
-
siteType === 'marryBaby' ? (React__default.createElement(Button, { className: "login-btn", size: "md", leftIcon: React__default.createElement(User, { color: "currentColor", isSolid: true, size: 22 }) }, t('navigation.loginJoin'))) : (React__default.createElement(Button, { className: "login-btn", size: "md", leftIcon: React__default.createElement(User, { color: "#595959", isSolid: true, size: 22 }), variant: "ghost", color: "#262626" }, t('navigation.loginJoin')))))));
|
|
387
|
+
siteType === 'marryBaby' ? (React__default.createElement(Button, { className: "login-btn", size: "md", leftIcon: React__default.createElement(User, { color: "currentColor", isSolid: true, size: 22 }) }, t('navigation.loginJoin'))) : (React__default.createElement(Button, { className: "login-btn", size: "md", leftIcon: winCashBackTheme ? (React__default.createElement(UserPlain, null)) : (React__default.createElement(User, { color: "#595959", isSolid: true, size: 22 })), variant: "ghost", color: "#262626", style: { borderRadius: winCashBackTheme ? 28 : undefined } }, t('navigation.loginJoin')))))));
|
|
377
388
|
};
|
|
378
389
|
|
|
379
|
-
export { NavigationProfileButton as N, NavigationContext as a, NavigationProvider as b, useCSSFocusPopupHelper as u };
|
|
390
|
+
export { BlueWhiteLogin as B, NavigationProfileButton as N, UserPlain as U, NavigationContext as a, NavigationProvider as b, useCSSFocusPopupHelper as u };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a as __awaiter } from './tslib.es6-
|
|
1
|
+
import { a as __awaiter } from './tslib.es6-20c0a199.js';
|
|
2
2
|
import React__default, { useContext, useState, useRef, useEffect } from 'react';
|
|
3
3
|
import { useMantineTheme } from '@mantine/core';
|
|
4
|
-
import { H as Heading } from './index-
|
|
5
|
-
import { T as Text } from './index-
|
|
6
|
-
import { T as TogetherComponentGlobalContext, c as callApi,
|
|
4
|
+
import { H as Heading } from './index-fac14f56.js';
|
|
5
|
+
import { T as Text } from './index-0bce1312.js';
|
|
6
|
+
import { T as TogetherComponentGlobalContext, c as callApi, e as getApiPath } from './utils-732d970a.js';
|
|
7
7
|
import styled from '@emotion/styled';
|
|
8
8
|
import { PATHS } from './togetherApiPaths.js';
|
|
9
|
-
import { D as DEFAULT_IMG } from './constants-
|
|
9
|
+
import { D as DEFAULT_IMG } from './constants-403bc801.js';
|
|
10
10
|
|
|
11
11
|
const StyledCardLink = styled.div `
|
|
12
12
|
.link-info-container {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { a as __awaiter, _ as __rest } from './tslib.es6-
|
|
1
|
+
import { a as __awaiter, _ as __rest } from './tslib.es6-20c0a199.js';
|
|
2
2
|
import React__default, { useState, useEffect } from 'react';
|
|
3
3
|
import dayjs from 'dayjs';
|
|
4
|
-
import './index-
|
|
5
|
-
import { L as LOCALE } from './Locale-
|
|
4
|
+
import './index-08598b4f.js';
|
|
5
|
+
import { L as LOCALE } from './Locale-42aafd11.js';
|
|
6
6
|
import { notifications, Notifications } from '@mantine/notifications';
|
|
7
|
-
import { Z as ZINDEX_SSO, I as ISO_FORMAT } from './index-
|
|
7
|
+
import { Z as ZINDEX_SSO, I as ISO_FORMAT } from './index-54301611.js';
|
|
8
8
|
import { em } from '@mantine/core';
|
|
9
|
-
import { C as CommonGAssets } from './index-
|
|
9
|
+
import { C as CommonGAssets } from './index-abdade88.js';
|
|
10
10
|
import { theme } from './miscTheme.js';
|
|
11
|
-
import { S as Screens, M as MediaQueries, B as Breakpoints } from './utils-
|
|
12
|
-
import { C as CustomStylesType, F as FontWeight } from './index-
|
|
13
|
-
import { A as ANIMATION_DURATION } from './shared-
|
|
11
|
+
import { S as Screens, M as MediaQueries, B as Breakpoints } from './utils-c4a2fc0d.js';
|
|
12
|
+
import { C as CustomStylesType, F as FontWeight } from './index-782dfc14.js';
|
|
13
|
+
import { A as ANIMATION_DURATION } from './shared-24dd7c65.js';
|
|
14
14
|
|
|
15
15
|
// Available locale list https://cdn.jsdelivr.net/npm/dayjs@1/locale.json
|
|
16
16
|
const MAPPED_LOCALE = {
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import { _ as __rest, a as __awaiter } from './tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __awaiter } from './tslib.es6-20c0a199.js';
|
|
2
2
|
import React__default, { useState, useContext, useMemo, useRef, useCallback, useEffect, createContext } from 'react';
|
|
3
3
|
import dayjs from 'dayjs';
|
|
4
|
-
import { T as Tabs } from './index-
|
|
5
|
-
import { L as Loading } from './index-
|
|
6
|
-
import {
|
|
4
|
+
import { T as Tabs } from './index-b8024258.js';
|
|
5
|
+
import { L as Loading } from './index-280e9dc1.js';
|
|
6
|
+
import { a as formatPost, f as formatCommunity, g as formatArticle } from './dataTransform-5decfe82.js';
|
|
7
7
|
import { PATHS } from './togetherApiPaths.js';
|
|
8
|
-
import { T as TogetherComponentGlobalContext, c as callApi,
|
|
8
|
+
import { T as TogetherComponentGlobalContext, c as callApi, e as getApiPath, b as callApiWithAuth } from './utils-732d970a.js';
|
|
9
9
|
import { Plus } from '@hhgtech/icons/core';
|
|
10
10
|
import { createStyles, Anchor, Accordion, Flex, useMantineTheme } from '@mantine/core';
|
|
11
|
-
import { C as CommonGAssets } from './index-
|
|
12
|
-
import { I as ImageWrap } from './index-
|
|
13
|
-
import { P as PopupExpert, d as CardAuthor, C as CardAuthor$1 } from './index-
|
|
14
|
-
import { S as SocialType } from './index-
|
|
15
|
-
import { u as useTranslations } from './index-
|
|
11
|
+
import { C as CommonGAssets } from './index-abdade88.js';
|
|
12
|
+
import { I as ImageWrap } from './index-3feeedc9.js';
|
|
13
|
+
import { P as PopupExpert, d as CardAuthor, C as CardAuthor$1 } from './index-2875f9ab.js';
|
|
14
|
+
import { S as SocialType } from './index-08598b4f.js';
|
|
15
|
+
import { u as useTranslations } from './index-bd2e1478.js';
|
|
16
16
|
import { theme } from './miscTheme.js';
|
|
17
17
|
import { CrossLogo, ArrowDown } from '@hhgtech/icons/other';
|
|
18
|
-
import {
|
|
18
|
+
import { a as Anchor$1 } from './index-e23d9774.js';
|
|
19
19
|
import '@mantine/dates';
|
|
20
|
-
import './index-
|
|
21
|
-
import './index-
|
|
22
|
-
import { T as Text } from './index-
|
|
23
|
-
import { B as Button } from './index-
|
|
24
|
-
import './index-
|
|
25
|
-
import './index.styles-
|
|
20
|
+
import './index-54301611.js';
|
|
21
|
+
import './index-375acd9b.js';
|
|
22
|
+
import { T as Text } from './index-0bce1312.js';
|
|
23
|
+
import { B as Button } from './index-85224b40.js';
|
|
24
|
+
import './index-782dfc14.js';
|
|
25
|
+
import './index.styles-e08da4ab.js';
|
|
26
26
|
import '@mantine/hooks';
|
|
27
|
-
import './utils-
|
|
27
|
+
import './utils-c4a2fc0d.js';
|
|
28
28
|
import styled from '@emotion/styled';
|
|
29
29
|
import { useTogetherAuthRequiredAction } from './useTogetherAuthRequiredAction.js';
|
|
30
|
-
import { d as decodeMention, b as decodePostUrl } from './post-
|
|
31
|
-
import { B as Button$1 } from './index-
|
|
32
|
-
import './translationsContext-
|
|
30
|
+
import { d as decodeMention, b as decodePostUrl } from './post-f029b4b9.js';
|
|
31
|
+
import { B as Button$1 } from './index-0318419c.js';
|
|
32
|
+
import './translationsContext-11c3e0ba.js';
|
|
33
33
|
|
|
34
34
|
const StyledPostContent = styled.div `
|
|
35
35
|
padding: 0.5rem 1rem 1rem;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default, { useState, useEffect } from 'react';
|
|
2
|
-
import { B as Breakpoints } from './utils-
|
|
3
|
-
import { _ as __rest } from './tslib.es6-
|
|
2
|
+
import { B as Breakpoints } from './utils-c4a2fc0d.js';
|
|
3
|
+
import { _ as __rest } from './tslib.es6-20c0a199.js';
|
|
4
4
|
import styled from '@emotion/styled';
|
|
5
5
|
|
|
6
6
|
const getIsMobile = () => {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import React__default, { useState, useMemo } from 'react';
|
|
2
|
-
import { F as Flag } from './index-
|
|
2
|
+
import { F as Flag } from './index-e23d9774.js';
|
|
3
3
|
import styled from '@emotion/styled';
|
|
4
4
|
import { theme } from './miscTheme.js';
|
|
5
|
-
import { T as Text } from './index-
|
|
6
|
-
import { C as CommonGAssets } from './index-
|
|
7
|
-
import { _ as __rest } from './tslib.es6-
|
|
8
|
-
import { a as ZINDEX_HEADER,
|
|
9
|
-
import { V as VideoType } from './index-
|
|
5
|
+
import { T as Text } from './index-0bce1312.js';
|
|
6
|
+
import { C as CommonGAssets } from './index-abdade88.js';
|
|
7
|
+
import { _ as __rest } from './tslib.es6-20c0a199.js';
|
|
8
|
+
import { a as ZINDEX_HEADER, e as VIDEO_DETAIL_TEMP_STORAGE } from './index-54301611.js';
|
|
9
|
+
import { V as VideoType } from './index-08598b4f.js';
|
|
10
10
|
import { createStyles, Stack, Box, AspectRatio, getStylesRef, rem, Flex } from '@mantine/core';
|
|
11
|
-
import { a as abbreviateNumber } from './number-
|
|
12
|
-
import { u as useTranslations } from './index-
|
|
11
|
+
import { a as abbreviateNumber } from './number-0ddd3f39.js';
|
|
12
|
+
import { u as useTranslations } from './index-bd2e1478.js';
|
|
13
13
|
import { useOs } from '@mantine/hooks';
|
|
14
|
-
import { M as Modal } from './index-
|
|
15
|
-
import { S as SocialLinkPreview } from './index-
|
|
14
|
+
import { M as Modal } from './index-6181ffef.js';
|
|
15
|
+
import { S as SocialLinkPreview } from './index-753ae1ff.js';
|
|
16
16
|
import { domainLocales } from './constantsDomainLocales.js';
|
|
17
17
|
|
|
18
18
|
const ALLOW_DOMAIN_URL = [
|
|
@@ -364,7 +364,7 @@ const VideoItem$1 = (_a) => {
|
|
|
364
364
|
CommonGAssets.getAssetPath(`videoThumbDefault/${locale}.jpg`), alt: title, onError: (e) => {
|
|
365
365
|
e.currentTarget.src = CommonGAssets.getAssetPath(`videoThumbDefault/${locale}.jpg`);
|
|
366
366
|
} })),
|
|
367
|
-
duration && (React__default.createElement(Box, { className: classes.duration },
|
|
367
|
+
typeof duration === 'number' && duration > 0 && (React__default.createElement(Box, { className: classes.duration },
|
|
368
368
|
React__default.createElement(Text, { size: "n1", className: classes.durationTxt }, duration))),
|
|
369
369
|
React__default.createElement(Flex, { className: classes.overlay, align: 'center', justify: 'center' }, active ? (React__default.createElement(Text, { size: "s3", weight: "semiBold", color: "#fff" }, t('common.playing'))) : (React__default.createElement(Play, { size: isMobile ? 32 : 46 }))))),
|
|
370
370
|
React__default.createElement(Stack, { sx: { [theme.fn.largerThan('sm')]: { gap: 4 }, gap: 2 } },
|
|
@@ -1,48 +1,58 @@
|
|
|
1
|
-
import { _ as __rest, a as __awaiter } from './tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __awaiter } from './tslib.es6-20c0a199.js';
|
|
2
|
+
import * as React from 'react';
|
|
2
3
|
import React__default, { useContext, useState, useCallback, useEffect, useMemo, useRef } from 'react';
|
|
3
|
-
import { i as isInternalLink, V as VideoItem, L as LanguageSwitcher } from './index-
|
|
4
|
-
import { L as LOCALE_SPECS, S as STATIC_PAGES, a as ZINDEX_HEADER,
|
|
5
|
-
import { e as normalizeLink, n as normalizeLinkSlash, g as getCurrentBaseUrl, c as getDiscoverApiDomain, b as getTogetherApiDomain, d as getCareApiDomain } from './normalizeLink-
|
|
6
|
-
import {
|
|
4
|
+
import { i as isInternalLink, V as VideoItem, L as LanguageSwitcher } from './index-451f02fa.js';
|
|
5
|
+
import { L as LOCALE_SPECS, S as STATIC_PAGES, a as ZINDEX_HEADER, V as VIDEO_LOCALES, c as LOCALE_HAS_COMMUNITY_SITE, C as CARE_LOCALES } from './index-54301611.js';
|
|
6
|
+
import { e as normalizeLink, n as normalizeLinkSlash, g as getCurrentBaseUrl, c as getDiscoverApiDomain, b as getTogetherApiDomain, d as getCareApiDomain } from './normalizeLink-6be22bda.js';
|
|
7
|
+
import { f as formatCommunity, a as formatPost } from './dataTransform-5decfe82.js';
|
|
7
8
|
import { Close, Logo } from '@hhgtech/icons/core';
|
|
8
|
-
import './translationsContext-
|
|
9
|
+
import './translationsContext-11c3e0ba.js';
|
|
9
10
|
import styled from '@emotion/styled';
|
|
10
|
-
import { I as Input } from './index-
|
|
11
|
+
import { I as Input } from './index-e23d9774.js';
|
|
11
12
|
import { theme } from './miscTheme.js';
|
|
12
|
-
import { a as NavigationContext, u as useCSSFocusPopupHelper, N as NavigationProfileButton, b as NavigationProvider } from './index-
|
|
13
|
+
import { a as NavigationContext, u as useCSSFocusPopupHelper, N as NavigationProfileButton, b as NavigationProvider } from './index-30ecbb49.js';
|
|
13
14
|
import { ArrowRight, ChatAi } from '@hhgtech/icons/other';
|
|
14
15
|
import { createStyles, Box, Indicator, useMantineTheme, clsx } from '@mantine/core';
|
|
15
|
-
import { L as Logo$1 } from './index-
|
|
16
|
+
import { L as Logo$1 } from './index-d583820e.js';
|
|
16
17
|
import throttle from 'lodash/throttle';
|
|
17
18
|
import '@mantine/dates';
|
|
18
|
-
import { V as VideoType } from './index-
|
|
19
|
-
import { C as CommonGAssets } from './index-
|
|
20
|
-
import './index-
|
|
21
|
-
import { T as Text } from './index-
|
|
22
|
-
import { B as Button } from './index-
|
|
23
|
-
import './index-
|
|
24
|
-
import './index.styles-
|
|
19
|
+
import { V as VideoType } from './index-08598b4f.js';
|
|
20
|
+
import { C as CommonGAssets } from './index-abdade88.js';
|
|
21
|
+
import './index-375acd9b.js';
|
|
22
|
+
import { T as Text } from './index-0bce1312.js';
|
|
23
|
+
import { B as Button } from './index-85224b40.js';
|
|
24
|
+
import './index-782dfc14.js';
|
|
25
|
+
import './index.styles-e08da4ab.js';
|
|
25
26
|
import '@mantine/hooks';
|
|
26
|
-
import { g as getBoundariesFromMediaQueryKey, M as MediaQueries } from './utils-
|
|
27
|
-
import './index-
|
|
28
|
-
import { L as LOCALISED_SLUGS } from './constants-
|
|
29
|
-
import { u as useSSOV2Store, I as IS_SSOV2_ENABLED } from './store-
|
|
30
|
-
import { L as LOCALIZED_SLUGS } from './constants-
|
|
31
|
-
import { u as useTranslations } from './index-
|
|
32
|
-
import { H as Heading } from './index-
|
|
33
|
-
import { I as Indicator$1 } from './index-
|
|
34
|
-
import { u as useIsInit } from './useIsInit-
|
|
27
|
+
import { g as getBoundariesFromMediaQueryKey, M as MediaQueries } from './utils-c4a2fc0d.js';
|
|
28
|
+
import './index-b8024258.js';
|
|
29
|
+
import { L as LOCALISED_SLUGS } from './constants-24fb90f9.js';
|
|
30
|
+
import { u as useSSOV2Store, I as IS_SSOV2_ENABLED } from './store-0046d3e6.js';
|
|
31
|
+
import { L as LOCALIZED_SLUGS } from './constants-089983eb.js';
|
|
32
|
+
import { u as useTranslations } from './index-bd2e1478.js';
|
|
33
|
+
import { H as Heading } from './index-fac14f56.js';
|
|
34
|
+
import { I as Indicator$1 } from './index-046cd716.js';
|
|
35
|
+
import { u as useIsInit } from './useIsInit-b5757998.js';
|
|
35
36
|
import { setDefaultClass } from './miscDefaultClassWrapper.js';
|
|
36
|
-
import { B as Button$1 } from './index-
|
|
37
|
+
import { B as Button$1 } from './index-0318419c.js';
|
|
37
38
|
import formatString from 'string-format';
|
|
38
39
|
import { domainLocales } from './constantsDomainLocales.js';
|
|
39
40
|
import dayjs from 'dayjs';
|
|
40
41
|
import relativeTime from 'dayjs/plugin/relativeTime';
|
|
41
|
-
import { U as UserAvatar } from './index-
|
|
42
|
-
import { C as Container } from './index-
|
|
43
|
-
import { L as LOCALE } from './Locale-
|
|
42
|
+
import { U as UserAvatar } from './index-2eb4ce9c.js';
|
|
43
|
+
import { C as Container } from './index-ece0a054.js';
|
|
44
|
+
import { L as LOCALE } from './Locale-42aafd11.js';
|
|
44
45
|
import debounce from 'lodash/debounce';
|
|
45
|
-
import { g as getDataWithCache } from './core-
|
|
46
|
+
import { g as getDataWithCache } from './core-df695399.js';
|
|
47
|
+
|
|
48
|
+
const HamburgerWhite = (props) => (React.createElement("svg", Object.assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
|
|
49
|
+
React.createElement("path", { d: "M4 12H20", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
50
|
+
React.createElement("path", { d: "M4 7H20", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
51
|
+
React.createElement("path", { d: "M4 17H20", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })));
|
|
52
|
+
|
|
53
|
+
const StarPair = (props) => (React.createElement("svg", Object.assign({ width: "22", height: "28", viewBox: "0 0 22 28", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props),
|
|
54
|
+
React.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" }),
|
|
55
|
+
React.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" })));
|
|
46
56
|
|
|
47
57
|
const StyleInput = styled(Input) `
|
|
48
58
|
.mantine-Input-input {
|
|
@@ -74,7 +84,7 @@ const StyleInput = styled(Input) `
|
|
|
74
84
|
`;
|
|
75
85
|
|
|
76
86
|
const HHG_SEARCH_BACK_KEY = 'hhg_search_history';
|
|
77
|
-
const SearchInput = ({ id, isMobile = false, isHomepage = false, projectType, isRedirectSearchPage = false, }) => {
|
|
87
|
+
const SearchInput = ({ id, isMobile = false, isHomepage = false, projectType, isRedirectSearchPage = false, winCashBackTheme = false, }) => {
|
|
78
88
|
const { locale, siteType } = useContext(NavigationContext);
|
|
79
89
|
const [keyword, setKeyword] = useState('');
|
|
80
90
|
const [eventCategoryTracking, setEventCategoryTracking] = useState('Search From Another Page');
|
|
@@ -139,7 +149,7 @@ const SearchInput = ({ id, isMobile = false, isHomepage = false, projectType, is
|
|
|
139
149
|
goToSearchPage('');
|
|
140
150
|
}
|
|
141
151
|
}, rightSection: keyword ? (React__default.createElement("div", { className: "close-icon-wrapper", onClick: () => setKeyword(''), "data-event-category": "Search Page", "data-event-action": "Delete Search" },
|
|
142
|
-
React__default.createElement(Close, { size: 17, color: theme.colors.white }))) : (''), icon: React__default.createElement("a", { "data-event-category": "Search Button", "data-event-action": "Click", className: "search-icon-btn", onClick: () => {
|
|
152
|
+
React__default.createElement(Close, { size: 17, color: theme.colors.white }))) : winCashBackTheme ? (React__default.createElement(StarPair, { className: "star-pair-icon" })) : (''), icon: React__default.createElement("a", { "data-event-category": "Search Button", "data-event-action": "Click", className: "search-icon-btn", onClick: () => {
|
|
143
153
|
if ((isMobile && isHomepage) || isRedirectSearchPage) {
|
|
144
154
|
goToSearchPage('');
|
|
145
155
|
}
|
|
@@ -193,18 +203,17 @@ const DisplayWrapper = ({ forceDisplay, mediaQueryKey, children, className, styl
|
|
|
193
203
|
|
|
194
204
|
var styles$2 = {"menuContainer":"y5VJdvw","menuIcon":"oVhOSCy","menuIconWrapper":"pX8OXTM"};
|
|
195
205
|
|
|
196
|
-
function ClosePopupIcon({ className }) {
|
|
206
|
+
function ClosePopupIcon({ className, winCashBackTheme }) {
|
|
197
207
|
return (React__default.createElement("div", null,
|
|
198
208
|
React__default.createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", className: className },
|
|
199
|
-
React__default.createElement("path", { d: "M18 6L6 18M18 18L6 6", stroke:
|
|
209
|
+
React__default.createElement("path", { d: "M18 6L6 18M18 18L6 6", stroke: winCashBackTheme ? '#FFFFFF' : '#3E3F58', strokeWidth: "1.3", strokeLinecap: "round" }))));
|
|
200
210
|
}
|
|
201
211
|
|
|
202
|
-
function HamburgerIcon({ siteType, enableSearch, className, style, }) {
|
|
212
|
+
function HamburgerIcon({ siteType, enableSearch, winCashBackTheme, className, style, }) {
|
|
203
213
|
if (siteType === 'helloSites') {
|
|
204
|
-
return (React__default.createElement("div", { className: "hamburger-container" },
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
: CommonGAssets.getAssetPath('hamburgerMenuNew.svg'), style: Object.assign({ width: '24px', height: '24px' }, style), alt: "home", className: className, loading: "lazy" })));
|
|
214
|
+
return (React__default.createElement("div", { className: "hamburger-container" }, winCashBackTheme ? (React__default.createElement(HamburgerWhite, { className: className })) : (React__default.createElement("img", { "data-list-type": "Header", "data-content-type": "Navigation", "data-content-topic": "Hamburger", src: enableSearch
|
|
215
|
+
? CommonGAssets.getAssetPath('hamburgerMenuNewWithSearch.svg')
|
|
216
|
+
: CommonGAssets.getAssetPath('hamburgerMenuNew.svg'), style: Object.assign({ width: '24px', height: '24px' }, style), alt: "home", className: className, loading: "lazy" }))));
|
|
208
217
|
}
|
|
209
218
|
/** Marry Baby */
|
|
210
219
|
return (React__default.createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", className: className },
|
|
@@ -392,7 +401,7 @@ const StyledViewMore$1 = styled.a `
|
|
|
392
401
|
|
|
393
402
|
var styles$1 = {"menuIconWrapper":"wnUb-dV","menuButton":"cjbOxWe","itemNavButton":"-sx0jrx","scale":"EDlp5Zf"};
|
|
394
403
|
|
|
395
|
-
const ItemMenu = ({ item, menu }) => {
|
|
404
|
+
const ItemMenu = ({ item, menu, winCashBackTheme }) => {
|
|
396
405
|
const { containerRef, onButtonMouseDown, onClose } = useCSSFocusPopupHelper({
|
|
397
406
|
allowBgScroll: true,
|
|
398
407
|
});
|
|
@@ -403,15 +412,19 @@ const ItemMenu = ({ item, menu }) => {
|
|
|
403
412
|
React__default.createElement("div", { "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": item.link, className: styles$1.menuButton }, item.name))));
|
|
404
413
|
}
|
|
405
414
|
return (React__default.createElement(NewWrapper, { isNew: item.isNew },
|
|
406
|
-
React__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 },
|
|
407
|
-
React__default.createElement("div", { "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": item.link, onMouseDown: onButtonMouseDown, className: styles$1.menuButton },
|
|
415
|
+
React__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 } },
|
|
416
|
+
React__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 } },
|
|
408
417
|
item.name,
|
|
409
418
|
item.popupType && (React__default.createElement(React__default.Fragment, null, (item === null || item === void 0 ? void 0 : item.icon) ? (React__default.createElement("div", { className: "wrapper-menu-icon" },
|
|
410
|
-
React__default.createElement("div", { className: "origin-icon"
|
|
419
|
+
React__default.createElement("div", { className: "origin-icon", style: {
|
|
420
|
+
filter: winCashBackTheme
|
|
421
|
+
? 'brightness(0) invert(1)'
|
|
422
|
+
: undefined,
|
|
423
|
+
} }, item.icon),
|
|
411
424
|
React__default.createElement("div", { className: "close-icon", onClick: onClose },
|
|
412
|
-
React__default.createElement(Close, { size: 16 })))) : (React__default.createElement("div", { className: styles$1.menuIconWrapper },
|
|
425
|
+
React__default.createElement(Close, { size: 16, color: winCashBackTheme ? 'white' : undefined })))) : (React__default.createElement("div", { className: styles$1.menuIconWrapper },
|
|
413
426
|
React__default.createElement("svg", { width: "18", height: "18", viewBox: "0 0 18 18", fill: "none" },
|
|
414
|
-
React__default.createElement("path", { d: "M11.5 7.5L9 10L6.5 7.5", stroke:
|
|
427
|
+
React__default.createElement("path", { d: "M11.5 7.5L9 10L6.5 7.5", stroke: winCashBackTheme ? 'white' : '#202135', strokeWidth: "1.33", strokeLinecap: "round", strokeLinejoin: "round" }))))))),
|
|
415
428
|
React__default.isValidElement(menu)
|
|
416
429
|
? React__default.cloneElement(menu, {
|
|
417
430
|
onClose,
|
|
@@ -1836,15 +1849,15 @@ const MenuServiceList = ({ closePopup, menuItems = [], projectType, isHomepage =
|
|
|
1836
1849
|
activeMenuService === 'video' && (React__default.createElement(VideoSpotlights, { spotlightsList: videos === null || videos === void 0 ? void 0 : videos.spotlights, layout: "stack" })))));
|
|
1837
1850
|
};
|
|
1838
1851
|
|
|
1839
|
-
const HamburgerMenu = ({ menuItems, isHomepage, projectType }) => {
|
|
1852
|
+
const HamburgerMenu = ({ menuItems, isHomepage, projectType, winCashBackTheme, }) => {
|
|
1840
1853
|
const { siteType } = useContext(NavigationContext);
|
|
1841
1854
|
const { containerRef, onContainerFocus, onContainerBlur, onButtonMouseDown, onClose, } = useCSSFocusPopupHelper();
|
|
1842
1855
|
return (React__default.createElement(DisplayWrapper, { mediaQueryKey: "mbDown" },
|
|
1843
1856
|
React__default.createElement("header", { className: styles$2.menuContainer },
|
|
1844
1857
|
React__default.createElement("div", { className: styles$2.menuIcon, ref: containerRef, role: "button", tabIndex: 0, onBlur: onContainerBlur, onFocus: onContainerFocus },
|
|
1845
1858
|
React__default.createElement("div", { className: styles$2.menuIconWrapper, onMouseDown: onButtonMouseDown, "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": "Hamburger Navigation URL" },
|
|
1846
|
-
React__default.createElement(ClosePopupIcon, { className: "mobile-close-icon" }),
|
|
1847
|
-
React__default.createElement(HamburgerIcon, { siteType: siteType, enableSearch: false, className: "mobile-hamburger-icon" })),
|
|
1859
|
+
React__default.createElement(ClosePopupIcon, { className: "mobile-close-icon", winCashBackTheme: winCashBackTheme }),
|
|
1860
|
+
React__default.createElement(HamburgerIcon, { siteType: siteType, enableSearch: false, className: "mobile-hamburger-icon", winCashBackTheme: winCashBackTheme })),
|
|
1848
1861
|
React__default.createElement(MenuServiceList, { menuItems: menuItems, isHomepage: isHomepage, projectType: projectType, closePopup: onClose })))));
|
|
1849
1862
|
};
|
|
1850
1863
|
|
|
@@ -1853,7 +1866,7 @@ const StyledHeaderWrapper = styled.div `
|
|
|
1853
1866
|
width: 100%;
|
|
1854
1867
|
align-items: center;
|
|
1855
1868
|
|
|
1856
|
-
background-color: ${theme.colors.white};
|
|
1869
|
+
background-color: ${({ winCashBackTheme }) => winCashBackTheme ? theme.colors.blue900 : theme.colors.white};
|
|
1857
1870
|
|
|
1858
1871
|
transition: height 0.3s, transform 0.3s;
|
|
1859
1872
|
|
|
@@ -1939,7 +1952,7 @@ const StyledHeader = styled.div `
|
|
|
1939
1952
|
${MediaQueries.mbDown} {
|
|
1940
1953
|
position: relative;
|
|
1941
1954
|
height: 56px;
|
|
1942
|
-
background: white;
|
|
1955
|
+
background: ${({ winCashBackTheme }) => winCashBackTheme ? theme.colors.blue900 : theme.colors.white};
|
|
1943
1956
|
gap: 2px;
|
|
1944
1957
|
}
|
|
1945
1958
|
|
|
@@ -2299,7 +2312,7 @@ const MenuViewMore = ({ menuItems = [], isOpen, onClose }) => {
|
|
|
2299
2312
|
React__default.createElement(Logo, { width: 16, height: 15 })) }, `${LOCALE_SPECS[locale || 'en-PH'].SITE_NAME_FORMATTED} App`)))));
|
|
2300
2313
|
};
|
|
2301
2314
|
|
|
2302
|
-
const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent, subHead, projectType, customClasses, }) => {
|
|
2315
|
+
const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent, subHead, projectType, customClasses, winCashBackTheme, }) => {
|
|
2303
2316
|
var _a, _b, _c, _d;
|
|
2304
2317
|
const { siteType, isMobile = false, locale, sitewideBanner, sitewideBannerShown = true, sponsorComponent, isHomepage = false,
|
|
2305
2318
|
// onBookingClick,
|
|
@@ -2372,11 +2385,11 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
|
|
|
2372
2385
|
scrolling();
|
|
2373
2386
|
}, [isMobile]);
|
|
2374
2387
|
const isShowingSiteWideBanner = sitewideBannerShown && !!sitewideBanner;
|
|
2375
|
-
return (React__default.createElement(StyledHeaderWrapper, { "data-site-type": siteType, "data-sponsored": isSponsored, "data-sitewide-banner-shown": isShowingSiteWideBanner, "data-header-type": "home", "data-collapsed": isCollapsed, "data-is-displayed": true, id: "site-header", ref: headerRef, className: customClasses.wrapper },
|
|
2388
|
+
return (React__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 },
|
|
2376
2389
|
sitewideBanner,
|
|
2377
|
-
React__default.createElement(StyledHeader, { className: customClasses.header, "data-site-type": siteType },
|
|
2390
|
+
React__default.createElement(StyledHeader, { className: customClasses.header, "data-site-type": siteType, winCashBackTheme: winCashBackTheme },
|
|
2378
2391
|
React__default.createElement(StyledLeftGroup, { className: customClasses.leftGroup, "data-site-type": siteType },
|
|
2379
|
-
isMobile && (React__default.createElement(HamburgerMenu, { menuItems: menuItems.filter((m) => !!m.link), isHomepage: isHomepage, projectType: projectType })),
|
|
2392
|
+
isMobile && (React__default.createElement(HamburgerMenu, { menuItems: menuItems.filter((m) => !!m.link), isHomepage: isHomepage, projectType: projectType, winCashBackTheme: winCashBackTheme })),
|
|
2380
2393
|
logoComponent || (React__default.createElement("a", { style: {
|
|
2381
2394
|
flexShrink: 0,
|
|
2382
2395
|
}, href: HOME_PAGE_URL },
|
|
@@ -2384,11 +2397,11 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
|
|
|
2384
2397
|
React__default.createElement(Logo$1, { style: {
|
|
2385
2398
|
display: 'flex',
|
|
2386
2399
|
}, type: logoType, badge: locale === 'id-ID' && (React__default.createElement("img", { src: CommonGAssets.getAssetPath('sehat-badge.png'), width: "56", height: "23", loading: "lazy" })), dateForSeasonal: new Date(), locale: locale, key: typeof window !== 'undefined' ? 'client' : 'server' })))),
|
|
2387
|
-
!isMobile && (React__default.createElement(React__default.Fragment, null, siteType === 'marryBaby' ? (React__default.createElement(NavigationMenu, { menuItems: menuItems, originalMenuItems: menuItems, className: customClasses.navMenu })) : (enableSearchBar && (React__default.createElement(NavigtionSearch, { siteType: siteType, projectType: projectType, isMobile: isMobile })))))),
|
|
2400
|
+
!isMobile && (React__default.createElement(React__default.Fragment, null, siteType === 'marryBaby' ? (React__default.createElement(NavigationMenu, { menuItems: menuItems, originalMenuItems: menuItems, className: customClasses.navMenu })) : (enableSearchBar && (React__default.createElement(NavigtionSearch, { siteType: siteType, projectType: projectType, isMobile: isMobile, winCashBackTheme: winCashBackTheme })))))),
|
|
2388
2401
|
React__default.createElement(StyledRightGroup, { className: customClasses.rightGroup, "data-site-type": siteType },
|
|
2389
2402
|
!isMobile && siteType !== 'marryBaby' && (React__default.createElement(NavigationMenu, { menuItems: menuItems.filter((m) => locale === LOCALE.Vietnam
|
|
2390
2403
|
? m.id !== 'ecom' && m.id !== 'care'
|
|
2391
|
-
: true), originalMenuItems: menuItems, className: customClasses.navMenu })),
|
|
2404
|
+
: true), originalMenuItems: menuItems, winCashBackTheme: winCashBackTheme, className: customClasses.navMenu })),
|
|
2392
2405
|
React__default.createElement(StyledProfileNavGroup, null,
|
|
2393
2406
|
languageMenu,
|
|
2394
2407
|
enableNavChatbotAi && (React__default.createElement(Box, { component: "a", href: `${getCurrentBaseUrl(locale)}/ai-doctor`, "data-event-category": "Chatbot AI", "data-event-action": "Open", "data-event-label": "Hamburger Navigation", className: "ai-doctor-nav-item" },
|
|
@@ -2400,7 +2413,7 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
|
|
|
2400
2413
|
slot,
|
|
2401
2414
|
React__default.createElement(NavigationProfileButton, { userInfo: userInfo, siteType: siteType, onLoginClick: onLoginClick || goToLogin,
|
|
2402
2415
|
// SSO_URL={normalizeLink(statics.SSO_URL)}
|
|
2403
|
-
currentUrl: currentUrl, onLogout: onLogout, isLoading: isUserLoading, locale: locale, enableAppIntroPage: enableAppIntroPage, isMobile: isMobile, className: customClasses.profileBtn }),
|
|
2416
|
+
currentUrl: currentUrl, onLogout: onLogout, isLoading: isUserLoading, locale: locale, enableAppIntroPage: enableAppIntroPage, isMobile: isMobile, winCashBackTheme: winCashBackTheme, className: customClasses.profileBtn }),
|
|
2404
2417
|
cartNumber !== undefined && (React__default.createElement(React__default.Fragment, null,
|
|
2405
2418
|
!isMobile && (React__default.createElement("hr", { style: {
|
|
2406
2419
|
height: 20,
|
|
@@ -2410,7 +2423,7 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
|
|
|
2410
2423
|
} })),
|
|
2411
2424
|
React__default.createElement(CartBadge, { "data-cart-menu": "true", "data-event-category": "Ecommerce", "data-event-action": "Cart Click", "data-event-label": currentUrl, count: cartNumber, locale: locale })))))),
|
|
2412
2425
|
isMobile && isHomepage && (React__default.createElement(StyleWrapperNavigtionSearch, null,
|
|
2413
|
-
React__default.createElement(NavigtionSearch, { siteType: siteType, projectType: projectType, isMobile: isMobile, isHomepage: isHomepage }))),
|
|
2426
|
+
React__default.createElement(NavigtionSearch, { siteType: siteType, projectType: projectType, isMobile: isMobile, isHomepage: isHomepage, winCashBackTheme: winCashBackTheme }))),
|
|
2414
2427
|
sponsorComponent
|
|
2415
2428
|
? !React__default.isValidElement(sponsorComponent)
|
|
2416
2429
|
? sponsorComponent
|
|
@@ -2422,12 +2435,12 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
|
|
|
2422
2435
|
: null,
|
|
2423
2436
|
subHead && subHead));
|
|
2424
2437
|
};
|
|
2425
|
-
const NavigtionSearch = ({ siteType, projectType, isMobile = false, isHomepage = false, isRedirectSearchPage = false, }) => (React__default.createElement(DisplayWrapper, { mediaQueryKey: "mbUp", className: `${siteType === 'marryBaby' ? 'marry-baby' : ''} ${isHomepage ? 'block-show' : ''}` },
|
|
2426
|
-
React__default.createElement(SearchInput, { id: "desktop", projectType: projectType, isMobile: isMobile, isHomepage: isHomepage, isRedirectSearchPage: isRedirectSearchPage })));
|
|
2427
|
-
const NavigationMenu = ({ menuItems, originalMenuItems, className, }) => {
|
|
2438
|
+
const NavigtionSearch = ({ siteType, projectType, isMobile = false, isHomepage = false, isRedirectSearchPage = false, winCashBackTheme = false, }) => (React__default.createElement(DisplayWrapper, { mediaQueryKey: "mbUp", className: `${siteType === 'marryBaby' ? 'marry-baby' : ''} ${isHomepage ? 'block-show' : ''}` },
|
|
2439
|
+
React__default.createElement(SearchInput, { id: "desktop", projectType: projectType, isMobile: isMobile, isHomepage: isHomepage, isRedirectSearchPage: isRedirectSearchPage, winCashBackTheme: winCashBackTheme })));
|
|
2440
|
+
const NavigationMenu = ({ menuItems, originalMenuItems, className, winCashBackTheme, }) => {
|
|
2428
2441
|
const { siteType, locale, ssrMenuContent: { categories, healthTools, care, together, videos }, } = useContext(NavigationContext);
|
|
2429
2442
|
return (React__default.createElement(DisplayWrapper, { className: className, mediaQueryKey: "mbUp", style: { height: '100%' } },
|
|
2430
|
-
React__default.createElement(StyledWrapMenuItems, { "data-site-type": siteType }, menuItems === null || menuItems === void 0 ? void 0 : menuItems.map((menuItem, index) => (React__default.createElement(ItemMenu, { key: index, item: menuItem, menu: menuItem.popupType === 'categories' ? (React__default.createElement(MenuCategoriesList, { categories: categories === null || categories === void 0 ? void 0 : categories.items, spotlightsList: categories === null || categories === void 0 ? void 0 : categories.spotlights })) : menuItem.popupType === 'tools' ? (React__default.createElement(MenuHealthToolsList, { locale: locale, healthTools: healthTools === null || healthTools === void 0 ? void 0 : healthTools.items, spotlightHealthTools: healthTools === null || healthTools === void 0 ? void 0 : healthTools.spotlights })) : menuItem.popupType === 'together' ? (React__default.createElement(MenuCommunitiesList, { communities: together === null || together === void 0 ? void 0 : together.items, spotlights: together === null || together === void 0 ? void 0 : together.spotlights })) : menuItem.popupType === 'care' ? (React__default.createElement(MenuCareList, { careSpecialties: care === null || care === void 0 ? void 0 : care.items, spotlights: care === null || care === void 0 ? void 0 : care.spotlights })) : menuItem.popupType === 'video' ? (React__default.createElement(MenuVideoList, { spotlightsList: videos === null || videos === void 0 ? void 0 : videos.spotlights })) : menuItem.popupType === 'other' ? (React__default.createElement(MenuViewMore, { menuItems: originalMenuItems })) : null }))))));
|
|
2443
|
+
React__default.createElement(StyledWrapMenuItems, { "data-site-type": siteType }, menuItems === null || menuItems === void 0 ? void 0 : menuItems.map((menuItem, index) => (React__default.createElement(ItemMenu, { key: index, item: menuItem, menu: menuItem.popupType === 'categories' ? (React__default.createElement(MenuCategoriesList, { categories: categories === null || categories === void 0 ? void 0 : categories.items, spotlightsList: categories === null || categories === void 0 ? void 0 : categories.spotlights })) : menuItem.popupType === 'tools' ? (React__default.createElement(MenuHealthToolsList, { locale: locale, healthTools: healthTools === null || healthTools === void 0 ? void 0 : healthTools.items, spotlightHealthTools: healthTools === null || healthTools === void 0 ? void 0 : healthTools.spotlights })) : menuItem.popupType === 'together' ? (React__default.createElement(MenuCommunitiesList, { communities: together === null || together === void 0 ? void 0 : together.items, spotlights: together === null || together === void 0 ? void 0 : together.spotlights })) : menuItem.popupType === 'care' ? (React__default.createElement(MenuCareList, { careSpecialties: care === null || care === void 0 ? void 0 : care.items, spotlights: care === null || care === void 0 ? void 0 : care.spotlights })) : menuItem.popupType === 'video' ? (React__default.createElement(MenuVideoList, { spotlightsList: videos === null || videos === void 0 ? void 0 : videos.spotlights })) : menuItem.popupType === 'other' ? (React__default.createElement(MenuViewMore, { menuItems: originalMenuItems })) : null, winCashBackTheme: winCashBackTheme }))))));
|
|
2431
2444
|
};
|
|
2432
2445
|
|
|
2433
2446
|
const useHeaderHeight = ({ hasSponsoredBanners, isSponsored, isShowingSiteWideBanner, isMobile, }) => {
|
|
@@ -2637,7 +2650,7 @@ const StyledContainer = styled.div `
|
|
|
2637
2650
|
|
|
2638
2651
|
const _NavigationV2 = (props) => {
|
|
2639
2652
|
var _a, _b;
|
|
2640
|
-
const { isMobile, locale, onTopBarAppears, languageOptions, sponsorComponent, sitewideBanner, sitewideBannerShown, className, logoComponent, subHead, projectType, customClasses = {}, } = props;
|
|
2653
|
+
const { isMobile, locale, onTopBarAppears, languageOptions, sponsorComponent, sitewideBanner, sitewideBannerShown, className, logoComponent, subHead, projectType, customClasses = {}, isWinCashBackTheme = false, } = props;
|
|
2641
2654
|
const services = useNavServices();
|
|
2642
2655
|
useInsider();
|
|
2643
2656
|
const isShowingSiteWideBanner = sitewideBannerShown && !!sitewideBanner;
|
|
@@ -2661,7 +2674,7 @@ const _NavigationV2 = (props) => {
|
|
|
2661
2674
|
'--header-bottom': headerBottom + 'px',
|
|
2662
2675
|
}, className: className },
|
|
2663
2676
|
React__default.createElement("section", { ref: headerRef },
|
|
2664
|
-
React__default.createElement(NavigationBar, { menuItems: services, onTopBarAppears: onTopBarAppears, logoComponent: logoComponent, subHead: subHead, projectType: projectType, languageMenu: React__default.createElement(LanguageSwitcher, { languageOptions: languageOptions, locale: locale }), customClasses: customClasses }))));
|
|
2677
|
+
React__default.createElement(NavigationBar, { menuItems: services, onTopBarAppears: onTopBarAppears, logoComponent: logoComponent, subHead: subHead, projectType: projectType, languageMenu: React__default.createElement(LanguageSwitcher, { languageOptions: languageOptions, locale: locale }), winCashBackTheme: isWinCashBackTheme, customClasses: customClasses }))));
|
|
2665
2678
|
};
|
|
2666
2679
|
const NavigationV2 = (props) => {
|
|
2667
2680
|
const propsWithDefaultValues = Object.assign({ siteType: 'helloSites', projectType: 'discover', locale: 'vi-VN', activeMenuService: 'categories', ssrMenuContent: {} }, props);
|
|
@@ -2734,4 +2747,4 @@ const getNavMenuContentWithCache = (locale) => __awaiter(void 0, void 0, void 0,
|
|
|
2734
2747
|
return (yield getDataWithCache('nav-menu-content', () => getNavMenuContent(locale || 'en-PH'), (data) => { var _a, _b; return !!((_b = (_a = data === null || data === void 0 ? void 0 : data.categories) === null || _a === void 0 ? void 0 : _a.items) === null || _b === void 0 ? void 0 : _b.length); })) || {};
|
|
2735
2748
|
});
|
|
2736
2749
|
|
|
2737
|
-
export {
|
|
2750
|
+
export { HamburgerWhite as H, NavigationV2 as N, StarPair as S, getNavMenuContentWithCache as a, getTogetherUserPostsApiPath as b, HHG_SEARCH_BACK_KEY as c, getNavMenuContent as g };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as __awaiter } from './tslib.es6-
|
|
1
|
+
import { a as __awaiter } from './tslib.es6-20c0a199.js';
|
|
2
2
|
import { isProduction } from './constantsIsProduction.js';
|
|
3
|
-
import { n as normalizeLinkSlash, a as getCurrentSsoUrl } from './normalizeLink-
|
|
4
|
-
import { L as LOCALE_SPECS, h as BEARER_REFRESH_TOKEN_COOKIE } from './index-
|
|
3
|
+
import { n as normalizeLinkSlash, a as getCurrentSsoUrl } from './normalizeLink-6be22bda.js';
|
|
4
|
+
import { L as LOCALE_SPECS, h as BEARER_REFRESH_TOKEN_COOKIE } from './index-54301611.js';
|
|
5
5
|
import { getCookie, setCookie } from './miscCookieHelper.js';
|
|
6
|
-
import { L as LOCALE } from './Locale-
|
|
6
|
+
import { L as LOCALE } from './Locale-42aafd11.js';
|
|
7
7
|
import { domainLocales } from './constantsDomainLocales.js';
|
|
8
8
|
|
|
9
9
|
const SSO_V2_PATHS = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-20c0a199.js';
|
|
2
2
|
import React__default, { useState, useCallback, useMemo, useEffect } from 'react';
|
|
3
3
|
import { clsx } from '@mantine/core';
|
|
4
4
|
import { Drawer } from 'vaul';
|
|
5
5
|
import styled from '@emotion/styled';
|
|
6
|
-
import { Z as ZINDEX_SSO } from './index-
|
|
6
|
+
import { Z as ZINDEX_SSO } from './index-54301611.js';
|
|
7
7
|
|
|
8
8
|
const TIME_FOR_MOTION = 300;
|
|
9
9
|
const useDrawerDrag = (motionDelay = TIME_FOR_MOTION) => {
|