@hhgtech/hhg-components 1.25.44 → 1.25.57
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/babyGrowth.js +22 -18
- package/build/cache.js +1 -1
- package/build/care.js +1 -1
- package/build/components/atoms/authorBadge/index.styles.d.ts +4 -2
- package/build/components/atoms/btnChoice/index.d.ts +2 -1
- package/build/components/atoms/customReferenceDot/index.d.ts +1 -1
- package/build/components/atoms/icons/ACharacter.d.ts +4 -0
- package/build/components/atoms/icons/CameraCircle.d.ts +4 -0
- package/build/components/atoms/icons/CircleBorder.d.ts +4 -0
- package/build/components/atoms/icons/Post.d.ts +4 -0
- package/build/components/atoms/icons/Smile.d.ts +4 -0
- package/build/components/atoms/icons/Video.d.ts +4 -0
- package/build/components/atoms/icons/index.d.ts +6 -0
- package/build/components/atoms/imageWithHandler/index.d.ts +1 -1
- package/build/components/atoms/index.d.ts +2 -0
- package/build/components/babyGrowth/babyGrowthChooseProfileDrawer/index.d.ts +3 -1
- package/build/components/mantine/anchor/index.styles.d.ts +4 -2
- package/build/components/mantine/breadcrumbs/index.d.ts +3 -2
- package/build/components/mantine/breadcrumbs/index.styled.d.ts +1 -1
- package/build/components/mantine/breadcrumbs/item.d.ts +1 -1
- package/build/components/mantine/button/index.d.ts +3 -3
- package/build/components/mantine/button/index.styles.d.ts +6 -2
- package/build/components/mantine/datepicker/index.d.ts +4 -8
- package/build/components/mantine/index.d.ts +2 -1
- package/build/components/mantine/indicator/index.d.ts +1 -1
- package/build/components/mantine/input/number.d.ts +2 -2
- package/build/components/mantine/loadingOverlay/useLockBodyScroll.d.ts +1 -0
- package/build/components/mantine/modal/index.d.ts +1 -1
- package/build/components/mantine/modal/index.styles.d.ts +15 -0
- package/build/components/mantine/otp/index.d.ts +2 -2
- package/build/components/mantine/phone/index.d.ts +1 -1
- package/build/components/mantine/tabs/index.styles.d.ts +4 -2
- package/build/components/mantine/text/index.d.ts +1 -1
- package/build/components/mantine/text/index.styles.d.ts +4 -2
- package/build/components/mantine/theme/heading.d.ts +7 -0
- package/build/components/mantine/theme/index.d.ts +2 -0
- package/build/components/mantine/theme/input.d.ts +4 -3
- package/build/components/mantine/theme/other.d.ts +2 -2
- package/build/components/mantine/theme/radio.d.ts +1 -13
- package/build/components/mantine/theme/text.d.ts +38 -38
- package/build/components/molecules/adBlock/fixedBottomAdBlock.d.ts +16 -0
- package/build/components/molecules/adBlock/index.d.ts +45 -0
- package/build/components/molecules/adBlock/index.styled.d.ts +4 -0
- package/build/components/molecules/bmiForm/index.styled.d.ts +2 -2
- package/build/components/molecules/bmrForm/index.styled.d.ts +2 -2
- package/build/components/molecules/embeddedHeathToolCards/baby-poop/index.d.ts +4 -3
- package/build/components/molecules/embeddedHeathToolCards/baby-poop/index.styles.d.ts +20 -0
- package/build/components/molecules/index.d.ts +4 -0
- package/build/components/molecules/tabs/index.d.ts +1 -1
- package/build/components/molecules/tabs/index.styles.d.ts +8 -2
- package/build/components/molecules/thrForm/index.styled.d.ts +2 -2
- package/build/components/{organisms/navigationV2 → navigationV2}/components/atoms/ItemNav/index.d.ts +4 -0
- package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/Categories/index.d.ts +1 -1
- package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/menuCareList/Item/index.d.ts +1 -1
- package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/menuCareList/careSpotlights.d.ts +1 -1
- package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/menuCareList/index.d.ts +1 -1
- package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/menuCommunitiesList/communitySpotlights.d.ts +1 -1
- package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/menuCommunitiesList/index.d.ts +1 -1
- package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/navigationBar/hamburgerMenu/index.d.ts +1 -1
- package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/navigationBar/index.d.ts +1 -1
- package/build/components/{organisms/navigationV2 → navigationV2}/hooks/useNavConfig.d.ts +1 -1
- package/build/components/{organisms/navigationV2 → navigationV2}/index.d.ts +1 -1
- package/build/components/{organisms/navigationV2 → navigationV2}/types.d.ts +1 -0
- package/build/components/onboarding/onboardingForm/index.d.ts +1 -0
- package/build/components/organisms/index.d.ts +1 -1
- package/build/components/pregnancyWeightGain/pregnancyWeightGainChart/components/chart.d.ts +1 -1
- package/build/components/pregnancyWeightGain/pregnancyWeightGainChart/components/chartLegend.d.ts +1 -1
- package/build/components/pregnancyWeightGain/pregnancyWeightGainChart/index.d.ts +1 -1
- package/build/components/ui/cardAuthor/index.d.ts +2 -1
- package/build/components/vaccination/helpers.d.ts +4 -1
- package/build/components/vaccination/shared/dose.d.ts +3 -1
- package/build/components/vaccination/vaccinationFilter/index.d.ts +1 -2
- package/build/components/vaccination/vaccineCard/immunization.d.ts +3 -0
- package/build/components/vaccination/vaccineCard/index.d.ts +10 -3
- package/build/components/vaccination/vaccineCard/modal.d.ts +1 -1
- package/build/components/vaccination/vaccineCard/timeline.d.ts +1 -1
- package/build/components/vaccination/vaccineDetailPopup/default.d.ts +16 -0
- package/build/components/vaccination/vaccineDetailPopup/immunization.d.ts +14 -0
- package/build/components/vaccination/vaccineDetailPopup/index.d.ts +6 -3
- package/build/components/vaccination/vaccineImmunization/header.d.ts +7 -2
- package/build/components/vaccination/vaccineRecordsByAgeGroup/index.d.ts +8 -1
- package/build/components/vaccination/vaccineRecordsByAgeGroup/scheduleTimeline.d.ts +2 -1
- package/build/components/vaccination/vaccineTimelineBanner/index.d.ts +2 -1
- package/build/components.js +1 -1
- package/build/constants.js +1 -1
- package/build/core-d9f96c6a.js +1 -0
- package/build/{dataTransform-1e9a98a0.js → dataTransform-fa65027d.js} +1 -1
- package/build/ecom.js +1 -1
- package/build/esm/babyGrowth.js +12 -8
- package/build/esm/cache.js +1 -1
- package/build/esm/care.js +1 -1
- package/build/esm/components.js +1 -1
- package/build/esm/constants.js +1 -1
- package/build/esm/{core-888ce0b6.js → core-6aca234b.js} +1 -1
- package/build/esm/{dataTransform-1aace1cf.js → dataTransform-f0b20c52.js} +1 -1
- package/build/esm/ecom.js +1 -1
- package/build/esm/fixedBottomAdBlock-4186a1b3.js +1 -0
- package/build/esm/footer.js +1 -1
- package/build/esm/gAssets.js +1 -1
- package/build/esm/{getDynamicHealthTool-d4164724.js → getDynamicHealthTool-166b41ad.js} +1 -1
- package/build/esm/{getSocialList-9bbe3519.js → getSocialList-a0e2abab.js} +1 -1
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/{index.styled-e932039c.js → index-07b43ec9.js} +397 -498
- package/build/esm/index-25f89f9a.js +1 -0
- package/build/esm/index-2b1c04b6.js +1 -0
- package/build/esm/{index-8577ea62.js → index-2c16e4ce.js} +1 -1
- package/build/esm/index-3aa67b79.js +1 -0
- package/build/esm/index-403e15b0.js +1 -0
- package/build/esm/index-4c924334.js +1 -0
- package/build/esm/{index-41369cea.js → index-4ff4ad08.js} +1 -1
- package/build/esm/{index-7f78c1bc.js → index-50bf97c0.js} +1 -1
- package/build/esm/index-639b52f7.js +1 -0
- package/build/esm/index-67ac025d.js +1 -0
- package/build/esm/{index-190d545a.js → index-7ed95870.js} +1 -1
- package/build/esm/{index-461a784c.js → index-833a8c3f.js} +1 -1
- package/build/esm/{index-32077d77.js → index-9a3842f5.js} +1 -1
- package/build/esm/index-a9cb1435.js +1 -0
- package/build/esm/{index-868ce16c.js → index-a9f54377.js} +1 -1
- package/build/esm/{index-010050d2.js → index-bb9dafcf.js} +1 -1
- package/build/esm/{index-dfc596d6.js → index-bf3a4367.js} +6 -6
- package/build/esm/{index-3c1037ff.js → index-da233326.js} +1 -1
- package/build/esm/index-e6051fb1.js +112 -0
- package/build/esm/{index-0e069d4b.js → index-ef658ac8.js} +2 -2
- package/build/esm/{index-aa5d0a03.js → index-f55060fd.js} +1 -1
- package/build/esm/{index-5675d68c.js → index-f643ff94.js} +1 -1
- package/build/esm/{index-fe381963.js → index-f958f081.js} +1 -1
- package/build/esm/index.css +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-4392a597.js → index.styled-0de03bf5.js} +6 -6
- package/build/esm/index.styled-5b95b0fa.js +1249 -0
- package/build/esm/{index.styled-242af167.js → index.styled-942b236f.js} +1 -1
- package/build/esm/{index.styled-a0d1d77a.js → index.styled-e699b40f.js} +687 -676
- package/build/esm/lead.js +1 -1
- package/build/esm/mantine.js +1 -1
- package/build/esm/misc.js +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/esm/onboarding.js +1 -1
- package/build/esm/pwg.js +2 -2
- package/build/esm/{routing-d0fafd64.js → routing-d5d0943b.js} +1 -1
- package/build/esm/{screenSizeContext-5ad313e1.js → screenSizeContext-f1ed7d16.js} +1 -1
- package/build/esm/together.js +1 -1
- package/build/esm/translationsContext-847f0e27.js +1 -0
- package/build/esm/translationsProvider-7ddb7375.js +1 -0
- package/build/esm/{types-384aee6f.js → types-5244a7e4.js} +1 -1
- package/build/esm/types-912a9d14.js +3079 -0
- package/build/esm/types.js +1 -1
- package/build/esm/unifyEnv.js +1 -1
- package/build/esm/useHealthToolCache-2607d952.js +1 -0
- package/build/esm/{useRafState-3fc0de62.js → useRafState-3e0f61cc.js} +1 -1
- package/build/esm/{useTranslations-da42eb2d.js → useTranslations-f64ca572.js} +1 -1
- package/build/esm/utils-c139be0c.js +166 -0
- package/build/esm/vaccination.js +63 -43
- package/build/fixedBottomAdBlock-e877754b.js +1 -0
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/{getDynamicHealthTool-54b7323e.js → getDynamicHealthTool-b3a9e649.js} +1 -1
- package/build/{getSocialList-9b9c40c0.js → getSocialList-584af62c.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/{index-469ce011.js → index-05217952.js} +1 -1
- package/build/{index-cecb2064.js → index-10c6d3be.js} +1 -1
- package/build/{index-bb912bc9.js → index-18010e95.js} +1 -1
- package/build/{index-a4851e92.js → index-221dccaf.js} +1 -1
- package/build/index-24ebf0b7.js +112 -0
- package/build/index-3bfb5929.js +1 -0
- package/build/{index-2cef4c8f.js → index-3df20add.js} +1 -1
- package/build/{index-ca13a251.js → index-3f125166.js} +1 -1
- package/build/index-6c804adb.js +1 -0
- package/build/{index-3c98c950.js → index-70fe3bc5.js} +1 -1
- package/build/index-76e04636.js +1 -0
- package/build/{index-13d8f287.js → index-7c43b23b.js} +1 -1
- package/build/{index-92a9b471.js → index-9408d632.js} +1 -1
- package/build/{index.styled-969b28ec.js → index-97cca6d5.js} +297 -398
- package/build/index-9a51525b.js +1 -0
- package/build/index-a3d869c3.js +1 -0
- package/build/index-af942077.js +1 -0
- package/build/index-b0ecb439.js +1 -0
- package/build/{index-57685a19.js → index-d0e6dec3.js} +1 -1
- package/build/index-d55bdf58.js +1 -0
- package/build/index-dc848204.js +1 -0
- package/build/{index-514e8363.js → index-eb12c43f.js} +1 -1
- package/build/{index-787a0001.js → index-ee3318d8.js} +1 -1
- package/build/{index-1f1e148b.js → index-ffc2b4fe.js} +1 -1
- package/build/index.css +1 -1
- package/build/index.js +1 -1
- package/build/index.styled-309fe10c.js +1249 -0
- package/build/{index.styled-5bfe45d1.js → index.styled-6de79d1e.js} +666 -655
- package/build/{index.styled-94953918.js → index.styled-9cfb5478.js} +6 -6
- package/build/{index.styled-012f80c2.js → index.styled-e7a24c86.js} +1 -1
- package/build/interfaces/constants/index.d.ts +2 -0
- package/build/interfaces/types/BabyVaccination.d.ts +4 -0
- package/build/lead.js +1 -1
- package/build/mantine.js +1 -1
- package/build/misc/callApi/helpers.d.ts +4 -0
- package/build/misc/callApi/index.d.ts +24 -0
- package/build/misc/callApi/instance.d.ts +11 -0
- package/build/misc/callApi/interceptors.d.ts +6 -0
- package/build/misc/noop.d.ts +1 -0
- package/build/misc/unifyEnv.d.ts +4 -1
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/onboarding.js +1 -1
- package/build/pwg.js +1 -1
- package/build/{routing-a7b0169e.js → routing-fcdfce19.js} +1 -1
- package/build/{screenSizeContext-ec28d0a9.js → screenSizeContext-c4a1c827.js} +10 -10
- package/build/together/components/atoms/tagTopic/index.d.ts +6 -2
- package/build/together/components/molecules/cardAuthor/index.d.ts +2 -2
- package/build/together/components/molecules/cardAuthor/index.styles.d.ts +5 -2
- package/build/together/components/molecules/createNewPostContent/index.d.ts +2 -1
- package/build/together/components/molecules/postContent/index.d.ts +2 -1
- package/build/together/components/molecules/postContent/index.styles.d.ts +4 -2
- package/build/together/components/molecules/profileDetail/context.d.ts +2 -1
- package/build/together/components/molecules/profileDetail/index.d.ts +2 -1
- package/build/together/components/molecules/skipQuestionOfExpertBtn/index.d.ts +2 -1
- package/build/together/components/molecules/topicSelectList/index.d.ts +3 -2
- package/build/together/components/organisms/cardReply/index.styled.d.ts +1 -1
- package/build/together/components/organisms/sourceList/index.d.ts +2 -1
- package/build/together/interfaces/types.d.ts +1 -16
- package/build/together.js +1 -1
- package/build/translationsContext-ca842755.js +1 -0
- package/build/translationsProvider-e50b87e4.js +1 -0
- package/build/types-7d927e08.js +3079 -0
- package/build/{types-9a1f7b49.js → types-d0943884.js} +37 -37
- package/build/types.js +1 -1
- package/build/unifyEnv.js +1 -1
- package/build/useHealthToolCache-c8147646.js +1 -0
- package/build/{useRafState-b6ec3a9b.js → useRafState-ef70e2c8.js} +1 -1
- package/build/useTranslations-e241e21a.js +1 -0
- package/build/utils-82043344.js +166 -0
- package/build/vaccination.js +58 -38
- package/package.json +13 -17
- package/build/components/atoms/icons/Alert.d.ts +0 -4
- package/build/components/mantine/datepicker/index.styled.d.ts +0 -3
- package/build/components/mantine/datepicker/range.d.ts +0 -5
- package/build/components/mantine/modal/index.styled.d.ts +0 -2
- package/build/components/molecules/embeddedHeathToolCards/baby-poop/index.styled.d.ts +0 -21
- package/build/components/vaccination/vaccineDetailPopup/form.d.ts +0 -14
- package/build/core-10f69c01.js +0 -1
- package/build/esm/index-190bc500.js +0 -1
- package/build/esm/index-214703a2.js +0 -1
- package/build/esm/index-54068dae.js +0 -1
- package/build/esm/index-5a1af70b.js +0 -1
- package/build/esm/index-99d18c36.js +0 -1
- package/build/esm/index-a299cbab.js +0 -1
- package/build/esm/index-a89c2508.js +0 -1
- package/build/esm/index-aea51f7e.js +0 -1
- package/build/esm/index-f9100c7a.js +0 -115
- package/build/esm/index.styled-8ef8af11.js +0 -1249
- package/build/esm/translationsContext-a9e714b6.js +0 -1
- package/build/esm/translationsProvider-256e5540.js +0 -1
- package/build/esm/types-f6f19702.js +0 -3078
- package/build/esm/useHealthToolCache-8d783509.js +0 -1
- package/build/esm/useScreenSize-659ec89f.js +0 -1
- package/build/esm/utils-6a7659ea.js +0 -166
- package/build/index-27246b79.js +0 -1
- package/build/index-2d4d4013.js +0 -115
- package/build/index-3ae5499c.js +0 -1
- package/build/index-4721e57c.js +0 -1
- package/build/index-50caa7e2.js +0 -1
- package/build/index-5b7b2586.js +0 -1
- package/build/index-6b0e0f4f.js +0 -1
- package/build/index-6eefddc7.js +0 -1
- package/build/index-b9f36738.js +0 -1
- package/build/index-f2dd5437.js +0 -1
- package/build/index.styled-385b0213.js +0 -1249
- package/build/translationsContext-d30cff67.js +0 -1
- package/build/translationsProvider-ba37c644.js +0 -1
- package/build/types-b6c32bfa.js +0 -3078
- package/build/useHealthToolCache-576c5d14.js +0 -1
- package/build/useScreenSize-f756ef52.js +0 -1
- package/build/useTranslations-e9278035.js +0 -1
- package/build/utils-d25182fc.js +0 -166
- /package/build/{BMI_BOYS.percentile.monthly-d2abdecb.js → BMI_BOYS.percentile.monthly-de91e806.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-1452dbfc.js → BMI_BOYS.percentile.weekly-810def48.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-c7b99f55.js → BMI_BOYS.percentile.yearly-50355acd.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-d41fba58.js → BMI_BOYS.zscore.monthly-d72fb8f6.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-0ba20aa6.js → BMI_BOYS.zscore.weekly-8fc6be69.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-0429f0c2.js → BMI_BOYS.zscore.yearly-644c2d8d.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-b826dd5c.js → BMI_GIRLS.percentile.monthly-4019be93.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-74e865cd.js → BMI_GIRLS.percentile.weekly-854852bf.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-fb3827f4.js → BMI_GIRLS.percentile.yearly-c0ddde1d.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-f983829b.js → BMI_GIRLS.zscore.monthly-50e9e93c.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-6edd1a66.js → BMI_GIRLS.zscore.weekly-a5d035f0.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-81fc38d6.js → BMI_GIRLS.zscore.yearly-b186c1a5.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-8172b3a1.js → HEAD CIRCUM_BOYS.percentile.monthly-6608b832.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-9b481925.js → HEAD CIRCUM_BOYS.percentile.weekly-9c8eac7e.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-dbc4c7a4.js → HEAD CIRCUM_BOYS.percentile.yearly-193efcdf.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-58ac8847.js → HEAD CIRCUM_BOYS.zscore.monthly-d4b0ecff.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-12e8a3e9.js → HEAD CIRCUM_BOYS.zscore.weekly-fecff98e.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-ee05bd18.js → HEAD CIRCUM_BOYS.zscore.yearly-edb240ef.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-2413ac75.js → HEAD CIRCUM_GIRLS.percentile.monthly-8af837c2.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-88625ca5.js → HEAD CIRCUM_GIRLS.percentile.weekly-f89a721e.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-23a80aeb.js → HEAD CIRCUM_GIRLS.percentile.yearly-880b2d08.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-6f787df5.js → HEAD CIRCUM_GIRLS.zscore.monthly-7e898436.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-561e03ee.js → HEAD CIRCUM_GIRLS.zscore.weekly-a28ed42c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-b4ddedd7.js → HEAD CIRCUM_GIRLS.zscore.yearly-918e3543.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-ef6a749a.js → HEIGHT_BOYS.percentile.monthly-86e93644.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-d9f828fb.js → HEIGHT_BOYS.percentile.weekly-583a8f12.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-20cf4783.js → HEIGHT_BOYS.percentile.yearly-ea3c1503.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-51913587.js → HEIGHT_BOYS.zscore.monthly-14711619.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-1738f4f4.js → HEIGHT_BOYS.zscore.weekly-4adeea59.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-ac4a2fee.js → HEIGHT_BOYS.zscore.yearly-11513a76.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-a6a41fda.js → HEIGHT_GIRLS.percentile.monthly-6c6b0024.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-329a50ad.js → HEIGHT_GIRLS.percentile.weekly-04de7259.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-2165853e.js → HEIGHT_GIRLS.percentile.yearly-d290b60f.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-712d35b1.js → HEIGHT_GIRLS.zscore.monthly-af444d64.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-34e307be.js → HEIGHT_GIRLS.zscore.weekly-382f704e.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-280be713.js → HEIGHT_GIRLS.zscore.yearly-1d6f27a4.js} +0 -0
- /package/build/{Onboarding-58182d80.js → Onboarding-3623ec04.js} +0 -0
- /package/build/{Visible-1fbe2af3.js → Visible-ee82fd46.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-83f8e007.js → WEIGHT_BOYS.percentile.monthly-ce84fb34.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-09743884.js → WEIGHT_BOYS.percentile.weekly-3fab9bb5.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-aff42eea.js → WEIGHT_BOYS.percentile.yearly-71c9c082.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-1ff93805.js → WEIGHT_BOYS.zscore.monthly-28ec774a.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-e5f55c1e.js → WEIGHT_BOYS.zscore.weekly-b5914ab1.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-828478cb.js → WEIGHT_BOYS.zscore.yearly-a39a7b59.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-e315d110.js → WEIGHT_GIRLS.percentile.monthly-483b0563.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-f1219a6a.js → WEIGHT_GIRLS.percentile.weekly-d230ef8e.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-436aeadf.js → WEIGHT_GIRLS.percentile.yearly-a56eccd8.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-077e06ca.js → WEIGHT_GIRLS.zscore.monthly-fd518d7d.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-a31f3992.js → WEIGHT_GIRLS.zscore.weekly-74f1cb9d.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-e9f38cb1.js → WEIGHT_GIRLS.zscore.yearly-efd33c7e.js} +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/atoms/ArrowLeftPopupIcon.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/atoms/ClosePopupIcon.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/atoms/HamburgerIcon.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/atoms/PopupWrapper/btnClosePopup.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/atoms/PopupWrapper/index.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/atoms/SearchIcon.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/atoms/searchInput/index.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/Categories/index.styled.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/Spotlights/index.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/Spotlights/index.styled.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/menuCareList/Item/index.styled.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/menuCareList/index.styled.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/menuCategoriesList/Item/index.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/menuCategoriesList/Item/index.styled.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/menuCategoriesList/categorySpotlights.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/menuCategoriesList/index.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/menuCategoriesList/index.styled.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/menuCommunitiesList/Item/index.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/menuCommunitiesList/Item/index.styled.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/menuCommunitiesList/index.styled.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/menuHealthToolsList/Item/index.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/menuHealthToolsList/Item/index.styled.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/menuHealthToolsList/ItemMarryBaby/index.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/menuHealthToolsList/ItemMarryBaby/index.styled.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/menuHealthToolsList/index.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/menuHealthToolsList/index.styled.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/menuHealthToolsList/toolSpotlights.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/menuServiceList/index.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/menuServiceList/index.styled.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/navigationBar/bookingButton/index.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/navigationBar/index.styled.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/spotlightNoData/index.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/components/molecules/spotlightNoData/index.styled.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/constants.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/hooks/useHeaderHeight.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/hooks/useInsider.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/hooks/useNavServices.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/index.styled.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/navigationContext.d.ts +0 -0
- /package/build/components/{organisms/navigationV2 → navigationV2}/utils.d.ts +0 -0
- /package/build/{constants-56ca0bdd.js → constants-9b8da9ca.js} +0 -0
- /package/build/{cookieHelper-a822b7c4.js → cookieHelper-c911bc96.js} +0 -0
- /package/build/{dataTransform-b004a5ef.js → dataTransform-05311344.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-a9939fd8.js → BMI_BOYS.percentile.monthly-9137fba5.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-776a5c0a.js → BMI_BOYS.percentile.weekly-e892e2c1.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-5271988d.js → BMI_BOYS.percentile.yearly-dcedc68d.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-93f3b63e.js → BMI_BOYS.zscore.monthly-89d4ecda.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-f35bd4fb.js → BMI_BOYS.zscore.weekly-eb24bc29.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-3eb8fbf3.js → BMI_BOYS.zscore.yearly-96bcbb54.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-36c03f04.js → BMI_GIRLS.percentile.monthly-6a391a62.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-f7b786ff.js → BMI_GIRLS.percentile.weekly-cc9ace02.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-52e0098a.js → BMI_GIRLS.percentile.yearly-72d1907f.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-44b7133e.js → BMI_GIRLS.zscore.monthly-757e2731.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-f210ffb5.js → BMI_GIRLS.zscore.weekly-d4794d60.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-7af18b5e.js → BMI_GIRLS.zscore.yearly-c44aa342.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-2203e6cc.js → HEAD CIRCUM_BOYS.percentile.monthly-447a9a4d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-fb81cb82.js → HEAD CIRCUM_BOYS.percentile.weekly-fb0e3872.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-3eddd3f1.js → HEAD CIRCUM_BOYS.percentile.yearly-db004cb7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-ca761ca0.js → HEAD CIRCUM_BOYS.zscore.monthly-14e654b5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-cdb0eb9f.js → HEAD CIRCUM_BOYS.zscore.weekly-21b7772b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-db8e5b39.js → HEAD CIRCUM_BOYS.zscore.yearly-67869ebf.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-03df8001.js → HEAD CIRCUM_GIRLS.percentile.monthly-2d86d11a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-7ce92c77.js → HEAD CIRCUM_GIRLS.percentile.weekly-eae959c5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-0f12536e.js → HEAD CIRCUM_GIRLS.percentile.yearly-2958a4f5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-2b59c2be.js → HEAD CIRCUM_GIRLS.zscore.monthly-45802598.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-731afffd.js → HEAD CIRCUM_GIRLS.zscore.weekly-e81cf4e1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-769dda2a.js → HEAD CIRCUM_GIRLS.zscore.yearly-8a51af78.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-37fc516a.js → HEIGHT_BOYS.percentile.monthly-1faef801.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-02cd6f1d.js → HEIGHT_BOYS.percentile.weekly-053b4ffa.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-ae96cae2.js → HEIGHT_BOYS.percentile.yearly-6e56f0ec.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-642907df.js → HEIGHT_BOYS.zscore.monthly-52daf5bf.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-37e2db49.js → HEIGHT_BOYS.zscore.weekly-4b7485c2.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-1ef99cb6.js → HEIGHT_BOYS.zscore.yearly-aea8faec.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-b84251ff.js → HEIGHT_GIRLS.percentile.monthly-034269c0.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-b54501a7.js → HEIGHT_GIRLS.percentile.weekly-ee765a49.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-8ddd423a.js → HEIGHT_GIRLS.percentile.yearly-c2391a8a.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-439ba31b.js → HEIGHT_GIRLS.zscore.monthly-3142ee0d.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-5320751a.js → HEIGHT_GIRLS.zscore.weekly-7921b8d8.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-85e8fc2e.js → HEIGHT_GIRLS.zscore.yearly-8d628c57.js} +0 -0
- /package/build/esm/{Onboarding-408706e0.js → Onboarding-edd90346.js} +0 -0
- /package/build/esm/{Visible-4242efe9.js → Visible-b784a437.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-bcae0f8e.js → WEIGHT_BOYS.percentile.monthly-d03728b2.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-047d6c3a.js → WEIGHT_BOYS.percentile.weekly-338755a2.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-8ed75bda.js → WEIGHT_BOYS.percentile.yearly-76b5b1b3.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-371ef476.js → WEIGHT_BOYS.zscore.monthly-401f0904.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-c6c6ff46.js → WEIGHT_BOYS.zscore.weekly-3c087e83.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-44631f23.js → WEIGHT_BOYS.zscore.yearly-daa822fc.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-cd36978a.js → WEIGHT_GIRLS.percentile.monthly-5cebf07b.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-f7ddbc67.js → WEIGHT_GIRLS.percentile.weekly-76638fc7.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-58759d43.js → WEIGHT_GIRLS.percentile.yearly-b73802c6.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-2bfc306f.js → WEIGHT_GIRLS.zscore.monthly-2d4d5df9.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-98f69b55.js → WEIGHT_GIRLS.zscore.weekly-72619a34.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-2b0e22ca.js → WEIGHT_GIRLS.zscore.yearly-d890ace2.js} +0 -0
- /package/build/esm/{constants-bc63287f.js → constants-08000e14.js} +0 -0
- /package/build/esm/{cookieHelper-b1f1798d.js → cookieHelper-71d9b25d.js} +0 -0
- /package/build/esm/{dataTransform-b927f586.js → dataTransform-9a91ff47.js} +0 -0
- /package/build/esm/{index-75cefdbb.js → index-762a0cac.js} +0 -0
- /package/build/esm/{index-43b41960.js → index-ef3b5990.js} +0 -0
- /package/build/esm/{isProduction-ae9181a5.js → isProduction-2f5b17a9.js} +0 -0
- /package/build/esm/{localizeNumberFormat-1a2ae455.js → localizeNumberFormat-e5cf0365.js} +0 -0
- /package/build/esm/{normalizeLink-4ca3ff21.js → normalizeLink-b88810dd.js} +0 -0
- /package/build/esm/{theme-ffbfb9b9.js → theme-09b5027a.js} +0 -0
- /package/build/esm/{tslib.es6-a5547e68.js → tslib.es6-5507553a.js} +0 -0
- /package/build/esm/{types-ca48a347.js → types-d98a9662.js} +0 -0
- /package/build/esm/{useIsInit-38adc0b3.js → useIsInit-297b332c.js} +0 -0
- /package/build/esm/{useOutsideClick-5a52aab4.js → useOutsideClick-6f6a50fd.js} +0 -0
- /package/build/esm/{useScrollbarSize-0d039002.js → useScrollbarSize-966d1d2c.js} +0 -0
- /package/build/esm/{useUniqueId-14284cf9.js → useUniqueId-9985f6b8.js} +0 -0
- /package/build/esm/{utils-271bd0e0.js → utils-2554a96d.js} +0 -0
- /package/build/{index-7d70eca2.js → index-6684512f.js} +0 -0
- /package/build/{index-f8aa0ca2.js → index-bd764537.js} +0 -0
- /package/build/{isProduction-49ad1944.js → isProduction-4f943370.js} +0 -0
- /package/build/{localizeNumberFormat-ec3aff26.js → localizeNumberFormat-1d70eacf.js} +0 -0
- /package/build/{normalizeLink-a12107c7.js → normalizeLink-049dd7a4.js} +0 -0
- /package/build/{theme-6a1e2932.js → theme-2cb6485a.js} +0 -0
- /package/build/{tslib.es6-975fdf2d.js → tslib.es6-01a734a9.js} +0 -0
- /package/build/{types-adba7c8d.js → types-7f927b9f.js} +0 -0
- /package/build/{useIsInit-f7d180a7.js → useIsInit-6f805bcb.js} +0 -0
- /package/build/{useOutsideClick-bb507e56.js → useOutsideClick-56ef539b.js} +0 -0
- /package/build/{useScrollbarSize-c064bcbc.js → useScrollbarSize-7eadc7e9.js} +0 -0
- /package/build/{useUniqueId-b49d85f4.js → useUniqueId-d52efb9f.js} +0 -0
- /package/build/{utils-b76f3a57.js → utils-37e02909.js} +0 -0
package/build/esm/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as BabyGrowthChartDuration,B as BabyGrowthChartType,b as BabyGrowthResultTab,G as Gender,L as LOCALE,O as OnboardingStep}from"./Onboarding-
|
|
1
|
+
export{a as BabyGrowthChartDuration,B as BabyGrowthChartType,b as BabyGrowthResultTab,G as Gender,L as LOCALE,O as OnboardingStep}from"./Onboarding-edd90346.js";
|
package/build/esm/unifyEnv.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function I({DISCOVER_API:I,INTERNAL_DISCOVER_API:_,TOGETHER_API:A,CARE_API:e,SIDIS_TEMPLATE_API:
|
|
1
|
+
function I({DISCOVER_API:I,INTERNAL_DISCOVER_API:_,TOGETHER_API:A,CARE_API:e,SIDIS_TEMPLATE_API:N,SIDIS_API:s,SIDIS_API_GET:E,SSO_API:P,LOCALE:U,DEPLOY_ENV:S,LEAD_API:O,SUBOT_API:L,INTERNAL_SUBOT_API:T,SUBOT_URL:n,PREMIUM_URL:o,VACCINATION_TOOL_API:r,LOGGING_ENABLED:Y}){process.env.UNIFY_DISCOVER_API=I,process.env.UNIFY_INTERNAL_DISCOVER_API=_,process.env.UNIFY_TOGETHER_API=A,process.env.UNIFY_CARE_API=e,process.env.UNIFY_SIDIS_TEMPLATE_API=N,process.env.UNIFY_SIDIS_API=s,process.env.UNIFY_SIDIS_API_GET=E,process.env.UNIFY_SSO_API=P,process.env.UNIFY_LOCALE=U,process.env.UNIFY_DEPLOY_ENV=S,process.env.UNIFY_LEAD_API=O,process.env.UNIFY_SUBOT_API=L,process.env.UNIFY_INTERNAL_SUBOT_API=T,process.env.UNIFY_SUBOT_URL=n,process.env.UNIFY_PREMIUM_URL=o,process.env.UNIFY_VACCINATION_TOOL_API=r,process.env.UNIFY_LOGGING_ENABLED=String(Y)}export{I as setupUnifyEnv};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as o}from"./tslib.es6-5507553a.js";import{useState as t,useEffect as i,useCallback as a}from"react";import{a as l}from"./getDynamicHealthTool-166b41ad.js";const n=n=>{const[r,e]=t([]);i((()=>{o(void 0,void 0,void 0,(function*(){const o=yield l(n);e(o)}))}),[l,n]);const s=a((o=>{var t;return(null===(t=r.find((t=>t.template===o)))||void 0===t?void 0:t.link)||""}),[r]);return{allTools:r,getHealthToolLink:s}};export{n as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"./tslib.es6-
|
|
1
|
+
import{a as e}from"./tslib.es6-5507553a.js";import{useRef as t,useEffect as n,useState as r,useCallback as i}from"react";import{g as o}from"./cookieHelper-71d9b25d.js";import{u as a}from"./useUniqueId-9985f6b8.js";function l(e){const t=(new TextEncoder).encode(e.trim().toLowerCase());return crypto.subtle.digest("SHA-256",t).then((e=>Array.from(new Uint8Array(e)).map((e=>e.toString(16).padStart(2,"0"))).join("")))}const c=r=>{const i=t("");n((()=>(e(void 0,void 0,void 0,(function*(){var e,t,n,a,c;if(!i.current){let e=yield fetch("https://api.ipify.org").then((e=>e.text()));e||(e=yield fetch("https://icanhazip.com").then((e=>e.text()))),i.current=e}if(null===(t=null===(e=window.localStorage)||void 0===e?void 0:e.setItem)||void 0===t||t.call(e,"fbClientIp",JSON.stringify({client_ip_address:(null===(n=i.current)||void 0===n?void 0:n.replace("\n",""))||"",client_user_agent:navigator.userAgent||""})),null==r?void 0:r.id){const[e,t,n,i,s,u]=yield Promise.all([r.email?l(r.email):null,r.phone?l(r.phone):null,r.birthday?l(r.birthday.split("-").join("")):null,r.gender?"m":"f",r.city_name?l(r.city_name).then((e=>e.replace(/\s/g,""))):null,r.name?l(r.name):null]);o("_fbc"),o("_fbp");const d={user_id:r.id};u&&(d.fn=u),e&&(d.em=e),t&&(d.ph=t),n&&(d.db=n),s&&(d.ct=s),null===(c=null===(a=window.localStorage)||void 0===a?void 0:a.setItem)||void 0===c||c.call(a,"fbDataLayer_userInfo",JSON.stringify(d))}})),()=>{})),[r])},s=e=>{const n=t(),r=t(e);return a()||r.current===e||(n.current=r.current,r.current=e),n.current},u=e=>{const[o,a]=r(e),l=t(0),c=i((e=>{cancelAnimationFrame(l.current),l.current=requestAnimationFrame((()=>{a(e)}))}),[]);return n((()=>()=>cancelAnimationFrame(l.current))),[o,c]};export{s as a,u as b,c as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useContext as o,useMemo as a}from"react";import{T as e,d as r}from"./translationsContext-
|
|
1
|
+
import{useContext as o,useMemo as a}from"react";import{T as e,d as r}from"./translationsContext-847f0e27.js";import t from"string-format";function n(){const{values:n,locale:s}=o(e)||{locale:"en-PH"};return a((()=>({t:(o,a)=>n?n[o]?a?t(n[o]||o,a):n[o]||o:(console.warn(`[useTranslations] Missing translation for key ${o} and locale ${s}`),a?t(r[o]||o,a):r[o]||o):(console.error("[useTranslations] t method called before translation values are loaded"),o),locale:s})),[n,s])}export{n as u};
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import"dayjs";import"./screenSizeContext-f1ed7d16.js";import e,{createContext as t,useContext as n}from"react";import r from"styled-components";import{t as o}from"./theme-09b5027a.js";import{L as a}from"./index-bb9dafcf.js";import{M as i}from"./utils-2554a96d.js";import"./isProduction-2f5b17a9.js";import{L as s}from"./Onboarding-edd90346.js";import"./gAssets.js";import{_ as p,a as l}from"./tslib.es6-5507553a.js";import{createFormContext as m,yupResolver as d}from"@mantine/form";import"./index.styled-5b95b0fa.js";import{B as c}from"./index-833a8c3f.js";import{Container as g,Title as u,Input as b}from"@mantine/core";import"./index-f643ff94.js";import{L as h}from"./index-ef658ac8.js";import"./index.styled-942b236f.js";import{u as f}from"./useTranslations-f64ca572.js";import"./index-762a0cac.js";import"@mantine/dates";import{f as x,n as w,e as E,R as y,O as P}from"./index-e6051fb1.js";import"./index-f958f081.js";import"@mantine/hooks";import"lodash/debounce";import{D as j}from"./index-4c924334.js";import{V as v}from"./Visible-b784a437.js";import*as M from"yup";import"./translationsContext-847f0e27.js";import"string-format";const I=t({}),[O,N,T]=m(),k=r.div`
|
|
2
|
+
margin-top: 70px;
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
align-items: center;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
`,z=r(g)`
|
|
8
|
+
&.hhg-comp-onboarding-container.hhg-comp-onboarding-container {
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
align-items: center;
|
|
12
|
+
height: 100%;
|
|
13
|
+
width: 100%;
|
|
14
|
+
max-width: 520px;
|
|
15
|
+
}
|
|
16
|
+
.header {
|
|
17
|
+
margin-bottom: 32px;
|
|
18
|
+
text-align: center;
|
|
19
|
+
${i.mbDown} {
|
|
20
|
+
margin-bottom: 16px;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.input-control {
|
|
25
|
+
width: 100%;
|
|
26
|
+
}
|
|
27
|
+
.radio-group,
|
|
28
|
+
.input-control {
|
|
29
|
+
margin-bottom: 16px;
|
|
30
|
+
}
|
|
31
|
+
.form {
|
|
32
|
+
width: 100%;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/* .form-error {
|
|
36
|
+
margin-top: 32px;
|
|
37
|
+
font-size: 14px;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.field-error {
|
|
41
|
+
margin-top: 10px;
|
|
42
|
+
font-size: 14px;
|
|
43
|
+
} */
|
|
44
|
+
|
|
45
|
+
.form-button {
|
|
46
|
+
width: 100%;
|
|
47
|
+
}
|
|
48
|
+
`,C=r.img`
|
|
49
|
+
margin-bottom: 38px;
|
|
50
|
+
`,B=t=>{var r,{heading:i,description:s,children:l,className:m,imgSrc:d}=t,c=p(t,["heading","description","children","className","imgSrc"]);const{isMarryBaby:g,siteType:b}=n(I);return e.createElement(z,Object.assign({},c,{className:`hhg-comp-onboarding-container ${m}`,size:"sm"}),e.createElement(h,{type:g?b:(null===(r=a[process.env.UNIFY_LOCALE])||void 0===r?void 0:r.LOGO_TYPE)||"hellobacsi"}),e.createElement(k,null,d&&e.createElement(C,{src:d,loading:"lazy"}),e.createElement("div",{className:"header"},e.createElement(u,{order:3},i),e.createElement(x,{size:"p3",mt:8,color:o.colors.gray600},s)),l))},D=r.div`
|
|
51
|
+
position: fixed;
|
|
52
|
+
inset: 0;
|
|
53
|
+
z-index: 1000;
|
|
54
|
+
background: white;
|
|
55
|
+
overflow-y: auto;
|
|
56
|
+
`,S=r.div`
|
|
57
|
+
height: 100%;
|
|
58
|
+
${i.lgPcUp} {
|
|
59
|
+
display: table;
|
|
60
|
+
width: 100%;
|
|
61
|
+
height: calc(100% - 25px);
|
|
62
|
+
}
|
|
63
|
+
`,$=r.div`
|
|
64
|
+
padding: 48px 24px 24px;
|
|
65
|
+
|
|
66
|
+
${i.lgPcUp} {
|
|
67
|
+
display: table-cell;
|
|
68
|
+
|
|
69
|
+
&[data-has-banner='true'] {
|
|
70
|
+
width: calc(100% - 640px);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
`,q=r.div`
|
|
74
|
+
width: 640px;
|
|
75
|
+
padding: 16px 16px 0 16px;
|
|
76
|
+
display: none;
|
|
77
|
+
|
|
78
|
+
${i.lgPcUp} {
|
|
79
|
+
width: 640px;
|
|
80
|
+
display: table-cell;
|
|
81
|
+
}
|
|
82
|
+
`,H=r.div`
|
|
83
|
+
background-color: ${o.colors.primary50};
|
|
84
|
+
border-radius: 12px;
|
|
85
|
+
height: 100%;
|
|
86
|
+
display: flex;
|
|
87
|
+
flex-direction: column;
|
|
88
|
+
justify-content: space-between;
|
|
89
|
+
|
|
90
|
+
&[data-is-marry-baby='true'] {
|
|
91
|
+
background-color: ${o.mbColors.tonePink};
|
|
92
|
+
}
|
|
93
|
+
`,L=r.div`
|
|
94
|
+
margin-top: 40px;
|
|
95
|
+
padding: 24px 40px;
|
|
96
|
+
`,V=r.img`
|
|
97
|
+
width: 100%;
|
|
98
|
+
display: block;
|
|
99
|
+
`,Y=r.div`
|
|
100
|
+
.phone-input {
|
|
101
|
+
width: 100%;
|
|
102
|
+
margin-bottom: 32px;
|
|
103
|
+
${i.mbDown} {
|
|
104
|
+
margin-bottom: 16px;
|
|
105
|
+
}
|
|
106
|
+
.PhoneInput {
|
|
107
|
+
margin-bottom: 16px;
|
|
108
|
+
}
|
|
109
|
+
.PhoneInputCountry {
|
|
110
|
+
border-radius: 4px 0 0 4px;
|
|
111
|
+
}
|
|
112
|
+
.PhoneInputInput {
|
|
113
|
+
border-radius: 0 4px 4px 0;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
`,A={[s.Vietnam]:"VN",[s.Cambodia]:"KH",[s.Indonesia]:"ID",[s.Malaysia]:"MY",[s.PhilippinesEnglish]:"PH",[s.PhilippinesTagalog]:"PH",[s.Taiwan]:"TW",[s.Thailand]:"TH",[s.Myanmar]:"MM"},F=({inputOrder:t=["phone"]})=>{const{t:n}=f(),r=N(),o=e.createElement("div",{className:"phone-input"},e.createElement(w,Object.assign({defaultCountry:A[process.env.UNIFY_LOCALE]||"VN"},r.getInputProps("phone"))),e.createElement(b.Error,null,r.errors.phone)),a=e.createElement(E,Object.assign({label:e.createElement(x,{size:"s4",weight:"semiBold",as:"span"},n("onboarding.formEmail.yourName")),withAsterisk:!0},r.getInputProps("name"))),i=e.createElement(E,Object.assign({label:e.createElement(x,{size:"s4",weight:"semiBold",as:"span"},n("onboarding.formEmail.yourEmail")),withAsterisk:!0},r.getInputProps("email"))),s=e.createElement(j,Object.assign({label:e.createElement(x,{size:"s4",weight:"semiBold",as:"span"},n("onboarding.formEmail.yourBirthday")),placeholder:"DD/MM/YYYY"},r.getInputProps("dob"))),p=e.createElement(y.Group,Object.assign({className:"radio-group",label:e.createElement(x,{size:"s4",weight:"semiBold",as:"span"},n("bmi.selectGender"))},r.getInputProps("gender")),e.createElement(y,{value:"0",label:n("onboarding.formEmail.genderMale")}),e.createElement(y,{value:"1",label:n("onboarding.formEmail.genderFemale")})),l=e.createElement("div",{className:"otp-input"},e.createElement(P,Object.assign({enterKeyHint:void 0,nonce:void 0},r.getInputProps("otp"))),e.createElement(b.Error,null,r.errors.otp)),m=e.createElement(E.Password,Object.assign({label:e.createElement(x,{size:"s4",weight:"semiBold",as:"span"},n("onboarding.updatePassword.password")),withAsterisk:!0,rightSection:e.createElement(v,null)},r.getInputProps("password"))),d=e.createElement(E.Password,Object.assign({label:e.createElement(x,{size:"s4",weight:"semiBold",as:"span"},n("onboarding.updatePassword.confirmPassword")),withAsterisk:!0,rightSection:e.createElement(v,null)},r.getInputProps("confirmPassword"))),c=t.map((e=>{switch(e){case"phone":return o;case"full_name":return a;case"email":return i;case"dob":return s;case"gender":return p;case"otp":return l;case"password":return m;case"confirm_password":return d;default:return null}}));return e.createElement(Y,null,c)},U=e=>M.object().shape({phone:M.string().required(e("onboarding.updatePhone.error")).default("")}),_=e=>M.object().shape({otp:M.string().required(e("onboarding.otpForm.error")).length(6,e("onboarding.otpForm.error")).default("")}),G=e=>M.object().shape({email:M.string().required(e("onboarding.errorMessage.requiredEmail")).email(e("onboarding.errorMessage.invalidEmail")).default(""),name:M.string().required(e("onboarding.errorMessage.requiredName"))}),K=e=>M.object().shape({password:M.string().required(e("onboarding.errorMessage.requiredPassword")).min(8,e("onboarding.errorMessage.minLength",{length:8})).matches(/.*[A-Z].*/,e("onboarding.errorMessage.passWithPattern")).default(""),confirmPassword:M.string().required(e("onboarding.errorMessage.requiredConfirmPassword")).oneOf([M.ref("password"),null],e("onboarding.errorMessage.passNotMatch")).default("")}),W=r(B)`
|
|
117
|
+
.phone-input {
|
|
118
|
+
width: 100%;
|
|
119
|
+
margin-bottom: 32px;
|
|
120
|
+
${i.mbDown} {
|
|
121
|
+
margin-bottom: 16px;
|
|
122
|
+
}
|
|
123
|
+
.PhoneInput {
|
|
124
|
+
margin-bottom: 16px;
|
|
125
|
+
}
|
|
126
|
+
.PhoneInputCountry {
|
|
127
|
+
border-radius: 4px 0 0 4px;
|
|
128
|
+
}
|
|
129
|
+
.PhoneInputInput {
|
|
130
|
+
border-radius: 0 4px 4px 0;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
`,R={[s.Vietnam]:"VN",[s.Cambodia]:"KH",[s.Indonesia]:"ID",[s.Malaysia]:"MY",[s.PhilippinesEnglish]:"PH",[s.PhilippinesTagalog]:"PH",[s.Taiwan]:"TW",[s.Thailand]:"TH",[s.Myanmar]:"MM",[s.India]:"IN"},Z=({onClose:t,onSubmit:n,canSkip:r=!0,customFormTexts:o})=>{const{t:a}=f(),i=T({initialValues:{phone:""},validate:d(U(a))});return e.createElement(W,{heading:(null==o?void 0:o.heading)||a("onboarding.updatePhone.heading"),description:(null==o?void 0:o.description)||a("onboarding.updatePhone.description")},e.createElement(O,{form:i},e.createElement("form",{onSubmit:i.onSubmit((e=>l(void 0,void 0,void 0,(function*(){n(e.phone)}))),(e=>{console.log(e)}))},e.createElement(F,{inputOrder:["phone"]}),e.createElement(c,{color:"primary",isBlock:!0,size:"lg",type:"submit","data-event-category":"Sign Up","data-event-action":"Update Phone Number","data-event-label":"undefined"!=typeof window?window.location.href:"",className:"pointer-event-child-none"},a("onboarding.button.continue")),r&&e.createElement(c,{color:"ghost",isBlock:!0,size:"lg",onClick:t,type:"button"},a("onboarding.button.skip")))))},J=r(B)`
|
|
134
|
+
.otp-input {
|
|
135
|
+
margin-bottom: 36px;
|
|
136
|
+
${i.mbDown} {
|
|
137
|
+
margin-bottom: 20px;
|
|
138
|
+
}
|
|
139
|
+
.otpContainer {
|
|
140
|
+
margin-bottom: 16px;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
.resend {
|
|
144
|
+
display: flex;
|
|
145
|
+
gap: 6px;
|
|
146
|
+
margin-bottom: 32px;
|
|
147
|
+
${i.mbDown} {
|
|
148
|
+
margin-bottom: 16px;
|
|
149
|
+
}
|
|
150
|
+
a {
|
|
151
|
+
text-decoration: underline;
|
|
152
|
+
cursor: pointer;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
.phone-description {
|
|
156
|
+
margin-left: 2px;
|
|
157
|
+
margin-top: 2px;
|
|
158
|
+
}
|
|
159
|
+
.otp-description-edit-icon {
|
|
160
|
+
cursor: pointer;
|
|
161
|
+
vertical-align: bottom;
|
|
162
|
+
/* height: 100%; */
|
|
163
|
+
margin-bottom: 3px;
|
|
164
|
+
margin-left: 3px;
|
|
165
|
+
}
|
|
166
|
+
`;s.Vietnam,s.Cambodia,s.Indonesia,s.Malaysia,s.PhilippinesEnglish,s.PhilippinesTagalog,s.Taiwan,s.Thailand,s.Myanmar;const Q=(e="")=>{const t=e.indexOf("@"),n=e.substring(0,t),r=n.length>3?3:n.length;return e.replace(e.substring(r,t),e.slice(r,t).replace(/./g,"x"))};export{F as D,O as F,R as M,I as O,J as S,G as a,B as b,K as c,D as d,S as e,$ as f,Z as g,Q as h,q as i,H as j,L as k,V as l,_ as o,T as u};
|