@hhgtech/hhg-components 1.29.81 → 1.29.83
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-79a8acbe.js +29 -0
- package/build/Locale-0b86b849.js +15 -0
- package/build/{WhatsApp-82018096.js → WhatsApp-19ca0437.js} +1 -1
- package/build/adapters.js +22 -17
- package/build/atoms.js +59 -51
- package/build/babyGrowth.js +169 -162
- package/build/cache.js +3 -3
- package/build/care.js +22 -17
- package/build/components.js +146 -117
- package/build/{constants-3a475a22.js → constants-79d3ff1b.js} +4 -4
- package/build/constants-e85d7085.js +18 -0
- package/build/constants.js +17 -13
- package/build/constantsDomainLocales.js +34 -0
- package/build/{isProduction-aa963bf9.js → constantsIsProduction.js} +2 -0
- package/build/constantsRiskScreener.js +21 -0
- package/build/constantsSite.js +134 -0
- package/build/{core-9e44ee99.js → core-9f7c0442.js} +4 -4
- package/build/dataTransform-1e0514ef.js +13 -0
- package/build/{dataTransform-6b4d7a4e.js → dataTransform-265f1b67.js} +1 -106
- 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-62287ef2.js +23 -0
- package/build/esm/Locale-c6a90240.js +15 -0
- package/build/esm/{WhatsApp-7d3732e2.js → WhatsApp-2e6d1d02.js} +1 -1
- package/build/esm/adapters.js +22 -17
- package/build/esm/atoms.js +53 -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 +106 -77
- package/build/esm/constants-a5d70cf5.js +16 -0
- package/build/esm/{constants-ebf80e5f.js → constants-e930bc7b.js} +2 -2
- package/build/esm/constants.js +7 -3
- package/build/esm/constantsDomainLocales.js +29 -0
- package/build/esm/{isProduction-5684a28c.js → constantsIsProduction.js} +1 -1
- package/build/esm/constantsRiskScreener.js +17 -0
- package/build/esm/constantsSite.js +129 -0
- package/build/esm/{core-c72e0ff5.js → core-36290fcb.js} +2 -2
- package/build/esm/dataTransform-14587328.js +11 -0
- package/build/esm/{dataTransform-3e8e25ba.js → dataTransform-8852461c.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-13ed4a34.js → fixedBottomAdBlock-26b94f6b.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-cdac57da.js → index-03050142.js} +1 -1
- package/build/esm/{index-21eac858.js → index-03d7200e.js} +12 -10
- package/build/esm/index-21524e86.js +249 -0
- package/build/esm/{index-16514f4d.js → index-288b564e.js} +3 -3
- package/build/esm/index-3060c2dc.js +174 -0
- package/build/esm/index-3288f45c.js +490 -0
- package/build/esm/{index-42ad7763.js → index-343e5b65.js} +2 -2
- package/build/esm/{index-76d20d3f.js → index-345e507e.js} +3 -3
- package/build/esm/{index-e3787b20.js → index-38ced379.js} +3 -15
- package/build/esm/{index-bef3c9bd.js → index-39aa0c9f.js} +9 -168
- package/build/esm/index-39f24b49.js +1351 -0
- package/build/esm/{index-f27edf45.js → index-3e2f70fe.js} +11 -11
- package/build/esm/{index-d218b94e.js → index-3e3904ec.js} +2 -2
- package/build/esm/{index-8952ceac.js → index-40b6555d.js} +4 -4
- package/build/esm/{index-703205e3.js → index-41a809d7.js} +3 -3
- package/build/esm/index-4d06fffe.js +25 -0
- package/build/esm/{index-e104ad21.js → index-506563f6.js} +8 -8
- package/build/esm/{index-c1af3a8e.js → index-5369d2e2.js} +15 -13
- package/build/esm/index-6125d991.js +370 -0
- package/build/esm/index-64dff9b0.js +233 -0
- package/build/esm/index-6dd92895.js +791 -0
- package/build/esm/{index-e26514ee.js → index-7720a710.js} +4 -4
- package/build/esm/{index-c200bff6.js → index-7a1552e9.js} +2 -2
- package/build/esm/index-7c678785.js +259 -0
- package/build/esm/{index-780a08de.js → index-88c06a7e.js} +2 -2
- package/build/esm/{index-cb4afb33.js → index-90d58b18.js} +7 -6
- package/build/esm/{index-598ab51b.js → index-96a5f239.js} +6 -5
- package/build/esm/index-9a8df805.js +147 -0
- package/build/esm/{index-9f1899f2.js → index-9aee96f2.js} +5 -4
- package/build/esm/index-a1658f07.js +60 -0
- package/build/esm/{constants-6bdb97a8.js → index-a1d2c38b.js} +6 -21
- package/build/esm/{index-7e756cb8.js → index-a51336b9.js} +11 -11
- package/build/esm/{index-29d04985.js → index-a57a5338.js} +2 -2
- package/build/esm/{index-996f7caf.js → index-a7f10a58.js} +4 -4
- package/build/esm/index-b123bf27.js +18 -0
- package/build/esm/{index-7cbe2a10.js → index-b1e1f9b4.js} +13 -12
- package/build/esm/{index-b1bb27aa.js → index-b2ea5cc7.js} +11 -45
- package/build/esm/{index-376bee14.js → index-b5019321.js} +7 -7
- package/build/esm/{index-78255d6c.js → index-b9c4dfcb.js} +2 -2
- package/build/esm/{index-d6201fa4.js → index-bb53d99f.js} +2 -2
- package/build/esm/{index-2b9213cf.js → index-bdc3bd61.js} +1 -1
- package/build/esm/{index-88ad2ca3.js → index-c41ef517.js} +23 -19
- package/build/esm/{index-2774583d.js → index-d462b2bd.js} +35 -31
- package/build/esm/{index-cf6beac8.js → index-d5bcc5cc.js} +1 -1
- package/build/esm/{index-38f50764.js → index-d9555b0b.js} +17 -260
- package/build/esm/{index-1ecbcf21.js → index-e0f8a206.js} +6 -5
- package/build/esm/{types-2580132c.js → index-e6b9c7d8.js} +563 -3517
- package/build/esm/index-e9d85fda.js +91 -0
- package/build/esm/{index-73301602.js → index-f0184ea4.js} +2 -2
- package/build/esm/{index-69248434.js → index-f1025cea.js} +3 -3
- package/build/esm/index-f3903d13.js +101 -0
- package/build/esm/{index-1da2ca0b.js → index-f93799fc.js} +2 -2
- package/build/esm/{index-87a2ea8c.js → index-fa83ce20.js} +2 -2
- package/build/esm/index-fb8f8203.js +140 -0
- package/build/esm/index.js +119 -82
- package/build/esm/interfaces/constants/domainLocales.d.ts +25 -0
- package/build/esm/interfaces/constants/index.d.ts +1 -25
- package/build/esm/labelSorting-e7fa8826.js +47 -0
- package/build/esm/lead.js +26 -21
- package/build/esm/{logoIcon-d93bc56e.js → logoIcon-b0ce60d0.js} +2 -2
- package/build/esm/mantine.js +28 -23
- package/build/esm/misc.js +27 -21
- package/build/esm/{cookieHelper-73ce3871.js → miscCookieHelper.js} +1 -1
- package/build/esm/{defaultClassWrapper-31caf23b.js → miscDefaultClassWrapper.js} +1 -1
- package/build/esm/{getDynamicHealthTool-7681e43a.js → miscGetDynamicHealthTool.js} +13 -5
- package/build/esm/{getSocialList-e8142513.js → miscGetSocialList.js} +16 -6
- package/build/esm/{dataTransform-6c032113.js → miscScreenSizeContext.js} +2 -12
- package/build/esm/{theme-f18c2351.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-9b439f19.js +102 -0
- package/build/esm/pwg.js +25 -20
- package/build/esm/{routing-bebdc8b7.js → routing-f2e46f96.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-bf6080eb.js → surveyThankyouCard-9d482ef8.js} +6 -6
- package/build/esm/together/togetherComponentGlobalContext.d.ts +1 -2
- package/build/esm/together.js +58 -42
- package/build/esm/togetherApiPaths.js +165 -0
- package/build/esm/togetherApiUtils.js +10 -0
- package/build/esm/togetherAtoms.js +47 -0
- package/build/esm/togetherComponentGlobalContext.js +10 -0
- package/build/esm/togetherMolecules.js +60 -0
- package/build/esm/togetherOrganisms.js +64 -0
- package/build/esm/treePopoverMenu-890070aa.js +334 -0
- package/build/esm/types-7d3a4df2.js +5 -0
- package/build/esm/{types-be952df2.js → types-e21a244d.js} +14 -13
- package/build/esm/types.js +2 -1
- package/build/esm/{useCategory-8f109eb7.js → useCategory-45ce6ea8.js} +6 -5
- package/build/esm/{useHealthToolCache-d97dfa00.js → useHealthToolCache-fe7dc697.js} +2 -2
- package/build/esm/{useMantineLocale-4fb67342.js → useMantineLocale-faa72172.js} +5 -3
- package/build/esm/{usePlacesAutocomplete-fe2e4cbe.js → usePlacesAutocomplete-81624098.js} +1 -1
- package/build/esm/useTogetherAuthRequiredAction.js +58 -0
- package/build/esm/{useTranslations-fbf6a6ab.js → useTranslations-ba901edf.js} +1 -1
- package/build/{utils-524bda7c.js → esm/utils-40533779.js} +1 -114
- package/build/esm/{utils-d5a0b58f.js → utils-c730ad5d.js} +16 -163
- package/build/esm/{utils-cef111b6.js → utils-dbc80293.js} +2 -1
- package/build/esm/vaccination.js +23 -18
- package/build/{fixedBottomAdBlock-0d4379d1.js → fixedBottomAdBlock-026650fb.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-d34cd464.js → index-036fe55d.js} +4 -4
- package/build/index-03da3dbb.js +1364 -0
- package/build/{index-7da7b531.js → index-1950777d.js} +7 -7
- package/build/index-1fe1ec7e.js +180 -0
- package/build/{index-264eeddd.js → index-251187e5.js} +2 -2
- package/build/{index-dba2e361.js → index-2ce6cc83.js} +2 -2
- package/build/{index-aa818139.js → index-3129e975.js} +6 -6
- package/build/{index-c2900d8c.js → index-323d2766.js} +2 -2
- package/build/{index-6c27b627.js → index-325d93fc.js} +120 -116
- package/build/{index-7c1dc717.js → index-34b1babf.js} +19 -18
- package/build/{index-06fa8444.js → index-385f27fb.js} +4 -4
- package/build/index-3db01ab3.js +146 -0
- package/build/{index-bef2bc73.js → index-48ef94cb.js} +11 -11
- package/build/{index-ee964d3c.js → index-4b98362e.js} +6 -6
- package/build/index-4c18e4ba.js +97 -0
- package/build/{index-77a2b9ee.js → index-4ef9be86.js} +9 -9
- package/build/index-5fdde636.js +256 -0
- package/build/{index-a86ea1b6.js → index-617bff8c.js} +33 -197
- package/build/{index-fe7345fa.js → index-66e789cf.js} +4 -4
- package/build/index-6b23104e.js +108 -0
- package/build/{index-3dcb9bc6.js → index-6bcde89a.js} +6 -6
- package/build/{index-dd1392e3.js → index-6daafc7b.js} +12 -12
- package/build/{index-1efa7d84.js → index-6e7aede8.js} +5 -5
- package/build/index-6e85bdbb.js +239 -0
- package/build/{index-d5b4089d.js → index-70a7d73e.js} +12 -49
- package/build/{index-f6575703.js → index-72b989a7.js} +3 -3
- package/build/index-72e5dba6.js +153 -0
- package/build/{constants-dd16fb4d.js → index-769ecf0d.js} +8 -24
- package/build/index-7b98097c.js +25 -0
- package/build/{index-838b0f95.js → index-7e89d856.js} +18 -17
- package/build/{index-73cde644.js → index-7efbe5e3.js} +9 -9
- package/build/{index-a7de42d1.js → index-8cb3f562.js} +1 -1
- package/build/{index-c225ef22.js → index-92a816de.js} +25 -24
- package/build/{index-b773bc3d.js → index-99ddd1a4.js} +6 -5
- package/build/{index-6acb08c0.js → index-a0659d79.js} +14 -14
- package/build/{index-def9867a.js → index-a8c1c011.js} +11 -11
- package/build/index-aef8a50c.js +267 -0
- package/build/{index-247a9eb2.js → index-b76dcc89.js} +81 -77
- package/build/index-b99e7941.js +32 -0
- package/build/index-bd0008c0.js +805 -0
- package/build/{index-dcbd8bf3.js → index-bd37f7ea.js} +9 -9
- package/build/index-be727078.js +66 -0
- package/build/{index-f28c47ce.js → index-cb1c7190.js} +11 -11
- package/build/{index-f1f4fbb9.js → index-cb4ea8c9.js} +26 -24
- package/build/index-d71aec74.js +377 -0
- package/build/{index-df5cd44b.js → index-d91f52cc.js} +3 -15
- package/build/{index-f10efb61.js → index-db6d4daf.js} +33 -33
- package/build/{index-05f106c2.js → index-df9447b3.js} +41 -39
- package/build/index-e239d386.js +499 -0
- package/build/{index-4af08ec2.js → index-eddf350b.js} +2 -2
- package/build/{index-6bc3f8c3.js → index-eeb7220e.js} +8 -7
- package/build/{types-6c5643a2.js → index-f5956cd0.js} +749 -3709
- package/build/index-fbfa2310.js +320 -0
- package/build/{index-cb0544e5.js → index-fe74a1a3.js} +59 -59
- package/build/index.js +228 -191
- package/build/interfaces/constants/domainLocales.d.ts +25 -0
- package/build/interfaces/constants/index.d.ts +1 -25
- package/build/labelSorting-1905fd49.js +53 -0
- package/build/lead.js +43 -38
- package/build/{logoIcon-ee9a5501.js → logoIcon-d9adf505.js} +2 -2
- package/build/mantine.js +28 -23
- package/build/misc.js +39 -33
- package/build/{cookieHelper-17491ce8.js → miscCookieHelper.js} +2 -0
- package/build/{defaultClassWrapper-e87ca8ef.js → miscDefaultClassWrapper.js} +2 -0
- package/build/{getDynamicHealthTool-2a92e1a5.js → miscGetDynamicHealthTool.js} +14 -4
- package/build/{getSocialList-97e7bcc1.js → miscGetSocialList.js} +46 -34
- package/build/{dataTransform-c1701cbd.js → miscScreenSizeContext.js} +3 -12
- package/build/{theme-e4f7f487.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-0edcc417.js +104 -0
- package/build/pwg.js +60 -55
- package/build/{routing-f6d54205.js → routing-54391665.js} +10 -9
- package/build/subot.js +175 -169
- package/build/surveyOrPremiumBanner.js +34 -28
- package/build/surveyQuestionCard.js +11 -10
- package/build/{surveyThankyouCard-ead6b355.js → surveyThankyouCard-c7e94445.js} +25 -25
- package/build/together/togetherComponentGlobalContext.d.ts +1 -2
- package/build/together.js +106 -90
- package/build/togetherApiPaths.js +173 -0
- package/build/togetherApiUtils.js +40 -0
- package/build/togetherAtoms.js +61 -0
- package/build/togetherComponentGlobalContext.js +24 -0
- package/build/togetherMolecules.js +93 -0
- package/build/togetherOrganisms.js +78 -0
- package/build/treePopoverMenu-dbb4b61e.js +345 -0
- package/build/types-87a48532.js +7 -0
- package/build/{types-4ba4268f.js → types-ce7323a0.js} +88 -87
- package/build/types.js +6 -5
- package/build/{useCategory-e2c91f59.js → useCategory-04ea2a70.js} +18 -17
- package/build/{useHealthToolCache-2a53367b.js → useHealthToolCache-9d59f009.js} +4 -4
- package/build/{useMantineLocale-a4f0c61d.js → useMantineLocale-f9195d27.js} +26 -24
- package/build/{usePlacesAutocomplete-c76d0caf.js → usePlacesAutocomplete-8360abe0.js} +1 -1
- package/build/useTogetherAuthRequiredAction.js +68 -0
- package/build/{useTranslations-200168a3.js → useTranslations-80687df4.js} +1 -1
- package/build/{utils-af695515.js → utils-4849ab04.js} +11 -10
- package/build/{esm/utils-f8761b9d.js → utils-928b4701.js} +11 -101
- package/build/{utils-95d9832e.js → utils-e4d5701e.js} +26 -172
- package/build/vaccination.js +72 -67
- package/package.json +1 -1
- package/build/esm/index-6ac73f00.js +0 -1114
- package/build/index-058b3c0f.js +0 -1127
- package/build/index-3d0d22b3.js +0 -565
- /package/build/{BMI_BOYS.percentile.monthly-71fb1c9f.js → BMI_BOYS.percentile.monthly-5ba0659a.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-b2b344a7.js → BMI_BOYS.percentile.weekly-879f7a42.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-031ddade.js → BMI_BOYS.percentile.yearly-e4c37a27.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-bb1f9962.js → BMI_BOYS.zscore.monthly-fa3d3237.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-d6198d53.js → BMI_BOYS.zscore.weekly-71226efa.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-48255337.js → BMI_BOYS.zscore.yearly-92a2f05e.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-e3e284ee.js → BMI_GIRLS.percentile.monthly-cd39f35d.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-9f2d3977.js → BMI_GIRLS.percentile.weekly-5cb19fda.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-c79f34ce.js → BMI_GIRLS.percentile.yearly-b80f3d32.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-11092df0.js → BMI_GIRLS.zscore.monthly-89248182.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-5c375d2b.js → BMI_GIRLS.zscore.weekly-609c3c1f.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-adbba8e3.js → BMI_GIRLS.zscore.yearly-f4587218.js} +0 -0
- /package/build/{ChevronDown-f7e25d61.js → ChevronDown-dfb97861.js} +0 -0
- /package/build/{Close-36b0da99.js → Close-6296f986.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-163b99ad.js → HEAD CIRCUM_BOYS.percentile.monthly-a7e17d51.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-c9882014.js → HEAD CIRCUM_BOYS.percentile.weekly-688e7e30.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-9d2bc91e.js → HEAD CIRCUM_BOYS.percentile.yearly-5e1b6296.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-1d2a215c.js → HEAD CIRCUM_BOYS.zscore.monthly-e66bc7d4.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-1f139c91.js → HEAD CIRCUM_BOYS.zscore.weekly-f1221399.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-ba15501b.js → HEAD CIRCUM_BOYS.zscore.yearly-c3dea838.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-a546201a.js → HEAD CIRCUM_GIRLS.percentile.monthly-df5b45d4.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-66cd5a7e.js → HEAD CIRCUM_GIRLS.percentile.weekly-6c4e803a.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-9db3c653.js → HEAD CIRCUM_GIRLS.percentile.yearly-05ac380c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-0405e2cb.js → HEAD CIRCUM_GIRLS.zscore.monthly-8418b138.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-b2cc3ad2.js → HEAD CIRCUM_GIRLS.zscore.weekly-02c9e21d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-3115f993.js → HEAD CIRCUM_GIRLS.zscore.yearly-656652b6.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-35138a98.js → HEIGHT_BOYS.percentile.monthly-9b3ca406.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-0216c35b.js → HEIGHT_BOYS.percentile.weekly-add16dbe.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-f698e45d.js → HEIGHT_BOYS.percentile.yearly-a338c8a8.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-01195728.js → HEIGHT_BOYS.zscore.monthly-7caebf2d.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-993e9cf2.js → HEIGHT_BOYS.zscore.weekly-5962317e.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-fee3ed69.js → HEIGHT_BOYS.zscore.yearly-b1576fab.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-27b2474a.js → HEIGHT_GIRLS.percentile.monthly-937209f6.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-77bff236.js → HEIGHT_GIRLS.percentile.weekly-c571a906.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-6200a720.js → HEIGHT_GIRLS.percentile.yearly-e78281ec.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-94978e64.js → HEIGHT_GIRLS.zscore.monthly-e5212600.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-7951beb1.js → HEIGHT_GIRLS.zscore.weekly-3c269af1.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-c2eca714.js → HEIGHT_GIRLS.zscore.yearly-449bc93d.js} +0 -0
- /package/build/{Visible-eee51ba6.js → Visible-16859c31.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-6a6f901b.js → WEIGHT_BOYS.percentile.monthly-85da0f0a.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-737fb867.js → WEIGHT_BOYS.percentile.weekly-9229beac.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-7772b5e5.js → WEIGHT_BOYS.percentile.yearly-e8a3c476.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-8db2e7d6.js → WEIGHT_BOYS.zscore.monthly-20bef361.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-ddd37c1a.js → WEIGHT_BOYS.zscore.weekly-0ec853d0.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-332a8f7b.js → WEIGHT_BOYS.zscore.yearly-fccc526c.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-3edad688.js → WEIGHT_GIRLS.percentile.monthly-e7c89bed.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-f113a82a.js → WEIGHT_GIRLS.percentile.weekly-2510046f.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-95afbeaf.js → WEIGHT_GIRLS.percentile.yearly-5046e02b.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-d27c4bd4.js → WEIGHT_GIRLS.zscore.monthly-e6077126.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-2b113519.js → WEIGHT_GIRLS.zscore.weekly-1a145215.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-c82b04db.js → WEIGHT_GIRLS.zscore.yearly-31e42fc2.js} +0 -0
- /package/build/{animation-e1375a3b.js → animation-f64d3491.js} +0 -0
- /package/build/{cart-67147d06.js → cart-1cbf9c06.js} +0 -0
- /package/build/{constants-513a9a41.js → constants-1953275e.js} +0 -0
- /package/build/{constants-936f45e9.js → constants-2aeb65f2.js} +0 -0
- /package/build/{doctor-17b525f8.js → doctor-10ee1543.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-7c9d4923.js → BMI_BOYS.percentile.monthly-44bf9bca.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-c410294a.js → BMI_BOYS.percentile.weekly-14f8edd2.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-695a4fe2.js → BMI_BOYS.percentile.yearly-609a4150.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-9fb9f281.js → BMI_BOYS.zscore.monthly-5f7b2488.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-d2109e4b.js → BMI_BOYS.zscore.weekly-79b9ae06.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-bfa5361b.js → BMI_BOYS.zscore.yearly-08133388.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-f5f60596.js → BMI_GIRLS.percentile.monthly-20e00636.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-26e4e864.js → BMI_GIRLS.percentile.weekly-033dda0b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-5a2b297d.js → BMI_GIRLS.percentile.yearly-d66fbb80.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-4e80bed5.js → BMI_GIRLS.zscore.monthly-fec8e639.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-03b79f0b.js → BMI_GIRLS.zscore.weekly-7cd36dc2.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-822ed949.js → BMI_GIRLS.zscore.yearly-9729495b.js} +0 -0
- /package/build/esm/{ChevronDown-74267eb8.js → ChevronDown-b58f1e76.js} +0 -0
- /package/build/esm/{Close-372aa467.js → Close-0390b2a2.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-21b04c4c.js → HEAD CIRCUM_BOYS.percentile.monthly-6aa62326.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-049a9d97.js → HEAD CIRCUM_BOYS.percentile.weekly-dccbec56.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-a4bbbaba.js → HEAD CIRCUM_BOYS.percentile.yearly-153e0846.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-7cb348c6.js → HEAD CIRCUM_BOYS.zscore.monthly-3fe46c5e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-678a1a52.js → HEAD CIRCUM_BOYS.zscore.weekly-81fa76e0.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-db81b17e.js → HEAD CIRCUM_BOYS.zscore.yearly-a5955c3a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-cee33cd5.js → HEAD CIRCUM_GIRLS.percentile.monthly-16afd7d8.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-2cec19c3.js → HEAD CIRCUM_GIRLS.percentile.weekly-b0258df8.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-5949e664.js → HEAD CIRCUM_GIRLS.percentile.yearly-fbe848aa.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-7c2bffab.js → HEAD CIRCUM_GIRLS.zscore.monthly-7cb222f7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-356dd00a.js → HEAD CIRCUM_GIRLS.zscore.weekly-786f37d5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-e7b62215.js → HEAD CIRCUM_GIRLS.zscore.yearly-546970dc.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-359c4335.js → HEIGHT_BOYS.percentile.monthly-3fe8dd70.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-a4d4acd3.js → HEIGHT_BOYS.percentile.weekly-8ff515f0.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-ec9a7f9b.js → HEIGHT_BOYS.percentile.yearly-2ed73e3c.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-12331258.js → HEIGHT_BOYS.zscore.monthly-f18a337e.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-172054d3.js → HEIGHT_BOYS.zscore.weekly-d06e0e09.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-bb47a3be.js → HEIGHT_BOYS.zscore.yearly-e500b2d1.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-c93c0b34.js → HEIGHT_GIRLS.percentile.monthly-2eb2700e.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-f1f83097.js → HEIGHT_GIRLS.percentile.weekly-2f205b6e.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-ccee4e55.js → HEIGHT_GIRLS.percentile.yearly-0d54472f.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-caf5410c.js → HEIGHT_GIRLS.zscore.monthly-d1846835.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-b1e28b0e.js → HEIGHT_GIRLS.zscore.weekly-b9036bc9.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-c3af35d3.js → HEIGHT_GIRLS.zscore.yearly-8dcf6e2d.js} +0 -0
- /package/build/esm/{Visible-3f9d7dca.js → Visible-76b05e8e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-8a4647df.js → WEIGHT_BOYS.percentile.monthly-85f7b978.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-a2a6adf1.js → WEIGHT_BOYS.percentile.weekly-7c206abd.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-073df8b7.js → WEIGHT_BOYS.percentile.yearly-52c0957d.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-bb9e73d2.js → WEIGHT_BOYS.zscore.monthly-f48a971e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-ef32ce7a.js → WEIGHT_BOYS.zscore.weekly-6355c54f.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-6cc77688.js → WEIGHT_BOYS.zscore.yearly-bdb0459b.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-a4b518bc.js → WEIGHT_GIRLS.percentile.monthly-a3b768e9.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-dcedaebb.js → WEIGHT_GIRLS.percentile.weekly-715f5009.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-9e66577e.js → WEIGHT_GIRLS.percentile.yearly-c3a04a7d.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-c07cb81f.js → WEIGHT_GIRLS.zscore.monthly-ea7be69d.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-9c5c3e8e.js → WEIGHT_GIRLS.zscore.weekly-8b92b792.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-e99ce511.js → WEIGHT_GIRLS.zscore.yearly-8a06cbf9.js} +0 -0
- /package/build/esm/{animation-0b2299dc.js → animation-b6d252e4.js} +0 -0
- /package/build/esm/{cart-f961dadc.js → cart-043dfe5c.js} +0 -0
- /package/build/esm/{constants-71d9f33b.js → constants-697503a2.js} +0 -0
- /package/build/esm/{constants-f77fc231.js → constants-b3779c5e.js} +0 -0
- /package/build/esm/{doctor-8a07ca44.js → doctor-9f166022.js} +0 -0
- /package/build/esm/{index-b65a8764.js → index-36764891.js} +0 -0
- /package/build/esm/{index-3078acec.js → index-44870130.js} +0 -0
- /package/build/esm/{index-782fed08.js → index-77dc8ed1.js} +0 -0
- /package/build/esm/{index-c3264b34.js → index-ee5dec8f.js} +0 -0
- /package/build/esm/{localizeNumberFormat-42ae8d89.js → localizeNumberFormat-4dd1fd7a.js} +0 -0
- /package/build/esm/{normalizeLink-d6f57223.js → normalizeLink-243e6342.js} +0 -0
- /package/build/esm/{number-13f075cf.js → number-129aedb0.js} +0 -0
- /package/build/esm/{paths-49a813e7.js → paths-67ad72a7.js} +0 -0
- /package/build/esm/{translationsContext-f3d1a7bd.js → translationsContext-68168ff3.js} +0 -0
- /package/build/esm/{tslib.es6-761239c7.js → tslib.es6-2d738692.js} +0 -0
- /package/build/esm/{useIsInit-ee864235.js → useIsInit-6be72906.js} +0 -0
- /package/build/esm/{useOutsideClick-7451aa57.js → useOutsideClick-fd3849ea.js} +0 -0
- /package/build/esm/{useScrollbarSize-84bb5b47.js → useScrollbarSize-77534d1d.js} +0 -0
- /package/build/esm/{useUniqueId-c23213b6.js → useUniqueId-e84c90ce.js} +0 -0
- /package/build/{index-bba97c2e.js → index-0168f1a0.js} +0 -0
- /package/build/{index-e0bf03ac.js → index-053ed018.js} +0 -0
- /package/build/{index-97ebd7e1.js → index-90e7e427.js} +0 -0
- /package/build/{index-ba3797bb.js → index-a73d7cb3.js} +0 -0
- /package/build/{localizeNumberFormat-90d4f9d5.js → localizeNumberFormat-8ab6a41e.js} +0 -0
- /package/build/{normalizeLink-451ae6d8.js → normalizeLink-07c90859.js} +0 -0
- /package/build/{number-c2338382.js → number-5605662c.js} +0 -0
- /package/build/{paths-e0bbfce7.js → paths-6b0114f1.js} +0 -0
- /package/build/{translationsContext-39528d2f.js → translationsContext-ade0df93.js} +0 -0
- /package/build/{tslib.es6-7e140b89.js → tslib.es6-d6fa4ee6.js} +0 -0
- /package/build/{useIsInit-38cec0c4.js → useIsInit-08580a12.js} +0 -0
- /package/build/{useOutsideClick-e579e1ac.js → useOutsideClick-960bf73b.js} +0 -0
- /package/build/{useScrollbarSize-5a8be010.js → useScrollbarSize-49049c18.js} +0 -0
- /package/build/{useUniqueId-8929fe5f.js → useUniqueId-3c52a5c5.js} +0 -0
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import './index-38ced379.js';
|
|
2
|
+
import { L as LOCALE } from './Locale-c6a90240.js';
|
|
3
|
+
|
|
4
|
+
const siteHost = {
|
|
5
|
+
HELLO_HEALTH_GROUP: 'hellohealthgroup.com',
|
|
6
|
+
HELLO_DOCTOR: 'hellodoctor.com.ph',
|
|
7
|
+
HELLO_DOCTOR_FIL: 'hellodoctor.com.ph/fil',
|
|
8
|
+
HELLO_KRUPET: 'hellokrupet.com',
|
|
9
|
+
HELLO_SWASTHYA: 'helloswasthya.com',
|
|
10
|
+
HELLO_SEHAT: 'hellosehat.com',
|
|
11
|
+
HELLO_SAYARWON: 'hellosayarwon.com',
|
|
12
|
+
HELLO_DOKTOR: 'hellodoktor.com',
|
|
13
|
+
HELLO_KHUNMOR: 'hellokhunmor.com',
|
|
14
|
+
HELLO_YISHI: 'helloyishi.com.tw',
|
|
15
|
+
HELLO_BACSI: 'hellobacsi.com',
|
|
16
|
+
MARRY_BABY: 'www.marrybaby.vn',
|
|
17
|
+
};
|
|
18
|
+
const siteOptions = {
|
|
19
|
+
HELLO_HEALTH_GROUP: {
|
|
20
|
+
lng: LOCALE.PhilippinesEnglish,
|
|
21
|
+
ns: 'translation',
|
|
22
|
+
name: 'Hello Health Group',
|
|
23
|
+
theme: 'hellosite',
|
|
24
|
+
dayjs: 'en',
|
|
25
|
+
phoneCountry: 'PH',
|
|
26
|
+
siteId: 10,
|
|
27
|
+
},
|
|
28
|
+
HELLO_DOCTOR: {
|
|
29
|
+
lng: LOCALE.PhilippinesEnglish,
|
|
30
|
+
ns: 'translation',
|
|
31
|
+
name: 'Hello Doctor',
|
|
32
|
+
theme: 'hellosite',
|
|
33
|
+
dayjs: 'en',
|
|
34
|
+
phoneCountry: 'PH',
|
|
35
|
+
siteId: 5,
|
|
36
|
+
},
|
|
37
|
+
HELLO_DOCTOR_FIL: {
|
|
38
|
+
lng: LOCALE.PhilippinesTagalog,
|
|
39
|
+
ns: 'translation',
|
|
40
|
+
name: 'Hello Doctor',
|
|
41
|
+
theme: 'hellosite',
|
|
42
|
+
dayjs: 'tl-ph',
|
|
43
|
+
phoneCountry: 'PH',
|
|
44
|
+
siteId: 5,
|
|
45
|
+
},
|
|
46
|
+
HELLO_KRUPET: {
|
|
47
|
+
lng: LOCALE.Cambodia,
|
|
48
|
+
ns: 'translation',
|
|
49
|
+
name: 'Hello Krupet',
|
|
50
|
+
theme: 'hellosite',
|
|
51
|
+
dayjs: 'km',
|
|
52
|
+
phoneCountry: 'KH',
|
|
53
|
+
siteId: 4,
|
|
54
|
+
},
|
|
55
|
+
HELLO_SWASTHYA: {
|
|
56
|
+
lng: LOCALE.India,
|
|
57
|
+
ns: 'translation',
|
|
58
|
+
name: 'Hello Swasthya',
|
|
59
|
+
theme: 'hellosite',
|
|
60
|
+
dayjs: 'hi',
|
|
61
|
+
phoneCountry: 'IN',
|
|
62
|
+
siteId: 9,
|
|
63
|
+
},
|
|
64
|
+
HELLO_SEHAT: {
|
|
65
|
+
lng: LOCALE.Indonesia,
|
|
66
|
+
ns: 'translation',
|
|
67
|
+
name: 'Hello Sehat',
|
|
68
|
+
theme: 'hellosite',
|
|
69
|
+
dayjs: 'id',
|
|
70
|
+
phoneCountry: 'ID',
|
|
71
|
+
siteId: 2,
|
|
72
|
+
},
|
|
73
|
+
HELLO_SAYARWON: {
|
|
74
|
+
lng: LOCALE.Myanmar,
|
|
75
|
+
ns: 'translation',
|
|
76
|
+
name: 'Hello Sayarwon',
|
|
77
|
+
theme: 'hellosite',
|
|
78
|
+
dayjs: 'my',
|
|
79
|
+
phoneCountry: 'MM',
|
|
80
|
+
siteId: 7,
|
|
81
|
+
},
|
|
82
|
+
HELLO_DOKTOR: {
|
|
83
|
+
lng: LOCALE.Malaysia,
|
|
84
|
+
ns: 'translation',
|
|
85
|
+
name: 'Hello Doktor',
|
|
86
|
+
theme: 'hellosite',
|
|
87
|
+
dayjs: 'ms-my',
|
|
88
|
+
phoneCountry: 'MY',
|
|
89
|
+
siteId: 3,
|
|
90
|
+
},
|
|
91
|
+
HELLO_KHUNMOR: {
|
|
92
|
+
lng: LOCALE.Thailand,
|
|
93
|
+
ns: 'translation',
|
|
94
|
+
name: 'Hello Khunmor',
|
|
95
|
+
theme: 'hellosite',
|
|
96
|
+
dayjs: 'th',
|
|
97
|
+
phoneCountry: 'TH',
|
|
98
|
+
siteId: 6,
|
|
99
|
+
},
|
|
100
|
+
HELLO_YISHI: {
|
|
101
|
+
lng: LOCALE.Taiwan,
|
|
102
|
+
ns: 'translation',
|
|
103
|
+
name: 'Hello Yishi',
|
|
104
|
+
theme: 'hellosite',
|
|
105
|
+
dayjs: 'zh-tw',
|
|
106
|
+
phoneCountry: 'TW',
|
|
107
|
+
siteId: 8,
|
|
108
|
+
},
|
|
109
|
+
HELLO_BACSI: {
|
|
110
|
+
lng: LOCALE.Vietnam,
|
|
111
|
+
ns: 'translation',
|
|
112
|
+
name: 'Hello Bacsi',
|
|
113
|
+
theme: 'hellosite',
|
|
114
|
+
dayjs: 'vi',
|
|
115
|
+
phoneCountry: 'VN',
|
|
116
|
+
siteId: 1,
|
|
117
|
+
},
|
|
118
|
+
MARRY_BABY: {
|
|
119
|
+
lng: LOCALE.Vietnam,
|
|
120
|
+
ns: 'marrybaby',
|
|
121
|
+
name: 'Marry Baby',
|
|
122
|
+
theme: 'marrybaby',
|
|
123
|
+
dayjs: 'vi',
|
|
124
|
+
phoneCountry: 'VN',
|
|
125
|
+
siteId: 11,
|
|
126
|
+
},
|
|
127
|
+
};
|
|
128
|
+
|
|
129
|
+
export { siteHost, siteOptions };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as __awaiter } from './tslib.es6-
|
|
2
|
-
import {
|
|
1
|
+
import { a as __awaiter } from './tslib.es6-2d738692.js';
|
|
2
|
+
import { isProduction } from './constantsIsProduction.js';
|
|
3
3
|
|
|
4
4
|
const ServerCache = {};
|
|
5
5
|
const getCachedItem = (key) => {
|
|
@@ -1,103 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import styled from '@emotion/styled';
|
|
3
|
-
import { M as MediaQueries } from './utils-f8761b9d.js';
|
|
4
|
-
import { t as theme } from './theme-f18c2351.js';
|
|
5
|
-
import { _ as __rest } from './tslib.es6-761239c7.js';
|
|
6
|
-
|
|
7
|
-
const StyledPopup = styled.div `
|
|
8
|
-
position: fixed;
|
|
9
|
-
left: 50%;
|
|
10
|
-
|
|
11
|
-
padding: 0 16px 32px;
|
|
12
|
-
background-color: ${theme.colors.white};
|
|
13
|
-
border-radius: ${theme.borderRadius};
|
|
14
|
-
box-shadow: 0px 4px 8px ${theme.colors.gray200};
|
|
15
|
-
transform: translate(-50%, -50%);
|
|
16
|
-
transition: all 0.5s ease-in-out;
|
|
17
|
-
visibility: hidden;
|
|
18
|
-
|
|
19
|
-
&[data-open='true'] {
|
|
20
|
-
z-index: 400;
|
|
21
|
-
top: 50%;
|
|
22
|
-
opacity: 1;
|
|
23
|
-
visibility: visible;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
&[data-open='false'] {
|
|
27
|
-
top: -50%;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
&[data-type='lead'] {
|
|
31
|
-
width: 332px;
|
|
32
|
-
height: 460px;
|
|
33
|
-
|
|
34
|
-
div {
|
|
35
|
-
top: -15px;
|
|
36
|
-
right: -15px;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&[data-type='form'] {
|
|
41
|
-
width: 496px;
|
|
42
|
-
height: 548px;
|
|
43
|
-
${MediaQueries.mbDown} {
|
|
44
|
-
width: 340px;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
&[data-type='confirm'] {
|
|
49
|
-
${MediaQueries.mbDown} {
|
|
50
|
-
width: calc(100% - 32px);
|
|
51
|
-
}
|
|
52
|
-
${MediaQueries.mbUp} {
|
|
53
|
-
width: 100%;
|
|
54
|
-
max-width: 407px;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.popup-content {
|
|
59
|
-
position: relative;
|
|
60
|
-
z-index: 111;
|
|
61
|
-
height: 100%;
|
|
62
|
-
padding: 16px;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.close-button {
|
|
66
|
-
position: absolute;
|
|
67
|
-
top: 16px;
|
|
68
|
-
right: 0;
|
|
69
|
-
cursor: pointer;
|
|
70
|
-
|
|
71
|
-
img {
|
|
72
|
-
width: 100%;
|
|
73
|
-
height: 100%;
|
|
74
|
-
border-radius: 50%;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
`;
|
|
78
|
-
const StyledPopupWrapper = styled.div `
|
|
79
|
-
position: fixed;
|
|
80
|
-
z-index: 110;
|
|
81
|
-
top: 0;
|
|
82
|
-
left: 0;
|
|
83
|
-
width: 100%;
|
|
84
|
-
height: 100%;
|
|
85
|
-
align-items: center;
|
|
86
|
-
background: rgba(38, 38, 38, 0.3);
|
|
87
|
-
|
|
88
|
-
&[data-open='false'] {
|
|
89
|
-
display: none;
|
|
90
|
-
}
|
|
91
|
-
`;
|
|
92
|
-
|
|
93
|
-
const Popup = ({ type = 'lead', closeIcon, isOpen = true, onClose, children, className = '', enableAnimation = true, }) => {
|
|
94
|
-
return (React__default.createElement(React__default.Fragment, null,
|
|
95
|
-
React__default.createElement(StyledPopup, { "data-open": isOpen, "data-type": type, "data-animation": enableAnimation },
|
|
96
|
-
React__default.createElement("div", { className: `${className || ''} popup-content` },
|
|
97
|
-
!!closeIcon && (React__default.createElement("div", { className: "close-button", onClick: onClose }, closeIcon)),
|
|
98
|
-
children)),
|
|
99
|
-
React__default.createElement(StyledPopupWrapper, { "data-open": isOpen, onClick: onClose })));
|
|
100
|
-
};
|
|
1
|
+
import { _ as __rest } from './tslib.es6-2d738692.js';
|
|
101
2
|
|
|
102
3
|
const formatAuthor = (author) => {
|
|
103
4
|
if (!author)
|
|
@@ -786,4 +687,4 @@ var dataTransform = /*#__PURE__*/Object.freeze({
|
|
|
786
687
|
formatBabyGrowthContent: formatBabyGrowthContent
|
|
787
688
|
});
|
|
788
689
|
|
|
789
|
-
export {
|
|
690
|
+
export { formatCommunity as a, formatPost as b, formatComment as c, dataTransform as d, formatArticle as e, formatUserProfileUrl as f, formatTopic as g, formatCategory as h };
|
package/build/esm/ecom.js
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { c as Constants } from './constants-
|
|
3
|
-
import './index-
|
|
1
|
+
import { theme } from './miscTheme.js';
|
|
2
|
+
export { c as Constants } from './constants-e930bc7b.js';
|
|
3
|
+
import './index-39aa0c9f.js';
|
|
4
4
|
import 'date-fns/locale';
|
|
5
|
-
import './index-
|
|
6
|
-
import './
|
|
5
|
+
import './index-38ced379.js';
|
|
6
|
+
import './Locale-c6a90240.js';
|
|
7
|
+
import './constantsIsProduction.js';
|
|
8
|
+
import './constantsSite.js';
|
|
9
|
+
import './constantsDomainLocales.js';
|
|
10
|
+
import './constantsRiskScreener.js';
|
|
7
11
|
|
|
8
12
|
// ===== CART END =====
|
|
9
13
|
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { _ as __rest } from './tslib.es6-2d738692.js';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import { B as BabyGrowthForm } from './index-d9555b0b.js';
|
|
4
|
+
import { C as CommonGAssets } from './index-b9c4dfcb.js';
|
|
5
|
+
import { H as HealthToolCardWrapper } from './index-7c678785.js';
|
|
6
|
+
import '@mantine/core';
|
|
7
|
+
import '@mantine/form';
|
|
8
|
+
import './index-03d7200e.js';
|
|
9
|
+
import '@hhgtech/icons/other';
|
|
10
|
+
import '@mantine/hooks';
|
|
11
|
+
import './utils-40533779.js';
|
|
12
|
+
import '@emotion/styled';
|
|
13
|
+
import '@mantine/carousel';
|
|
14
|
+
import './index-7a1552e9.js';
|
|
15
|
+
import './other-9b439f19.js';
|
|
16
|
+
import './index-38ced379.js';
|
|
17
|
+
import './Locale-c6a90240.js';
|
|
18
|
+
import './miscTheme.js';
|
|
19
|
+
import './useMantineLocale-faa72172.js';
|
|
20
|
+
import 'dayjs';
|
|
21
|
+
import './index-39aa0c9f.js';
|
|
22
|
+
import 'date-fns/locale';
|
|
23
|
+
import './constantsIsProduction.js';
|
|
24
|
+
import './constantsSite.js';
|
|
25
|
+
import './constantsDomainLocales.js';
|
|
26
|
+
import './constantsRiskScreener.js';
|
|
27
|
+
import './index-bdc3bd61.js';
|
|
28
|
+
import 'classnames';
|
|
29
|
+
import './useUniqueId-e84c90ce.js';
|
|
30
|
+
import '@hhgtech/icons/core';
|
|
31
|
+
import './index-96a5f239.js';
|
|
32
|
+
import '@mantine/dates';
|
|
33
|
+
import './useTranslations-ba901edf.js';
|
|
34
|
+
import './translationsContext-68168ff3.js';
|
|
35
|
+
import 'string-format';
|
|
36
|
+
import './constants-a5d70cf5.js';
|
|
37
|
+
import './index-a1d2c38b.js';
|
|
38
|
+
import 'react-keyed-flatten-children';
|
|
39
|
+
import './index-3e2f70fe.js';
|
|
40
|
+
import './miscDefaultClassWrapper.js';
|
|
41
|
+
|
|
42
|
+
const BabyGrowthCardEmbed = (_a) => {
|
|
43
|
+
var _b, _c, _d;
|
|
44
|
+
var { babyGrowthContent, formProps } = _a, props = __rest(_a, ["babyGrowthContent", "formProps"]);
|
|
45
|
+
return (React__default.createElement(HealthToolCardWrapper, Object.assign({}, props),
|
|
46
|
+
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) ||
|
|
47
|
+
CommonGAssets.getAssetPath('health-tools/toolsIconBabyGrowth.svg'), loading: "lazy" }), heading: (babyGrowthContent === null || babyGrowthContent === void 0 ? void 0 : babyGrowthContent.title) || '', medicalReview: {
|
|
48
|
+
link: (_b = babyGrowthContent === null || babyGrowthContent === void 0 ? void 0 : babyGrowthContent.reviewBy) === null || _b === void 0 ? void 0 : _b.link,
|
|
49
|
+
reviewer: (_c = babyGrowthContent === null || babyGrowthContent === void 0 ? void 0 : babyGrowthContent.reviewBy) === null || _c === void 0 ? void 0 : _c.reviewer.trim(),
|
|
50
|
+
date: (_d = babyGrowthContent === null || babyGrowthContent === void 0 ? void 0 : babyGrowthContent.reviewBy) === null || _d === void 0 ? void 0 : _d.date,
|
|
51
|
+
} }),
|
|
52
|
+
React__default.createElement(HealthToolCardWrapper.Body, null,
|
|
53
|
+
React__default.createElement(BabyGrowthForm, Object.assign({}, formProps)))));
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
export { BabyGrowthCardEmbed };
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { _ as __rest } from './tslib.es6-2d738692.js';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import { H as HealthToolCardWrapper } from './index-7c678785.js';
|
|
4
|
+
import { B as BabyPoopForm } from './index-a1658f07.js';
|
|
5
|
+
import '@mantine/core';
|
|
6
|
+
import './index-03d7200e.js';
|
|
7
|
+
import '@hhgtech/icons/other';
|
|
8
|
+
import '@mantine/hooks';
|
|
9
|
+
import './index-b9c4dfcb.js';
|
|
10
|
+
import './constantsDomainLocales.js';
|
|
11
|
+
import './Locale-c6a90240.js';
|
|
12
|
+
import './constantsIsProduction.js';
|
|
13
|
+
import './utils-40533779.js';
|
|
14
|
+
import '@emotion/styled';
|
|
15
|
+
import '@mantine/carousel';
|
|
16
|
+
import './index-7a1552e9.js';
|
|
17
|
+
import './other-9b439f19.js';
|
|
18
|
+
import './index-38ced379.js';
|
|
19
|
+
import './miscTheme.js';
|
|
20
|
+
import './useMantineLocale-faa72172.js';
|
|
21
|
+
import 'dayjs';
|
|
22
|
+
import './index-39aa0c9f.js';
|
|
23
|
+
import 'date-fns/locale';
|
|
24
|
+
import './constantsSite.js';
|
|
25
|
+
import './constantsRiskScreener.js';
|
|
26
|
+
import './index-bdc3bd61.js';
|
|
27
|
+
import 'classnames';
|
|
28
|
+
import './useUniqueId-e84c90ce.js';
|
|
29
|
+
import '@hhgtech/icons/core';
|
|
30
|
+
import '@mantine/dates';
|
|
31
|
+
import './useTranslations-ba901edf.js';
|
|
32
|
+
import './translationsContext-68168ff3.js';
|
|
33
|
+
import 'string-format';
|
|
34
|
+
import './miscDefaultClassWrapper.js';
|
|
35
|
+
|
|
36
|
+
const BabyPoopEmbed = (_a) => {
|
|
37
|
+
var { babyPoopPage, formProps } = _a, props = __rest(_a, ["babyPoopPage", "formProps"]);
|
|
38
|
+
const { reviewedBy, reviewedDate } = babyPoopPage || {};
|
|
39
|
+
return (React__default.createElement(HealthToolCardWrapper, Object.assign({}, props),
|
|
40
|
+
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: {
|
|
41
|
+
link: reviewedBy === null || reviewedBy === void 0 ? void 0 : reviewedBy.profileUrl,
|
|
42
|
+
reviewer: reviewedBy === null || reviewedBy === void 0 ? void 0 : reviewedBy.displayName,
|
|
43
|
+
date: reviewedDate,
|
|
44
|
+
} }),
|
|
45
|
+
React__default.createElement(HealthToolCardWrapper.Body, null,
|
|
46
|
+
React__default.createElement(BabyPoopForm, Object.assign({ babyPoopPage: babyPoopPage }, formProps)))));
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
export { BabyPoopEmbed };
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { _ as __rest } from './tslib.es6-2d738692.js';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import { u as useTranslations } from './useTranslations-ba901edf.js';
|
|
4
|
+
import { C as CommonGAssets } from './index-b9c4dfcb.js';
|
|
5
|
+
import { H as HealthToolCardWrapper } from './index-7c678785.js';
|
|
6
|
+
import { B as BabyVaccineForm } from './index-e9d85fda.js';
|
|
7
|
+
import './translationsContext-68168ff3.js';
|
|
8
|
+
import 'string-format';
|
|
9
|
+
import './constantsDomainLocales.js';
|
|
10
|
+
import './Locale-c6a90240.js';
|
|
11
|
+
import './constantsIsProduction.js';
|
|
12
|
+
import '@mantine/core';
|
|
13
|
+
import './index-03d7200e.js';
|
|
14
|
+
import '@hhgtech/icons/other';
|
|
15
|
+
import '@mantine/hooks';
|
|
16
|
+
import './utils-40533779.js';
|
|
17
|
+
import '@emotion/styled';
|
|
18
|
+
import '@mantine/carousel';
|
|
19
|
+
import './index-7a1552e9.js';
|
|
20
|
+
import './other-9b439f19.js';
|
|
21
|
+
import './index-38ced379.js';
|
|
22
|
+
import './miscTheme.js';
|
|
23
|
+
import './useMantineLocale-faa72172.js';
|
|
24
|
+
import 'dayjs';
|
|
25
|
+
import './index-39aa0c9f.js';
|
|
26
|
+
import 'date-fns/locale';
|
|
27
|
+
import './constantsSite.js';
|
|
28
|
+
import './constantsRiskScreener.js';
|
|
29
|
+
import './index-bdc3bd61.js';
|
|
30
|
+
import 'classnames';
|
|
31
|
+
import './useUniqueId-e84c90ce.js';
|
|
32
|
+
import '@hhgtech/icons/core';
|
|
33
|
+
import '@mantine/dates';
|
|
34
|
+
import './miscDefaultClassWrapper.js';
|
|
35
|
+
import '@mantine/form';
|
|
36
|
+
import './index-96a5f239.js';
|
|
37
|
+
import './index-a1d2c38b.js';
|
|
38
|
+
import 'react-keyed-flatten-children';
|
|
39
|
+
import './index-3e2f70fe.js';
|
|
40
|
+
|
|
41
|
+
const BabyVaccineCardEmbed = (_a) => {
|
|
42
|
+
var _b, _c, _d;
|
|
43
|
+
var { babyVaccineContent, formProps } = _a, props = __rest(_a, ["babyVaccineContent", "formProps"]);
|
|
44
|
+
const { t } = useTranslations();
|
|
45
|
+
return (React__default.createElement(HealthToolCardWrapper, Object.assign({}, props),
|
|
46
|
+
React__default.createElement(HealthToolCardWrapper.Banner, { icon: React__default.createElement("img", { alt: "health-tool-icon", src: (babyVaccineContent === null || babyVaccineContent === void 0 ? void 0 : babyVaccineContent.featuredImage) ||
|
|
47
|
+
CommonGAssets.getAssetPath('health-tools/baby-vaccine-icon.svg'), loading: "lazy" }), heading: t('babyVaccineTool.heading'), medicalReview: {
|
|
48
|
+
link: ((_b = babyVaccineContent === null || babyVaccineContent === void 0 ? void 0 : babyVaccineContent.reviewBy) === null || _b === void 0 ? void 0 : _b.link) || '',
|
|
49
|
+
reviewer: ((_c = babyVaccineContent === null || babyVaccineContent === void 0 ? void 0 : babyVaccineContent.reviewBy) === null || _c === void 0 ? void 0 : _c.reviewer) || '',
|
|
50
|
+
date: ((_d = babyVaccineContent === null || babyVaccineContent === void 0 ? void 0 : babyVaccineContent.reviewBy) === null || _d === void 0 ? void 0 : _d.date) || '',
|
|
51
|
+
} }),
|
|
52
|
+
React__default.createElement(HealthToolCardWrapper.Body, null,
|
|
53
|
+
React__default.createElement(BabyVaccineForm, Object.assign({}, formProps)))));
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
export { BabyVaccineCardEmbed };
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { _ as __rest } from './tslib.es6-2d738692.js';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import { u as useTranslations } from './useTranslations-ba901edf.js';
|
|
4
|
+
import { C as CommonGAssets } from './index-b9c4dfcb.js';
|
|
5
|
+
import { H as HealthToolCardWrapper } from './index-7c678785.js';
|
|
6
|
+
import { B as BmiForm } from './index-9a8df805.js';
|
|
7
|
+
import './translationsContext-68168ff3.js';
|
|
8
|
+
import 'string-format';
|
|
9
|
+
import './constantsDomainLocales.js';
|
|
10
|
+
import './Locale-c6a90240.js';
|
|
11
|
+
import './constantsIsProduction.js';
|
|
12
|
+
import '@mantine/core';
|
|
13
|
+
import './index-03d7200e.js';
|
|
14
|
+
import '@hhgtech/icons/other';
|
|
15
|
+
import '@mantine/hooks';
|
|
16
|
+
import './utils-40533779.js';
|
|
17
|
+
import '@emotion/styled';
|
|
18
|
+
import '@mantine/carousel';
|
|
19
|
+
import './index-7a1552e9.js';
|
|
20
|
+
import './other-9b439f19.js';
|
|
21
|
+
import './index-38ced379.js';
|
|
22
|
+
import './miscTheme.js';
|
|
23
|
+
import './useMantineLocale-faa72172.js';
|
|
24
|
+
import 'dayjs';
|
|
25
|
+
import './index-39aa0c9f.js';
|
|
26
|
+
import 'date-fns/locale';
|
|
27
|
+
import './constantsSite.js';
|
|
28
|
+
import './constantsRiskScreener.js';
|
|
29
|
+
import './index-bdc3bd61.js';
|
|
30
|
+
import 'classnames';
|
|
31
|
+
import './useUniqueId-e84c90ce.js';
|
|
32
|
+
import '@hhgtech/icons/core';
|
|
33
|
+
import '@mantine/dates';
|
|
34
|
+
import './miscDefaultClassWrapper.js';
|
|
35
|
+
import 'react-hook-form';
|
|
36
|
+
import './useHealthToolCache-fe7dc697.js';
|
|
37
|
+
import './miscGetDynamicHealthTool.js';
|
|
38
|
+
import './normalizeLink-243e6342.js';
|
|
39
|
+
import './routing-f2e46f96.js';
|
|
40
|
+
import './core-36290fcb.js';
|
|
41
|
+
import './constants-697503a2.js';
|
|
42
|
+
import './index-3e2f70fe.js';
|
|
43
|
+
import './index-a1d2c38b.js';
|
|
44
|
+
import 'react-keyed-flatten-children';
|
|
45
|
+
import './embeddedHeathToolCards_helpers.js';
|
|
46
|
+
|
|
47
|
+
const BMICardEmbed = (_a) => {
|
|
48
|
+
var _b, _c, _d;
|
|
49
|
+
var { bmiContent, bmiGenerated, bmiUnit, formProps } = _a, props = __rest(_a, ["bmiContent", "bmiGenerated", "bmiUnit", "formProps"]);
|
|
50
|
+
const { t } = useTranslations();
|
|
51
|
+
return (React__default.createElement(HealthToolCardWrapper, Object.assign({}, props),
|
|
52
|
+
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) ||
|
|
53
|
+
CommonGAssets.getAssetPath('health-tools/bmi.svg'), loading: "lazy" }), heading: t('bmi.heading'), medicalReview: {
|
|
54
|
+
link: (_b = bmiContent === null || bmiContent === void 0 ? void 0 : bmiContent.reviewBy) === null || _b === void 0 ? void 0 : _b.link,
|
|
55
|
+
reviewer: (_c = bmiContent === null || bmiContent === void 0 ? void 0 : bmiContent.reviewBy) === null || _c === void 0 ? void 0 : _c.reviewer,
|
|
56
|
+
date: (_d = bmiContent === null || bmiContent === void 0 ? void 0 : bmiContent.reviewBy) === null || _d === void 0 ? void 0 : _d.date,
|
|
57
|
+
} }),
|
|
58
|
+
React__default.createElement(HealthToolCardWrapper.Body, null,
|
|
59
|
+
React__default.createElement(BmiForm, Object.assign({ bmiGenerated: bmiGenerated, bmiUnit: bmiUnit }, formProps)))));
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
export { BMICardEmbed };
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { _ as __rest } from './tslib.es6-2d738692.js';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import { u as useTranslations } from './useTranslations-ba901edf.js';
|
|
4
|
+
import { C as CommonGAssets } from './index-b9c4dfcb.js';
|
|
5
|
+
import { H as HealthToolCardWrapper } from './index-7c678785.js';
|
|
6
|
+
import { B as BmiForm } from './index-9a8df805.js';
|
|
7
|
+
import './translationsContext-68168ff3.js';
|
|
8
|
+
import 'string-format';
|
|
9
|
+
import './constantsDomainLocales.js';
|
|
10
|
+
import './Locale-c6a90240.js';
|
|
11
|
+
import './constantsIsProduction.js';
|
|
12
|
+
import '@mantine/core';
|
|
13
|
+
import './index-03d7200e.js';
|
|
14
|
+
import '@hhgtech/icons/other';
|
|
15
|
+
import '@mantine/hooks';
|
|
16
|
+
import './utils-40533779.js';
|
|
17
|
+
import '@emotion/styled';
|
|
18
|
+
import '@mantine/carousel';
|
|
19
|
+
import './index-7a1552e9.js';
|
|
20
|
+
import './other-9b439f19.js';
|
|
21
|
+
import './index-38ced379.js';
|
|
22
|
+
import './miscTheme.js';
|
|
23
|
+
import './useMantineLocale-faa72172.js';
|
|
24
|
+
import 'dayjs';
|
|
25
|
+
import './index-39aa0c9f.js';
|
|
26
|
+
import 'date-fns/locale';
|
|
27
|
+
import './constantsSite.js';
|
|
28
|
+
import './constantsRiskScreener.js';
|
|
29
|
+
import './index-bdc3bd61.js';
|
|
30
|
+
import 'classnames';
|
|
31
|
+
import './useUniqueId-e84c90ce.js';
|
|
32
|
+
import '@hhgtech/icons/core';
|
|
33
|
+
import '@mantine/dates';
|
|
34
|
+
import './miscDefaultClassWrapper.js';
|
|
35
|
+
import 'react-hook-form';
|
|
36
|
+
import './useHealthToolCache-fe7dc697.js';
|
|
37
|
+
import './miscGetDynamicHealthTool.js';
|
|
38
|
+
import './normalizeLink-243e6342.js';
|
|
39
|
+
import './routing-f2e46f96.js';
|
|
40
|
+
import './core-36290fcb.js';
|
|
41
|
+
import './constants-697503a2.js';
|
|
42
|
+
import './index-3e2f70fe.js';
|
|
43
|
+
import './index-a1d2c38b.js';
|
|
44
|
+
import 'react-keyed-flatten-children';
|
|
45
|
+
import './embeddedHeathToolCards_helpers.js';
|
|
46
|
+
|
|
47
|
+
const BMRCardEmbed = (_a) => {
|
|
48
|
+
var _b, _c, _d;
|
|
49
|
+
var { bmrContent, bmiGenerated, bmiUnit, formProps } = _a, props = __rest(_a, ["bmrContent", "bmiGenerated", "bmiUnit", "formProps"]);
|
|
50
|
+
const { t } = useTranslations();
|
|
51
|
+
return (React__default.createElement(HealthToolCardWrapper, Object.assign({}, props),
|
|
52
|
+
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) ||
|
|
53
|
+
CommonGAssets.getAssetPath('health-tools/bmr.svg'), loading: "lazy" }), heading: t('bmr.heading'), medicalReview: {
|
|
54
|
+
link: (_b = bmrContent === null || bmrContent === void 0 ? void 0 : bmrContent.reviewBy) === null || _b === void 0 ? void 0 : _b.link,
|
|
55
|
+
reviewer: (_c = bmrContent === null || bmrContent === void 0 ? void 0 : bmrContent.reviewBy) === null || _c === void 0 ? void 0 : _c.reviewer,
|
|
56
|
+
date: (_d = bmrContent === null || bmrContent === void 0 ? void 0 : bmrContent.reviewBy) === null || _d === void 0 ? void 0 : _d.date,
|
|
57
|
+
} }),
|
|
58
|
+
React__default.createElement(HealthToolCardWrapper.Body, null,
|
|
59
|
+
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' }) })))));
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
export { BMRCardEmbed };
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { _ as __rest } from './tslib.es6-2d738692.js';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import { u as useTranslations } from './useTranslations-ba901edf.js';
|
|
4
|
+
import { C as CommonGAssets } from './index-b9c4dfcb.js';
|
|
5
|
+
import { H as HealthToolCardWrapper } from './index-7c678785.js';
|
|
6
|
+
import { D as DueDateForm } from './index-6125d991.js';
|
|
7
|
+
import './translationsContext-68168ff3.js';
|
|
8
|
+
import 'string-format';
|
|
9
|
+
import './constantsDomainLocales.js';
|
|
10
|
+
import './Locale-c6a90240.js';
|
|
11
|
+
import './constantsIsProduction.js';
|
|
12
|
+
import '@mantine/core';
|
|
13
|
+
import './index-03d7200e.js';
|
|
14
|
+
import '@hhgtech/icons/other';
|
|
15
|
+
import '@mantine/hooks';
|
|
16
|
+
import './utils-40533779.js';
|
|
17
|
+
import '@emotion/styled';
|
|
18
|
+
import '@mantine/carousel';
|
|
19
|
+
import './index-7a1552e9.js';
|
|
20
|
+
import './other-9b439f19.js';
|
|
21
|
+
import './index-38ced379.js';
|
|
22
|
+
import './miscTheme.js';
|
|
23
|
+
import './useMantineLocale-faa72172.js';
|
|
24
|
+
import 'dayjs';
|
|
25
|
+
import './index-39aa0c9f.js';
|
|
26
|
+
import 'date-fns/locale';
|
|
27
|
+
import './constantsSite.js';
|
|
28
|
+
import './constantsRiskScreener.js';
|
|
29
|
+
import './index-bdc3bd61.js';
|
|
30
|
+
import 'classnames';
|
|
31
|
+
import './useUniqueId-e84c90ce.js';
|
|
32
|
+
import '@hhgtech/icons/core';
|
|
33
|
+
import '@mantine/dates';
|
|
34
|
+
import './miscDefaultClassWrapper.js';
|
|
35
|
+
import './LastPeriod-62287ef2.js';
|
|
36
|
+
import 'date-fns';
|
|
37
|
+
import '@mantine/form';
|
|
38
|
+
import './index-96a5f239.js';
|
|
39
|
+
import './index-a1d2c38b.js';
|
|
40
|
+
import 'react-keyed-flatten-children';
|
|
41
|
+
|
|
42
|
+
const DueDateCardEmbed = (_a) => {
|
|
43
|
+
var _b;
|
|
44
|
+
var { dueDatePageInfo, expertUrl, formProps } = _a, props = __rest(_a, ["dueDatePageInfo", "expertUrl", "formProps"]);
|
|
45
|
+
const { t } = useTranslations();
|
|
46
|
+
return (React__default.createElement(HealthToolCardWrapper, Object.assign({ isPregTool: true }, props),
|
|
47
|
+
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) ||
|
|
48
|
+
CommonGAssets.getAssetPath('health-tools/due-date-icon.svg'), loading: "lazy" }), heading: t('healthTools.dueDateCalculator'), medicalReview: {
|
|
49
|
+
link: expertUrl,
|
|
50
|
+
reviewer: (_b = dueDatePageInfo === null || dueDatePageInfo === void 0 ? void 0 : dueDatePageInfo.reviewed_by) === null || _b === void 0 ? void 0 : _b.display_name,
|
|
51
|
+
date: dueDatePageInfo === null || dueDatePageInfo === void 0 ? void 0 : dueDatePageInfo.reviewed_date,
|
|
52
|
+
} }),
|
|
53
|
+
React__default.createElement(HealthToolCardWrapper.Body, null,
|
|
54
|
+
React__default.createElement(DueDateForm, Object.assign({}, formProps)))));
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
export { DueDateCardEmbed };
|