@hhgtech/hhg-components 1.29.82 → 1.29.84
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/LastPeriod-1f403d10.js +29 -0
- package/build/Locale-9e8a2452.js +15 -0
- package/build/{WhatsApp-46f4f408.js → WhatsApp-959e02b9.js} +1 -1
- package/build/adapters.js +22 -17
- package/build/atoms.js +51 -45
- package/build/babyGrowth.js +169 -162
- package/build/cache.js +3 -3
- package/build/care.js +22 -17
- package/build/components.js +136 -109
- package/build/{constants-223c01fc.js → constants-23f15065.js} +4 -4
- package/build/constants-78b4275f.js +18 -0
- package/build/constants.js +17 -13
- package/build/constantsDomainLocales.js +34 -0
- package/build/{isProduction-20cd663d.js → constantsIsProduction.js} +2 -0
- package/build/constantsRiskScreener.js +21 -0
- package/build/constantsSite.js +134 -0
- package/build/{core-9d69a722.js → core-215586ea.js} +4 -4
- package/build/{dataTransform-e39297c1.js → dataTransform-9de4c42b.js} +1 -106
- package/build/dataTransform-cec9484d.js +13 -0
- package/build/ecom.js +10 -6
- package/build/embeddedHeathToolCards_babyGrowth.js +64 -0
- package/build/embeddedHeathToolCards_babyPoop.js +57 -0
- package/build/embeddedHeathToolCards_babyVaccine.js +64 -0
- package/build/embeddedHeathToolCards_bmi_bmi.js +70 -0
- package/build/embeddedHeathToolCards_bmrBmr.js +70 -0
- package/build/embeddedHeathToolCards_dueDate_dueDate.js +65 -0
- package/build/embeddedHeathToolCards_helpers.js +11 -0
- package/build/embeddedHeathToolCards_ovulation_ovulation.js +64 -0
- package/build/embeddedHeathToolCards_pwg_pwg.js +70 -0
- package/build/embeddedHeathToolCards_targetHeartRate.js +73 -0
- package/build/esm/LastPeriod-6a476391.js +23 -0
- package/build/esm/Locale-50ec684c.js +15 -0
- package/build/esm/{WhatsApp-c599b715.js → WhatsApp-5357afb0.js} +1 -1
- package/build/esm/adapters.js +22 -17
- package/build/esm/atoms.js +51 -45
- package/build/esm/babyGrowth.js +87 -81
- package/build/esm/cache.js +3 -3
- package/build/esm/care.js +22 -17
- package/build/esm/components.js +104 -77
- package/build/esm/constants-7154766a.js +16 -0
- package/build/esm/{constants-bb470362.js → constants-efabd249.js} +2 -2
- package/build/esm/constants.js +7 -3
- package/build/esm/constantsDomainLocales.js +29 -0
- package/build/esm/{isProduction-1937d355.js → constantsIsProduction.js} +1 -1
- package/build/esm/constantsRiskScreener.js +17 -0
- package/build/esm/constantsSite.js +129 -0
- package/build/esm/{core-80bfe8b7.js → core-e76c2318.js} +2 -2
- package/build/esm/dataTransform-1ac3c823.js +11 -0
- package/build/esm/{dataTransform-623716c3.js → dataTransform-8dd2163d.js} +2 -101
- package/build/esm/ecom.js +9 -5
- package/build/esm/embeddedHeathToolCards_babyGrowth.js +56 -0
- package/build/esm/embeddedHeathToolCards_babyPoop.js +49 -0
- package/build/esm/embeddedHeathToolCards_babyVaccine.js +56 -0
- package/build/esm/embeddedHeathToolCards_bmi_bmi.js +62 -0
- package/build/esm/embeddedHeathToolCards_bmrBmr.js +62 -0
- package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +57 -0
- package/build/esm/embeddedHeathToolCards_helpers.js +7 -0
- package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +56 -0
- package/build/esm/embeddedHeathToolCards_pwg_pwg.js +62 -0
- package/build/esm/embeddedHeathToolCards_targetHeartRate.js +65 -0
- package/build/esm/{fixedBottomAdBlock-60a5d48f.js → fixedBottomAdBlock-95355cb0.js} +35 -410
- package/build/esm/footer.js +23 -18
- package/build/esm/gAssets.js +4 -5
- package/build/esm/healthToolsCardWrapper.js +33 -0
- package/build/esm/healthToolsForm.js +39 -25
- package/build/esm/hooks.js +21 -17
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-bcedec73.js → index-08e0e4a7.js} +15 -13
- package/build/esm/{index-0ca9b175.js → index-0a17b3c4.js} +2 -2
- package/build/esm/{index-02d3f05b.js → index-0bac9140.js} +23 -19
- package/build/esm/{index-2dc7803d.js → index-0d547073.js} +6 -5
- package/build/esm/{index-d6a5f5cf.js → index-1090bed4.js} +17 -260
- package/build/esm/index-114fe334.js +60 -0
- package/build/esm/{index-e0b0d6a2.js → index-1246c476.js} +7 -7
- package/build/esm/{index-9f99909b.js → index-19fa8adc.js} +3 -3
- package/build/esm/{index-7c384ae6.js → index-1baef0ed.js} +6 -5
- package/build/esm/{index-7a1ea734.js → index-3b3b048f.js} +3 -3
- package/build/esm/{index-6210f454.js → index-3dcece1c.js} +9 -168
- package/build/esm/index-3df7ce17.js +140 -0
- package/build/esm/{index-1c9b481b.js → index-455fad93.js} +2 -2
- package/build/esm/{index-0cd3523c.js → index-4662c50d.js} +35 -31
- package/build/esm/index-492f7199.js +370 -0
- package/build/esm/{index-acf8b60e.js → index-4dcb460d.js} +2 -2
- package/build/esm/{index-9471fca1.js → index-562833a7.js} +2 -2
- package/build/esm/{index-0ee66974.js → index-583f25e2.js} +2 -2
- package/build/esm/index-5caf9237.js +91 -0
- package/build/esm/{index-21256394.js → index-6153901b.js} +1 -1
- package/build/esm/index-6b58602f.js +259 -0
- package/build/esm/{index-046778af.js → index-6d782bf2.js} +2 -2
- package/build/esm/{index-8eb04f36.js → index-7d0b67e7.js} +11 -11
- package/build/esm/{index-10ab6596.js → index-7d620769.js} +8 -7
- package/build/esm/{index-07f3f47e.js → index-8035d37c.js} +2 -2
- package/build/esm/{index-c013ba1b.js → index-805ffb74.js} +5 -4
- package/build/esm/{index-9b3a8b6d.js → index-83cc8492.js} +12 -10
- package/build/esm/{index-5723381f.js → index-88ff7c55.js} +2 -2
- package/build/esm/{index-c2584051.js → index-8c14a956.js} +4 -4
- package/build/esm/{index-f22f6e6e.js → index-95b6e3cc.js} +9 -8
- package/build/esm/{index-189d7601.js → index-99a12287.js} +3 -15
- package/build/esm/{index-8fcf671c.js → index-a5cb4b11.js} +8 -8
- package/build/esm/{index-cfedca38.js → index-a98a28a2.js} +2 -2
- package/build/esm/{index-13d8dd4b.js → index-a99b900d.js} +7 -6
- package/build/esm/{index-ea63e0d2.js → index-ac4b3bc6.js} +4 -4
- package/build/esm/{index-0b745f46.js → index-ae4c20ce.js} +20 -18
- package/build/esm/{index-fa67d66e.js → index-aeb1293f.js} +21 -19
- package/build/esm/index-af808663.js +249 -0
- package/build/esm/{constants-fa475b0f.js → index-b4dc58c1.js} +6 -21
- package/build/esm/{index-f660abb7.js → index-b50d36ad.js} +3 -3
- package/build/esm/{index-c430773c.js → index-b8c2e125.js} +29 -25
- package/build/esm/{index-219e3a35.js → index-c1abf550.js} +11 -11
- package/build/esm/{index-01b5d2e9.js → index-c526c065.js} +4 -4
- package/build/esm/{index-1d3c6ce7.js → index-c7b7301d.js} +1 -1
- package/build/esm/{index-29908d2c.js → index-ca9538ec.js} +1 -1
- package/build/esm/{index-049e0270.js → index-d0b52e26.js} +3 -3
- package/build/esm/{index-cdc50618.js → index-d502b20b.js} +1 -1
- package/build/esm/index-d6cfeea2.js +147 -0
- package/build/esm/index-e91300f9.js +101 -0
- package/build/esm/{index-f4b938f2.js → index-eb03fb5b.js} +1 -1
- package/build/esm/{index-9b9c1499.js → index-f34b4053.js} +2 -2
- package/build/esm/{index-01405723.js → index-f417df8c.js} +13 -12
- package/build/esm/index-f4d8dd94.js +233 -0
- package/build/esm/index-fd485fb3.js +174 -0
- package/build/esm/index.js +118 -90
- package/build/esm/interfaces/constants/domainLocales.d.ts +25 -0
- package/build/esm/interfaces/constants/index.d.ts +1 -25
- package/build/esm/{labelSorting-7351409a.js → labelSorting-b2983be2.js} +4 -4
- package/build/esm/lead.js +26 -21
- package/build/esm/{logoIcon-3a581efb.js → logoIcon-608cfa3e.js} +2 -2
- package/build/esm/mantine.js +28 -23
- package/build/esm/misc.js +27 -21
- package/build/esm/{cookieHelper-6c3b4790.js → miscCookieHelper.js} +1 -1
- package/build/esm/{defaultClassWrapper-00903c00.js → miscDefaultClassWrapper.js} +1 -1
- package/build/esm/{getDynamicHealthTool-82855adc.js → miscGetDynamicHealthTool.js} +13 -5
- package/build/esm/{getSocialList-7d2cf48d.js → miscGetSocialList.js} +20 -10
- package/build/esm/{dataTransform-55f67eed.js → miscScreenSizeContext.js} +2 -12
- package/build/esm/{theme-7dadf4a1.js → miscTheme.js} +1 -1
- package/build/esm/molecules.js +84 -57
- package/build/esm/navigation.js +44 -37
- package/build/esm/onboardingV2.js +30 -25
- package/build/esm/organisms.js +48 -41
- package/build/esm/other-af591390.js +102 -0
- package/build/esm/pwg.js +25 -20
- package/build/esm/{routing-9e330438.js → routing-0e27d82c.js} +3 -2
- package/build/esm/subot.js +35 -29
- package/build/esm/surveyOrPremiumBanner.js +34 -28
- package/build/esm/surveyQuestionCard.js +11 -10
- package/build/esm/{surveyThankyouCard-ec204631.js → surveyThankyouCard-71a1b36a.js} +6 -6
- package/build/esm/together/togetherComponentGlobalContext.d.ts +1 -2
- package/build/esm/together.js +50 -43
- package/build/esm/togetherApiPaths.js +165 -0
- package/build/esm/togetherApiUtils.js +10 -0
- package/build/esm/togetherAtoms.js +34 -28
- package/build/esm/togetherComponentGlobalContext.js +7 -9
- package/build/esm/togetherMolecules.js +41 -34
- package/build/esm/togetherOrganisms.js +45 -38
- package/build/esm/{treePopoverMenu-cb214db6.js → treePopoverMenu-f68aed40.js} +18 -16
- package/build/esm/{types-ffcf5fb4.js → types-e0541daf.js} +14 -13
- package/build/esm/types.js +2 -1
- package/build/esm/{useCategory-553bee0b.js → useCategory-5f3d6d81.js} +6 -5
- package/build/esm/{useHealthToolCache-6ce1724e.js → useHealthToolCache-73e49d74.js} +2 -2
- package/build/esm/{useMantineLocale-453f8013.js → useMantineLocale-845c1956.js} +5 -3
- package/build/esm/{usePlacesAutocomplete-8925d4fb.js → usePlacesAutocomplete-e1da3570.js} +1 -1
- package/build/esm/useTogetherAuthRequiredAction.js +7 -9
- package/build/esm/{useTranslations-b970f667.js → useTranslations-32ff6c72.js} +1 -1
- package/build/esm/{utils-3b29eb79.js → utils-71ccce82.js} +16 -163
- package/build/{utils-15a9772e.js → esm/utils-94f8d19f.js} +1 -114
- package/build/esm/{utils-6d45bdd1.js → utils-feb0c914.js} +2 -1
- package/build/esm/vaccination.js +23 -18
- package/build/{fixedBottomAdBlock-0129a006.js → fixedBottomAdBlock-d9fa09d7.js} +155 -540
- package/build/footer.js +23 -18
- package/build/gAssets.js +4 -5
- package/build/healthToolsCardWrapper.js +41 -0
- package/build/healthToolsForm.js +45 -31
- package/build/hooks.js +21 -17
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-b66ae554.js → index-0ae8b4ca.js} +18 -17
- package/build/{index-4bc690c9.js → index-17d80455.js} +9 -9
- package/build/{index-e3bbd009.js → index-1f94d57c.js} +33 -197
- package/build/index-249e3f6f.js +146 -0
- package/build/index-2f6d4fee.js +153 -0
- package/build/index-31c0bdad.js +256 -0
- package/build/{index-3eb666e6.js → index-353ce6f8.js} +1 -1
- package/build/{index-6aeb5ff5.js → index-35ac1158.js} +59 -59
- package/build/{index-a8680a58.js → index-37001a3b.js} +6 -6
- package/build/{index-9e8877c0.js → index-3ae597e3.js} +2 -2
- package/build/{index-1f3fc2e3.js → index-3ae93a30.js} +3 -15
- package/build/{index-765ed75d.js → index-3f9484b9.js} +6 -6
- package/build/{index-1fdf2f01.js → index-4184d8d6.js} +4 -4
- package/build/index-487a1272.js +66 -0
- package/build/{index-10760994.js → index-4ac79663.js} +9 -9
- package/build/{index-53e14542.js → index-4b035057.js} +4 -4
- package/build/{index-1e1d8eb1.js → index-565f76e4.js} +26 -24
- package/build/{index-16ed0d98.js → index-567f7d66.js} +12 -11
- package/build/{index-2fd9063e.js → index-592139a8.js} +4 -4
- package/build/{index-7953fb8e.js → index-672f0358.js} +12 -12
- package/build/{index-71843eb4.js → index-6c5d8ad9.js} +5 -5
- package/build/index-6c91ec06.js +108 -0
- package/build/{index-4cdcdbbe.js → index-71618efb.js} +13 -12
- package/build/{index-ec34e358.js → index-743f391a.js} +14 -14
- package/build/{index-fd3e1d16.js → index-7565806b.js} +3 -3
- package/build/{index-54aeefca.js → index-7efe7581.js} +2 -2
- package/build/{index-f222ee45.js → index-83259c86.js} +2 -2
- package/build/{index-dff7ee1b.js → index-848c257f.js} +41 -39
- package/build/{index-7ecc69af.js → index-89785eb5.js} +19 -18
- package/build/index-8bc74421.js +97 -0
- package/build/index-8e6acb31.js +320 -0
- package/build/{index-a9bbb5aa.js → index-9112bf2c.js} +11 -11
- package/build/{index-dd074159.js → index-98680432.js} +1 -1
- package/build/{index-ca616373.js → index-992f2a88.js} +2 -2
- package/build/{index-33432b02.js → index-9a0317f3.js} +33 -33
- package/build/{index-405faafa.js → index-a3320ed8.js} +2 -2
- package/build/{index-206afefb.js → index-a75603b7.js} +6 -5
- package/build/{index-4b7d4b5b.js → index-b1885310.js} +9 -9
- package/build/{index-077bf48f.js → index-b9fb9f3a.js} +52 -50
- package/build/index-baf2d414.js +267 -0
- package/build/{index-a6a9855f.js → index-c22aa4ef.js} +11 -11
- package/build/index-c2578f13.js +377 -0
- package/build/index-c2fec0fb.js +239 -0
- package/build/{constants-f182fc32.js → index-d1fb44a6.js} +8 -24
- package/build/{index-466a2c32.js → index-d5ba18da.js} +48 -46
- package/build/{index-0b727664.js → index-d97f9371.js} +8 -7
- package/build/{index-a9bdf889.js → index-d99df528.js} +25 -24
- package/build/{index-64d8db08.js → index-e0d59d3e.js} +5 -5
- package/build/{index-130e0f35.js → index-e4bfc43c.js} +68 -64
- package/build/index-e8d0d01b.js +180 -0
- package/build/{index-d9919cd2.js → index-ebfbb401.js} +119 -115
- package/build/{index-2afbeb3d.js → index-f0cd2973.js} +137 -133
- package/build/{index-4357a324.js → index-f31f282c.js} +11 -11
- package/build/{index-a2664204.js → index-fdfaa206.js} +7 -7
- package/build/index.js +195 -167
- package/build/interfaces/constants/domainLocales.d.ts +25 -0
- package/build/interfaces/constants/index.d.ts +1 -25
- package/build/{labelSorting-f86081b7.js → labelSorting-bafa4da1.js} +4 -4
- package/build/lead.js +43 -38
- package/build/{logoIcon-21a16853.js → logoIcon-2eaa3600.js} +2 -2
- package/build/mantine.js +28 -23
- package/build/misc.js +39 -33
- package/build/{cookieHelper-86ae022e.js → miscCookieHelper.js} +2 -0
- package/build/{defaultClassWrapper-b7719693.js → miscDefaultClassWrapper.js} +2 -0
- package/build/{getDynamicHealthTool-f08b5fab.js → miscGetDynamicHealthTool.js} +14 -4
- package/build/{getSocialList-8cc32f7c.js → miscGetSocialList.js} +50 -38
- package/build/{dataTransform-ded2692d.js → miscScreenSizeContext.js} +3 -12
- package/build/{theme-be20929b.js → miscTheme.js} +2 -0
- package/build/molecules.js +106 -79
- package/build/navigation.js +44 -37
- package/build/onboardingV2.js +40 -35
- package/build/organisms.js +48 -41
- package/build/other-b4596d33.js +104 -0
- package/build/pwg.js +60 -55
- package/build/{routing-d6c9099a.js → routing-c7527743.js} +10 -9
- package/build/subot.js +104 -98
- package/build/surveyOrPremiumBanner.js +34 -28
- package/build/surveyQuestionCard.js +11 -10
- package/build/{surveyThankyouCard-5b23b8f6.js → surveyThankyouCard-cef7f501.js} +25 -25
- package/build/together/togetherComponentGlobalContext.d.ts +1 -2
- package/build/together.js +50 -43
- package/build/togetherApiPaths.js +173 -0
- package/build/togetherApiUtils.js +40 -0
- package/build/togetherAtoms.js +34 -28
- package/build/togetherComponentGlobalContext.js +7 -9
- package/build/togetherMolecules.js +41 -34
- package/build/togetherOrganisms.js +45 -38
- package/build/{treePopoverMenu-c0cb395f.js → treePopoverMenu-e1a2f3f8.js} +28 -26
- package/build/{types-8d9c5f21.js → types-b3edd885.js} +88 -87
- package/build/types.js +6 -5
- package/build/{useCategory-b695fd3a.js → useCategory-9e02b690.js} +18 -17
- package/build/{useHealthToolCache-048807ea.js → useHealthToolCache-35767818.js} +4 -4
- package/build/{useMantineLocale-0d63dfea.js → useMantineLocale-30235874.js} +26 -24
- package/build/{usePlacesAutocomplete-9520e525.js → usePlacesAutocomplete-2bb9e98f.js} +1 -1
- package/build/useTogetherAuthRequiredAction.js +8 -10
- package/build/{useTranslations-685f989b.js → useTranslations-ec613f5a.js} +1 -1
- package/build/{utils-169c6a7d.js → utils-62afd8c7.js} +26 -172
- package/build/{utils-1a00c0f8.js → utils-63994a00.js} +11 -10
- package/build/{esm/utils-d7bbdb52.js → utils-7effa670.js} +11 -101
- package/build/vaccination.js +72 -67
- package/package.json +1 -1
- package/build/esm/index-ac2a8f95.js +0 -1114
- package/build/index-00a78d81.js +0 -565
- package/build/index-60f6d762.js +0 -1127
- /package/build/{BMI_BOYS.percentile.monthly-1aa95e30.js → BMI_BOYS.percentile.monthly-6ed2e599.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-61d78e1c.js → BMI_BOYS.percentile.weekly-2674d8fd.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-f80e040e.js → BMI_BOYS.percentile.yearly-51aa456a.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-a6c7c8ff.js → BMI_BOYS.zscore.monthly-33333b5d.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-742f7028.js → BMI_BOYS.zscore.weekly-9fd4527e.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-c19cccd5.js → BMI_BOYS.zscore.yearly-9f0a2b65.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-089d3981.js → BMI_GIRLS.percentile.monthly-ff8c7b3d.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-0cc52cda.js → BMI_GIRLS.percentile.weekly-6cf39279.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-10bc603f.js → BMI_GIRLS.percentile.yearly-260242f0.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-c3fe57f3.js → BMI_GIRLS.zscore.monthly-2f687534.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-b83a54db.js → BMI_GIRLS.zscore.weekly-777dcea3.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-5f13cda2.js → BMI_GIRLS.zscore.yearly-c7da1557.js} +0 -0
- /package/build/{ChevronDown-2fd86d66.js → ChevronDown-1ef49349.js} +0 -0
- /package/build/{Close-711196b0.js → Close-c5cedb3c.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-03b8d7fb.js → HEAD CIRCUM_BOYS.percentile.monthly-9adb51e9.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-9ebd3eb6.js → HEAD CIRCUM_BOYS.percentile.weekly-2471683f.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-8e97b738.js → HEAD CIRCUM_BOYS.percentile.yearly-f3319cb0.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-e7892261.js → HEAD CIRCUM_BOYS.zscore.monthly-7e3fc029.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-47c5af84.js → HEAD CIRCUM_BOYS.zscore.weekly-b7aa2b50.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-9a1bc325.js → HEAD CIRCUM_BOYS.zscore.yearly-c61c6c1d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-d84491d7.js → HEAD CIRCUM_GIRLS.percentile.monthly-b4cc5c65.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-a6f38c3e.js → HEAD CIRCUM_GIRLS.percentile.weekly-ad990791.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-5771d277.js → HEAD CIRCUM_GIRLS.percentile.yearly-65fcb09f.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-e3633bcc.js → HEAD CIRCUM_GIRLS.zscore.monthly-2402176a.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-23b0ab1a.js → HEAD CIRCUM_GIRLS.zscore.weekly-0e327b7e.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-20f29cf1.js → HEAD CIRCUM_GIRLS.zscore.yearly-8fbe89c7.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-57cc12ee.js → HEIGHT_BOYS.percentile.monthly-85d25944.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-c788506a.js → HEIGHT_BOYS.percentile.weekly-02e026c7.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-ac56c1f2.js → HEIGHT_BOYS.percentile.yearly-76c02fee.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-1bb78253.js → HEIGHT_BOYS.zscore.monthly-68dd676e.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-22737c43.js → HEIGHT_BOYS.zscore.weekly-ad16132c.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-90f6cd0a.js → HEIGHT_BOYS.zscore.yearly-f6b8dba4.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-019f80d2.js → HEIGHT_GIRLS.percentile.monthly-24a8139c.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-ceed9817.js → HEIGHT_GIRLS.percentile.weekly-1d08cc73.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-3e5192ac.js → HEIGHT_GIRLS.percentile.yearly-05197713.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-f8fca0b6.js → HEIGHT_GIRLS.zscore.monthly-4aaa565f.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-827b17e8.js → HEIGHT_GIRLS.zscore.weekly-454b8b19.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-3cdb483d.js → HEIGHT_GIRLS.zscore.yearly-5762f338.js} +0 -0
- /package/build/{Visible-515a4eec.js → Visible-bec3b78f.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-2ecbd498.js → WEIGHT_BOYS.percentile.monthly-34729a7f.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-75c9c25c.js → WEIGHT_BOYS.percentile.weekly-b82f3896.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-03e7cea6.js → WEIGHT_BOYS.percentile.yearly-fe16bfbf.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-2ff9fb56.js → WEIGHT_BOYS.zscore.monthly-de612999.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-e9f7fe2d.js → WEIGHT_BOYS.zscore.weekly-8e520e4a.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-4a96f34f.js → WEIGHT_BOYS.zscore.yearly-7f87d4e0.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-5bf09e30.js → WEIGHT_GIRLS.percentile.monthly-d9389ae2.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-f737ae23.js → WEIGHT_GIRLS.percentile.weekly-0a4e65a0.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-56ebc8eb.js → WEIGHT_GIRLS.percentile.yearly-5039690e.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-4697d3b5.js → WEIGHT_GIRLS.zscore.monthly-267424de.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-3633820e.js → WEIGHT_GIRLS.zscore.weekly-b82eb126.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-a9a04790.js → WEIGHT_GIRLS.zscore.yearly-743b24fd.js} +0 -0
- /package/build/{animation-85d012ee.js → animation-0a5aba6d.js} +0 -0
- /package/build/{cart-8877bd63.js → cart-a5619079.js} +0 -0
- /package/build/{constants-8743b014.js → constants-5fd6a807.js} +0 -0
- /package/build/{constants-a78fa8b3.js → constants-bea20f60.js} +0 -0
- /package/build/{doctor-2c14fed1.js → doctor-7b7ee55b.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-42ff2c64.js → BMI_BOYS.percentile.monthly-bd9229f1.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-b4a6c521.js → BMI_BOYS.percentile.weekly-b5555772.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-d3bc1a77.js → BMI_BOYS.percentile.yearly-40c77400.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-c4506dfa.js → BMI_BOYS.zscore.monthly-97b686fe.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-ddf3b3f9.js → BMI_BOYS.zscore.weekly-3bfff161.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-e0e3139e.js → BMI_BOYS.zscore.yearly-52ee4b24.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-96686bcc.js → BMI_GIRLS.percentile.monthly-05f18f9d.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-c3106a65.js → BMI_GIRLS.percentile.weekly-4a737e44.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-b38c1f1f.js → BMI_GIRLS.percentile.yearly-19ee728c.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-f8a7836f.js → BMI_GIRLS.zscore.monthly-45463588.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-4c1fc771.js → BMI_GIRLS.zscore.weekly-a3d0afc1.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-dce5e66a.js → BMI_GIRLS.zscore.yearly-0e0db5a8.js} +0 -0
- /package/build/esm/{ChevronDown-31ea3e19.js → ChevronDown-50f453d2.js} +0 -0
- /package/build/esm/{Close-40d598bc.js → Close-80cf7f50.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-34e3fa1c.js → HEAD CIRCUM_BOYS.percentile.monthly-9bf41293.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-d3f3568f.js → HEAD CIRCUM_BOYS.percentile.weekly-ca467513.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-dfae3ad2.js → HEAD CIRCUM_BOYS.percentile.yearly-e4d4e872.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-95840c2f.js → HEAD CIRCUM_BOYS.zscore.monthly-0ededd66.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-8b198c1c.js → HEAD CIRCUM_BOYS.zscore.weekly-c1535f8c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-b7d639ad.js → HEAD CIRCUM_BOYS.zscore.yearly-5e3aa734.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-47caa070.js → HEAD CIRCUM_GIRLS.percentile.monthly-42c62bef.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-bae46665.js → HEAD CIRCUM_GIRLS.percentile.weekly-6c77535b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-81989cdd.js → HEAD CIRCUM_GIRLS.percentile.yearly-80a34830.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-f2f7d985.js → HEAD CIRCUM_GIRLS.zscore.monthly-f2e8d1fd.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-e287ddb7.js → HEAD CIRCUM_GIRLS.zscore.weekly-4f43a2f9.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-8790b62a.js → HEAD CIRCUM_GIRLS.zscore.yearly-4b1cad4f.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-5d2b6466.js → HEIGHT_BOYS.percentile.monthly-ce0656e6.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-a38ad13e.js → HEIGHT_BOYS.percentile.weekly-87e1937f.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-e4841712.js → HEIGHT_BOYS.percentile.yearly-cb63aa0d.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-d8e722f8.js → HEIGHT_BOYS.zscore.monthly-4b8fad7d.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-a92ea3ca.js → HEIGHT_BOYS.zscore.weekly-833bc599.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-3af1adce.js → HEIGHT_BOYS.zscore.yearly-0b9b3217.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-c5203801.js → HEIGHT_GIRLS.percentile.monthly-c0444ca0.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-4c25d07f.js → HEIGHT_GIRLS.percentile.weekly-0b46d795.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-f91e2e27.js → HEIGHT_GIRLS.percentile.yearly-7cecbdb5.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-b2a60aca.js → HEIGHT_GIRLS.zscore.monthly-9e1aa7b8.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-0a98c520.js → HEIGHT_GIRLS.zscore.weekly-5120bb53.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-8070d58f.js → HEIGHT_GIRLS.zscore.yearly-ae917e06.js} +0 -0
- /package/build/esm/{Visible-e3e4fb6f.js → Visible-14a649ea.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-b262b97d.js → WEIGHT_BOYS.percentile.monthly-9cf37850.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-7e817f9f.js → WEIGHT_BOYS.percentile.weekly-d0ad8b3d.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-b7f1786a.js → WEIGHT_BOYS.percentile.yearly-f16cc022.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-014af835.js → WEIGHT_BOYS.zscore.monthly-8ec95d81.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-4577f724.js → WEIGHT_BOYS.zscore.weekly-2f2d400c.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-08fd3f13.js → WEIGHT_BOYS.zscore.yearly-11a2d414.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-a6e1aa0d.js → WEIGHT_GIRLS.percentile.monthly-2bd9a1ad.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-4c0b6f94.js → WEIGHT_GIRLS.percentile.weekly-3b4e05fe.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-bf689a3a.js → WEIGHT_GIRLS.percentile.yearly-4b66fe9f.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-f82fc3c8.js → WEIGHT_GIRLS.zscore.monthly-e8f771f4.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-854ce987.js → WEIGHT_GIRLS.zscore.weekly-6e9fc8ba.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-2a3b869a.js → WEIGHT_GIRLS.zscore.yearly-cc5dc258.js} +0 -0
- /package/build/esm/{animation-85d9a0ed.js → animation-9382bfae.js} +0 -0
- /package/build/esm/{cart-1ac23ce7.js → cart-aa8756c6.js} +0 -0
- /package/build/esm/{constants-a5827634.js → constants-1dda168b.js} +0 -0
- /package/build/esm/{constants-f6b2e49d.js → constants-1efbbe50.js} +0 -0
- /package/build/esm/{doctor-e0c2476d.js → doctor-10572f59.js} +0 -0
- /package/build/esm/{index-8684181f.js → index-48eb9b2f.js} +0 -0
- /package/build/esm/{index-21bca818.js → index-6022a6ab.js} +0 -0
- /package/build/esm/{index-ad1c7c38.js → index-88732e57.js} +0 -0
- /package/build/esm/{index-266a32ff.js → index-9d3d97b0.js} +0 -0
- /package/build/esm/{localizeNumberFormat-1f000110.js → localizeNumberFormat-48342557.js} +0 -0
- /package/build/esm/{normalizeLink-7a93ebb9.js → normalizeLink-3bdaa9c9.js} +0 -0
- /package/build/esm/{number-1d1ba14a.js → number-14e36fe8.js} +0 -0
- /package/build/esm/{paths-b83be1a0.js → paths-e2dcafe3.js} +0 -0
- /package/build/esm/{translationsContext-42a1fa63.js → translationsContext-7876e8f8.js} +0 -0
- /package/build/esm/{tslib.es6-06ba3978.js → tslib.es6-9430520e.js} +0 -0
- /package/build/esm/{types-721e7a66.js → types-fde0b904.js} +0 -0
- /package/build/esm/{useIsInit-f4dec279.js → useIsInit-2f5401d6.js} +0 -0
- /package/build/esm/{useOutsideClick-210c1134.js → useOutsideClick-9111d12b.js} +0 -0
- /package/build/esm/{useScrollbarSize-909ae7ec.js → useScrollbarSize-7525fa88.js} +0 -0
- /package/build/esm/{useUniqueId-5885911d.js → useUniqueId-8320b4d7.js} +0 -0
- /package/build/{index-82c85f9d.js → index-3bac4c49.js} +0 -0
- /package/build/{index-bc9e8eae.js → index-9176f616.js} +0 -0
- /package/build/{index-6fdcd09d.js → index-c61d67cf.js} +0 -0
- /package/build/{index-2de1eb4a.js → index-ce737a83.js} +0 -0
- /package/build/{localizeNumberFormat-7ff6bd3a.js → localizeNumberFormat-4948bf30.js} +0 -0
- /package/build/{normalizeLink-d307f624.js → normalizeLink-bc411d55.js} +0 -0
- /package/build/{number-dddf656c.js → number-dee2b42a.js} +0 -0
- /package/build/{paths-7da79c64.js → paths-353c484a.js} +0 -0
- /package/build/{translationsContext-00fdb62e.js → translationsContext-22b4034f.js} +0 -0
- /package/build/{tslib.es6-bd3f8718.js → tslib.es6-a7663f7d.js} +0 -0
- /package/build/{types-b25ffde0.js → types-435407da.js} +0 -0
- /package/build/{useIsInit-e06b96f5.js → useIsInit-f72899d0.js} +0 -0
- /package/build/{useOutsideClick-d95a32b6.js → useOutsideClick-34fa23d9.js} +0 -0
- /package/build/{useScrollbarSize-1499b1c3.js → useScrollbarSize-f077e15f.js} +0 -0
- /package/build/{useUniqueId-1af8848e.js → useUniqueId-b5967fd3.js} +0 -0
|
@@ -1,47 +1,46 @@
|
|
|
1
|
-
import React__default, { memo, useMemo, useState, useCallback, useEffect, useImperativeHandle, useRef,
|
|
1
|
+
import React__default, { memo, useMemo, useState, useCallback, useEffect, useImperativeHandle, useRef, Fragment, forwardRef } from 'react';
|
|
2
2
|
import { Bookmark } from '@hhgtech/icons/other';
|
|
3
|
-
import { C as CommonGAssets } from './index-
|
|
4
|
-
import { T as Text } from './index-
|
|
5
|
-
import { H as Heading } from './index-
|
|
6
|
-
import {
|
|
7
|
-
import { _ as __rest, a as __awaiter } from './tslib.es6-
|
|
8
|
-
import { Card, Group, Box, Flex, createStyles, Stack, getStylesRef
|
|
3
|
+
import { C as CommonGAssets } from './index-562833a7.js';
|
|
4
|
+
import { T as Text } from './index-88ff7c55.js';
|
|
5
|
+
import { H as Heading } from './index-6d782bf2.js';
|
|
6
|
+
import { theme } from './miscTheme.js';
|
|
7
|
+
import { _ as __rest, a as __awaiter } from './tslib.es6-9430520e.js';
|
|
8
|
+
import { Card, Group, Box, Flex, createStyles, Stack, getStylesRef } from '@mantine/core';
|
|
9
9
|
import innertext from 'innertext';
|
|
10
|
-
import { u as useScreenSize, A as Anchor, a as Avatar, b as AspectRatio, R as Radio
|
|
10
|
+
import { u as useScreenSize, A as Anchor, a as Avatar, b as AspectRatio, R as Radio } from './index-83cc8492.js';
|
|
11
11
|
import '@mantine/dates';
|
|
12
|
-
import {
|
|
13
|
-
import
|
|
14
|
-
import './useMantineLocale-
|
|
15
|
-
import './index-
|
|
16
|
-
import './translationsContext-
|
|
12
|
+
import { L as LOCALE_SPECS, F as FAVICONS } from './index-3dcece1c.js';
|
|
13
|
+
import './index-99a12287.js';
|
|
14
|
+
import './useMantineLocale-845c1956.js';
|
|
15
|
+
import './index-c7b7301d.js';
|
|
16
|
+
import './translationsContext-7876e8f8.js';
|
|
17
17
|
import 'string-format';
|
|
18
18
|
import '@mantine/hooks';
|
|
19
|
-
import { M as MediaQueries } from './utils-
|
|
20
|
-
import
|
|
19
|
+
import { M as MediaQueries } from './utils-94f8d19f.js';
|
|
20
|
+
import './other-af591390.js';
|
|
21
|
+
import { i as isInternalLink } from './index-ac4b3bc6.js';
|
|
21
22
|
import styled from '@emotion/styled';
|
|
22
|
-
import { C as Checkbox, P as PureInput } from './index-
|
|
23
|
+
import { C as Checkbox, P as PureInput } from './index-8c14a956.js';
|
|
23
24
|
import throttle from 'lodash/throttle';
|
|
24
|
-
import { L as Logo } from './index-
|
|
25
|
+
import { L as Logo } from './index-0d547073.js';
|
|
25
26
|
import { keyframes } from '@emotion/react';
|
|
26
27
|
import parse from 'html-react-parser';
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import { D as DueDateForm, B as BmiForm, a as BabyPoopForm, T as ThrForm, O as OvulationForm, b as BabyVaccineForm, P as PWGForm } from './index-ac2a8f95.js';
|
|
30
|
-
import { B as BabyGrowthForm } from './index-d6a5f5cf.js';
|
|
31
|
-
import { f as formatUserProfileUrl } from './dataTransform-623716c3.js';
|
|
32
|
-
import { s as setDefaultClass } from './defaultClassWrapper-00903c00.js';
|
|
28
|
+
import { domainLocales } from './constantsDomainLocales.js';
|
|
29
|
+
import { isProduction } from './constantsIsProduction.js';
|
|
33
30
|
import { isBefore, startOfMonth, addMonths, format, subMonths, getDaysInMonth, isToday, isSameDay, isWithinInterval, isAfter, isPast } from 'date-fns';
|
|
34
|
-
import { a as useOutsideClick } from './useOutsideClick-
|
|
31
|
+
import { a as useOutsideClick } from './useOutsideClick-9111d12b.js';
|
|
35
32
|
import enUS from 'date-fns/locale/en-US';
|
|
36
33
|
import id from 'date-fns/locale/id';
|
|
37
34
|
import vi from 'date-fns/locale/vi';
|
|
38
35
|
import zhTW from 'date-fns/locale/zh-TW';
|
|
39
|
-
import { B as Button } from './index-
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
36
|
+
import { B as Button } from './index-f34b4053.js';
|
|
37
|
+
import { u as useTranslations } from './useTranslations-32ff6c72.js';
|
|
38
|
+
import { D as Dropdown } from './index-ca9538ec.js';
|
|
39
|
+
import { getSocialList } from './miscGetSocialList.js';
|
|
40
|
+
import { I as Input } from './index-b50d36ad.js';
|
|
41
|
+
import { D as Drawer } from './index-c526c065.js';
|
|
44
42
|
import { v4 } from 'uuid';
|
|
43
|
+
import { L as LOCALE } from './Locale-50ec684c.js';
|
|
45
44
|
|
|
46
45
|
var styles$1 = {"expertName":"PiqKaXk","anchor":"HgbW6-m","card":"_6lkfLYy","author":"j7c-onH","pointer":"wwI1--d"};
|
|
47
46
|
|
|
@@ -171,7 +170,7 @@ const _Horizontal = (_a) => {
|
|
|
171
170
|
|
|
172
171
|
// MyComponent.styles.ts
|
|
173
172
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
174
|
-
var useStyles$
|
|
173
|
+
var useStyles$1 = createStyles((_theme, {}) => ({
|
|
175
174
|
// add all styles as usual
|
|
176
175
|
root: {},
|
|
177
176
|
image: {},
|
|
@@ -191,7 +190,7 @@ const _Vertical = (_a) => {
|
|
|
191
190
|
// size = 'lg',
|
|
192
191
|
classNames, styles, unstyled, className } = _a, rest = __rest(_a, ["article", "author", "authorAvatar", "badge", "bannerImageWrapProps", "hideDescription", "isBookmarked", "onBookmark", "time", "tracking", "classNames", "styles", "unstyled", "className"]);
|
|
193
192
|
const { isMobile } = useScreenSize();
|
|
194
|
-
const { classes, cx } = useStyles$
|
|
193
|
+
const { classes, cx } = useStyles$1(
|
|
195
194
|
// First argument of useStyles is styles params
|
|
196
195
|
{},
|
|
197
196
|
// Second argument is responsible for styles api integration
|
|
@@ -1397,7 +1396,7 @@ const StyledTableBody = styled.tbody `
|
|
|
1397
1396
|
}
|
|
1398
1397
|
}
|
|
1399
1398
|
`;
|
|
1400
|
-
const Body
|
|
1399
|
+
const Body = ({ children, className, style, isHoverable, isStriped, }) => {
|
|
1401
1400
|
return (React__default.createElement(StyledTableBody, { className: className, style: style, "data-is-striped": isStriped || undefined, "data-is-hoverable": isHoverable || undefined }, children));
|
|
1402
1401
|
};
|
|
1403
1402
|
|
|
@@ -1407,10 +1406,10 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
1407
1406
|
Cell: Cell,
|
|
1408
1407
|
Head: Head,
|
|
1409
1408
|
Row: Row,
|
|
1410
|
-
Body: Body
|
|
1409
|
+
Body: Body
|
|
1411
1410
|
});
|
|
1412
1411
|
|
|
1413
|
-
var useStyles
|
|
1412
|
+
var useStyles = createStyles((theme) => {
|
|
1414
1413
|
const itemLabelRef = getStylesRef('itemLabel');
|
|
1415
1414
|
return {
|
|
1416
1415
|
root: {
|
|
@@ -1459,7 +1458,7 @@ var useStyles$3 = createStyles((theme) => {
|
|
|
1459
1458
|
* @deprecated Consider to use mantine
|
|
1460
1459
|
*/
|
|
1461
1460
|
const Tabs = ({ style, initialTab, tabContent, onChange, className, dataEventCategory, dataEventAction, dataEventLabel, id, styles, }) => {
|
|
1462
|
-
const { classes, cx, theme } = useStyles
|
|
1461
|
+
const { classes, cx, theme } = useStyles(undefined, { name: 'Tabs', styles });
|
|
1463
1462
|
const [activeTab, setActiveTab] = useState(initialTab || 0);
|
|
1464
1463
|
useEffect(() => {
|
|
1465
1464
|
setActiveTab(initialTab);
|
|
@@ -2248,380 +2247,6 @@ const SeoHead = ({ SEOData = {}, locale = 'vi-VN', routerPathname: pathname, rou
|
|
|
2248
2247
|
} })) : null));
|
|
2249
2248
|
};
|
|
2250
2249
|
|
|
2251
|
-
const StyledIconContainerClass = 'hhgcomp-toolbanner-iconcontainer';
|
|
2252
|
-
const StyledInnerClass = 'hhgcomp-toolbanner-inner';
|
|
2253
|
-
const StyledWrapper$1 = setDefaultClass(styled.div `
|
|
2254
|
-
position: relative;
|
|
2255
|
-
width: 100%;
|
|
2256
|
-
height: 100%;
|
|
2257
|
-
`, 'hhgcomp-toolbanner-wrapper');
|
|
2258
|
-
const StyledContainer = styled.div `
|
|
2259
|
-
width: 100%;
|
|
2260
|
-
a {
|
|
2261
|
-
text-decoration: none;
|
|
2262
|
-
color: inherit;
|
|
2263
|
-
}
|
|
2264
|
-
|
|
2265
|
-
background-color: ${(props) => props['data-banner-color'] || themeColors.blue[1]};
|
|
2266
|
-
|
|
2267
|
-
&[data-site='marryBaby'] {
|
|
2268
|
-
a {
|
|
2269
|
-
text-decoration: underline;
|
|
2270
|
-
}
|
|
2271
|
-
${MediaQueries.mbDown} {
|
|
2272
|
-
padding-bottom: 0;
|
|
2273
|
-
}
|
|
2274
|
-
}
|
|
2275
|
-
|
|
2276
|
-
${MediaQueries.tdDown} {
|
|
2277
|
-
height: auto;
|
|
2278
|
-
${StyledWrapper$1.classSelector} {
|
|
2279
|
-
.${StyledInnerClass} {
|
|
2280
|
-
display: flex;
|
|
2281
|
-
align-items: center;
|
|
2282
|
-
${MediaQueries.mbDown} {
|
|
2283
|
-
justify-content: space-between;
|
|
2284
|
-
}
|
|
2285
|
-
.${StyledIconContainerClass} {
|
|
2286
|
-
position: relative;
|
|
2287
|
-
right: -50px;
|
|
2288
|
-
bottom: -20px;
|
|
2289
|
-
width: 110px;
|
|
2290
|
-
min-width: 0;
|
|
2291
|
-
height: auto;
|
|
2292
|
-
min-height: 0;
|
|
2293
|
-
align-self: flex-end;
|
|
2294
|
-
margin-bottom: -20px;
|
|
2295
|
-
${MediaQueries.mbDown} {
|
|
2296
|
-
right: unset;
|
|
2297
|
-
}
|
|
2298
|
-
}
|
|
2299
|
-
}
|
|
2300
|
-
}
|
|
2301
|
-
}
|
|
2302
|
-
`;
|
|
2303
|
-
|
|
2304
|
-
const ToolsBannerCard = ({ className, heading, bannerColor, medicalReview = {
|
|
2305
|
-
link: '#',
|
|
2306
|
-
reviewer: '',
|
|
2307
|
-
date: '',
|
|
2308
|
-
}, icon, style, isPregTool, }) => {
|
|
2309
|
-
const { t } = useTranslations();
|
|
2310
|
-
const theme = useMantineTheme();
|
|
2311
|
-
const isMarryBaby = theme.other.template === 'mb';
|
|
2312
|
-
const siteType = isMarryBaby ? 'marryBaby' : 'helloSites';
|
|
2313
|
-
const headingAs = 'h2';
|
|
2314
|
-
const medicalReviewEle = (medicalReview === null || medicalReview === void 0 ? void 0 : medicalReview.reviewer) ? (React__default.createElement(Text, { size: "label2", as: "div", className: "embedded-review", sx: {
|
|
2315
|
-
a: {
|
|
2316
|
-
textUnderlineOffset: '2px',
|
|
2317
|
-
textDecoration: 'underline',
|
|
2318
|
-
},
|
|
2319
|
-
} },
|
|
2320
|
-
React__default.createElement("div", { dangerouslySetInnerHTML: {
|
|
2321
|
-
__html: t('toolPage.toolReviewer', {
|
|
2322
|
-
expert_name: `<a href="${medicalReview.link}">${medicalReview.reviewer.trim()}</a>`,
|
|
2323
|
-
date: medicalReview.date,
|
|
2324
|
-
}),
|
|
2325
|
-
} }))) : null;
|
|
2326
|
-
return (React__default.createElement(StyledContainer, { className: className, style: style, "data-site": siteType, "data-banner-color": bannerColor ||
|
|
2327
|
-
(isMarryBaby
|
|
2328
|
-
? theme.colors.mb[1]
|
|
2329
|
-
: isPregTool
|
|
2330
|
-
? theme.colors.pink[1]
|
|
2331
|
-
: theme.colors.blue[1]) },
|
|
2332
|
-
React__default.createElement(StyledWrapper$1, null,
|
|
2333
|
-
React__default.createElement(Flex, { gap: rem(24), align: 'center', justify: 'space-between', sx: { padding: rem(16), gap: rem(24), '.heading': {} } },
|
|
2334
|
-
React__default.createElement(Box, null,
|
|
2335
|
-
React__default.createElement(Text, { size: isMarryBaby ? 'h4' : 'h3', as: headingAs, className: 'heading' }, heading),
|
|
2336
|
-
medicalReview && (React__default.createElement(Text, { size: "n1", as: "div" }, medicalReviewEle))),
|
|
2337
|
-
React__default.createElement(Flex, { justify: 'center', align: 'center', sx: (theme) => ({
|
|
2338
|
-
width: rem(80),
|
|
2339
|
-
height: rem(80),
|
|
2340
|
-
borderRadius: isMarryBaby ? '24px' : '50%',
|
|
2341
|
-
backgroundColor: '#fff',
|
|
2342
|
-
flexShrink: 0,
|
|
2343
|
-
img: {
|
|
2344
|
-
maxWidth: rem(48),
|
|
2345
|
-
maxHeight: rem(48),
|
|
2346
|
-
},
|
|
2347
|
-
[theme.fn.smallerThan('sm')]: {
|
|
2348
|
-
width: rem(64),
|
|
2349
|
-
height: rem(64),
|
|
2350
|
-
img: {
|
|
2351
|
-
maxWidth: rem(40),
|
|
2352
|
-
maxHeight: rem(40),
|
|
2353
|
-
},
|
|
2354
|
-
},
|
|
2355
|
-
}) }, icon)))));
|
|
2356
|
-
};
|
|
2357
|
-
|
|
2358
|
-
var useStyles$2 = createStyles(() => {
|
|
2359
|
-
return {
|
|
2360
|
-
root: {
|
|
2361
|
-
borderTopLeftRadius: 'inherit',
|
|
2362
|
-
borderTopRightRadius: 'inherit',
|
|
2363
|
-
},
|
|
2364
|
-
};
|
|
2365
|
-
});
|
|
2366
|
-
|
|
2367
|
-
const CardWrapperContext = createContext({});
|
|
2368
|
-
|
|
2369
|
-
const Banner = (_a) => {
|
|
2370
|
-
var { styles, classNames, className } = _a, rest = __rest(_a, ["styles", "classNames", "className"]);
|
|
2371
|
-
const { classes, cx } = useStyles$2(undefined, {
|
|
2372
|
-
name: 'HealthToolCardWrapper__Banner',
|
|
2373
|
-
styles,
|
|
2374
|
-
classNames,
|
|
2375
|
-
});
|
|
2376
|
-
const { isPregTool } = useContext(CardWrapperContext);
|
|
2377
|
-
return (React__default.createElement(ToolsBannerCard, Object.assign({ isPregTool: isPregTool, className: cx(className, classes.root) }, rest)));
|
|
2378
|
-
};
|
|
2379
|
-
|
|
2380
|
-
var useStyles$1 = createStyles(() => {
|
|
2381
|
-
return {
|
|
2382
|
-
root: {
|
|
2383
|
-
padding: rem(16),
|
|
2384
|
-
},
|
|
2385
|
-
};
|
|
2386
|
-
});
|
|
2387
|
-
|
|
2388
|
-
const Body = (_a) => {
|
|
2389
|
-
var { children, styles, classNames, className } = _a, rest = __rest(_a, ["children", "styles", "classNames", "className"]);
|
|
2390
|
-
const { classes, cx } = useStyles$1(undefined, {
|
|
2391
|
-
name: 'HealthToolCardWrapper',
|
|
2392
|
-
styles,
|
|
2393
|
-
classNames,
|
|
2394
|
-
});
|
|
2395
|
-
return (React__default.createElement(Box, Object.assign({ className: cx(className, classes.root) }, rest), children));
|
|
2396
|
-
};
|
|
2397
|
-
|
|
2398
|
-
var useStyles = createStyles((theme, { isPregTool }) => {
|
|
2399
|
-
const isMarryBaby = theme.other.template === 'mb';
|
|
2400
|
-
return {
|
|
2401
|
-
root: {
|
|
2402
|
-
display: 'flex',
|
|
2403
|
-
flexDirection: 'column',
|
|
2404
|
-
borderRadius: rem(isMarryBaby ? 16 : 8),
|
|
2405
|
-
backgroundColor: '#fff',
|
|
2406
|
-
border: `1px solid ${isMarryBaby
|
|
2407
|
-
? theme.colors.mb[2]
|
|
2408
|
-
: isPregTool
|
|
2409
|
-
? theme.colors.pink[1]
|
|
2410
|
-
: theme.colors.blue[2]}`,
|
|
2411
|
-
},
|
|
2412
|
-
row: {
|
|
2413
|
-
display: 'flex',
|
|
2414
|
-
alignItems: 'stretch',
|
|
2415
|
-
justifyContent: 'space-between',
|
|
2416
|
-
gap: rem(16),
|
|
2417
|
-
},
|
|
2418
|
-
labelWrapper: {
|
|
2419
|
-
flex: '1 1 0px',
|
|
2420
|
-
display: 'flex',
|
|
2421
|
-
alignItems: 'center',
|
|
2422
|
-
borderBottom: `1px solid ${theme.colors.neutral[1]}`,
|
|
2423
|
-
},
|
|
2424
|
-
label: {
|
|
2425
|
-
fontSize: rem(14),
|
|
2426
|
-
color: theme.colors.gray[6],
|
|
2427
|
-
},
|
|
2428
|
-
control: {
|
|
2429
|
-
width: rem(180),
|
|
2430
|
-
flexShrink: 1,
|
|
2431
|
-
'&.error': {
|
|
2432
|
-
'button, input': {
|
|
2433
|
-
borderColor: theme.colors.red[7],
|
|
2434
|
-
},
|
|
2435
|
-
},
|
|
2436
|
-
},
|
|
2437
|
-
radioLabel: {
|
|
2438
|
-
fontSize: rem(16),
|
|
2439
|
-
},
|
|
2440
|
-
radioRoot: {
|
|
2441
|
-
padding: `${rem(10)} 0`,
|
|
2442
|
-
margin: 0,
|
|
2443
|
-
},
|
|
2444
|
-
bmiVal: {
|
|
2445
|
-
display: 'inline-block',
|
|
2446
|
-
},
|
|
2447
|
-
inputWithUnit__wrapper: {
|
|
2448
|
-
position: 'relative',
|
|
2449
|
-
},
|
|
2450
|
-
inputWithUnit__unit: {
|
|
2451
|
-
position: 'absolute',
|
|
2452
|
-
top: 0,
|
|
2453
|
-
right: 0,
|
|
2454
|
-
bottom: 0,
|
|
2455
|
-
paddingRight: rem(10),
|
|
2456
|
-
display: 'flex',
|
|
2457
|
-
alignItems: 'center',
|
|
2458
|
-
},
|
|
2459
|
-
inputWithUnit__unitText: {
|
|
2460
|
-
color: theme.colors.gray[6],
|
|
2461
|
-
},
|
|
2462
|
-
inputWithUnit__input: {
|
|
2463
|
-
input: {
|
|
2464
|
-
paddingRight: rem(30),
|
|
2465
|
-
'::-webkit-inner-spin-button': { '-webkit-appearance': 'none' },
|
|
2466
|
-
},
|
|
2467
|
-
},
|
|
2468
|
-
submitBtn: {},
|
|
2469
|
-
switchRoot: {
|
|
2470
|
-
padding: '16px 0',
|
|
2471
|
-
},
|
|
2472
|
-
};
|
|
2473
|
-
});
|
|
2474
|
-
|
|
2475
|
-
const _HealthToolCardWrapper = (_a) => {
|
|
2476
|
-
var { children, styles, classNames, className, isPregTool } = _a, rest = __rest(_a, ["children", "styles", "classNames", "className", "isPregTool"]);
|
|
2477
|
-
const { classes, cx } = useStyles({ isPregTool }, {
|
|
2478
|
-
name: 'HealthToolCardWrapper',
|
|
2479
|
-
styles,
|
|
2480
|
-
classNames,
|
|
2481
|
-
});
|
|
2482
|
-
return (React__default.createElement(CardWrapperContext.Provider, { value: {
|
|
2483
|
-
isPregTool,
|
|
2484
|
-
} },
|
|
2485
|
-
React__default.createElement(Box, Object.assign({ className: cx(className, classes.root) }, rest), children)));
|
|
2486
|
-
};
|
|
2487
|
-
const HealthToolCardWrapper = _HealthToolCardWrapper;
|
|
2488
|
-
HealthToolCardWrapper.Body = Body;
|
|
2489
|
-
HealthToolCardWrapper.Banner = Banner;
|
|
2490
|
-
|
|
2491
|
-
const DueDateCardEmbed = (_a) => {
|
|
2492
|
-
var _b;
|
|
2493
|
-
var { dueDatePageInfo, expertUrl, formProps } = _a, props = __rest(_a, ["dueDatePageInfo", "expertUrl", "formProps"]);
|
|
2494
|
-
const { t } = useTranslations();
|
|
2495
|
-
return (React__default.createElement(HealthToolCardWrapper, Object.assign({ isPregTool: true }, props),
|
|
2496
|
-
React__default.createElement(HealthToolCardWrapper.Banner, { color: "pink", icon: React__default.createElement("img", { alt: "health-tool-icon", src: (dueDatePageInfo === null || dueDatePageInfo === void 0 ? void 0 : dueDatePageInfo.featured_image) ||
|
|
2497
|
-
CommonGAssets.getAssetPath('health-tools/due-date-icon.svg'), loading: "lazy" }), heading: t('healthTools.dueDateCalculator'), medicalReview: {
|
|
2498
|
-
link: expertUrl,
|
|
2499
|
-
reviewer: (_b = dueDatePageInfo === null || dueDatePageInfo === void 0 ? void 0 : dueDatePageInfo.reviewed_by) === null || _b === void 0 ? void 0 : _b.display_name,
|
|
2500
|
-
date: dueDatePageInfo === null || dueDatePageInfo === void 0 ? void 0 : dueDatePageInfo.reviewed_date,
|
|
2501
|
-
} }),
|
|
2502
|
-
React__default.createElement(HealthToolCardWrapper.Body, null,
|
|
2503
|
-
React__default.createElement(DueDateForm, Object.assign({}, formProps)))));
|
|
2504
|
-
};
|
|
2505
|
-
|
|
2506
|
-
const BMICardEmbed = (_a) => {
|
|
2507
|
-
var _b, _c, _d;
|
|
2508
|
-
var { bmiContent, bmiGenerated, bmiUnit, formProps } = _a, props = __rest(_a, ["bmiContent", "bmiGenerated", "bmiUnit", "formProps"]);
|
|
2509
|
-
const { t } = useTranslations();
|
|
2510
|
-
return (React__default.createElement(HealthToolCardWrapper, Object.assign({}, props),
|
|
2511
|
-
React__default.createElement(HealthToolCardWrapper.Banner, { icon: React__default.createElement("img", { alt: "health-tool-icon", src: (bmiContent === null || bmiContent === void 0 ? void 0 : bmiContent.featured_image) ||
|
|
2512
|
-
CommonGAssets.getAssetPath('health-tools/bmi.svg'), loading: "lazy" }), heading: t('bmi.heading'), medicalReview: {
|
|
2513
|
-
link: (_b = bmiContent === null || bmiContent === void 0 ? void 0 : bmiContent.reviewBy) === null || _b === void 0 ? void 0 : _b.link,
|
|
2514
|
-
reviewer: (_c = bmiContent === null || bmiContent === void 0 ? void 0 : bmiContent.reviewBy) === null || _c === void 0 ? void 0 : _c.reviewer,
|
|
2515
|
-
date: (_d = bmiContent === null || bmiContent === void 0 ? void 0 : bmiContent.reviewBy) === null || _d === void 0 ? void 0 : _d.date,
|
|
2516
|
-
} }),
|
|
2517
|
-
React__default.createElement(HealthToolCardWrapper.Body, null,
|
|
2518
|
-
React__default.createElement(BmiForm, Object.assign({ bmiGenerated: bmiGenerated, bmiUnit: bmiUnit }, formProps)))));
|
|
2519
|
-
};
|
|
2520
|
-
|
|
2521
|
-
const BabyGrowthCardEmbed = (_a) => {
|
|
2522
|
-
var _b, _c, _d;
|
|
2523
|
-
var { babyGrowthContent, formProps } = _a, props = __rest(_a, ["babyGrowthContent", "formProps"]);
|
|
2524
|
-
return (React__default.createElement(HealthToolCardWrapper, Object.assign({}, props),
|
|
2525
|
-
React__default.createElement(HealthToolCardWrapper.Banner, { icon: React__default.createElement("img", { className: "embedded-icon", alt: "health-tool-icon", src: (babyGrowthContent === null || babyGrowthContent === void 0 ? void 0 : babyGrowthContent.featuredImage) ||
|
|
2526
|
-
CommonGAssets.getAssetPath('health-tools/toolsIconBabyGrowth.svg'), loading: "lazy" }), heading: (babyGrowthContent === null || babyGrowthContent === void 0 ? void 0 : babyGrowthContent.title) || '', medicalReview: {
|
|
2527
|
-
link: (_b = babyGrowthContent === null || babyGrowthContent === void 0 ? void 0 : babyGrowthContent.reviewBy) === null || _b === void 0 ? void 0 : _b.link,
|
|
2528
|
-
reviewer: (_c = babyGrowthContent === null || babyGrowthContent === void 0 ? void 0 : babyGrowthContent.reviewBy) === null || _c === void 0 ? void 0 : _c.reviewer.trim(),
|
|
2529
|
-
date: (_d = babyGrowthContent === null || babyGrowthContent === void 0 ? void 0 : babyGrowthContent.reviewBy) === null || _d === void 0 ? void 0 : _d.date,
|
|
2530
|
-
} }),
|
|
2531
|
-
React__default.createElement(HealthToolCardWrapper.Body, null,
|
|
2532
|
-
React__default.createElement(BabyGrowthForm, Object.assign({}, formProps)))));
|
|
2533
|
-
};
|
|
2534
|
-
|
|
2535
|
-
const BabyPoopEmbed = (_a) => {
|
|
2536
|
-
var { babyPoopPage, formProps } = _a, props = __rest(_a, ["babyPoopPage", "formProps"]);
|
|
2537
|
-
const { reviewedBy, reviewedDate } = babyPoopPage || {};
|
|
2538
|
-
return (React__default.createElement(HealthToolCardWrapper, Object.assign({}, props),
|
|
2539
|
-
React__default.createElement(HealthToolCardWrapper.Banner, { icon: React__default.createElement("img", { alt: "health-tool-icon", src: babyPoopPage === null || babyPoopPage === void 0 ? void 0 : babyPoopPage.featuredImage, loading: "lazy" }), heading: babyPoopPage.title, medicalReview: {
|
|
2540
|
-
link: reviewedBy === null || reviewedBy === void 0 ? void 0 : reviewedBy.profileUrl,
|
|
2541
|
-
reviewer: reviewedBy === null || reviewedBy === void 0 ? void 0 : reviewedBy.displayName,
|
|
2542
|
-
date: reviewedDate,
|
|
2543
|
-
} }),
|
|
2544
|
-
React__default.createElement(HealthToolCardWrapper.Body, null,
|
|
2545
|
-
React__default.createElement(BabyPoopForm, Object.assign({ babyPoopPage: babyPoopPage }, formProps)))));
|
|
2546
|
-
};
|
|
2547
|
-
|
|
2548
|
-
const THRCardEmbed = (_a) => {
|
|
2549
|
-
var _b, _c;
|
|
2550
|
-
var { thrContent, formProps } = _a, props = __rest(_a, ["thrContent", "formProps"]);
|
|
2551
|
-
const { t } = useTranslations();
|
|
2552
|
-
return (React__default.createElement(HealthToolCardWrapper, Object.assign({}, props),
|
|
2553
|
-
React__default.createElement(HealthToolCardWrapper.Banner, { icon: React__default.createElement("img", { alt: "health-tool-icon", src: (thrContent === null || thrContent === void 0 ? void 0 : thrContent.featured_image) ||
|
|
2554
|
-
CommonGAssets.getAssetPath('health-tools/target-heart-rate-icon.svg'), loading: "lazy" }), heading: t('targetHearRate.heading'), medicalReview: ((_b = thrContent === null || thrContent === void 0 ? void 0 : thrContent.reviewedBy) === null || _b === void 0 ? void 0 : _b.display_name)
|
|
2555
|
-
? {
|
|
2556
|
-
link: formatUserProfileUrl(thrContent === null || thrContent === void 0 ? void 0 : thrContent.reviewedBy),
|
|
2557
|
-
reviewer: (_c = thrContent === null || thrContent === void 0 ? void 0 : thrContent.reviewedBy) === null || _c === void 0 ? void 0 : _c.display_name,
|
|
2558
|
-
date: thrContent === null || thrContent === void 0 ? void 0 : thrContent.reviewedDate,
|
|
2559
|
-
}
|
|
2560
|
-
: undefined }),
|
|
2561
|
-
React__default.createElement(HealthToolCardWrapper.Body, null,
|
|
2562
|
-
React__default.createElement(ThrForm, Object.assign({}, formProps)))));
|
|
2563
|
-
};
|
|
2564
|
-
|
|
2565
|
-
const BMRCardEmbed = (_a) => {
|
|
2566
|
-
var _b, _c, _d;
|
|
2567
|
-
var { bmrContent, bmiGenerated, bmiUnit, formProps } = _a, props = __rest(_a, ["bmrContent", "bmiGenerated", "bmiUnit", "formProps"]);
|
|
2568
|
-
const { t } = useTranslations();
|
|
2569
|
-
return (React__default.createElement(HealthToolCardWrapper, Object.assign({}, props),
|
|
2570
|
-
React__default.createElement(HealthToolCardWrapper.Banner, { icon: React__default.createElement("img", { alt: "health-tool-icon", src: (bmrContent === null || bmrContent === void 0 ? void 0 : bmrContent.featured_image) ||
|
|
2571
|
-
CommonGAssets.getAssetPath('health-tools/bmr.svg'), loading: "lazy" }), heading: t('bmr.heading'), medicalReview: {
|
|
2572
|
-
link: (_b = bmrContent === null || bmrContent === void 0 ? void 0 : bmrContent.reviewBy) === null || _b === void 0 ? void 0 : _b.link,
|
|
2573
|
-
reviewer: (_c = bmrContent === null || bmrContent === void 0 ? void 0 : bmrContent.reviewBy) === null || _c === void 0 ? void 0 : _c.reviewer,
|
|
2574
|
-
date: (_d = bmrContent === null || bmrContent === void 0 ? void 0 : bmrContent.reviewBy) === null || _d === void 0 ? void 0 : _d.date,
|
|
2575
|
-
} }),
|
|
2576
|
-
React__default.createElement(HealthToolCardWrapper.Body, null,
|
|
2577
|
-
React__default.createElement(BmiForm, Object.assign({ bmiGenerated: bmiGenerated, bmiUnit: bmiUnit }, formProps, { submitProps: Object.assign(Object.assign({}, formProps === null || formProps === void 0 ? void 0 : formProps.submitProps), { dataEventAction: 'BMR' }) })))));
|
|
2578
|
-
};
|
|
2579
|
-
|
|
2580
|
-
const OvulationCardEmbed = (_a) => {
|
|
2581
|
-
var _b;
|
|
2582
|
-
var { ovulationPageInfo, expertUrl, formProps, isMobile } = _a, props = __rest(_a, ["ovulationPageInfo", "expertUrl", "formProps", "isMobile"]);
|
|
2583
|
-
const { t } = useTranslations();
|
|
2584
|
-
return (React__default.createElement(HealthToolCardWrapper, Object.assign({ isPregTool: true }, props),
|
|
2585
|
-
React__default.createElement(HealthToolCardWrapper.Banner, { icon: React__default.createElement("img", { alt: "health-tool-icon", src: (ovulationPageInfo === null || ovulationPageInfo === void 0 ? void 0 : ovulationPageInfo.featured_image) ||
|
|
2586
|
-
CommonGAssets.getAssetPath('health-tools/ovulation-icon.svg'), loading: "lazy" }), heading: t('healthTools.ovulationCalculator'), medicalReview: {
|
|
2587
|
-
link: expertUrl,
|
|
2588
|
-
reviewer: (_b = ovulationPageInfo === null || ovulationPageInfo === void 0 ? void 0 : ovulationPageInfo.reviewed_by) === null || _b === void 0 ? void 0 : _b.display_name,
|
|
2589
|
-
date: ovulationPageInfo === null || ovulationPageInfo === void 0 ? void 0 : ovulationPageInfo.reviewed_date,
|
|
2590
|
-
} }),
|
|
2591
|
-
React__default.createElement(HealthToolCardWrapper.Body, null,
|
|
2592
|
-
React__default.createElement(OvulationForm, Object.assign({ isMobile: isMobile }, formProps)))));
|
|
2593
|
-
};
|
|
2594
|
-
|
|
2595
|
-
const BabyVaccineCardEmbed = (_a) => {
|
|
2596
|
-
var _b, _c, _d;
|
|
2597
|
-
var { babyVaccineContent, formProps } = _a, props = __rest(_a, ["babyVaccineContent", "formProps"]);
|
|
2598
|
-
const { t } = useTranslations();
|
|
2599
|
-
return (React__default.createElement(HealthToolCardWrapper, Object.assign({}, props),
|
|
2600
|
-
React__default.createElement(HealthToolCardWrapper.Banner, { icon: React__default.createElement("img", { alt: "health-tool-icon", src: (babyVaccineContent === null || babyVaccineContent === void 0 ? void 0 : babyVaccineContent.featuredImage) ||
|
|
2601
|
-
CommonGAssets.getAssetPath('health-tools/baby-vaccine-icon.svg'), loading: "lazy" }), heading: t('babyVaccineTool.heading'), medicalReview: {
|
|
2602
|
-
link: ((_b = babyVaccineContent === null || babyVaccineContent === void 0 ? void 0 : babyVaccineContent.reviewBy) === null || _b === void 0 ? void 0 : _b.link) || '',
|
|
2603
|
-
reviewer: ((_c = babyVaccineContent === null || babyVaccineContent === void 0 ? void 0 : babyVaccineContent.reviewBy) === null || _c === void 0 ? void 0 : _c.reviewer) || '',
|
|
2604
|
-
date: ((_d = babyVaccineContent === null || babyVaccineContent === void 0 ? void 0 : babyVaccineContent.reviewBy) === null || _d === void 0 ? void 0 : _d.date) || '',
|
|
2605
|
-
} }),
|
|
2606
|
-
React__default.createElement(HealthToolCardWrapper.Body, null,
|
|
2607
|
-
React__default.createElement(BabyVaccineForm, Object.assign({}, formProps)))));
|
|
2608
|
-
};
|
|
2609
|
-
|
|
2610
|
-
const PWGCardEmbed = (_a) => {
|
|
2611
|
-
var _b;
|
|
2612
|
-
var { pwgContent, formProps } = _a, props = __rest(_a, ["pwgContent", "formProps"]);
|
|
2613
|
-
const { t } = useTranslations();
|
|
2614
|
-
return (React__default.createElement(HealthToolCardWrapper, Object.assign({ isPregTool: true }, props),
|
|
2615
|
-
React__default.createElement(HealthToolCardWrapper.Banner, { icon: React__default.createElement("img", { alt: "health-tool-icon", src: (pwgContent === null || pwgContent === void 0 ? void 0 : pwgContent.featuredImage) ||
|
|
2616
|
-
CommonGAssets.getAssetPath('health-tools/pwg-icon.svg'), loading: "lazy" }), heading: t('pregnancyWeightGain.heading'), medicalReview: {
|
|
2617
|
-
link: formatUserProfileUrl(pwgContent === null || pwgContent === void 0 ? void 0 : pwgContent.reviewedBy),
|
|
2618
|
-
reviewer: (_b = pwgContent === null || pwgContent === void 0 ? void 0 : pwgContent.reviewedBy) === null || _b === void 0 ? void 0 : _b.display_name,
|
|
2619
|
-
date: pwgContent === null || pwgContent === void 0 ? void 0 : pwgContent.reviewedDate,
|
|
2620
|
-
} }),
|
|
2621
|
-
React__default.createElement(HealthToolCardWrapper.Body, null,
|
|
2622
|
-
React__default.createElement(PWGForm, Object.assign({}, formProps)))));
|
|
2623
|
-
};
|
|
2624
|
-
|
|
2625
2250
|
const StyledCalendarWrapper$1 = styled.div `
|
|
2626
2251
|
flex: 1;
|
|
2627
2252
|
`;
|
|
@@ -3471,4 +3096,4 @@ const FixedBottomAdBlock = ({ className, adUnitPath, divId, isMobile, contentId,
|
|
|
3471
3096
|
String(mountRandRef.current), pos: ['Sticky'], contentId: contentId, hideIfHasSubot: isMobile, customTargetings: customTargetings, adDefaultSize: isMobile ? [320, 50] : [728, 90], showCloseBtn: true, onCloseAd: () => setUserHideAd(true), refreshInterval: 60, locale: locale, isMarryBaby: isMarryBaby }))));
|
|
3472
3097
|
};
|
|
3473
3098
|
|
|
3474
|
-
export { ArticleCard$1 as A,
|
|
3099
|
+
export { ArticleCard$1 as A, Breadcrumbs as B, CategoryCard as C, DoctorInfo as D, FloatButtonGroup as F, IconText as I, MobileBottomNavigation as M, ProgressBar as P, RadioGroup as R, ScrollList as S, Tabs as T, ArticleCard as a, CheckboxGroup as b, StatisticCard as c, index as d, CookieAcceptConfirm as e, MobileBottomNavigationIcon as f, SeoHead as g, DateRangePicker as h, index$1 as i, ShareContainer as j, ShareDrawer as k, AdBlock as l, FixedBottomAdBlock as m };
|
package/build/esm/footer.js
CHANGED
|
@@ -1,30 +1,35 @@
|
|
|
1
|
-
export { F as Footer } from './index-
|
|
1
|
+
export { F as Footer } from './index-08e0e4a7.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
import './index-
|
|
3
|
+
import './index-9d3d97b0.js';
|
|
4
4
|
import 'dayjs';
|
|
5
|
-
import './index-
|
|
5
|
+
import './index-3dcece1c.js';
|
|
6
6
|
import 'date-fns/locale';
|
|
7
|
-
import './index-
|
|
8
|
-
import './
|
|
9
|
-
import './
|
|
10
|
-
import './
|
|
7
|
+
import './index-99a12287.js';
|
|
8
|
+
import './Locale-50ec684c.js';
|
|
9
|
+
import './constantsIsProduction.js';
|
|
10
|
+
import './constantsSite.js';
|
|
11
|
+
import './constantsDomainLocales.js';
|
|
12
|
+
import './constantsRiskScreener.js';
|
|
13
|
+
import './index-83cc8492.js';
|
|
14
|
+
import './tslib.es6-9430520e.js';
|
|
11
15
|
import '@hhgtech/icons/other';
|
|
12
16
|
import '@mantine/core';
|
|
13
17
|
import '@mantine/hooks';
|
|
14
|
-
import './index-
|
|
15
|
-
import './utils-
|
|
18
|
+
import './index-562833a7.js';
|
|
19
|
+
import './utils-94f8d19f.js';
|
|
16
20
|
import '@emotion/styled';
|
|
17
21
|
import '@mantine/carousel';
|
|
18
|
-
import './index-
|
|
19
|
-
import './
|
|
20
|
-
import './
|
|
21
|
-
import './
|
|
22
|
+
import './index-88ff7c55.js';
|
|
23
|
+
import './other-af591390.js';
|
|
24
|
+
import './miscTheme.js';
|
|
25
|
+
import './useMantineLocale-845c1956.js';
|
|
26
|
+
import './index-c7b7301d.js';
|
|
22
27
|
import 'classnames';
|
|
23
|
-
import './useUniqueId-
|
|
28
|
+
import './useUniqueId-8320b4d7.js';
|
|
24
29
|
import '@hhgtech/icons/core';
|
|
25
30
|
import '@mantine/dates';
|
|
26
|
-
import './translationsContext-
|
|
31
|
+
import './translationsContext-7876e8f8.js';
|
|
27
32
|
import 'string-format';
|
|
28
|
-
import './index-
|
|
29
|
-
import './logoIcon-
|
|
30
|
-
import './index-
|
|
33
|
+
import './index-0d547073.js';
|
|
34
|
+
import './logoIcon-608cfa3e.js';
|
|
35
|
+
import './index-455fad93.js';
|
package/build/esm/gAssets.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
export { C as CommonGAssets, G as GAssets } from './index-
|
|
2
|
-
import './
|
|
3
|
-
import '
|
|
4
|
-
import './
|
|
5
|
-
import './isProduction-1937d355.js';
|
|
1
|
+
export { C as CommonGAssets, G as GAssets } from './index-562833a7.js';
|
|
2
|
+
import './constantsDomainLocales.js';
|
|
3
|
+
import './Locale-50ec684c.js';
|
|
4
|
+
import './constantsIsProduction.js';
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import './tslib.es6-9430520e.js';
|
|
2
|
+
import 'react';
|
|
3
|
+
import '@mantine/core';
|
|
4
|
+
export { H as HealthToolCardWrapper } from './index-6b58602f.js';
|
|
5
|
+
import './index-83cc8492.js';
|
|
6
|
+
import '@hhgtech/icons/other';
|
|
7
|
+
import '@mantine/hooks';
|
|
8
|
+
import './index-562833a7.js';
|
|
9
|
+
import './constantsDomainLocales.js';
|
|
10
|
+
import './Locale-50ec684c.js';
|
|
11
|
+
import './constantsIsProduction.js';
|
|
12
|
+
import './utils-94f8d19f.js';
|
|
13
|
+
import '@emotion/styled';
|
|
14
|
+
import '@mantine/carousel';
|
|
15
|
+
import './index-88ff7c55.js';
|
|
16
|
+
import './other-af591390.js';
|
|
17
|
+
import './index-99a12287.js';
|
|
18
|
+
import './miscTheme.js';
|
|
19
|
+
import './useMantineLocale-845c1956.js';
|
|
20
|
+
import 'dayjs';
|
|
21
|
+
import './index-3dcece1c.js';
|
|
22
|
+
import 'date-fns/locale';
|
|
23
|
+
import './constantsSite.js';
|
|
24
|
+
import './constantsRiskScreener.js';
|
|
25
|
+
import './index-c7b7301d.js';
|
|
26
|
+
import 'classnames';
|
|
27
|
+
import './useUniqueId-8320b4d7.js';
|
|
28
|
+
import '@hhgtech/icons/core';
|
|
29
|
+
import '@mantine/dates';
|
|
30
|
+
import './useTranslations-32ff6c72.js';
|
|
31
|
+
import './translationsContext-7876e8f8.js';
|
|
32
|
+
import 'string-format';
|
|
33
|
+
import './miscDefaultClassWrapper.js';
|