@hhgtech/hhg-components 1.29.447 → 1.29.449
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-4913f9bb.js → InputDate-24409137.js} +5 -5
- package/build/{LastPeriod-bf3d3436.js → LastPeriod-e2255d94.js} +1 -1
- package/build/{MobileBottomNavigationIcon-fd311112.js → MobileBottomNavigationIcon-e9b8b1f3.js} +3 -3
- package/build/{Spinner-2c21fde8.js → Spinner-0e5580dd.js} +1 -1
- package/build/{WhatsApp-18a9382f.js → WhatsApp-4f269b5e.js} +1 -1
- package/build/adapters.js +20 -20
- package/build/atoms.js +50 -50
- package/build/babyGrowth.js +85 -85
- package/build/cache.js +2 -2
- package/build/care/components/organisms/bookingSearchBarV2/index.d.ts +2 -1
- package/build/care/components/organisms/bookingSearchBarV2/tabSearch/index.d.ts +2 -1
- package/build/care.js +18 -18
- package/build/careBookingSearchBar.js +14 -14
- package/build/careBookingSearchBarV2.js +46 -48
- package/build/components/mantine/errorLabel/index.d.ts +5 -2
- package/build/components/molecules/embeddedHeathToolCards/helpers.d.ts +4 -0
- package/build/components/molecules/healthTools/form/bmiForm/context.d.ts +1 -0
- package/build/components/molecules/healthTools/form/bmiForm/index.d.ts +1 -1
- package/build/components/navigationV2/components/molecules/menuCategoriesList/Item/index.d.ts +5 -0
- package/build/components/navigationV2/components/molecules/menuCategoriesList/Item/index.styled.d.ts +7 -0
- package/build/components/navigationV2/types.d.ts +10 -0
- package/build/components/navigationV2/utils.d.ts +14 -0
- package/build/components.js +103 -103
- package/build/{constants-8bca9138.js → constants-8581388f.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-9308c14e.js → core-e07f90f3.js} +1 -1
- package/build/{dataTransform-f2d07361.js → dataTransform-7bc232fa.js} +1 -1
- package/build/ecom.js +5 -5
- package/build/{editor-1594d420.js → editor-8723b9e8.js} +11 -11
- package/build/embeddedHeathToolCards_babyGrowth.js +24 -24
- package/build/embeddedHeathToolCards_babyPoop.js +20 -20
- package/build/embeddedHeathToolCards_babyVaccine.js +23 -23
- package/build/embeddedHeathToolCards_bmi_bmi.js +26 -26
- package/build/embeddedHeathToolCards_bmrBmr.js +26 -26
- package/build/embeddedHeathToolCards_dueDate_dueDate.js +23 -23
- package/build/embeddedHeathToolCards_ovulation_ovulation.js +23 -23
- package/build/embeddedHeathToolCards_pwg_pwg.js +27 -27
- package/build/embeddedHeathToolCards_targetHeartRate.js +28 -28
- package/build/esm/{InputDate-90c0cff5.js → InputDate-3dce627d.js} +5 -5
- package/build/esm/{LastPeriod-be9eb032.js → LastPeriod-9b827a5a.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-f2ddb853.js → MobileBottomNavigationIcon-9c95fe33.js} +3 -3
- package/build/esm/{Spinner-9fe584c3.js → Spinner-1f9ec7ca.js} +1 -1
- package/build/esm/{WhatsApp-e6cbb3d7.js → WhatsApp-e9a34aaf.js} +1 -1
- package/build/esm/adapters.js +20 -20
- package/build/esm/atoms.js +50 -50
- package/build/esm/babyGrowth.js +85 -85
- package/build/esm/cache.js +2 -2
- package/build/esm/care/components/organisms/bookingSearchBarV2/index.d.ts +2 -1
- package/build/esm/care/components/organisms/bookingSearchBarV2/tabSearch/index.d.ts +2 -1
- package/build/esm/care.js +18 -18
- package/build/esm/careBookingSearchBar.js +14 -14
- package/build/esm/careBookingSearchBarV2.js +46 -48
- package/build/esm/components/mantine/errorLabel/index.d.ts +5 -2
- package/build/esm/components/molecules/embeddedHeathToolCards/helpers.d.ts +4 -0
- package/build/esm/components/molecules/healthTools/form/bmiForm/context.d.ts +1 -0
- package/build/esm/components/molecules/healthTools/form/bmiForm/index.d.ts +1 -1
- package/build/esm/components/navigationV2/components/molecules/menuCategoriesList/Item/index.d.ts +5 -0
- package/build/esm/components/navigationV2/components/molecules/menuCategoriesList/Item/index.styled.d.ts +7 -0
- package/build/esm/components/navigationV2/types.d.ts +10 -0
- package/build/esm/components/navigationV2/utils.d.ts +14 -0
- package/build/esm/components.js +103 -103
- package/build/esm/{constants-68442954.js → constants-e543d8f5.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-44616e6a.js → core-1390b046.js} +1 -1
- package/build/esm/{dataTransform-d43fdd1a.js → dataTransform-d6a21d32.js} +1 -1
- package/build/esm/ecom.js +5 -5
- package/build/esm/{editor-30aa3ad6.js → editor-f7b17ca5.js} +11 -11
- package/build/esm/embeddedHeathToolCards_babyGrowth.js +24 -24
- package/build/esm/embeddedHeathToolCards_babyPoop.js +20 -20
- package/build/esm/embeddedHeathToolCards_babyVaccine.js +23 -23
- package/build/esm/embeddedHeathToolCards_bmi_bmi.js +26 -26
- package/build/esm/embeddedHeathToolCards_bmrBmr.js +26 -26
- package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +23 -23
- package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +23 -23
- package/build/esm/embeddedHeathToolCards_pwg_pwg.js +27 -27
- package/build/esm/embeddedHeathToolCards_targetHeartRate.js +28 -28
- package/build/esm/footer.js +22 -22
- package/build/esm/gAssets.js +2 -2
- package/build/esm/{healthTools-8d31ba4c.js → healthTools-09f57b33.js} +1 -1
- package/build/esm/healthToolsCardWrapper.js +19 -19
- package/build/esm/healthToolsForm.js +34 -34
- package/build/esm/hooks.js +13 -13
- package/build/esm/i18n/translationKeys.d.ts +1 -1
- package/build/esm/i18n-values/en-PH.js +7 -0
- package/build/esm/i18n-values/hi-IN.js +7 -0
- package/build/esm/i18n-values/id-ID.js +7 -0
- package/build/esm/i18n-values/km-KH.js +7 -0
- package/build/esm/i18n-values/ms-MY.js +7 -0
- package/build/esm/i18n-values/my-MM.js +7 -0
- package/build/esm/i18n-values/th-TH.js +7 -0
- package/build/esm/i18n-values/tl-PH.js +7 -0
- package/build/esm/i18n-values/vi-VN.js +7 -0
- package/build/esm/i18n-values/vi-VN_MB.js +7 -0
- package/build/esm/i18n-values/zh-SG.js +7 -0
- package/build/esm/i18n-values/zh-TW.js +10 -3
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-9d2a8f4d.js → index-009dcc31.js} +7 -7
- package/build/esm/{index-52825707.js → index-018f3348.js} +1 -1
- package/build/esm/{index-26bf6bd3.js → index-0b0e7693.js} +3 -3
- package/build/esm/{index-d50d23fa.js → index-0e5b5786.js} +2 -2
- package/build/esm/{index-54914b2a.js → index-124b650e.js} +2 -2
- package/build/esm/{index-206b9bef.js → index-15e1b8ca.js} +3 -3
- package/build/esm/{index-7428f659.js → index-25335bbd.js} +16 -16
- package/build/esm/{index-4ef48768.js → index-2703cdf4.js} +26 -26
- package/build/esm/{index-4dec57f9.js → index-28158e78.js} +32 -32
- package/build/esm/{index-50141363.js → index-285f8f9a.js} +1 -1
- package/build/esm/{index-0a769c42.js → index-2e3c6ea1.js} +13 -13
- package/build/esm/{index-2bfb2578.js → index-3266848c.js} +6 -6
- package/build/esm/{index-75316c1e.js → index-33d4c954.js} +13 -13
- package/build/esm/index-3762a1d3.js +211 -0
- package/build/esm/{index-c01214fe.js → index-37ac608c.js} +2 -2
- package/build/esm/{index-2076022b.js → index-3b5bfbce.js} +3 -3
- package/build/esm/{index-6c8bb941.js → index-4b7e8ade.js} +17 -17
- package/build/esm/{index-d7959b93.js → index-5946fb56.js} +17 -17
- package/build/esm/{index-8e283493.js → index-5b7f225a.js} +22 -22
- package/build/esm/{index-01c420c3.js → index-6124af09.js} +2 -2
- package/build/esm/{index-5232f650.js → index-624177aa.js} +20 -20
- package/build/esm/{index-85894b46.js → index-67e90cbd.js} +13 -12
- package/build/esm/{index-48b4a8da.js → index-68cf0d3d.js} +2 -2
- package/build/esm/{index-59da60a7.js → index-698e287d.js} +1 -1
- package/build/esm/{index-f65d577c.js → index-6b5ef864.js} +2 -2
- package/build/esm/{index-9e6e8335.js → index-6db8f518.js} +5 -5
- package/build/esm/{index-980f99fd.js → index-7a78750d.js} +15 -15
- package/build/esm/{index-7954bc16.js → index-84aa6aaf.js} +339 -226
- package/build/esm/{index-b79fc8a1.js → index-86df1763.js} +2 -2
- package/build/esm/{index-b5a3b1e3.js → index-87e47ad9.js} +1 -1
- package/build/esm/{index-d1ad341c.js → index-87fb137e.js} +14 -14
- package/build/esm/{index-13586e44.js → index-894fa786.js} +3 -3
- package/build/esm/{index-58908973.js → index-8a39a4ff.js} +9 -9
- package/build/esm/{index-a106b9cb.js → index-953523ca.js} +3 -3
- package/build/esm/{index-6d667650.js → index-956c3104.js} +11 -11
- package/build/esm/{index-623e7f2c.js → index-986954db.js} +2 -2
- package/build/esm/{index-89ad9053.js → index-a0b390bd.js} +5 -4
- package/build/esm/{index-47d3c758.js → index-a33ece8d.js} +3 -3
- package/build/esm/{index-b0854ce5.js → index-a36af882.js} +2 -2
- package/build/esm/{index-6757dd1d.js → index-a47d2b5e.js} +4 -4
- package/build/esm/{index-62cad5ea.js → index-a565ea21.js} +32 -32
- package/build/esm/{index-bdd4f96f.js → index-a8154f36.js} +13 -13
- package/build/esm/{index-8d52f569.js → index-a9726b34.js} +21 -21
- package/build/esm/{index-ef25e2e6.js → index-aae384e2.js} +2 -2
- package/build/esm/{index-e2a6f850.js → index-aae6890c.js} +6 -6
- package/build/esm/{index-c2e955e0.js → index-b1df4dc0.js} +6 -6
- package/build/esm/{index-b967a2f5.js → index-bba98932.js} +1 -1
- package/build/esm/{index-c802034c.js → index-c08b664e.js} +11 -30
- package/build/esm/{index-e539fbcb.js → index-c15b3e52.js} +16 -16
- package/build/esm/{index-ea6fdd20.js → index-c2ac6223.js} +3 -3
- package/build/esm/{index-689e35a5.js → index-c8cc925a.js} +13 -13
- package/build/esm/{index-bf012932.js → index-d6c03074.js} +6 -6
- package/build/esm/{index-0765c99d.js → index-d7f21a0a.js} +2 -2
- package/build/esm/{index-f91f9374.js → index-df69c3f3.js} +3 -3
- package/build/esm/{index-73f4d56a.js → index-e02ef7d6.js} +2 -2
- package/build/esm/{index-6e32904f.js → index-e0815043.js} +25 -25
- package/build/esm/{index-176c6145.js → index-e43d9883.js} +2 -2
- package/build/esm/{index-7aeb3d7d.js → index-e4cce86c.js} +1 -1
- package/build/esm/{index-cc8ccf46.js → index-e82146dd.js} +2 -2
- package/build/esm/{index-4f2ea78b.js → index-ec035017.js} +7 -7
- package/build/esm/{index-09db0e94.js → index-ee569944.js} +13 -13
- package/build/esm/{index-c81867e9.js → index-ee8214b0.js} +17 -17
- package/build/esm/{index-2dda251a.js → index-f1405f15.js} +2 -2
- package/build/esm/{index-efe47c94.js → index-f1997e45.js} +15 -15
- package/build/esm/{index-472541a7.js → index-f251b18a.js} +15 -15
- package/build/esm/{index-d830bd64.js → index-f2d03a1d.js} +8 -8
- package/build/esm/{index-99a46d0d.js → index-f59741be.js} +5 -5
- package/build/esm/{index-0e69e754.js → index-f609df6c.js} +1 -1
- package/build/esm/{index-5f94e77c.js → index-f6aeb770.js} +2 -2
- package/build/esm/{index-3b3f2f77.js → index-fc222ea2.js} +14 -13
- package/build/esm/{index-5efeab14.js → index-fe18b552.js} +2 -2
- package/build/esm/index.js +124 -124
- package/build/esm/{labelSorting-72c7e85c.js → labelSorting-5dd8f41f.js} +4 -4
- package/build/esm/lead.js +36 -36
- package/build/esm/{logoIcon-8eb95814.js → logoIcon-e4cf9191.js} +2 -2
- package/build/esm/mantine.js +26 -26
- 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 +77 -77
- 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-012251c0.js → post-3b265413.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-de1bfc44.js → store-7a9c182a.js} +3 -3
- package/build/esm/subot.js +37 -37
- package/build/esm/surveyOrPremiumBanner.js +34 -34
- package/build/esm/surveyQuestionCard.js +11 -11
- package/build/esm/{surveyThankyouCard-7fa6731d.js → surveyThankyouCard-f6ebc827.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-d462a8ab.js → translationsProvider-a890102d.js} +1 -1
- package/build/esm/{treePopoverMenu-6cabe5c3.js → treePopoverMenu-4d200663.js} +19 -19
- package/build/esm/types.js +2 -2
- package/build/esm/{useHealthToolCache-b6025b32.js → useHealthToolCache-44a0df67.js} +1 -1
- package/build/esm/{usePhoneValidator-448d2161.js → usePhoneValidator-38931ada.js} +5 -5
- package/build/esm/{usePlacesAutocomplete-4bb4e161.js → usePlacesAutocomplete-6d3d8323.js} +1 -1
- package/build/esm/useTogetherAuthRequiredAction.js +10 -10
- package/build/esm/{utils-9480c800.js → utils-18bba61b.js} +5 -5
- package/build/esm/{utils-50327fb1.js → utils-201b7d47.js} +2 -2
- package/build/esm/{utils-b5b80f58.js → utils-67b40f2e.js} +2 -2
- package/build/esm/{utils-766da2de.js → utils-cb10f0c9.js} +3 -3
- package/build/esm/{utils-80afcb99.js → utils-dd2a3cf7.js} +1 -1
- package/build/esm/vaccination.js +22 -22
- package/build/footer.js +22 -22
- package/build/gAssets.js +2 -2
- package/build/{healthTools-3d8bcbfb.js → healthTools-ff9f4490.js} +1 -1
- package/build/healthToolsCardWrapper.js +19 -19
- package/build/healthToolsForm.js +34 -34
- package/build/hooks.js +13 -13
- package/build/i18n/translationKeys.d.ts +1 -1
- package/build/i18n-values/en-PH.js +7 -0
- package/build/i18n-values/hi-IN.js +7 -0
- package/build/i18n-values/id-ID.js +7 -0
- package/build/i18n-values/km-KH.js +7 -0
- package/build/i18n-values/ms-MY.js +7 -0
- package/build/i18n-values/my-MM.js +7 -0
- package/build/i18n-values/th-TH.js +7 -0
- package/build/i18n-values/tl-PH.js +7 -0
- package/build/i18n-values/vi-VN.js +7 -0
- package/build/i18n-values/vi-VN_MB.js +7 -0
- package/build/i18n-values/zh-SG.js +7 -0
- package/build/i18n-values/zh-TW.js +10 -3
- package/build/i18n.js +2 -2
- package/build/i18nV2.js +1 -1
- package/build/{index-b4c1f59f.js → index-01efec09.js} +2 -2
- package/build/{index-f63bff2e.js → index-07e631b9.js} +2 -2
- package/build/{index-a79cb92d.js → index-08939d41.js} +2 -2
- package/build/{index-d6d389d5.js → index-0c3c27d7.js} +2 -2
- package/build/{index-632f6242.js → index-0dcd8280.js} +13 -13
- package/build/{index-6199d4c9.js → index-11f819fa.js} +15 -15
- package/build/{index-aaaea7c1.js → index-18acca73.js} +8 -8
- package/build/{index-55f9c668.js → index-19af0163.js} +3 -3
- package/build/{index-ce54f2cc.js → index-1aecbc1a.js} +32 -32
- package/build/{index-2a28b6d9.js → index-1b934b44.js} +13 -13
- package/build/{index-de070f76.js → index-1c8547ba.js} +2 -2
- package/build/{index-e5dbd40e.js → index-21dfe2bd.js} +2 -2
- package/build/{index-65b55bb1.js → index-237f01cf.js} +3 -3
- package/build/{index-fcc313b5.js → index-248d08ea.js} +4 -4
- package/build/{index-f34a04cd.js → index-26748f64.js} +7 -7
- package/build/{index-e1f2cfda.js → index-2934225d.js} +14 -14
- package/build/{index-a20d76a9.js → index-2b578109.js} +17 -17
- package/build/{index-12319903.js → index-2d74352f.js} +2 -2
- package/build/{index-a85ac47f.js → index-2f23d479.js} +1 -1
- package/build/{index-8341a85f.js → index-39206395.js} +3 -3
- package/build/{index-42f7dc62.js → index-3d77a291.js} +14 -13
- package/build/{index-f28e34d9.js → index-413bc08c.js} +5 -5
- package/build/{index-9d1e4d5a.js → index-42c8be1c.js} +32 -32
- package/build/{index-ddb9f70e.js → index-4467327d.js} +15 -15
- package/build/{index-dc205198.js → index-511d3d6a.js} +3 -3
- package/build/{index-ae031fa6.js → index-51a99dac.js} +20 -20
- package/build/{index-d22d99f1.js → index-5322f269.js} +5 -4
- package/build/{index-f4721ca5.js → index-5423ff4c.js} +2 -2
- package/build/{index-6a961c75.js → index-557bf598.js} +5 -5
- package/build/{index-4870a37e.js → index-58d5c117.js} +3 -3
- package/build/{index-0db0741a.js → index-5f778a4d.js} +3 -3
- package/build/{index-d78a97ab.js → index-5f937ee5.js} +25 -25
- package/build/{index-265a4e19.js → index-601f980c.js} +1 -1
- package/build/{index-53717590.js → index-60efda96.js} +1 -1
- package/build/{index-09854086.js → index-683bbe3d.js} +342 -229
- package/build/{index-56eb0cbb.js → index-6e1934a1.js} +2 -2
- package/build/{index-9c679fe3.js → index-6ff83c58.js} +17 -17
- package/build/{index-230f438f.js → index-7481f662.js} +12 -11
- package/build/{index-88d01c13.js → index-7d50aa10.js} +26 -26
- package/build/{index-6782d333.js → index-7fed156e.js} +13 -13
- package/build/{index-31a6d507.js → index-8b68f0a5.js} +6 -6
- package/build/{index-39350a42.js → index-8b77ee34.js} +1 -1
- package/build/{index-59de52c5.js → index-95d9672a.js} +11 -11
- package/build/{index-19db08d3.js → index-a598ae10.js} +9 -9
- package/build/{index-d74c3072.js → index-b1020b33.js} +2 -2
- package/build/{index-2c04aff5.js → index-b115e4ec.js} +2 -2
- package/build/{index-bf412e77.js → index-b1449c55.js} +17 -17
- package/build/{index-1dcdb312.js → index-b638dbe7.js} +6 -6
- package/build/{index-ef1b650e.js → index-b6e47e2b.js} +2 -2
- package/build/{index-e0f647d1.js → index-ba9ca44c.js} +16 -16
- package/build/index-bbe5cb13.js +217 -0
- package/build/{index-07f21795.js → index-c19368b2.js} +11 -30
- package/build/{index-505b1d6d.js → index-caaf6cac.js} +2 -2
- package/build/{index-cbea48d4.js → index-ccdca7bf.js} +6 -6
- package/build/{index-38b56ca0.js → index-ce0a7efa.js} +3 -3
- package/build/{index-d17e8880.js → index-d1263a2e.js} +2 -2
- package/build/{index-931e5c64.js → index-d2e88e2c.js} +16 -16
- package/build/{index-ef2aecbb.js → index-d3ff96d5.js} +22 -22
- package/build/{index-de177d58.js → index-d9dc3d04.js} +3 -3
- package/build/{index-d28a3eaa.js → index-dcf1d862.js} +2 -2
- package/build/{index-915e37e3.js → index-dd871125.js} +2 -2
- package/build/{index-8e8d2c4e.js → index-df2c3b53.js} +21 -21
- package/build/{index-b9744f83.js → index-e033f570.js} +6 -6
- package/build/{index-30599a41.js → index-e4be8339.js} +13 -13
- package/build/{index-7f3b90c3.js → index-eb299593.js} +1 -1
- package/build/{index-c88a15b0.js → index-eb87cec3.js} +7 -7
- package/build/{index-881089df.js → index-f335bea0.js} +15 -15
- package/build/{index-f245fc9d.js → index-f8305dc1.js} +2 -2
- package/build/{index-df85eb4f.js → index-f8f65dcd.js} +13 -13
- package/build/{index-da2c5878.js → index-fc88ab02.js} +1 -1
- package/build/{index-f8ac1bf2.js → index-fd836996.js} +1 -1
- package/build/index.js +124 -124
- package/build/{labelSorting-9ffbfef0.js → labelSorting-74bbe89d.js} +4 -4
- package/build/lead.js +36 -36
- package/build/{logoIcon-77792f69.js → logoIcon-d5a594e3.js} +2 -2
- package/build/mantine.js +24 -24
- 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 +77 -77
- 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-f8bebecf.js → post-7d7fd183.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-0ef81ac8.js → store-fed68173.js} +3 -3
- package/build/subot.js +36 -36
- package/build/surveyOrPremiumBanner.js +34 -34
- package/build/surveyQuestionCard.js +11 -11
- package/build/{surveyThankyouCard-043fcdfe.js → surveyThankyouCard-7f3e3111.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-56b09602.js → translationsProvider-f3b53e26.js} +1 -1
- package/build/{treePopoverMenu-f2a3f062.js → treePopoverMenu-4e52e5d8.js} +19 -19
- package/build/types.js +2 -2
- package/build/{useHealthToolCache-e2349f7c.js → useHealthToolCache-dcb0cf9f.js} +1 -1
- package/build/{usePhoneValidator-9fde44ba.js → usePhoneValidator-62193dfa.js} +5 -5
- package/build/{usePlacesAutocomplete-58b6d3b2.js → usePlacesAutocomplete-1932fd69.js} +1 -1
- package/build/useTogetherAuthRequiredAction.js +10 -10
- package/build/{utils-a6d1698a.js → utils-0360114a.js} +2 -2
- package/build/{utils-8834e04e.js → utils-0a198ca7.js} +2 -2
- package/build/{utils-e739a670.js → utils-4845e537.js} +5 -5
- package/build/{utils-9137d090.js → utils-623e143c.js} +3 -3
- package/build/{utils-b8c2d5f2.js → utils-82aae0e1.js} +1 -1
- package/build/vaccination.js +22 -22
- package/package.json +1 -1
- package/build/esm/index-b1e6d0d1.js +0 -149
- package/build/index-b1eee79c.js +0 -155
- /package/build/{BMI_BOYS.percentile.monthly-ce3809ba.js → BMI_BOYS.percentile.monthly-64388526.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-78d35760.js → BMI_BOYS.percentile.weekly-96bacc97.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-5a647f21.js → BMI_BOYS.percentile.yearly-b0fd01fb.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-51c41d06.js → BMI_BOYS.zscore.monthly-ecaf1aa2.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-a027c001.js → BMI_BOYS.zscore.weekly-681d477b.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-b0dc31fe.js → BMI_BOYS.zscore.yearly-76372869.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-5cc2bce0.js → BMI_GIRLS.percentile.monthly-ee0f41a5.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-c9de3fbd.js → BMI_GIRLS.percentile.weekly-7807e203.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-c9fcfd04.js → BMI_GIRLS.percentile.yearly-8596300e.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-ab34391f.js → BMI_GIRLS.zscore.monthly-91e7c8d2.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-65cf6a62.js → BMI_GIRLS.zscore.weekly-f4dc112e.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-d9119e98.js → BMI_GIRLS.zscore.yearly-c23a1d91.js} +0 -0
- /package/build/{ChevronDown-e4525f19.js → ChevronDown-f9ff6d5c.js} +0 -0
- /package/build/{Close-0e7526fe.js → Close-f856c59c.js} +0 -0
- /package/build/{Google-58e9167c.js → Google-1d7f64f7.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-9205451a.js → HEAD CIRCUM_BOYS.percentile.monthly-be62af9f.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-51dcf96d.js → HEAD CIRCUM_BOYS.percentile.weekly-dbbc97fb.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-63177395.js → HEAD CIRCUM_BOYS.percentile.yearly-cc4fa2e6.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-ba10a62c.js → HEAD CIRCUM_BOYS.zscore.monthly-9e4e757e.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-4bb526b9.js → HEAD CIRCUM_BOYS.zscore.weekly-b2ba14ce.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-d7a4ab21.js → HEAD CIRCUM_BOYS.zscore.yearly-2768ff78.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-b5f612d0.js → HEAD CIRCUM_GIRLS.percentile.monthly-c11b60ac.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-4b36a997.js → HEAD CIRCUM_GIRLS.percentile.weekly-f76429ab.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-5a550f83.js → HEAD CIRCUM_GIRLS.percentile.yearly-e4626ea2.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-f64f370d.js → HEAD CIRCUM_GIRLS.zscore.monthly-65bb1b0e.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-51a8ba5e.js → HEAD CIRCUM_GIRLS.zscore.weekly-7f1486ff.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-d9c182b3.js → HEAD CIRCUM_GIRLS.zscore.yearly-06c06c59.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-f68e5eab.js → HEIGHT_BOYS.percentile.monthly-99681dff.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-914462c2.js → HEIGHT_BOYS.percentile.weekly-01909f15.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-281e01c1.js → HEIGHT_BOYS.percentile.yearly-f505fda1.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-41b1f57a.js → HEIGHT_BOYS.zscore.monthly-4a21b52f.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-bce2de25.js → HEIGHT_BOYS.zscore.weekly-aa449621.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-72c4b64c.js → HEIGHT_BOYS.zscore.yearly-66899d25.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-af10bb78.js → HEIGHT_GIRLS.percentile.monthly-905eb36d.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-557ba737.js → HEIGHT_GIRLS.percentile.weekly-193b05a7.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-5d7be953.js → HEIGHT_GIRLS.percentile.yearly-87775fd0.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-ad6cf645.js → HEIGHT_GIRLS.zscore.monthly-0960283f.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-e05a8a39.js → HEIGHT_GIRLS.zscore.weekly-ac97c2fb.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-89763cff.js → HEIGHT_GIRLS.zscore.yearly-9d75bb52.js} +0 -0
- /package/build/{Locale-b35b0a4c.js → Locale-21703205.js} +0 -0
- /package/build/{Visible-4bc73de5.js → Visible-5b63e125.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-d588f52b.js → WEIGHT_BOYS.percentile.monthly-950f0d5b.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-134a22e1.js → WEIGHT_BOYS.percentile.weekly-2e31c573.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-046bc901.js → WEIGHT_BOYS.percentile.yearly-48eda7db.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-6343c788.js → WEIGHT_BOYS.zscore.monthly-0a05428f.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-95513544.js → WEIGHT_BOYS.zscore.weekly-2e1aed26.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-59a6e517.js → WEIGHT_BOYS.zscore.yearly-73d94e19.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-5ae1dff3.js → WEIGHT_GIRLS.percentile.monthly-0a95041e.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-27df29a9.js → WEIGHT_GIRLS.percentile.weekly-a2641830.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-3eb0a95c.js → WEIGHT_GIRLS.percentile.yearly-3f61f94c.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-7658abd8.js → WEIGHT_GIRLS.zscore.monthly-4d3a6476.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-6cc2557f.js → WEIGHT_GIRLS.zscore.weekly-79691be3.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-87b18cd1.js → WEIGHT_GIRLS.zscore.yearly-0c9558ae.js} +0 -0
- /package/build/{ageGenerate-cf978c22.js → ageGenerate-737fc72e.js} +0 -0
- /package/build/{animation-6cf72a84.js → animation-9db10b7b.js} +0 -0
- /package/build/{constants-86f7b021.js → constants-ab886302.js} +0 -0
- /package/build/{constants-c6f7152d.js → constants-ac33e489.js} +0 -0
- /package/build/{constants-e8cf502b.js → constants-ffa1b205.js} +0 -0
- /package/build/{dataTransform-ee6c1539.js → dataTransform-2cfd6d97.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-40441275.js → BMI_BOYS.percentile.monthly-c0a4f90f.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-a6ec9c11.js → BMI_BOYS.percentile.weekly-1590c749.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-8972669c.js → BMI_BOYS.percentile.yearly-db5a9c57.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-8963a5f4.js → BMI_BOYS.zscore.monthly-6f93b444.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-ca568aae.js → BMI_BOYS.zscore.weekly-60d9a41e.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-a12439e1.js → BMI_BOYS.zscore.yearly-cd231f12.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-d5483c9e.js → BMI_GIRLS.percentile.monthly-4481cde1.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-a376069b.js → BMI_GIRLS.percentile.weekly-07e54b08.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-2eb8acbc.js → BMI_GIRLS.percentile.yearly-2fa03a42.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-e367c711.js → BMI_GIRLS.zscore.monthly-9e78ab4b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-e1ca0aa3.js → BMI_GIRLS.zscore.weekly-352e21bc.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-c2901b95.js → BMI_GIRLS.zscore.yearly-1cec0c3b.js} +0 -0
- /package/build/esm/{ChevronDown-068736f0.js → ChevronDown-b1831bd1.js} +0 -0
- /package/build/esm/{Close-7bb48333.js → Close-cb4246c4.js} +0 -0
- /package/build/esm/{Google-3c433d7f.js → Google-10028921.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-002461b0.js → HEAD CIRCUM_BOYS.percentile.monthly-70bc07b0.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-3834e91d.js → HEAD CIRCUM_BOYS.percentile.weekly-b93ae0b4.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-25a59ddf.js → HEAD CIRCUM_BOYS.percentile.yearly-bc0e3122.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-be3dc7b3.js → HEAD CIRCUM_BOYS.zscore.monthly-c0ad34be.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-3df397e8.js → HEAD CIRCUM_BOYS.zscore.weekly-7634a871.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-31f6f30f.js → HEAD CIRCUM_BOYS.zscore.yearly-fa621025.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-71b3efb8.js → HEAD CIRCUM_GIRLS.percentile.monthly-868e5d09.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-72fb84d7.js → HEAD CIRCUM_GIRLS.percentile.weekly-afbf7067.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-f2b9a2ca.js → HEAD CIRCUM_GIRLS.percentile.yearly-91105b66.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-8d9a727c.js → HEAD CIRCUM_GIRLS.zscore.monthly-27f61e56.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-6b3b77c4.js → HEAD CIRCUM_GIRLS.zscore.weekly-93baf78f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-0cb2b413.js → HEAD CIRCUM_GIRLS.zscore.yearly-3c5c3fd6.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-67cf78bf.js → HEIGHT_BOYS.percentile.monthly-639e3991.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-a50f523e.js → HEIGHT_BOYS.percentile.weekly-6af13743.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-2124968e.js → HEIGHT_BOYS.percentile.yearly-c007fd98.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-8aa6c4b6.js → HEIGHT_BOYS.zscore.monthly-44c01034.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-a17466d7.js → HEIGHT_BOYS.zscore.weekly-6a3a14c7.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-12daea7f.js → HEIGHT_BOYS.zscore.yearly-5c86365e.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-fb440fea.js → HEIGHT_GIRLS.percentile.monthly-748adb7c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-a93a99a9.js → HEIGHT_GIRLS.percentile.weekly-8f02bf9b.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-09dc9fd9.js → HEIGHT_GIRLS.percentile.yearly-8a2f5362.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-09605dba.js → HEIGHT_GIRLS.zscore.monthly-b23ea2fe.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-58598b18.js → HEIGHT_GIRLS.zscore.weekly-7e2b4e64.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-b7b3d01e.js → HEIGHT_GIRLS.zscore.yearly-a89eac60.js} +0 -0
- /package/build/esm/{Locale-4ae68452.js → Locale-e2c9e644.js} +0 -0
- /package/build/esm/{Visible-1b567464.js → Visible-40c9c6dd.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-97f22c05.js → WEIGHT_BOYS.percentile.monthly-3836d813.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-e342ec15.js → WEIGHT_BOYS.percentile.weekly-8d6050c4.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-a032d854.js → WEIGHT_BOYS.percentile.yearly-049a5138.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-65dd93ff.js → WEIGHT_BOYS.zscore.monthly-7aa69615.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-d52cfec8.js → WEIGHT_BOYS.zscore.weekly-97805eea.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-81f5e0da.js → WEIGHT_BOYS.zscore.yearly-630f5428.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-50d8b9e9.js → WEIGHT_GIRLS.percentile.monthly-0cae423f.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-176c3358.js → WEIGHT_GIRLS.percentile.weekly-99da2768.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-7885114a.js → WEIGHT_GIRLS.percentile.yearly-6b5eb2cc.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-f9314af0.js → WEIGHT_GIRLS.zscore.monthly-3dc3505a.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-3331ca0f.js → WEIGHT_GIRLS.zscore.weekly-0e88e512.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-239ffb74.js → WEIGHT_GIRLS.zscore.yearly-68062da6.js} +0 -0
- /package/build/esm/{ageGenerate-dab5fce5.js → ageGenerate-ebee5783.js} +0 -0
- /package/build/esm/{animation-86d8094f.js → animation-abc95ed4.js} +0 -0
- /package/build/esm/{constants-27521278.js → constants-100a4c50.js} +0 -0
- /package/build/esm/{constants-ebbd4a69.js → constants-a10fbc8a.js} +0 -0
- /package/build/esm/{constants-e72098ce.js → constants-fedfafa8.js} +0 -0
- /package/build/esm/{dataTransform-496d68bd.js → dataTransform-00b299fa.js} +0 -0
- /package/build/esm/{index-7e25eace.js → index-0002ea87.js} +0 -0
- /package/build/esm/{index-f8e98880.js → index-1da1785d.js} +0 -0
- /package/build/esm/{index-e97a55a1.js → index-37918dfe.js} +0 -0
- /package/build/esm/{index-f59d4d8a.js → index-62988070.js} +0 -0
- /package/build/esm/{index-21c0f6e6.js → index-71231940.js} +0 -0
- /package/build/esm/{index-3e2f300a.js → index-796c8998.js} +0 -0
- /package/build/esm/{index-94baa100.js → index-87653e07.js} +0 -0
- /package/build/esm/{index-4cd8b0f6.js → index-a85de6a1.js} +0 -0
- /package/build/esm/{index.styles-590ff17d.js → index.styles-883d7842.js} +0 -0
- /package/build/esm/{localizeNumberFormat-267bdf98.js → localizeNumberFormat-f933aa1f.js} +0 -0
- /package/build/esm/{normalizeLink-fdde228f.js → normalizeLink-7e079f73.js} +0 -0
- /package/build/esm/{number-3ea886ef.js → number-5ca1ce5f.js} +0 -0
- /package/build/esm/{paths-012e6e0e.js → paths-00557f58.js} +0 -0
- /package/build/esm/{shared-c74f5553.js → shared-7aa9f950.js} +0 -0
- /package/build/esm/{text-6f2656a6.js → text-c1c3ae38.js} +0 -0
- /package/build/esm/{translationsContext-59e5652c.js → translationsContext-140a78c1.js} +0 -0
- /package/build/esm/{tslib.es6-5a49ecfc.js → tslib.es6-200f1963.js} +0 -0
- /package/build/esm/{types-4964ad63.js → types-3696c637.js} +0 -0
- /package/build/esm/{types-e92eb45b.js → types-cfafd24b.js} +0 -0
- /package/build/esm/{useIsInit-b90ecc6e.js → useIsInit-acef2071.js} +0 -0
- /package/build/esm/{useOutsideClick-375c11e9.js → useOutsideClick-dcb9783e.js} +0 -0
- /package/build/esm/{useScrollbarSize-7e9ecaa8.js → useScrollbarSize-34eaf45c.js} +0 -0
- /package/build/esm/{useUniqueId-e98a7e5c.js → useUniqueId-44fbd151.js} +0 -0
- /package/build/esm/{utils-05e3b4d6.js → utils-3b8f9ca0.js} +0 -0
- /package/build/{index-fd0f8117.js → index-541ae612.js} +0 -0
- /package/build/{index-8b9b85a9.js → index-5cce06e2.js} +0 -0
- /package/build/{index-ba94aaa4.js → index-77cb5950.js} +0 -0
- /package/build/{index-bf57499f.js → index-8ea9637e.js} +0 -0
- /package/build/{index-8c027c97.js → index-c0f2e2d5.js} +0 -0
- /package/build/{index-adb5909a.js → index-d672d3a2.js} +0 -0
- /package/build/{index-4a27456a.js → index-d7818ca5.js} +0 -0
- /package/build/{index-7baedd26.js → index-f0c96b69.js} +0 -0
- /package/build/{index.styles-c7f5e0dc.js → index.styles-61ce234f.js} +0 -0
- /package/build/{localizeNumberFormat-77ecfc43.js → localizeNumberFormat-1a60edc3.js} +0 -0
- /package/build/{normalizeLink-2cee64ac.js → normalizeLink-86036e79.js} +0 -0
- /package/build/{number-b0514703.js → number-baec6f49.js} +0 -0
- /package/build/{paths-fbc086ac.js → paths-b50fa9ef.js} +0 -0
- /package/build/{shared-d3336c48.js → shared-8aee16d5.js} +0 -0
- /package/build/{text-e637affa.js → text-92a095cb.js} +0 -0
- /package/build/{translationsContext-69b4e29c.js → translationsContext-614f1792.js} +0 -0
- /package/build/{tslib.es6-9b06c729.js → tslib.es6-acd80713.js} +0 -0
- /package/build/{types-959011e5.js → types-627b716a.js} +0 -0
- /package/build/{types-c86d703c.js → types-90f075cd.js} +0 -0
- /package/build/{useIsInit-5355be57.js → useIsInit-a4f3ec74.js} +0 -0
- /package/build/{useOutsideClick-382457e5.js → useOutsideClick-51e2620d.js} +0 -0
- /package/build/{useScrollbarSize-89b7608c.js → useScrollbarSize-559ff17c.js} +0 -0
- /package/build/{useUniqueId-349868ac.js → useUniqueId-df3c6150.js} +0 -0
- /package/build/{utils-3ea8ef9f.js → utils-7bc80898.js} +0 -0
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require('./tslib.es6-
|
|
3
|
+
var tslib_es6 = require('./tslib.es6-acd80713.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var index$
|
|
6
|
-
var index$8 = require('./index-
|
|
7
|
-
var index$3 = require('./index-
|
|
8
|
-
var normalizeLink = require('./normalizeLink-
|
|
9
|
-
var dataTransform = require('./dataTransform-
|
|
5
|
+
var index$a = require('./index-fd836996.js');
|
|
6
|
+
var index$8 = require('./index-c19368b2.js');
|
|
7
|
+
var index$3 = require('./index-2d74352f.js');
|
|
8
|
+
var normalizeLink = require('./normalizeLink-86036e79.js');
|
|
9
|
+
var dataTransform = require('./dataTransform-7bc232fa.js');
|
|
10
10
|
var core = require('@hhgtech/icons/core');
|
|
11
|
-
require('./translationsContext-
|
|
11
|
+
require('./translationsContext-614f1792.js');
|
|
12
12
|
var styled = require('@emotion/styled');
|
|
13
|
-
var index = require('./index-
|
|
13
|
+
var index = require('./index-7481f662.js');
|
|
14
14
|
var miscTheme = require('./miscTheme.js');
|
|
15
|
-
var navigationProfileButton = require('./index-
|
|
15
|
+
var navigationProfileButton = require('./index-95d9672a.js');
|
|
16
16
|
var other = require('@hhgtech/icons/other');
|
|
17
17
|
var core$1 = require('@mantine/core');
|
|
18
|
-
var index$d = require('./index-
|
|
18
|
+
var index$d = require('./index-b638dbe7.js');
|
|
19
19
|
var throttle = require('lodash/throttle');
|
|
20
20
|
require('@mantine/dates');
|
|
21
|
-
var index$5 = require('./index-
|
|
22
|
-
require('./index-
|
|
23
|
-
var index$4 = require('./index-
|
|
24
|
-
var index$2 = require('./index-
|
|
25
|
-
require('./index.styles-
|
|
21
|
+
var index$5 = require('./index-d7818ca5.js');
|
|
22
|
+
require('./index-18acca73.js');
|
|
23
|
+
var index$4 = require('./index-caaf6cac.js');
|
|
24
|
+
var index$2 = require('./index-ce0a7efa.js');
|
|
25
|
+
require('./index.styles-61ce234f.js');
|
|
26
26
|
require('@mantine/hooks');
|
|
27
|
-
require('./text-
|
|
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-
|
|
27
|
+
require('./text-92a095cb.js');
|
|
28
|
+
var utils = require('./utils-7bc80898.js');
|
|
29
|
+
require('./index-511d3d6a.js');
|
|
30
|
+
var constants = require('./constants-8581388f.js');
|
|
31
|
+
var store = require('./store-fed68173.js');
|
|
32
|
+
var constants$1 = require('./constants-ac33e489.js');
|
|
33
|
+
var index$1 = require('./index-2f23d479.js');
|
|
34
|
+
var index$7 = require('./index-08939d41.js');
|
|
35
|
+
var index$6 = require('./index-eb299593.js');
|
|
36
|
+
var useIsInit = require('./useIsInit-a4f3ec74.js');
|
|
37
37
|
var miscDefaultClassWrapper = require('./miscDefaultClassWrapper.js');
|
|
38
|
-
var index$9 = require('./index-
|
|
39
|
-
var dayjs = require('dayjs');
|
|
40
|
-
var relativeTime = require('dayjs/plugin/relativeTime');
|
|
41
|
-
var index$a = require('./index-e5dbd40e.js');
|
|
38
|
+
var index$9 = require('./index-6e1934a1.js');
|
|
42
39
|
var formatString = require('string-format');
|
|
43
40
|
var constantsDomainLocales = require('./constantsDomainLocales.js');
|
|
44
|
-
var
|
|
41
|
+
var dayjs = require('dayjs');
|
|
42
|
+
var relativeTime = require('dayjs/plugin/relativeTime');
|
|
43
|
+
var index$b = require('./index-21dfe2bd.js');
|
|
44
|
+
var index$c = require('./index-5cce06e2.js');
|
|
45
45
|
var debounce = require('lodash/debounce');
|
|
46
|
-
var Locale = require('./Locale-
|
|
47
|
-
var core$2 = require('./core-
|
|
46
|
+
var Locale = require('./Locale-21703205.js');
|
|
47
|
+
var core$2 = require('./core-e07f90f3.js');
|
|
48
48
|
|
|
49
49
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
50
50
|
|
|
51
51
|
var React__default = /*#__PURE__*/_interopDefault(React);
|
|
52
52
|
var styled__default = /*#__PURE__*/_interopDefault(styled);
|
|
53
53
|
var throttle__default = /*#__PURE__*/_interopDefault(throttle);
|
|
54
|
+
var formatString__default = /*#__PURE__*/_interopDefault(formatString);
|
|
54
55
|
var dayjs__default = /*#__PURE__*/_interopDefault(dayjs);
|
|
55
56
|
var relativeTime__default = /*#__PURE__*/_interopDefault(relativeTime);
|
|
56
|
-
var formatString__default = /*#__PURE__*/_interopDefault(formatString);
|
|
57
57
|
var debounce__default = /*#__PURE__*/_interopDefault(debounce);
|
|
58
58
|
|
|
59
59
|
const StyleInput = styled__default["default"](index.Input) `
|
|
@@ -834,11 +834,252 @@ const StyledContainerItems$4 = styled__default["default"].div `
|
|
|
834
834
|
}
|
|
835
835
|
`;
|
|
836
836
|
|
|
837
|
+
const TOGETHER_PATHS = {
|
|
838
|
+
COMMUNITIES: 'community?website_url={websiteUrl}',
|
|
839
|
+
MENU_TOPIC: 'topic?community_id={communityId}&website_url={websiteUrl}',
|
|
840
|
+
GET_USER_POSTS: 'profile/posts?website_url={websiteUrl}',
|
|
841
|
+
};
|
|
842
|
+
const Z_INDEX = {
|
|
843
|
+
adBlock: 48,
|
|
844
|
+
headerContainerHome: 99,
|
|
845
|
+
headerContainerPopup: 300,
|
|
846
|
+
headerContainerPopupSUbLevel: 400,
|
|
847
|
+
menuCategoryPopupWrapper: 200,
|
|
848
|
+
menuCategoryPopupContainer: 210,
|
|
849
|
+
menuSearchInputPopup: 5,
|
|
850
|
+
menuSearchInputDisplayIcon: 6,
|
|
851
|
+
menuSearchPopup: 300,
|
|
852
|
+
homeSearchComponent: 200,
|
|
853
|
+
};
|
|
854
|
+
|
|
855
|
+
const formatSponsor = (sponsor) => {
|
|
856
|
+
if (!sponsor)
|
|
857
|
+
return {};
|
|
858
|
+
return {
|
|
859
|
+
title: sponsor.title,
|
|
860
|
+
logo: sponsor.logo,
|
|
861
|
+
link: sponsor.link,
|
|
862
|
+
};
|
|
863
|
+
};
|
|
864
|
+
const formatReviewedCategory = (data) => {
|
|
865
|
+
return {
|
|
866
|
+
postTitle: data.post_title,
|
|
867
|
+
permalink: data.permalink,
|
|
868
|
+
};
|
|
869
|
+
};
|
|
870
|
+
const formatFaqsCategory = (data) => {
|
|
871
|
+
return {
|
|
872
|
+
title: data.title,
|
|
873
|
+
content: data.content,
|
|
874
|
+
};
|
|
875
|
+
};
|
|
876
|
+
const formatCategory = (category) => {
|
|
877
|
+
var _a, _b;
|
|
878
|
+
if (!category)
|
|
879
|
+
return {};
|
|
880
|
+
return {
|
|
881
|
+
termId: category.term_id || null,
|
|
882
|
+
sponsor: category.sponsor ? formatSponsor(category.sponsor) : null,
|
|
883
|
+
isSponsored: category.is_sponsored || null,
|
|
884
|
+
categoryName: category.cat_name || category.name || null,
|
|
885
|
+
name: category.name || null,
|
|
886
|
+
iconUrl: category.icon || '',
|
|
887
|
+
slugName: category.category_nicename || null,
|
|
888
|
+
description: category.description || null,
|
|
889
|
+
featureImage: category.thumbnail || category.image || null,
|
|
890
|
+
displayName: category.name || null,
|
|
891
|
+
parent: category.parent || null,
|
|
892
|
+
permalink: category.permalink || null,
|
|
893
|
+
slug: category.slug || null,
|
|
894
|
+
childCates: ((_a = category.child_cates) === null || _a === void 0 ? void 0 : _a.map((childCate) => {
|
|
895
|
+
return formatCategory(childCate);
|
|
896
|
+
})) || [],
|
|
897
|
+
thumnailColor: category.thumnail_color ||
|
|
898
|
+
['#FFEAF1', '#E0E9FB', '#FFF9EB', '#F2FCF7', '#F3F3F3'][(Math.random() * 5) | 0],
|
|
899
|
+
colorFeatureImage: category.color_feature_image || null,
|
|
900
|
+
imageColor: category.image_color || null,
|
|
901
|
+
textColor: category.text_color || null,
|
|
902
|
+
catParent: ((_b = category.cat_parent) === null || _b === void 0 ? void 0 : _b.name)
|
|
903
|
+
? {
|
|
904
|
+
name: category.cat_parent.name,
|
|
905
|
+
permalink: category.cat_parent.permalink,
|
|
906
|
+
}
|
|
907
|
+
: {},
|
|
908
|
+
metaTag: category.meta_tag || '',
|
|
909
|
+
reviewedBy: category.reviewed_by
|
|
910
|
+
? formatReviewedCategory(category.reviewed_by)
|
|
911
|
+
: null,
|
|
912
|
+
reviewedDate: category.reviewed_date || '',
|
|
913
|
+
faqs: category.faqs
|
|
914
|
+
? category.faqs.map((faq) => formatFaqsCategory(faq))
|
|
915
|
+
: null,
|
|
916
|
+
customizedUrl: category.customized_url || null,
|
|
917
|
+
};
|
|
918
|
+
};
|
|
919
|
+
const formatHealthTool = (healthTool) => {
|
|
920
|
+
var _a, _b;
|
|
921
|
+
if (!healthTool)
|
|
922
|
+
return {};
|
|
923
|
+
const isBot = (_a = healthTool.link) === null || _a === void 0 ? void 0 : _a.includes('/bot/');
|
|
924
|
+
const hasFilPrefix = (_b = healthTool.link) === null || _b === void 0 ? void 0 : _b.startsWith('/fil/');
|
|
925
|
+
const link = healthTool.link
|
|
926
|
+
? healthTool.link.startsWith('http')
|
|
927
|
+
? healthTool.link
|
|
928
|
+
: isBot
|
|
929
|
+
? healthTool.link
|
|
930
|
+
: hasFilPrefix
|
|
931
|
+
? healthTool.link
|
|
932
|
+
.replace('/health-tools/', '/')
|
|
933
|
+
.replace('/fil/', '/fil/health-tools/')
|
|
934
|
+
: `/health-tools${healthTool.link.replace('/health-tools/', '/')}`
|
|
935
|
+
: undefined;
|
|
936
|
+
return {
|
|
937
|
+
icon: healthTool.icon,
|
|
938
|
+
link,
|
|
939
|
+
subtitle: healthTool.subtitle,
|
|
940
|
+
title: healthTool.title,
|
|
941
|
+
isMobileAppTool: !!(healthTool === null || healthTool === void 0 ? void 0 : healthTool.is_mobile_app_tool),
|
|
942
|
+
};
|
|
943
|
+
};
|
|
944
|
+
const formatSpecialties = (specialties) => {
|
|
945
|
+
var _a, _b, _c, _d, _e;
|
|
946
|
+
if (!specialties || !(specialties === null || specialties === void 0 ? void 0 : specialties.object_id))
|
|
947
|
+
return {};
|
|
948
|
+
return {
|
|
949
|
+
thumbnail: ((_a = specialties === null || specialties === void 0 ? void 0 : specialties.object_id) === null || _a === void 0 ? void 0 : _a.logo) || '',
|
|
950
|
+
link: ((_b = specialties === null || specialties === void 0 ? void 0 : specialties.object_id) === null || _b === void 0 ? void 0 : _b.slug) || '',
|
|
951
|
+
subtitle: ((_c = specialties.object_id) === null || _c === void 0 ? void 0 : _c.name) || '',
|
|
952
|
+
name: ((_d = specialties.object_id) === null || _d === void 0 ? void 0 : _d.name) || '',
|
|
953
|
+
slug: ((_e = specialties.object_id) === null || _e === void 0 ? void 0 : _e.slug) || '',
|
|
954
|
+
};
|
|
955
|
+
};
|
|
956
|
+
const formatHospital = (hospital) => {
|
|
957
|
+
var _a, _b, _c, _d, _e;
|
|
958
|
+
if (!hospital || !(hospital === null || hospital === void 0 ? void 0 : hospital.object_id))
|
|
959
|
+
return {};
|
|
960
|
+
return {
|
|
961
|
+
id: (_a = hospital.object_id) === null || _a === void 0 ? void 0 : _a.id,
|
|
962
|
+
name: ((_b = hospital.object_id) === null || _b === void 0 ? void 0 : _b.name) || '',
|
|
963
|
+
logo: ((_c = hospital === null || hospital === void 0 ? void 0 : hospital.object_id) === null || _c === void 0 ? void 0 : _c.logo) || '',
|
|
964
|
+
description: ((_d = hospital.object_id) === null || _d === void 0 ? void 0 : _d.description) || '',
|
|
965
|
+
slug: ((_e = hospital.object_id) === null || _e === void 0 ? void 0 : _e.slug) || '',
|
|
966
|
+
};
|
|
967
|
+
};
|
|
968
|
+
const getTogetherUserPostsApiPath = (locale, isMarryBaby, apiDomain, params) => {
|
|
969
|
+
const apiUrl = apiDomain || `https://together.hellohealthgroup.com/`;
|
|
970
|
+
return (apiUrl +
|
|
971
|
+
'api/v1/' +
|
|
972
|
+
formatString__default["default"](TOGETHER_PATHS.GET_USER_POSTS, Object.assign(Object.assign({}, params), { websiteUrl: isMarryBaby
|
|
973
|
+
? 'https://marrybaby.vn'
|
|
974
|
+
: `https://${constantsDomainLocales.domainLocales[locale]}` })));
|
|
975
|
+
};
|
|
976
|
+
const getCareSearchUrl = ({ type, specialtySlug, locale, }) => {
|
|
977
|
+
var _a, _b;
|
|
978
|
+
return `${(_a = constants$1.LOCALIZED_SLUGS[locale]) === null || _a === void 0 ? void 0 : _a.ALL}/${((_b = constants$1.LOCALIZED_SLUGS[locale]) === null || _b === void 0 ? void 0 : _b[type]) || 'doctor'}/${specialtySlug !== null && specialtySlug !== void 0 ? specialtySlug : ''}`;
|
|
979
|
+
};
|
|
980
|
+
const formatSpotlightsList = (spotlight) => {
|
|
981
|
+
if (!spotlight)
|
|
982
|
+
return {};
|
|
983
|
+
return {
|
|
984
|
+
id: spotlight.ID,
|
|
985
|
+
name: spotlight.name,
|
|
986
|
+
permalink: spotlight.permalink,
|
|
987
|
+
image: (spotlight === null || spotlight === void 0 ? void 0 : spotlight.small_banner) || (spotlight === null || spotlight === void 0 ? void 0 : spotlight.image) || '',
|
|
988
|
+
imageMedium: (spotlight === null || spotlight === void 0 ? void 0 : spotlight.image_medium) || null,
|
|
989
|
+
imageThumbnail: (spotlight === null || spotlight === void 0 ? void 0 : spotlight.image_thumbnail) || null,
|
|
990
|
+
startDate: spotlight === null || spotlight === void 0 ? void 0 : spotlight.start_date,
|
|
991
|
+
endDate: spotlight === null || spotlight === void 0 ? void 0 : spotlight.end_date,
|
|
992
|
+
buttonDisplay: spotlight.button_display || null,
|
|
993
|
+
};
|
|
994
|
+
};
|
|
995
|
+
const checkAvailableSpotlight = (spotlight) => {
|
|
996
|
+
const today = new Date();
|
|
997
|
+
if (spotlight === null || spotlight === void 0 ? void 0 : spotlight.startDate) {
|
|
998
|
+
const startDate = new Date(spotlight.startDate);
|
|
999
|
+
if (today.getTime() < startDate.getTime())
|
|
1000
|
+
return false;
|
|
1001
|
+
}
|
|
1002
|
+
if (spotlight === null || spotlight === void 0 ? void 0 : spotlight.endDate) {
|
|
1003
|
+
const endDate = new Date(spotlight.endDate);
|
|
1004
|
+
if (today.getTime() > endDate.getTime())
|
|
1005
|
+
return false;
|
|
1006
|
+
}
|
|
1007
|
+
return true;
|
|
1008
|
+
};
|
|
1009
|
+
const formatVideoItem = (data) => {
|
|
1010
|
+
if (typeof data === 'undefined' || !data)
|
|
1011
|
+
return null;
|
|
1012
|
+
return {
|
|
1013
|
+
id: data.ID || '',
|
|
1014
|
+
videoId: data.video_id || '',
|
|
1015
|
+
url: data.video_url || '',
|
|
1016
|
+
title: data.video_title || '',
|
|
1017
|
+
type: data.type || index$a.VideoType.VIDEO,
|
|
1018
|
+
totalView: data.total_view || 0,
|
|
1019
|
+
description: data.description || '',
|
|
1020
|
+
createTime: data.create_time || '',
|
|
1021
|
+
duration: data.duration || 0,
|
|
1022
|
+
image: data.image || '',
|
|
1023
|
+
imageMedium: data.image_medium || '',
|
|
1024
|
+
imageThumbnail: data.image_thumbnail || '',
|
|
1025
|
+
active: false,
|
|
1026
|
+
articleLink: data.article_link || '',
|
|
1027
|
+
};
|
|
1028
|
+
};
|
|
1029
|
+
function hexToRgb(hex, returnObj = false) {
|
|
1030
|
+
let alpha = false, h = hex.slice(hex.startsWith('#') ? 1 : 0);
|
|
1031
|
+
if (h.length === 3)
|
|
1032
|
+
h = [...h].map((x) => x + x).join('');
|
|
1033
|
+
else if (h.length === 8)
|
|
1034
|
+
alpha = true;
|
|
1035
|
+
h = parseInt(h, 16);
|
|
1036
|
+
const obj = {
|
|
1037
|
+
r: h >>> (alpha ? 24 : 16),
|
|
1038
|
+
g: (h & (alpha ? 0x00ff0000 : 0x00ff00)) >>> (alpha ? 16 : 8),
|
|
1039
|
+
b: (h & (alpha ? 0x0000ff00 : 0x0000ff)) >>> (alpha ? 8 : 0),
|
|
1040
|
+
};
|
|
1041
|
+
return returnObj
|
|
1042
|
+
? obj
|
|
1043
|
+
: 'rgb' +
|
|
1044
|
+
(alpha ? 'a' : '') +
|
|
1045
|
+
'(' +
|
|
1046
|
+
obj.r +
|
|
1047
|
+
', ' +
|
|
1048
|
+
obj.g +
|
|
1049
|
+
', ' +
|
|
1050
|
+
obj.b +
|
|
1051
|
+
(alpha ? `, ${h & 0x000000ff}` : '') +
|
|
1052
|
+
')';
|
|
1053
|
+
}
|
|
1054
|
+
function rgbToHsb(r, g, b) {
|
|
1055
|
+
r /= 255;
|
|
1056
|
+
g /= 255;
|
|
1057
|
+
b /= 255;
|
|
1058
|
+
const v = Math.max(r, g, b), n = v - Math.min(r, g, b);
|
|
1059
|
+
const h = n === 0
|
|
1060
|
+
? 0
|
|
1061
|
+
: n && v === r
|
|
1062
|
+
? (g - b) / n
|
|
1063
|
+
: v === g
|
|
1064
|
+
? 2 + (b - r) / n
|
|
1065
|
+
: 4 + (r - g) / n;
|
|
1066
|
+
return [60 * (h < 0 ? h + 6 : h), v && (n / v) * 100, v * 100];
|
|
1067
|
+
}
|
|
1068
|
+
function hsbToRgb(h, s, b) {
|
|
1069
|
+
s /= 100;
|
|
1070
|
+
b /= 100;
|
|
1071
|
+
const k = (n) => (n + h / 60) % 6;
|
|
1072
|
+
const f = (n) => b * (1 - s * Math.max(0, Math.min(k(n), 4 - k(n), 1)));
|
|
1073
|
+
return [255 * f(5), 255 * f(3), 255 * f(1)];
|
|
1074
|
+
}
|
|
1075
|
+
|
|
837
1076
|
const StyledItem$4 = styled__default["default"].a `
|
|
1077
|
+
position: relative;
|
|
838
1078
|
width: 100%;
|
|
839
1079
|
display: flex;
|
|
840
1080
|
align-items: center;
|
|
841
1081
|
text-decoration: none;
|
|
1082
|
+
|
|
842
1083
|
* {
|
|
843
1084
|
pointer-events: none;
|
|
844
1085
|
}
|
|
@@ -865,6 +1106,57 @@ const StyledImageCard$2 = styled__default["default"].div `
|
|
|
865
1106
|
padding-top: 100px;
|
|
866
1107
|
}
|
|
867
1108
|
`;
|
|
1109
|
+
const StyledButton = styled__default["default"].a `
|
|
1110
|
+
${utils.MediaQueries.tdDown} {
|
|
1111
|
+
position: relative;
|
|
1112
|
+
bottom: 0;
|
|
1113
|
+
left: 16px;
|
|
1114
|
+
right: 0;
|
|
1115
|
+
padding: 4px 8px;
|
|
1116
|
+
width: 90px;
|
|
1117
|
+
height: 24px;
|
|
1118
|
+
font-size: 11px;
|
|
1119
|
+
line-height: 16px;
|
|
1120
|
+
}
|
|
1121
|
+
|
|
1122
|
+
position: absolute;
|
|
1123
|
+
bottom: 8px;
|
|
1124
|
+
left: 8px;
|
|
1125
|
+
right: 8px;
|
|
1126
|
+
height: 32px;
|
|
1127
|
+
padding: 6px 12px;
|
|
1128
|
+
|
|
1129
|
+
background: ${(props) => props.bgColor};
|
|
1130
|
+
border-radius: 10px;
|
|
1131
|
+
border: none;
|
|
1132
|
+
transition: all 0.2s ease-in-out;
|
|
1133
|
+
|
|
1134
|
+
color: ${(props) => props.textColor};
|
|
1135
|
+
font-family: 'Inter';
|
|
1136
|
+
font-weight: 500;
|
|
1137
|
+
font-size: 14px;
|
|
1138
|
+
line-height: 20px;
|
|
1139
|
+
text-align: center;
|
|
1140
|
+
white-space: nowrap;
|
|
1141
|
+
overflow: hidden;
|
|
1142
|
+
text-overflow: ellipsis;
|
|
1143
|
+
|
|
1144
|
+
&:hover {
|
|
1145
|
+
background: ${(props) => {
|
|
1146
|
+
const bgColor = props.bgColor.toLowerCase();
|
|
1147
|
+
if (bgColor === '#ffffff' || bgColor === 'white' || bgColor === '#fff') {
|
|
1148
|
+
return '#f0f0f0';
|
|
1149
|
+
}
|
|
1150
|
+
if (typeof bgColor === 'string') {
|
|
1151
|
+
const rgb = hexToRgb(bgColor, true);
|
|
1152
|
+
const hsb = rgbToHsb(rgb.r, rgb.g, rgb.b);
|
|
1153
|
+
const newPattern1 = hsbToRgb(hsb[0], hsb[1] + 16, hsb[2] - 16);
|
|
1154
|
+
return `rgb(${newPattern1[0]},${newPattern1[1]},${newPattern1[2]})`;
|
|
1155
|
+
}
|
|
1156
|
+
return '';
|
|
1157
|
+
}};
|
|
1158
|
+
}
|
|
1159
|
+
`;
|
|
868
1160
|
const StyledTitle$3 = styled__default["default"].p `
|
|
869
1161
|
font-size: 16px;
|
|
870
1162
|
font-weight: 400;
|
|
@@ -880,10 +1172,22 @@ const StyledTitle$3 = styled__default["default"].p `
|
|
|
880
1172
|
const Item$3 = ({ item, index = 0 }) => {
|
|
881
1173
|
if (!item)
|
|
882
1174
|
return null;
|
|
883
|
-
|
|
1175
|
+
const linkProps = {
|
|
1176
|
+
href: item.link,
|
|
1177
|
+
'data-event-category': 'Hamburger Navigation',
|
|
1178
|
+
'data-event-action': `Spotlight Click ${index + 1}`,
|
|
1179
|
+
'data-event-label': item.link,
|
|
1180
|
+
};
|
|
1181
|
+
return (React__default["default"].createElement(StyledItem$4, Object.assign({ key: item.id, as: item.buttonDisplay ? 'div' : 'a' }, linkProps),
|
|
884
1182
|
React__default["default"].createElement(StyledImageCard$2, null,
|
|
885
1183
|
React__default["default"].createElement("img", { loading: "lazy", alt: item.title, src: item.banner || '/images/notFound-min-small.jpg' })),
|
|
886
|
-
React__default["default"].createElement(
|
|
1184
|
+
React__default["default"].createElement("div", { style: {
|
|
1185
|
+
display: 'flex',
|
|
1186
|
+
flexDirection: 'column',
|
|
1187
|
+
gap: 8,
|
|
1188
|
+
} },
|
|
1189
|
+
React__default["default"].createElement(StyledTitle$3, null, item.title),
|
|
1190
|
+
!!item.buttonDisplay && (React__default["default"].createElement(StyledButton, Object.assign({ bgColor: item.buttonDisplay.button_background_color, textColor: item.buttonDisplay.button_text_color }, linkProps), item.buttonDisplay.button_label)))));
|
|
887
1191
|
};
|
|
888
1192
|
|
|
889
1193
|
const CategorySpotlights = ({ spotlightsList = [], hrefViewMore }) => {
|
|
@@ -894,6 +1198,7 @@ const CategorySpotlights = ({ spotlightsList = [], hrefViewMore }) => {
|
|
|
894
1198
|
link: statics.HOME_PAGE_URL + spotlight.permalink,
|
|
895
1199
|
title: spotlight.name,
|
|
896
1200
|
banner: spotlight.image,
|
|
1201
|
+
buttonDisplay: spotlight.buttonDisplay,
|
|
897
1202
|
} }))))) : (React__default["default"].createElement(SpotlightNoData, { title: t('home.navigator.menu.category.noDatas.title'), description: t('home.navigator.menu.category.noDatas.description'), link: hrefViewMore, cta: t('home.navigator.menu.category.noDatas.cta'), icon: index$5.CommonGAssets.getAssetPath('Spotlight.svg') }))));
|
|
898
1203
|
};
|
|
899
1204
|
|
|
@@ -1032,7 +1337,7 @@ const Item$2 = ({ post, index = 0 }) => {
|
|
|
1032
1337
|
return (React__default["default"].createElement(StyledItem$3, { href: postUrl, "data-event-category": "Hamburger Navigation", "data-event-action": `Together Click ${index + 1}`, "data-event-label": postUrl },
|
|
1033
1338
|
React__default["default"].createElement(StyledContent$1, null,
|
|
1034
1339
|
React__default["default"].createElement(StyledInfoUser, null,
|
|
1035
|
-
React__default["default"].createElement(index$
|
|
1340
|
+
React__default["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) }),
|
|
1036
1341
|
React__default["default"].createElement(StyledWrapInfo, null,
|
|
1037
1342
|
React__default["default"].createElement(StyledName, { "data-theme": siteType }, (_e = post.author) === null || _e === void 0 ? void 0 : _e.name),
|
|
1038
1343
|
React__default["default"].createElement(StyledInfo, null,
|
|
@@ -1523,7 +1828,7 @@ const StyledContainerItems = styled__default["default"].div `
|
|
|
1523
1828
|
const VideoSpotlights = ({ spotlightsList = [], layout = 'default', }) => {
|
|
1524
1829
|
const { t } = index$1.useTranslations();
|
|
1525
1830
|
const { configs: { statics }, } = React.useContext(navigationProfileButton.NavigationContext);
|
|
1526
|
-
return (React__default["default"].createElement(Spotlights, { title: t('home.navigator.menu.lastestVideos') }, spotlightsList.length !== 0 ? (React__default["default"].createElement(StyledContainerItems, null, spotlightsList === null || spotlightsList === void 0 ? void 0 : spotlightsList.slice(0, 4).map((video, index) => (React__default["default"].createElement(index$8.VideoItem, { key: index, data: Object.assign(Object.assign({}, video), { type: index$
|
|
1831
|
+
return (React__default["default"].createElement(Spotlights, { title: t('home.navigator.menu.lastestVideos') }, spotlightsList.length !== 0 ? (React__default["default"].createElement(StyledContainerItems, null, spotlightsList === null || spotlightsList === void 0 ? void 0 : spotlightsList.slice(0, 4).map((video, index) => (React__default["default"].createElement(index$8.VideoItem, { key: index, data: Object.assign(Object.assign({}, video), { type: index$a.VideoType.SHORTS }), layout: layout === 'default' ? 'overlay' : 'horizon', redirectToLandingPage: true, dataEventCategory: "Hamburger Navigation", dataEventAction: `Video Click ${index + 1}` }))))) : (React__default["default"].createElement(SpotlightNoData, { title: t('home.navigator.menu.category.noDatas.title'), description: t('home.navigator.menu.category.noDatas.description'), link: `${statics.VIDEO_URL_FE}/`, cta: t('home.navigator.menu.category.noDatas.cta'), icon: index$5.CommonGAssets.getAssetPath('Spotlight.svg') }))));
|
|
1527
1832
|
};
|
|
1528
1833
|
|
|
1529
1834
|
const MenuServiceList = ({ closePopup, menuItems = [], projectType, isHomepage = false, }) => {
|
|
@@ -1555,24 +1860,6 @@ const HamburgerMenu = ({ menuItems, isHomepage, projectType }) => {
|
|
|
1555
1860
|
React__default["default"].createElement(MenuServiceList, { menuItems: menuItems, isHomepage: isHomepage, projectType: projectType, closePopup: onClose })))));
|
|
1556
1861
|
};
|
|
1557
1862
|
|
|
1558
|
-
const TOGETHER_PATHS = {
|
|
1559
|
-
COMMUNITIES: 'community?website_url={websiteUrl}',
|
|
1560
|
-
MENU_TOPIC: 'topic?community_id={communityId}&website_url={websiteUrl}',
|
|
1561
|
-
GET_USER_POSTS: 'profile/posts?website_url={websiteUrl}',
|
|
1562
|
-
};
|
|
1563
|
-
const Z_INDEX = {
|
|
1564
|
-
adBlock: 48,
|
|
1565
|
-
headerContainerHome: 99,
|
|
1566
|
-
headerContainerPopup: 300,
|
|
1567
|
-
headerContainerPopupSUbLevel: 400,
|
|
1568
|
-
menuCategoryPopupWrapper: 200,
|
|
1569
|
-
menuCategoryPopupContainer: 210,
|
|
1570
|
-
menuSearchInputPopup: 5,
|
|
1571
|
-
menuSearchInputDisplayIcon: 6,
|
|
1572
|
-
menuSearchPopup: 300,
|
|
1573
|
-
homeSearchComponent: 200,
|
|
1574
|
-
};
|
|
1575
|
-
|
|
1576
1863
|
const StyledHeaderWrapper = styled__default["default"].div `
|
|
1577
1864
|
z-index: 201;
|
|
1578
1865
|
width: 100%;
|
|
@@ -1783,180 +2070,6 @@ const StyleButtonAiChat = styled__default["default"](index$2.Button) `
|
|
|
1783
2070
|
}
|
|
1784
2071
|
`;
|
|
1785
2072
|
|
|
1786
|
-
const formatSponsor = (sponsor) => {
|
|
1787
|
-
if (!sponsor)
|
|
1788
|
-
return {};
|
|
1789
|
-
return {
|
|
1790
|
-
title: sponsor.title,
|
|
1791
|
-
logo: sponsor.logo,
|
|
1792
|
-
link: sponsor.link,
|
|
1793
|
-
};
|
|
1794
|
-
};
|
|
1795
|
-
const formatReviewedCategory = (data) => {
|
|
1796
|
-
return {
|
|
1797
|
-
postTitle: data.post_title,
|
|
1798
|
-
permalink: data.permalink,
|
|
1799
|
-
};
|
|
1800
|
-
};
|
|
1801
|
-
const formatFaqsCategory = (data) => {
|
|
1802
|
-
return {
|
|
1803
|
-
title: data.title,
|
|
1804
|
-
content: data.content,
|
|
1805
|
-
};
|
|
1806
|
-
};
|
|
1807
|
-
const formatCategory = (category) => {
|
|
1808
|
-
var _a, _b;
|
|
1809
|
-
if (!category)
|
|
1810
|
-
return {};
|
|
1811
|
-
return {
|
|
1812
|
-
termId: category.term_id || null,
|
|
1813
|
-
sponsor: category.sponsor ? formatSponsor(category.sponsor) : null,
|
|
1814
|
-
isSponsored: category.is_sponsored || null,
|
|
1815
|
-
categoryName: category.cat_name || category.name || null,
|
|
1816
|
-
name: category.name || null,
|
|
1817
|
-
iconUrl: category.icon || '',
|
|
1818
|
-
slugName: category.category_nicename || null,
|
|
1819
|
-
description: category.description || null,
|
|
1820
|
-
featureImage: category.thumbnail || category.image || null,
|
|
1821
|
-
displayName: category.name || null,
|
|
1822
|
-
parent: category.parent || null,
|
|
1823
|
-
permalink: category.permalink || null,
|
|
1824
|
-
slug: category.slug || null,
|
|
1825
|
-
childCates: ((_a = category.child_cates) === null || _a === void 0 ? void 0 : _a.map((childCate) => {
|
|
1826
|
-
return formatCategory(childCate);
|
|
1827
|
-
})) || [],
|
|
1828
|
-
thumnailColor: category.thumnail_color ||
|
|
1829
|
-
['#FFEAF1', '#E0E9FB', '#FFF9EB', '#F2FCF7', '#F3F3F3'][(Math.random() * 5) | 0],
|
|
1830
|
-
colorFeatureImage: category.color_feature_image || null,
|
|
1831
|
-
imageColor: category.image_color || null,
|
|
1832
|
-
textColor: category.text_color || null,
|
|
1833
|
-
catParent: ((_b = category.cat_parent) === null || _b === void 0 ? void 0 : _b.name)
|
|
1834
|
-
? {
|
|
1835
|
-
name: category.cat_parent.name,
|
|
1836
|
-
permalink: category.cat_parent.permalink,
|
|
1837
|
-
}
|
|
1838
|
-
: {},
|
|
1839
|
-
metaTag: category.meta_tag || '',
|
|
1840
|
-
reviewedBy: category.reviewed_by
|
|
1841
|
-
? formatReviewedCategory(category.reviewed_by)
|
|
1842
|
-
: null,
|
|
1843
|
-
reviewedDate: category.reviewed_date || '',
|
|
1844
|
-
faqs: category.faqs
|
|
1845
|
-
? category.faqs.map((faq) => formatFaqsCategory(faq))
|
|
1846
|
-
: null,
|
|
1847
|
-
customizedUrl: category.customized_url || null,
|
|
1848
|
-
};
|
|
1849
|
-
};
|
|
1850
|
-
const formatHealthTool = (healthTool) => {
|
|
1851
|
-
var _a, _b;
|
|
1852
|
-
if (!healthTool)
|
|
1853
|
-
return {};
|
|
1854
|
-
const isBot = (_a = healthTool.link) === null || _a === void 0 ? void 0 : _a.includes('/bot/');
|
|
1855
|
-
const hasFilPrefix = (_b = healthTool.link) === null || _b === void 0 ? void 0 : _b.startsWith('/fil/');
|
|
1856
|
-
const link = healthTool.link
|
|
1857
|
-
? healthTool.link.startsWith('http')
|
|
1858
|
-
? healthTool.link
|
|
1859
|
-
: isBot
|
|
1860
|
-
? healthTool.link
|
|
1861
|
-
: hasFilPrefix
|
|
1862
|
-
? healthTool.link
|
|
1863
|
-
.replace('/health-tools/', '/')
|
|
1864
|
-
.replace('/fil/', '/fil/health-tools/')
|
|
1865
|
-
: `/health-tools${healthTool.link.replace('/health-tools/', '/')}`
|
|
1866
|
-
: undefined;
|
|
1867
|
-
return {
|
|
1868
|
-
icon: healthTool.icon,
|
|
1869
|
-
link,
|
|
1870
|
-
subtitle: healthTool.subtitle,
|
|
1871
|
-
title: healthTool.title,
|
|
1872
|
-
isMobileAppTool: !!(healthTool === null || healthTool === void 0 ? void 0 : healthTool.is_mobile_app_tool),
|
|
1873
|
-
};
|
|
1874
|
-
};
|
|
1875
|
-
const formatSpecialties = (specialties) => {
|
|
1876
|
-
var _a, _b, _c, _d, _e;
|
|
1877
|
-
if (!specialties || !(specialties === null || specialties === void 0 ? void 0 : specialties.object_id))
|
|
1878
|
-
return {};
|
|
1879
|
-
return {
|
|
1880
|
-
thumbnail: ((_a = specialties === null || specialties === void 0 ? void 0 : specialties.object_id) === null || _a === void 0 ? void 0 : _a.logo) || '',
|
|
1881
|
-
link: ((_b = specialties === null || specialties === void 0 ? void 0 : specialties.object_id) === null || _b === void 0 ? void 0 : _b.slug) || '',
|
|
1882
|
-
subtitle: ((_c = specialties.object_id) === null || _c === void 0 ? void 0 : _c.name) || '',
|
|
1883
|
-
name: ((_d = specialties.object_id) === null || _d === void 0 ? void 0 : _d.name) || '',
|
|
1884
|
-
slug: ((_e = specialties.object_id) === null || _e === void 0 ? void 0 : _e.slug) || '',
|
|
1885
|
-
};
|
|
1886
|
-
};
|
|
1887
|
-
const formatHospital = (hospital) => {
|
|
1888
|
-
var _a, _b, _c, _d, _e;
|
|
1889
|
-
if (!hospital || !(hospital === null || hospital === void 0 ? void 0 : hospital.object_id))
|
|
1890
|
-
return {};
|
|
1891
|
-
return {
|
|
1892
|
-
id: (_a = hospital.object_id) === null || _a === void 0 ? void 0 : _a.id,
|
|
1893
|
-
name: ((_b = hospital.object_id) === null || _b === void 0 ? void 0 : _b.name) || '',
|
|
1894
|
-
logo: ((_c = hospital === null || hospital === void 0 ? void 0 : hospital.object_id) === null || _c === void 0 ? void 0 : _c.logo) || '',
|
|
1895
|
-
description: ((_d = hospital.object_id) === null || _d === void 0 ? void 0 : _d.description) || '',
|
|
1896
|
-
slug: ((_e = hospital.object_id) === null || _e === void 0 ? void 0 : _e.slug) || '',
|
|
1897
|
-
};
|
|
1898
|
-
};
|
|
1899
|
-
const getTogetherUserPostsApiPath = (locale, isMarryBaby, apiDomain, params) => {
|
|
1900
|
-
const apiUrl = apiDomain || `https://together.hellohealthgroup.com/`;
|
|
1901
|
-
return (apiUrl +
|
|
1902
|
-
'api/v1/' +
|
|
1903
|
-
formatString__default["default"](TOGETHER_PATHS.GET_USER_POSTS, Object.assign(Object.assign({}, params), { websiteUrl: isMarryBaby
|
|
1904
|
-
? 'https://marrybaby.vn'
|
|
1905
|
-
: `https://${constantsDomainLocales.domainLocales[locale]}` })));
|
|
1906
|
-
};
|
|
1907
|
-
const getCareSearchUrl = ({ type, specialtySlug, locale, }) => {
|
|
1908
|
-
var _a, _b;
|
|
1909
|
-
return `${(_a = constants$1.LOCALIZED_SLUGS[locale]) === null || _a === void 0 ? void 0 : _a.ALL}/${((_b = constants$1.LOCALIZED_SLUGS[locale]) === null || _b === void 0 ? void 0 : _b[type]) || 'doctor'}/${specialtySlug !== null && specialtySlug !== void 0 ? specialtySlug : ''}`;
|
|
1910
|
-
};
|
|
1911
|
-
const formatSpotlightsList = (spotlight) => {
|
|
1912
|
-
if (!spotlight)
|
|
1913
|
-
return {};
|
|
1914
|
-
return {
|
|
1915
|
-
id: spotlight.ID,
|
|
1916
|
-
name: spotlight.name,
|
|
1917
|
-
permalink: spotlight.permalink,
|
|
1918
|
-
image: (spotlight === null || spotlight === void 0 ? void 0 : spotlight.small_banner) || (spotlight === null || spotlight === void 0 ? void 0 : spotlight.image) || '',
|
|
1919
|
-
imageMedium: (spotlight === null || spotlight === void 0 ? void 0 : spotlight.image_medium) || null,
|
|
1920
|
-
imageThumbnail: (spotlight === null || spotlight === void 0 ? void 0 : spotlight.image_thumbnail) || null,
|
|
1921
|
-
startDate: spotlight === null || spotlight === void 0 ? void 0 : spotlight.start_date,
|
|
1922
|
-
endDate: spotlight === null || spotlight === void 0 ? void 0 : spotlight.end_date,
|
|
1923
|
-
};
|
|
1924
|
-
};
|
|
1925
|
-
const checkAvailableSpotlight = (spotlight) => {
|
|
1926
|
-
const today = new Date();
|
|
1927
|
-
if (spotlight === null || spotlight === void 0 ? void 0 : spotlight.startDate) {
|
|
1928
|
-
const startDate = new Date(spotlight.startDate);
|
|
1929
|
-
if (today.getTime() < startDate.getTime())
|
|
1930
|
-
return false;
|
|
1931
|
-
}
|
|
1932
|
-
if (spotlight === null || spotlight === void 0 ? void 0 : spotlight.endDate) {
|
|
1933
|
-
const endDate = new Date(spotlight.endDate);
|
|
1934
|
-
if (today.getTime() > endDate.getTime())
|
|
1935
|
-
return false;
|
|
1936
|
-
}
|
|
1937
|
-
return true;
|
|
1938
|
-
};
|
|
1939
|
-
const formatVideoItem = (data) => {
|
|
1940
|
-
if (typeof data === 'undefined' || !data)
|
|
1941
|
-
return null;
|
|
1942
|
-
return {
|
|
1943
|
-
id: data.ID || '',
|
|
1944
|
-
videoId: data.video_id || '',
|
|
1945
|
-
url: data.video_url || '',
|
|
1946
|
-
title: data.video_title || '',
|
|
1947
|
-
type: data.type || index$b.VideoType.VIDEO,
|
|
1948
|
-
totalView: data.total_view || 0,
|
|
1949
|
-
description: data.description || '',
|
|
1950
|
-
createTime: data.create_time || '',
|
|
1951
|
-
duration: data.duration || 0,
|
|
1952
|
-
image: data.image || '',
|
|
1953
|
-
imageMedium: data.image_medium || '',
|
|
1954
|
-
imageThumbnail: data.image_thumbnail || '',
|
|
1955
|
-
active: false,
|
|
1956
|
-
articleLink: data.article_link || '',
|
|
1957
|
-
};
|
|
1958
|
-
};
|
|
1959
|
-
|
|
1960
2073
|
var styles = {"gridContainer":"q3nL5cp","container":"_2DNf80G","closeWrapper":"Q-glX-n"};
|
|
1961
2074
|
|
|
1962
2075
|
const BtnClosePopup = ({ onClosePopup }) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require('./tslib.es6-
|
|
3
|
+
var tslib_es6 = require('./tslib.es6-acd80713.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var index = require('./index-
|
|
5
|
+
var index = require('./index-ce0a7efa.js');
|
|
6
6
|
|
|
7
7
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
8
8
|
|