@hhgtech/hhg-components 1.26.1 → 1.26.3-beta-1
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 +5 -6
- package/build/cache.js +1 -1
- package/build/care/components/organisms/bookingSearchBar/locationResults/index.styled.d.ts +1 -2
- package/build/care.js +1 -1
- package/build/components/atoms/badge/index.styled.d.ts +1 -2
- package/build/components/atoms/borderHeading/index.styled.d.ts +1 -2
- package/build/components/atoms/checkbox/index.styled.d.ts +1 -2
- package/build/components/atoms/dropdownMB/index.styled.d.ts +1 -2
- package/build/components/atoms/fileDropdown/index.styled.d.ts +4 -5
- package/build/components/atoms/inputMB/index.styled.d.ts +2 -3
- package/build/components/atoms/marryBabyText/index.styled.d.ts +2 -3
- package/build/components/atoms/menu/index.styled.d.ts +1 -2
- package/build/components/atoms/newBabyProfileRadio/index.styled.d.ts +1 -2
- package/build/components/atoms/pagination/index.styled.d.ts +3 -4
- package/build/components/atoms/pill/index.styled.d.ts +1 -2
- package/build/components/atoms/progress/index.styled.d.ts +1 -2
- package/build/components/atoms/pureInput/index.styled.d.ts +3 -4
- package/build/components/atoms/radio/index.styled.d.ts +1 -2
- package/build/components/atoms/radioImageGroup/index.styled.d.ts +1 -2
- package/build/components/atoms/tag/index.styled.d.ts +1 -2
- package/build/components/atoms/toggle/index.styled.d.ts +1 -2
- package/build/components/atoms/underlinedLink/index.styled.d.ts +1 -2
- package/build/components/atoms/uploader/index.styled.d.ts +2 -3
- package/build/components/babyGrowth/babyGrowthForm/index.styled.d.ts +2 -3
- package/build/components/babyGrowth/babyGrowthProfileRadio/index.styled.d.ts +1 -2
- package/build/components/babyGrowth/babyGrowthSwitch/index.styled.d.ts +1 -2
- package/build/components/babyGrowth/childCard/index.styled.d.ts +1 -2
- package/build/components/mantine/accordion/index.styled.d.ts +1 -2
- package/build/components/mantine/index.d.ts +2 -1
- package/build/components/mantine/slider/index.styled.d.ts +1 -8
- package/build/components/mantine/theme/colors.d.ts +14 -0
- package/build/components/mantine/theme/index.d.ts +0 -14
- package/build/components/mantine/theme/radio.d.ts +1 -13
- package/build/components/molecules/bmiForm/index.styled.d.ts +1 -2
- package/build/components/molecules/carousel/index.styled.d.ts +2 -3
- package/build/components/molecules/categoryCard/index.styled.d.ts +1 -2
- package/build/components/molecules/cookieAcceptConfirm/index.styled.d.ts +5 -6
- package/build/components/molecules/datePicker/index.styled.d.ts +2 -3
- package/build/components/molecules/dateRangePicker/calendar/index.styled.d.ts +4 -5
- package/build/components/molecules/dateRangePicker/index.styled.d.ts +1 -2
- package/build/components/molecules/dropdown/index.styled.d.ts +2 -3
- package/build/components/molecules/dropdownSearch/index.styled.d.ts +5 -6
- package/build/components/molecules/dueDateCalculator/index.styled.d.ts +3 -4
- package/build/components/molecules/embeddedHeathToolCards/baby-growth/index.styled.d.ts +1 -2
- package/build/components/molecules/embeddedHeathToolCards/baby-poop/index.styled.d.ts +4 -5
- package/build/components/molecules/embeddedHeathToolCards/index.styled.d.ts +1 -2
- package/build/components/molecules/floatButtonGroup/index.styled.d.ts +1 -2
- package/build/components/molecules/iconText/index.styled.d.ts +1 -2
- package/build/components/molecules/languageSwitcher/index.styled.d.ts +1 -2
- package/build/components/molecules/languageSwitcher/tooltipSelection/index.styled.d.ts +1 -2
- package/build/components/molecules/modal/index.styled.d.ts +4 -5
- package/build/components/molecules/popup/index.styled.d.ts +1 -2
- package/build/components/molecules/progressBar/index.styled.d.ts +10 -11
- package/build/components/molecules/radioImageGroupForTool/index.styled.d.ts +1 -2
- package/build/components/molecules/scrollList/index.styled.d.ts +1 -2
- package/build/components/molecules/shareContainer/index.styled.d.ts +1 -2
- package/build/components/molecules/shareDrawer/index.styled.d.ts +1 -2
- package/build/components/molecules/statisticCard/index.styled.d.ts +3 -4
- package/build/components/molecules/surveyQuestionCard/index.styled.d.ts +3 -4
- package/build/components/molecules/tabs/index.styled.d.ts +2 -3
- package/build/components/molecules/toolBannerCard/index.styled.d.ts +1 -2
- package/build/components/molecules/weightGainForm/index.styled.d.ts +2 -3
- package/build/components/organisms/navigationLogoutPopup/index.styled.d.ts +1 -2
- package/build/components/organisms/navigationProfileButton/index.styled.d.ts +3 -4
- package/build/components/organisms/navigationV2/components/molecules/Categories/index.styled.d.ts +3 -4
- package/build/components/organisms/navigationV2/components/molecules/Spotlights/index.styled.d.ts +2 -3
- package/build/components/organisms/navigationV2/components/molecules/menuCareList/Item/index.styled.d.ts +3 -4
- package/build/components/organisms/navigationV2/components/molecules/menuCareList/index.styled.d.ts +1 -2
- package/build/components/organisms/navigationV2/components/molecules/menuCategoriesList/Item/index.styled.d.ts +1 -2
- package/build/components/organisms/navigationV2/components/molecules/menuCommunitiesList/Item/index.styled.d.ts +6 -7
- package/build/components/organisms/navigationV2/components/molecules/menuCommunitiesList/index.styled.d.ts +1 -2
- package/build/components/organisms/navigationV2/components/molecules/menuHealthToolsList/Item/index.styled.d.ts +4 -5
- package/build/components/organisms/navigationV2/components/molecules/menuHealthToolsList/ItemMarryBaby/index.styled.d.ts +4 -5
- package/build/components/organisms/navigationV2/components/molecules/menuServiceList/index.styled.d.ts +7 -8
- package/build/components/organisms/navigationV2/components/molecules/navigationBar/index.styled.d.ts +1 -2
- package/build/components/organisms/navigationV2/components/molecules/spotlightNoData/index.styled.d.ts +1 -2
- package/build/components.js +1 -1
- package/build/constants.js +1 -1
- package/build/{core-55389834.js → core-9e7fa00d.js} +1 -1
- package/build/{dataTransform-70b7b942.js → dataTransform-4c39297e.js} +1 -1
- package/build/ecom.js +1 -1
- package/build/esm/babyGrowth.js +9 -10
- 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-67f774bb.js → core-8ee6ccec.js} +1 -1
- package/build/esm/{dataTransform-afe529c5.js → dataTransform-154e1a90.js} +1 -1
- package/build/esm/ecom.js +1 -1
- package/build/esm/footer.js +1 -1
- package/build/esm/gAssets.js +1 -1
- package/build/esm/{getDynamicHealthTool-3255be64.js → getDynamicHealthTool-1cfb1b84.js} +1 -1
- package/build/esm/{getSocialList-1c143418.js → getSocialList-c602ab14.js} +1 -1
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/index-07dfdf97.js +1 -0
- package/build/esm/{index-89514194.js → index-19ad623c.js} +1 -1
- package/build/esm/index-3f756f44.js +1 -0
- package/build/esm/{index-7e1f6511.js → index-46c98c71.js} +1 -1
- package/build/esm/{index-cf3b2063.js → index-47161cce.js} +1 -1
- package/build/esm/{index-edf4724e.js → index-483f0c71.js} +1 -1
- package/build/esm/{index-d29a2bc2.js → index-5dc75abe.js} +1 -1
- package/build/esm/{index-9b489657.js → index-6bdb021f.js} +1 -1
- package/build/esm/{index-5311efac.js → index-7e7fbe76.js} +1 -1
- package/build/esm/{index-a7de3367.js → index-86787371.js} +1 -1
- package/build/esm/{index-fa88e322.js → index-9fa8c47c.js} +18 -18
- package/build/esm/{index-23461c13.js → index-b6e39606.js} +1 -1
- package/build/esm/{index-14899cba.js → index-cd54b72a.js} +19 -19
- package/build/esm/index-d25aa5cb.js +1 -0
- package/build/esm/{index-9a5ceed1.js → index-d5e46cad.js} +1 -1
- package/build/esm/{index-51c34386.js → index-e46cec66.js} +1 -1
- package/build/esm/{index-a78d9888.js → index-e9210384.js} +8 -8
- package/build/esm/index-f3ce73c1.js +1 -0
- package/build/esm/{index-566d4e11.js → index-f7b582e1.js} +1 -1
- package/build/esm/{index-65ff2e46.js → index-f9abddb6.js} +1 -1
- package/build/esm/{index-3c7f6ffc.js → index-fa9941e0.js} +1 -1
- package/build/esm/{index-7603f5c8.js → index-fb42e44f.js} +1 -1
- package/build/esm/{index-bc8279aa.js → index-fe02b6fa.js} +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-c52c24ef.js → index.styled-28e52e67.js} +62 -66
- package/build/esm/{index.styled-e63583aa.js → index.styled-49ab3911.js} +95 -102
- package/build/esm/{index.styled-f22d6816.js → index.styled-87917eed.js} +5 -5
- package/build/esm/{index.styled-14d557d6.js → index.styled-c050d393.js} +71 -78
- package/build/esm/{index.styled-caa3a9c9.js → index.styled-d4398861.js} +3 -3
- 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 +3 -3
- package/build/esm/{routing-512ce598.js → routing-2d155820.js} +1 -1
- package/build/esm/{screenSizeContext-ca566cf0.js → screenSizeContext-e8baa898.js} +6 -6
- package/build/esm/{theme-b3528b2a.js → theme-b980cf81.js} +1 -1
- package/build/esm/together.js +1 -1
- package/build/esm/{translationsProvider-9da1f72d.js → translationsProvider-9b24aea1.js} +1 -1
- package/build/esm/{types-fc4a2521.js → types-ed671f0a.js} +4 -4
- package/build/esm/{types-cc5fdb3d.js → types-ffb1105c.js} +33 -36
- package/build/esm/types.js +1 -1
- package/build/esm/useHealthToolCache-b1120a23.js +1 -0
- package/build/esm/{useRafState-aaa521f7.js → useRafState-217e6e79.js} +1 -1
- package/build/esm/{useScreenSize-5a05b01d.js → useScreenSize-a478a48e.js} +1 -1
- package/build/esm/{useTranslations-8dc2d7f1.js → useTranslations-b34a9124.js} +1 -1
- package/build/esm/utils-7fe6a860.js +166 -0
- package/build/esm/vaccination.js +1 -1
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/getDynamicHealthTool-5f50986e.js +1 -0
- package/build/{getSocialList-f416948f.js → getSocialList-7f09333d.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/{index-21a94271.js → index-00698e01.js} +1 -1
- package/build/{index-aeb07a92.js → index-09712937.js} +1 -1
- package/build/{index-2b99cb56.js → index-18005712.js} +1 -1
- package/build/{index-186ea291.js → index-2f9e1df7.js} +1 -1
- package/build/{index-c4aed41e.js → index-3ed5176a.js} +1 -1
- package/build/{index-d6eecf53.js → index-47caacd3.js} +1 -1
- package/build/{index-19bc87f2.js → index-6207a63d.js} +1 -1
- package/build/index-6fa70b52.js +1 -0
- package/build/{index-d8e712d6.js → index-76151732.js} +1 -1
- package/build/{index-87604a48.js → index-78d09170.js} +12 -12
- package/build/{index-c365b655.js → index-79674ad8.js} +1 -1
- package/build/{index-0f3b0cb0.js → index-87c5e5fa.js} +1 -1
- package/build/{index-6d03f207.js → index-a01143fe.js} +3 -3
- package/build/{index-d1cbce13.js → index-a2de03ce.js} +1 -1
- package/build/{index-7870dbf2.js → index-aa485ce2.js} +1 -1
- package/build/{index-47e524cf.js → index-aecd4287.js} +1 -1
- package/build/{index-beb9b379.js → index-af641795.js} +1 -1
- package/build/{index-c78fad9d.js → index-b0471eb6.js} +1 -1
- package/build/{index-cfb03666.js → index-bdda9ac5.js} +1 -1
- package/build/{index-a5c04582.js → index-d002cf7c.js} +1 -1
- package/build/{index-6df60e3a.js → index-dc5654c7.js} +1 -1
- package/build/{index-90f3fe11.js → index-f78caa67.js} +12 -12
- package/build/{index-03c84548.js → index-fd684eec.js} +1 -1
- package/build/index.js +1 -1
- package/build/{index.styled-b683af18.js → index.styled-24aab5e3.js} +5 -5
- package/build/{index.styled-4821c538.js → index.styled-2741756f.js} +95 -102
- package/build/{index.styled-83405234.js → index.styled-c0481ce8.js} +6 -6
- package/build/{index.styled-2b48824e.js → index.styled-d3db6485.js} +56 -63
- package/build/{index.styled-013215b0.js → index.styled-f073fde4.js} +94 -98
- package/build/lead.js +1 -1
- package/build/mantine.js +1 -1
- package/build/misc/theme.d.ts +0 -2
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/onboarding.js +1 -1
- package/build/pwg.js +2 -2
- package/build/{routing-01f2972b.js → routing-cc9be7a5.js} +1 -1
- package/build/{screenSizeContext-7024419e.js → screenSizeContext-f0ebed7f.js} +1 -1
- package/build/{theme-54f4dde4.js → theme-a77c4057.js} +1 -1
- package/build/together/components/atoms/labelSortPin/index.styled.d.ts +1 -2
- package/build/together/components/atoms/loading/index.styled.d.ts +1 -2
- package/build/together/components/molecules/createNewPostContent/index.styled.d.ts +1 -2
- package/build/together/components/molecules/createPostDescription/index.styled.d.ts +2 -3
- package/build/together/components/molecules/createPostTitle/index.styled.d.ts +1 -2
- package/build/together/components/molecules/inputCommentBar/index.styled.d.ts +1 -2
- package/build/together/components/molecules/popupDanger/index.styled.d.ts +1 -2
- package/build/together/components/molecules/popupDoctor/index.styled.d.ts +3 -4
- package/build/together/components/molecules/popupExpert/index.styled.d.ts +3 -4
- package/build/together/components/molecules/popupFrame/popupShare.d.ts +1 -2
- package/build/together/components/molecules/popupHospital/index.styled.d.ts +3 -4
- package/build/together/components/molecules/topicSelectList/index.styled.d.ts +1 -2
- package/build/together/components/organisms/cardPost/index.styled.d.ts +1 -2
- package/build/together/components/organisms/cardReply/index.styled.d.ts +1 -2
- package/build/together/components/organisms/popoverMenu/index.styled.d.ts +1 -2
- package/build/together/components/organisms/sourceList/recommentCategories/index.styled.d.ts +1 -2
- package/build/together.js +1 -1
- package/build/{translationsProvider-6bd6fd86.js → translationsProvider-5383b211.js} +1 -1
- package/build/{types-f9b113e4.js → types-3e9f1637.js} +54 -57
- package/build/{types-ccf3d3fe.js → types-c584b21c.js} +16 -16
- package/build/types.js +1 -1
- package/build/useHealthToolCache-495c0af3.js +1 -0
- package/build/{useRafState-50cad379.js → useRafState-710b9f6c.js} +1 -1
- package/build/{useScreenSize-64a6a465.js → useScreenSize-80d668cf.js} +1 -1
- package/build/{useTranslations-dcd5faaf.js → useTranslations-11d21172.js} +1 -1
- package/build/{utils-5293923c.js → utils-58837b5e.js} +14 -14
- package/build/vaccination.js +1 -1
- package/package.json +2 -2
- package/build/esm/index-0aba009c.js +0 -1
- package/build/esm/index-88b7628a.js +0 -1
- package/build/esm/index-c3e7ac4e.js +0 -1
- package/build/esm/index-ee1505c6.js +0 -1
- package/build/esm/useHealthToolCache-7c3e370a.js +0 -1
- package/build/esm/utils-66624bdf.js +0 -166
- package/build/getDynamicHealthTool-4a8d8ee8.js +0 -1
- package/build/index-c7c3220f.js +0 -1
- package/build/useHealthToolCache-6fcbf0d4.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-746896e1.js → BMI_BOYS.percentile.monthly-ad3d0ae7.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-549c1d33.js → BMI_BOYS.percentile.weekly-acef6653.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-d50e8a21.js → BMI_BOYS.percentile.yearly-8c64c0c3.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-754b03bc.js → BMI_BOYS.zscore.monthly-ec78a3b3.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-19b01c4b.js → BMI_BOYS.zscore.weekly-17cbed22.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-cad5ae00.js → BMI_BOYS.zscore.yearly-59206f2e.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-96a83d9b.js → BMI_GIRLS.percentile.monthly-f8cc96db.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-32642a7e.js → BMI_GIRLS.percentile.weekly-848047ee.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-5ec13e0d.js → BMI_GIRLS.percentile.yearly-564da965.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-2f2da50f.js → BMI_GIRLS.zscore.monthly-76ce0ef4.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-bd13140b.js → BMI_GIRLS.zscore.weekly-862a6bba.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-8d180e01.js → BMI_GIRLS.zscore.yearly-0fbdefc4.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-d4e262ae.js → HEAD CIRCUM_BOYS.percentile.monthly-cf3c1317.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-c3472d46.js → HEAD CIRCUM_BOYS.percentile.weekly-4915d20b.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-a5b8b3d4.js → HEAD CIRCUM_BOYS.percentile.yearly-5953fbd3.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-a1294242.js → HEAD CIRCUM_BOYS.zscore.monthly-2dad7fb4.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-0dfa5861.js → HEAD CIRCUM_BOYS.zscore.weekly-5c54cbe2.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-159842e3.js → HEAD CIRCUM_BOYS.zscore.yearly-cba2e265.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-60fe6d37.js → HEAD CIRCUM_GIRLS.percentile.monthly-8df9c99a.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-d7a21c52.js → HEAD CIRCUM_GIRLS.percentile.weekly-9904dca5.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-0cb40c20.js → HEAD CIRCUM_GIRLS.percentile.yearly-fec72f46.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-bd617e3a.js → HEAD CIRCUM_GIRLS.zscore.monthly-e68e0a7f.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-0c1bacc1.js → HEAD CIRCUM_GIRLS.zscore.weekly-210a9721.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-53157746.js → HEAD CIRCUM_GIRLS.zscore.yearly-b29ee605.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-79277c17.js → HEIGHT_BOYS.percentile.monthly-719cfe0f.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-919f0291.js → HEIGHT_BOYS.percentile.weekly-2b62cbfb.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-636e7eba.js → HEIGHT_BOYS.percentile.yearly-b98576c9.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-696ef787.js → HEIGHT_BOYS.zscore.monthly-6d4e4b71.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-ff1bc0e5.js → HEIGHT_BOYS.zscore.weekly-35bd8b2c.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-e66a6289.js → HEIGHT_BOYS.zscore.yearly-578f252a.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-89ad6e1d.js → HEIGHT_GIRLS.percentile.monthly-dac1d9a6.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-bd91475c.js → HEIGHT_GIRLS.percentile.weekly-5cbe7e02.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-ceeb123a.js → HEIGHT_GIRLS.percentile.yearly-68ccecad.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-541ab88d.js → HEIGHT_GIRLS.zscore.monthly-35c47378.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-2ce2be45.js → HEIGHT_GIRLS.zscore.weekly-33cb076c.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-73cb3fab.js → HEIGHT_GIRLS.zscore.yearly-85d838d6.js} +0 -0
- /package/build/{Onboarding-5cc2a17c.js → Onboarding-e0bc49b6.js} +0 -0
- /package/build/{Visible-b193472c.js → Visible-0c20268e.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-d4743ffb.js → WEIGHT_BOYS.percentile.monthly-d63afafb.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-94356178.js → WEIGHT_BOYS.percentile.weekly-e924c535.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-929dea5b.js → WEIGHT_BOYS.percentile.yearly-3a609de3.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-9a933ddc.js → WEIGHT_BOYS.zscore.monthly-2bfb2d82.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-2952a5e8.js → WEIGHT_BOYS.zscore.weekly-920ea6ef.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-24e14384.js → WEIGHT_BOYS.zscore.yearly-bda55c99.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-780275fd.js → WEIGHT_GIRLS.percentile.monthly-8cd415a7.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-cfce9dd3.js → WEIGHT_GIRLS.percentile.weekly-a1eee50a.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-0246a7d0.js → WEIGHT_GIRLS.percentile.yearly-ebe46be2.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-140a87f3.js → WEIGHT_GIRLS.zscore.monthly-150deae9.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-7f012807.js → WEIGHT_GIRLS.zscore.weekly-9403945c.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-862904f4.js → WEIGHT_GIRLS.zscore.yearly-199a1599.js} +0 -0
- /package/build/{constants-df00bbe8.js → constants-8bb095c0.js} +0 -0
- /package/build/{cookieHelper-ec53b348.js → cookieHelper-ad5f2efe.js} +0 -0
- /package/build/{dataTransform-399500cc.js → dataTransform-7ae9991a.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-f58464e0.js → BMI_BOYS.percentile.monthly-f07925b6.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-564c74d5.js → BMI_BOYS.percentile.weekly-186afa5a.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-e4724afd.js → BMI_BOYS.percentile.yearly-79577e9e.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-3b552a68.js → BMI_BOYS.zscore.monthly-c143e5fa.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-50b183cf.js → BMI_BOYS.zscore.weekly-c310b94d.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-bda89b3a.js → BMI_BOYS.zscore.yearly-951dcf5f.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-05a7267c.js → BMI_GIRLS.percentile.monthly-6e7cc93b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-90ac2702.js → BMI_GIRLS.percentile.weekly-03f7cc6b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-a5b378d8.js → BMI_GIRLS.percentile.yearly-f3ed06b3.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-a4aa4e80.js → BMI_GIRLS.zscore.monthly-aea3084b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-facdb9e2.js → BMI_GIRLS.zscore.weekly-1fd57c87.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-fe8fa330.js → BMI_GIRLS.zscore.yearly-e5689945.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-ba0f562a.js → HEAD CIRCUM_BOYS.percentile.monthly-e0ad764c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-27007b44.js → HEAD CIRCUM_BOYS.percentile.weekly-b98e312c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-9abba796.js → HEAD CIRCUM_BOYS.percentile.yearly-7eeaa219.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-0ef54d5f.js → HEAD CIRCUM_BOYS.zscore.monthly-daf5b201.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-c5ef0930.js → HEAD CIRCUM_BOYS.zscore.weekly-1775b919.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-7f106b4f.js → HEAD CIRCUM_BOYS.zscore.yearly-09f43181.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-19305934.js → HEAD CIRCUM_GIRLS.percentile.monthly-cae4b638.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-e7f0b580.js → HEAD CIRCUM_GIRLS.percentile.weekly-f0e716ad.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-fe0cf7c6.js → HEAD CIRCUM_GIRLS.percentile.yearly-3506e4ae.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-d5a1b65a.js → HEAD CIRCUM_GIRLS.zscore.monthly-13d8b464.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-791e9a80.js → HEAD CIRCUM_GIRLS.zscore.weekly-1327fd6e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-c8a3a756.js → HEAD CIRCUM_GIRLS.zscore.yearly-f20aaf9c.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-4c9f9b31.js → HEIGHT_BOYS.percentile.monthly-982f50f8.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-cc35c6c6.js → HEIGHT_BOYS.percentile.weekly-64103ce8.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-4b490d6f.js → HEIGHT_BOYS.percentile.yearly-609c1872.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-51d299ac.js → HEIGHT_BOYS.zscore.monthly-4447429d.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-dec5727a.js → HEIGHT_BOYS.zscore.weekly-8d39275e.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-2000cee9.js → HEIGHT_BOYS.zscore.yearly-a3d1d3e4.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-e8cf171b.js → HEIGHT_GIRLS.percentile.monthly-e3506bf7.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-5521e5ce.js → HEIGHT_GIRLS.percentile.weekly-0e75bd3c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-c918be57.js → HEIGHT_GIRLS.percentile.yearly-4b37b61e.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-dae60fc0.js → HEIGHT_GIRLS.zscore.monthly-aac66fd4.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-354de0e9.js → HEIGHT_GIRLS.zscore.weekly-e726dc50.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-50917d4e.js → HEIGHT_GIRLS.zscore.yearly-3a5f029c.js} +0 -0
- /package/build/esm/{Onboarding-5d4e7e9a.js → Onboarding-e50f8d93.js} +0 -0
- /package/build/esm/{Visible-e6dd1326.js → Visible-6381c638.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-aa1db45a.js → WEIGHT_BOYS.percentile.monthly-4a61a17e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-30327865.js → WEIGHT_BOYS.percentile.weekly-07c2ed40.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-d672a7c3.js → WEIGHT_BOYS.percentile.yearly-bb121124.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-ddee6555.js → WEIGHT_BOYS.zscore.monthly-01b24493.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-d21e1269.js → WEIGHT_BOYS.zscore.weekly-a9681785.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-60b3230b.js → WEIGHT_BOYS.zscore.yearly-f9f75d56.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-cb60b265.js → WEIGHT_GIRLS.percentile.monthly-4289e8dd.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-fedcd4ee.js → WEIGHT_GIRLS.percentile.weekly-f6e4d119.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-8f6f7c36.js → WEIGHT_GIRLS.percentile.yearly-2efd2654.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-77c625da.js → WEIGHT_GIRLS.zscore.monthly-c6e2c073.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-fa03edd8.js → WEIGHT_GIRLS.zscore.weekly-19d8d782.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-cf2103f8.js → WEIGHT_GIRLS.zscore.yearly-97799c72.js} +0 -0
- /package/build/esm/{constants-4cb2f84a.js → constants-6a90d60e.js} +0 -0
- /package/build/esm/{cookieHelper-4e6ba518.js → cookieHelper-ec98dfd4.js} +0 -0
- /package/build/esm/{dataTransform-82943ba5.js → dataTransform-0384faa0.js} +0 -0
- /package/build/esm/{index-336463f4.js → index-4f3db35b.js} +0 -0
- /package/build/esm/{index-35d849db.js → index-8e5ff5d9.js} +0 -0
- /package/build/esm/{isProduction-c71511f1.js → isProduction-4810c43b.js} +0 -0
- /package/build/esm/{localizeNumberFormat-0b291ceb.js → localizeNumberFormat-2ef6abb8.js} +0 -0
- /package/build/esm/{normalizeLink-2cfad1a9.js → normalizeLink-035b9468.js} +0 -0
- /package/build/esm/{translationsContext-b11db32c.js → translationsContext-62d92141.js} +0 -0
- /package/build/esm/{tslib.es6-23b16f13.js → tslib.es6-6d4ee5aa.js} +0 -0
- /package/build/esm/{types-96c6614a.js → types-36c407ed.js} +0 -0
- /package/build/esm/{useIsInit-9d185760.js → useIsInit-6da34c03.js} +0 -0
- /package/build/esm/{useOutsideClick-29382783.js → useOutsideClick-14dc42f3.js} +0 -0
- /package/build/esm/{useScrollbarSize-0042aed8.js → useScrollbarSize-3c8b6d23.js} +0 -0
- /package/build/esm/{useUniqueId-694cc229.js → useUniqueId-6aa5cd4b.js} +0 -0
- /package/build/esm/{utils-c64cd3c4.js → utils-e3db87a3.js} +0 -0
- /package/build/{index-7b41fe1c.js → index-24088255.js} +0 -0
- /package/build/{index-7847235b.js → index-2a8be674.js} +0 -0
- /package/build/{isProduction-0fdd7dfe.js → isProduction-caf23831.js} +0 -0
- /package/build/{localizeNumberFormat-669c1994.js → localizeNumberFormat-bc743d5f.js} +0 -0
- /package/build/{normalizeLink-c6de1786.js → normalizeLink-a2e5fdea.js} +0 -0
- /package/build/{translationsContext-06f43813.js → translationsContext-77b34459.js} +0 -0
- /package/build/{tslib.es6-d2b93cc7.js → tslib.es6-340fd43c.js} +0 -0
- /package/build/{types-0592baab.js → types-4e9ce85f.js} +0 -0
- /package/build/{useIsInit-2036ba02.js → useIsInit-163a86a0.js} +0 -0
- /package/build/{useOutsideClick-8d51030b.js → useOutsideClick-d81e2ff3.js} +0 -0
- /package/build/{useScrollbarSize-a5835e05.js → useScrollbarSize-0848f444.js} +0 -0
- /package/build/{useUniqueId-bf27367e.js → useUniqueId-e2bb002a.js} +0 -0
- /package/build/{utils-d555597e.js → utils-be54ffe5.js} +0 -0
package/build/components/organisms/navigationV2/components/molecules/Categories/index.styled.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ThemeProps } from 'misc/theme';
|
|
3
2
|
export declare const StyledItemGridLeft: import("@emotion/styled").StyledComponent<{
|
|
4
3
|
theme?: import("@emotion/react").Theme;
|
|
5
4
|
as?: import("react").ElementType<any>;
|
|
@@ -7,7 +6,7 @@ export declare const StyledItemGridLeft: import("@emotion/styled").StyledCompone
|
|
|
7
6
|
export declare const StyledItem: import("@emotion/styled").StyledComponent<{
|
|
8
7
|
theme?: import("@emotion/react").Theme;
|
|
9
8
|
as?: import("react").ElementType<any>;
|
|
10
|
-
}
|
|
9
|
+
}, import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, {}>;
|
|
11
10
|
export declare const StyledHeading: import("@emotion/styled").StyledComponent<{
|
|
12
11
|
theme?: import("@emotion/react").Theme;
|
|
13
12
|
as?: import("react").ElementType<any>;
|
|
@@ -19,7 +18,7 @@ export declare const StyledIconNav: import("@emotion/styled").StyledComponent<{
|
|
|
19
18
|
export declare const StyledItemAll: import("@emotion/styled").StyledComponent<{
|
|
20
19
|
theme?: import("@emotion/react").Theme;
|
|
21
20
|
as?: import("react").ElementType<any>;
|
|
22
|
-
}
|
|
21
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
23
22
|
export declare const StyledImageWrapper: import("@emotion/styled").StyledComponent<{
|
|
24
23
|
theme?: import("@emotion/react").Theme;
|
|
25
24
|
as?: import("react").ElementType<any>;
|
|
@@ -27,4 +26,4 @@ export declare const StyledImageWrapper: import("@emotion/styled").StyledCompone
|
|
|
27
26
|
export declare const StyledViewMore: import("@emotion/styled").StyledComponent<{
|
|
28
27
|
theme?: import("@emotion/react").Theme;
|
|
29
28
|
as?: import("react").ElementType<any>;
|
|
30
|
-
}
|
|
29
|
+
}, import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, {}>;
|
package/build/components/organisms/navigationV2/components/molecules/Spotlights/index.styled.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ThemeProps } from 'misc/theme';
|
|
3
2
|
export declare const StyledItemGridRight: import("@emotion/styled").StyledComponent<{
|
|
4
3
|
theme?: import("@emotion/react").Theme;
|
|
5
4
|
as?: import("react").ElementType<any>;
|
|
6
|
-
}
|
|
5
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
7
6
|
export declare const StyledHeading: import("@emotion/styled").StyledComponent<{
|
|
8
7
|
theme?: import("@emotion/react").Theme;
|
|
9
8
|
as?: import("react").ElementType<any>;
|
|
@@ -11,4 +10,4 @@ export declare const StyledHeading: import("@emotion/styled").StyledComponent<{
|
|
|
11
10
|
export declare const StyledViewMore: import("@emotion/styled").StyledComponent<{
|
|
12
11
|
theme?: import("@emotion/react").Theme;
|
|
13
12
|
as?: import("react").ElementType<any>;
|
|
14
|
-
}
|
|
13
|
+
}, import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, {}>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ThemeProps } from 'misc/theme';
|
|
3
2
|
export declare const StyledImageCard: import("@emotion/styled").StyledComponent<{
|
|
4
3
|
theme?: import("@emotion/react").Theme;
|
|
5
4
|
as?: import("react").ElementType<any>;
|
|
@@ -11,15 +10,15 @@ export declare const StyledImageCardInner: import("@emotion/styled").StyledCompo
|
|
|
11
10
|
export declare const StyledBtnView: import("@emotion/styled").StyledComponent<{
|
|
12
11
|
theme?: import("@emotion/react").Theme;
|
|
13
12
|
as?: import("react").ElementType<any>;
|
|
14
|
-
}
|
|
13
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
15
14
|
export declare const StyledTitle: import("@emotion/styled").StyledComponent<{
|
|
16
15
|
theme?: import("@emotion/react").Theme;
|
|
17
16
|
as?: import("react").ElementType<any>;
|
|
18
|
-
}
|
|
17
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}>;
|
|
19
18
|
export declare const StyledDes: import("@emotion/styled").StyledComponent<{
|
|
20
19
|
theme?: import("@emotion/react").Theme;
|
|
21
20
|
as?: import("react").ElementType<any>;
|
|
22
|
-
}
|
|
21
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}>;
|
|
23
22
|
export declare const _StyledContentWrapper: import("@emotion/styled").StyledComponent<{
|
|
24
23
|
theme?: import("@emotion/react").Theme;
|
|
25
24
|
as?: import("react").ElementType<any>;
|
package/build/components/organisms/navigationV2/components/molecules/menuCareList/index.styled.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ThemeProps } from 'misc/theme';
|
|
3
2
|
export declare const StyledContainer: import("@emotion/styled").StyledComponent<{
|
|
4
3
|
theme?: import("@emotion/react").Theme;
|
|
5
4
|
as?: import("react").ElementType<any>;
|
|
6
|
-
}
|
|
5
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
7
6
|
export declare const StyledContainerItems: import("@emotion/styled").StyledComponent<{
|
|
8
7
|
theme?: import("@emotion/react").Theme;
|
|
9
8
|
as?: import("react").ElementType<any>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ThemeProps } from 'misc/theme';
|
|
3
2
|
export declare const StyledItem: import("@emotion/styled").StyledComponent<{
|
|
4
3
|
theme?: import("@emotion/react").Theme;
|
|
5
4
|
as?: import("react").ElementType<any>;
|
|
@@ -11,4 +10,4 @@ export declare const StyledImageCard: import("@emotion/styled").StyledComponent<
|
|
|
11
10
|
export declare const StyledTitle: import("@emotion/styled").StyledComponent<{
|
|
12
11
|
theme?: import("@emotion/react").Theme;
|
|
13
12
|
as?: import("react").ElementType<any>;
|
|
14
|
-
}
|
|
13
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ThemeProps } from 'misc/theme';
|
|
3
2
|
export declare const StyledContent: import("@emotion/styled").StyledComponent<{
|
|
4
3
|
theme?: import("@emotion/react").Theme;
|
|
5
4
|
as?: import("react").ElementType<any>;
|
|
@@ -11,23 +10,23 @@ export declare const StyledImage: import("@emotion/styled").StyledComponent<{
|
|
|
11
10
|
export declare const StyledName: import("@emotion/styled").StyledComponent<{
|
|
12
11
|
theme?: import("@emotion/react").Theme;
|
|
13
12
|
as?: import("react").ElementType<any>;
|
|
14
|
-
}
|
|
13
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
15
14
|
export declare const StyledCategory: import("@emotion/styled").StyledComponent<{
|
|
16
15
|
theme?: import("@emotion/react").Theme;
|
|
17
16
|
as?: import("react").ElementType<any>;
|
|
18
|
-
}
|
|
17
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
19
18
|
export declare const StyledModifiedTime: import("@emotion/styled").StyledComponent<{
|
|
20
19
|
theme?: import("@emotion/react").Theme;
|
|
21
20
|
as?: import("react").ElementType<any>;
|
|
22
|
-
}
|
|
21
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
23
22
|
export declare const StyledDot: import("@emotion/styled").StyledComponent<{
|
|
24
23
|
theme?: import("@emotion/react").Theme;
|
|
25
24
|
as?: import("react").ElementType<any>;
|
|
26
|
-
}
|
|
25
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
27
26
|
export declare const StyledItem: import("@emotion/styled").StyledComponent<{
|
|
28
27
|
theme?: import("@emotion/react").Theme;
|
|
29
28
|
as?: import("react").ElementType<any>;
|
|
30
|
-
}
|
|
29
|
+
}, import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, {}>;
|
|
31
30
|
export declare const StyledInfoUser: import("@emotion/styled").StyledComponent<{
|
|
32
31
|
theme?: import("@emotion/react").Theme;
|
|
33
32
|
as?: import("react").ElementType<any>;
|
|
@@ -35,7 +34,7 @@ export declare const StyledInfoUser: import("@emotion/styled").StyledComponent<{
|
|
|
35
34
|
export declare const StyledTitle: import("@emotion/styled").StyledComponent<{
|
|
36
35
|
theme?: import("@emotion/react").Theme;
|
|
37
36
|
as?: import("react").ElementType<any>;
|
|
38
|
-
}
|
|
37
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
39
38
|
export declare const StyledInfo: import("@emotion/styled").StyledComponent<{
|
|
40
39
|
theme?: import("@emotion/react").Theme;
|
|
41
40
|
as?: import("react").ElementType<any>;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ThemeProps } from 'misc/theme';
|
|
3
2
|
export declare const StyledContainer: import("@emotion/styled").StyledComponent<{
|
|
4
3
|
theme?: import("@emotion/react").Theme;
|
|
5
4
|
as?: import("react").ElementType<any>;
|
|
6
|
-
}
|
|
5
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
7
6
|
export declare const StyledCardSkeleton: import("@emotion/styled").StyledComponent<{
|
|
8
7
|
theme?: import("@emotion/react").Theme;
|
|
9
8
|
as?: import("react").ElementType<any>;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ThemeProps } from 'misc/theme';
|
|
3
2
|
export declare const StyledItem: import("@emotion/styled").StyledComponent<{
|
|
4
3
|
theme?: import("@emotion/react").Theme;
|
|
5
4
|
as?: import("react").ElementType<any>;
|
|
6
|
-
}
|
|
5
|
+
}, import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, {}>;
|
|
7
6
|
export declare const StyledImageCard: import("@emotion/styled").StyledComponent<{
|
|
8
7
|
theme?: import("@emotion/react").Theme;
|
|
9
8
|
as?: import("react").ElementType<any>;
|
|
@@ -11,15 +10,15 @@ export declare const StyledImageCard: import("@emotion/styled").StyledComponent<
|
|
|
11
10
|
export declare const StyledBtnView: import("@emotion/styled").StyledComponent<{
|
|
12
11
|
theme?: import("@emotion/react").Theme;
|
|
13
12
|
as?: import("react").ElementType<any>;
|
|
14
|
-
}
|
|
13
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
15
14
|
export declare const StyledTitle: import("@emotion/styled").StyledComponent<{
|
|
16
15
|
theme?: import("@emotion/react").Theme;
|
|
17
16
|
as?: import("react").ElementType<any>;
|
|
18
|
-
}
|
|
17
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}>;
|
|
19
18
|
export declare const StyledDes: import("@emotion/styled").StyledComponent<{
|
|
20
19
|
theme?: import("@emotion/react").Theme;
|
|
21
20
|
as?: import("react").ElementType<any>;
|
|
22
|
-
}
|
|
21
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}>;
|
|
23
22
|
export declare const StyledContentWrapper: import("@emotion/styled").StyledComponent<{
|
|
24
23
|
theme?: import("@emotion/react").Theme;
|
|
25
24
|
as?: import("react").ElementType<any>;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ThemeProps } from 'misc/theme';
|
|
3
2
|
export declare const StyledItem: import("@emotion/styled").StyledComponent<{
|
|
4
3
|
theme?: import("@emotion/react").Theme;
|
|
5
4
|
as?: import("react").ElementType<any>;
|
|
6
|
-
}
|
|
5
|
+
}, import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, {}>;
|
|
7
6
|
export declare const StyledImageCard: import("@emotion/styled").StyledComponent<{
|
|
8
7
|
theme?: import("@emotion/react").Theme;
|
|
9
8
|
as?: import("react").ElementType<any>;
|
|
@@ -11,15 +10,15 @@ export declare const StyledImageCard: import("@emotion/styled").StyledComponent<
|
|
|
11
10
|
export declare const StyledBtnView: import("@emotion/styled").StyledComponent<{
|
|
12
11
|
theme?: import("@emotion/react").Theme;
|
|
13
12
|
as?: import("react").ElementType<any>;
|
|
14
|
-
}
|
|
13
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
15
14
|
export declare const StyledTitle: import("@emotion/styled").StyledComponent<{
|
|
16
15
|
theme?: import("@emotion/react").Theme;
|
|
17
16
|
as?: import("react").ElementType<any>;
|
|
18
|
-
}
|
|
17
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}>;
|
|
19
18
|
export declare const StyledDes: import("@emotion/styled").StyledComponent<{
|
|
20
19
|
theme?: import("@emotion/react").Theme;
|
|
21
20
|
as?: import("react").ElementType<any>;
|
|
22
|
-
}
|
|
21
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}>;
|
|
23
22
|
export declare const StyledContentWrapper: import("@emotion/styled").StyledComponent<{
|
|
24
23
|
theme?: import("@emotion/react").Theme;
|
|
25
24
|
as?: import("react").ElementType<any>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ThemeProps } from 'misc/theme';
|
|
3
2
|
export declare const StyledMasterMenuContainer: import("@emotion/styled").StyledComponent<{
|
|
4
3
|
theme?: import("@emotion/react").Theme;
|
|
5
4
|
as?: import("react").ElementType<any>;
|
|
@@ -27,7 +26,7 @@ export declare const StyledButtonContainerWrapper: import("@emotion/styled").Sty
|
|
|
27
26
|
export declare const StyledMenuPopupContainer: import("@emotion/styled").StyledComponent<{
|
|
28
27
|
theme?: import("@emotion/react").Theme;
|
|
29
28
|
as?: import("react").ElementType<any>;
|
|
30
|
-
}
|
|
29
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
31
30
|
export declare const StyleMenuPopupContainer: import("@emotion/styled").StyledComponent<{
|
|
32
31
|
theme?: import("@emotion/react").Theme;
|
|
33
32
|
as?: import("react").ElementType<any>;
|
|
@@ -39,7 +38,7 @@ export declare const StyledHealthCategoriesContainer: import("@emotion/styled").
|
|
|
39
38
|
export declare const StyledCategoryItem: import("@emotion/styled").StyledComponent<{
|
|
40
39
|
theme?: import("@emotion/react").Theme;
|
|
41
40
|
as?: import("react").ElementType<any>;
|
|
42
|
-
}
|
|
41
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
43
42
|
export declare const StyledSubCategoryItem: import("@emotion/styled").StyledComponent<{
|
|
44
43
|
theme?: import("@emotion/react").Theme;
|
|
45
44
|
as?: import("react").ElementType<any>;
|
|
@@ -47,11 +46,11 @@ export declare const StyledSubCategoryItem: import("@emotion/styled").StyledComp
|
|
|
47
46
|
export declare const StyledHealthToolItem: import("@emotion/styled").StyledComponent<{
|
|
48
47
|
theme?: import("@emotion/react").Theme;
|
|
49
48
|
as?: import("react").ElementType<any>;
|
|
50
|
-
}
|
|
49
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
51
50
|
export declare const StyledCategoryItemAll: import("@emotion/styled").StyledComponent<{
|
|
52
51
|
theme?: import("@emotion/react").Theme;
|
|
53
52
|
as?: import("react").ElementType<any>;
|
|
54
|
-
}
|
|
53
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
55
54
|
export declare const StyledImageWrapper: import("@emotion/styled").StyledComponent<{
|
|
56
55
|
theme?: import("@emotion/react").Theme;
|
|
57
56
|
as?: import("react").ElementType<any>;
|
|
@@ -67,15 +66,15 @@ export declare const StyledCloseButton: import("@emotion/styled").StyledComponen
|
|
|
67
66
|
export declare const StyledAmpSidebar: import("@emotion/styled").StyledComponent<{
|
|
68
67
|
theme?: import("@emotion/react").Theme;
|
|
69
68
|
as?: import("react").ElementType<any>;
|
|
70
|
-
}
|
|
69
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
71
70
|
export declare const StyledUnderLine: import("@emotion/styled").StyledComponent<{
|
|
72
71
|
theme?: import("@emotion/react").Theme;
|
|
73
72
|
as?: import("react").ElementType<any>;
|
|
74
|
-
}
|
|
73
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
75
74
|
export declare const StyledServiceListMenuSearchInputWrapper: import("@emotion/styled").StyledComponent<{
|
|
76
75
|
theme?: import("@emotion/react").Theme;
|
|
77
76
|
as?: import("react").ElementType<any>;
|
|
78
|
-
}
|
|
77
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
79
78
|
export declare const StyledWrapper: import("@emotion/styled").StyledComponent<{
|
|
80
79
|
theme?: import("@emotion/react").Theme;
|
|
81
80
|
as?: import("react").ElementType<any>;
|
package/build/components/organisms/navigationV2/components/molecules/navigationBar/index.styled.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ThemeProps } from 'misc/theme';
|
|
3
2
|
export declare const StyledHeaderWrapper: import("@emotion/styled").StyledComponent<{
|
|
4
3
|
theme?: import("@emotion/react").Theme;
|
|
5
4
|
as?: import("react").ElementType<any>;
|
|
6
|
-
}
|
|
5
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
7
6
|
export declare const StyledHeader: import("@emotion/styled").StyledComponent<{
|
|
8
7
|
theme?: import("@emotion/react").Theme;
|
|
9
8
|
as?: import("react").ElementType<any>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ThemeProps } from 'misc/theme';
|
|
3
2
|
export declare const StyledContainerNoPosts: import("@emotion/styled").StyledComponent<{
|
|
4
3
|
theme?: import("@emotion/react").Theme;
|
|
5
4
|
as?: import("react").ElementType<any>;
|
|
@@ -7,7 +6,7 @@ export declare const StyledContainerNoPosts: import("@emotion/styled").StyledCom
|
|
|
7
6
|
export declare const StyledDescription: import("@emotion/styled").StyledComponent<{
|
|
8
7
|
theme?: import("@emotion/react").Theme;
|
|
9
8
|
as?: import("react").ElementType<any>;
|
|
10
|
-
}
|
|
9
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
11
10
|
export declare const StyledTitle: import("@emotion/styled").StyledComponent<{
|
|
12
11
|
theme?: import("@emotion/react").Theme;
|
|
13
12
|
as?: import("react").ElementType<any>;
|
package/build/components.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-47caacd3.js"),r=require("./index-87c5e5fa.js"),o=require("./index-2f9e1df7.js"),t=require("./index-6fa70b52.js"),i=require("./index-af641795.js"),a=require("./index-d002cf7c.js"),s=require("./index-f78caa67.js"),d=require("./index-fd684eec.js"),n=require("./index.styled-2741756f.js"),u=require("./index.styled-f073fde4.js"),x=require("./index-18005712.js"),p=require("./index-aa485ce2.js"),l=require("./index-3ed5176a.js"),c=require("./index-a01143fe.js"),q=require("./index-6207a63d.js"),g=require("./index-24088255.js"),f=require("./dataTransform-4c39297e.js"),C=require("./index-00698e01.js"),b=require("./footer.js");require("react"),require("./utils-be54ffe5.js"),require("./useUniqueId-e2bb002a.js"),require("./gAssets.js"),require("./index-bdda9ac5.js"),require("./Onboarding-e0bc49b6.js"),require("./isProduction-caf23831.js"),require("./theme-a77c4057.js"),require("./tslib.es6-340fd43c.js"),require("lodash/throttle"),require("keen-slider/react"),require("dayjs"),require("./screenSizeContext-f0ebed7f.js"),require("@emotion/react"),require("./useTranslations-11d21172.js"),require("./translationsContext-77b34459.js"),require("string-format"),require("date-fns"),require("@mantine/core"),require("./index.styled-24aab5e3.js"),require("@emotion/styled"),require("./index-78d09170.js"),require("@mantine/dates"),require("@mantine/hooks"),require("@mantine/carousel"),require("./index-76151732.js"),require("./types-4e9ce85f.js"),require("./index.styled-d3db6485.js"),require("./cookieHelper-ad5f2efe.js"),require("slugify"),require("./routing-cc9be7a5.js"),require("dayjs/plugin/relativeTime"),require("./index-aecd4287.js"),require("./index-dc5654c7.js"),require("react-hook-form"),require("./useHealthToolCache-495c0af3.js"),require("./getDynamicHealthTool-5f50986e.js"),require("./core-9e7fa00d.js"),require("./normalizeLink-a2e5fdea.js"),require("./useOutsideClick-d81e2ff3.js"),require("date-fns/locale/en-US"),require("date-fns/locale/id"),require("date-fns/locale/vi"),require("date-fns/locale/zh-TW"),require("./useScreenSize-80d668cf.js"),require("./getSocialList-7f09333d.js"),require("./constants-8bb095c0.js"),require("./useIsInit-163a86a0.js"),require("lodash/debounce"),require("./index-79674ad8.js"),require("@hookform/resolvers/yup"),require("react-day-picker/DayPickerInput"),require("./useScrollbarSize-0848f444.js"),require("react-dom"),require("./index.styled-c0481ce8.js"),exports.Alert=e.Alert,exports.ArticleCard=e.ArticleCard,exports.BMICardEmbed=e.BMICardEmbed,exports.BMRCardEmbed=e.BMRCardEmbed,exports.BabyGrowthCardEmbed=e.BabyGrowthCardEmbed,exports.BabyPoopEmbed=e.BabyPoopEmbed,exports.Badge=e.Badge,exports.BorderHeading=e.BorderHeading,exports.Breadcrumbs=e.Breadcrumbs,exports.Carousel=e.Carousel,exports.CategoryCard=e.CategoryCard,exports.Checkbox=e.Checkbox,exports.CheckboxGroup=e.CheckboxGroup,exports.CookieAcceptConfirm=e.CookieAcceptConfirm,exports.DateRangePicker=e.DateRangePicker,exports.DueDateCardEmbed=e.DueDateCardEmbed,exports.FileDropdown=e.FileDropdown,exports.FloatButtonGroup=e.FloatButtonGroup,exports.Grid=e.Grid,exports.IconText=e.IconText,exports.OvulationCardEmbed=e.OvulationCardEmbed,exports.PWGCardEmbed=e.PWGCardEmbed,exports.Pagination=e.Pagination,exports.Progress=e.Progress,exports.ProgressBar=e.ProgressBar,exports.RateStars=e.RateStars,exports.ScrollList=e.ScrollList,exports.SeoHead=e.SeoHead,exports.Shadow=e.Shadow,exports.ShareContainer=e.ShareContainer,exports.ShareDrawer=e.ShareDrawer,exports.SideMenu=e.index,exports.StatisticCard=e.StatisticCard,exports.SurveyThankyouCard=e.SurveyThankyouCard,exports.THRCardEmbed=e.THRCardEmbed,exports.Table=e.index$1,exports.Tag=e.Tag,exports.Toggle=e.Toggle,exports.UnderlinedLink=e.UnderlinedLink,exports.Uploader=e.Uploader,exports.Avatar=r.Avatar,exports.Flag=r.Flag,exports.LanguageSwitcher=r.LanguageSwitcher,exports.NavigationLogoutPopup=r.NavigationLogoutPopup,exports.NavigationProfileButton=r.NavigationProfileButton,exports.NavigationV2=r.NavigationV2,exports.ProfilePopup=r.ProfilePopup,exports.UserProfileNavigation=r.UserProfileNavigation,exports.UserProfileNavigationHeader=r.NavHeader,exports.UserProfileNavigationStats=r.UserStats,exports.getNavMenuContent=r.getNavMenuContent,exports.getNavMenuContentWithCache=r.getNavMenuContentWithCache,exports.Button=o.Button,exports.AuthorBadge=t.AuthorBadge,exports.BtnChoice=t.BtnChoice,exports.Divider=t.Divider,exports.Tabs=t.Tabs,exports.Heading=i.Heading,exports.Input=a.Input,exports.Label=s.Label,exports.Logo=d.Logo,exports.Menu=n.Menu,exports.PureInput=n.PureInput,exports.TextArea=n.TextArea,exports.TextDivider=n.TextDivider,exports.DatePicker=u.DatePicker,exports.DoctorInfo=u.DoctorInfo,exports.Dropdown=u.Dropdown,exports.MobileBottomNavigation=u.MobileBottomNavigation,exports.MobileBottomNavigationIcon=u.MobileBottomNavigationIcon,exports.Radio=u.Radio,exports.RadioGroup=u.RadioGroup,exports.SurveyQuestionCard=u.SurveyQuestionCard,exports.ToolsBannerCard=u.ToolsBannerCard,exports.Text=x.Text,exports.Container=p.Container,exports.Icon=l.Icon,exports.Drawer=c.Drawer,exports.RadioImageGroup=c.RadioImageGroup,exports.Modal=q.Modal,exports.NewBabyProfileRadio=q.NewBabyProfileRadio,exports.CustomReferenceDot=g.CustomReferenceDot,exports.Popup=f.Popup,exports.PillCarousel=C.PillCarousel,exports.Footer=b.Footer;
|
package/build/constants.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),require("./Onboarding-
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),require("./Onboarding-e0bc49b6.js");var e=require("./index-bdda9ac5.js"),O=require("./isProduction-caf23831.js");exports.CARE_BOOKING_LOCALES=e.CARE_BOOKING_LOCALES,exports.CARE_LOCALES=e.CARE_LOCALES,exports.FAVICONS=e.FAVICONS,exports.ISO_FORMAT=e.ISO_FORMAT,exports.LOCALE_SPECS=e.LOCALE_SPECS,Object.defineProperty(exports,"QUERY_HEALTH_TOOL",{enumerable:!0,get:function(){return e.QUERY_HEALTH_TOOL}}),exports.STATIC_PAGES=e.STATIC_PAGES,exports.TOGETHER_LOCALES=e.TOGETHER_LOCALES,exports.UP_BASEPATH=e.UP_BASEPATH,exports.USER_GEOLOCATION_COORDINATES_COOKIE=e.USER_GEOLOCATION_COORDINATES_COOKIE,exports.domainLocales=e.domainLocales,exports.siteHost=e.siteHost,exports.siteOptions=e.siteOptions,exports.isProduction=O.isProduction;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var t=require("./tslib.es6-
|
|
1
|
+
"use strict";var t=require("./tslib.es6-340fd43c.js"),e=require("./isProduction-caf23831.js");const i={},a=t=>{if("undefined"!=typeof window){let i;try{i=JSON.parse(localStorage.getItem((e.isProduction?"":"staging_")+"hhg-cache-"+t)||"{}")}catch(t){}return i||{}}return i[t]},r=(t,a)=>{try{"undefined"!=typeof window?localStorage.setItem((e.isProduction?"":"staging_")+"hhg-cache-"+t,JSON.stringify({data:a,time:Date.now()})):i[t]={data:a,time:Date.now()}}catch(t){}};exports.getCachedItem=a,exports.getDataWithCache=(e,i,o,n=9e5)=>t.__awaiter(void 0,void 0,void 0,(function*(){const t=a(e);if(t&&t.data&&t.time&&Date.now()-t.time<n)return t.data;if(i){const t=yield i();return o&&!o(t)||r(e,t),t}return null})),exports.setCachedItem=r;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("react"),i=require("./index.styled-2b48824e.js");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=o(e);const l=e=>e?{displayName:e.display_name||null,avatar:e.avatar||null,thumbnailAvatar:e.avatar_thumbnail||null,profileUrl:e.profile_url||null,description:e.description||null,metaTag:e.meta_tag||"",specialty:e.specialty||"",organisation:e.organisation||""}:{},n=e=>e?{id:e.ID||null,name:e.name||null,specialty:e.specialty||null,avatar:e.avatar||null,permalink:e.permalink||null,thumbnailAvatar:e.avatar_thumbnail||null}:{},r=e=>{var i,o,t,r;return e?{id:e.ID,postName:e.post_name,sponsor:e.sponsor?d(e.sponsor):null,isSponsored:e.is_sponsored||null,postTitle:e.post_title||"",postModified:e.post_modified||"",postDate:e.post_date||"",modifiedTime:e.modified_time||"",permalink:e.permalink||"",featureImage:e.image||null,featureImageMobile:e.image_medium||null,featureImageMobileXs:e.image_thumbnail||null,author:l(e.author),reviewer:e.reviewed_by&&l(e.reviewed_by)||null,articleReviewed:(null==e?void 0:e.reviewed)?Object.assign(Object.assign({},null==e?void 0:e.reviewed),{author:a(null===(i=null==e?void 0:e.reviewed)||void 0===i?void 0:i.author),editor:a(null===(o=null==e?void 0:e.reviewed)||void 0===o?void 0:o.editor),expert:a(null===(t=null==e?void 0:e.reviewed)||void 0===t?void 0:t.expert),fact_check:a(null===(r=null==e?void 0:e.reviewed)||void 0===r?void 0:r.fact_check)}):null,category:s(e.category),postContent:e.post_content||null,sections:e.sections||null,categories:(e.categories||[]).map(s),sources:e.sources||null,description:e.description||null,excerpt:e.excerpt||null,expert:n(e.expert),metaTag:e.meta_tag||null}:{}},a=e=>void 0!==e&&e?Object.assign(Object.assign({},e),{profile_url:(null==e?void 0:e.slug)?["expert","medical"].includes((null==e?void 0:e.role)||"")?`/expert/${null==e?void 0:e.slug}`:`/author/${null==e?void 0:e.slug}`:e.profile_url}):null,d=e=>e?{title:e.title,logo:e.logo,link:e.link}:{},u=e=>({postTitle:e.post_title,permalink:e.permalink}),s=e=>{var i,o;return e?{termId:e.term_id||null,sponsor:e.sponsor?d(e.sponsor):null,isSponsored:e.is_sponsored||null,categoryName:e.cat_name||null,name:e.name||null,iconUrl:e.icon||"",slugName:e.category_nicename||null,description:e.description||null,featureImage:e.image||null,displayName:e.name||null,parent:e.parent||null,permalink:e.permalink||null,slug:e.slug||null,childCates:(null===(i=e.child_cates)||void 0===i?void 0:i.map((e=>s(e))))||[],colorFeatureImage:e.color_feature_image||null,imageColor:e.image_color||null,textColor:e.text_color||null,catParent:(null===(o=e.cat_parent)||void 0===o?void 0:o.name)?{name:e.cat_parent.name,permalink:e.cat_parent.permalink}:{},metaTag:e.meta_tag||"",reviewedBy:e.reviewed_by?u(e.reviewed_by):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map((e=>m(e))):null}:{}},m=e=>({title:e.title,content:e.content}),v=e=>e?{icon:e.icon,link:e.link.startsWith("http")?e.link:"/health-tools"+e.link,subtitle:e.subtitle,title:e.title}:{},c=e=>e?{topicCount:e.topics_count||0,postCount:e.posts_count||0,memberCount:e.members_count||0,thumbnail:e.thumbnail||"",coverImage:e.cover_image||"",mobileCoverImage:e.mobile_cover_image||"",name:e.name||"",description:e.description||"",slug:e.slug||"",id:e.id||0,joined:Boolean(e.joined),isActive:null===e.is_active||void 0===e.is_active||Boolean(e.is_active),mappedCategoryId:e.mapped_category_id||0,discoverCategory:e.discover_category?{categoryId:e.discover_category.category_id||0,name:e.discover_category.name||""}:null,isHidden:Boolean(e.is_hidden)}:{},p=e=>{var i,o,t,l;return e?{id:e.id||0,name:e.name||"",image:e.thumbnail||"",slug:e.slug||"",url:"/"+(null===(i=e.community)||void 0===i?void 0:i.slug)+"/"+(null==e?void 0:e.slug)||"",description:e.description||"",joined:e.joined||!1,postCount:e.count_posts||0,memberCount:e.count_members||0,communityId:String(null===(o=e.community)||void 0===o?void 0:o.id),communitySlug:null===(t=e.community)||void 0===t?void 0:t.slug,communityName:null===(l=e.community)||void 0===l?void 0:l.name,order:e.order||0,isActive:null===e.is_active||void 0===e.is_active||Boolean(e.is_active),mappedCategoryId:e.mapped_category_id||0,discoverCategory:e.discover_category?{categoryId:e.discover_category.category_id||0,name:e.discover_category.name||""}:null,isHidden:Boolean(e.is_hidden)}:{}},_=e=>e?{answer:null==e?void 0:e.answer.map(f),expert:null==e?void 0:e.expert}:{},g=e=>{var i,o,t,l,n,r,a,d,u,s,m,v,c,p,g,y,f,w,h,b,k;return e?{id:e.id,topics:(null===(i=e.topics)||void 0===i?void 0:i.map((i=>{var o,t,l,n;return{id:i.id||0,name:i.name||"",slug:i.slug||"",url:"/"+(null===(o=e.community)||void 0===o?void 0:o.slug)+"/"+i.slug,communityId:String(null===(t=e.community)||void 0===t?void 0:t.id),communitySlug:(null===(l=e.community)||void 0===l?void 0:l.slug)||"",communityName:(null===(n=e.community)||void 0===n?void 0:n.name)||"",isHidden:Boolean(i.is_hidden),isActive:!0}})))||[],community:{id:(null===(o=e.community)||void 0===o?void 0:o.id)||0,name:(null===(t=e.community)||void 0===t?void 0:t.name)||"",slug:(null===(l=e.community)||void 0===l?void 0:l.slug)||"",isActive:!0,isHidden:Boolean(null===(n=e.community)||void 0===n?void 0:n.is_hidden)},slug:e.slug||"",author:{id:(null===(r=e.user)||void 0===r?void 0:r.id)||0,username:(null===(a=e.user)||void 0===a?void 0:a.user_name)||"",email:(null===(d=e.user)||void 0===d?void 0:d.email)||"",name:(null===(u=e.user)||void 0===u?void 0:u.name)||"",avatar:(null===(s=e.user)||void 0===s?void 0:s.avatar)||"",role:(null===(m=e.user)||void 0===m?void 0:m.role)?null===(c=null===(v=e.user)||void 0===v?void 0:v.role)||void 0===c?void 0:c.toLowerCase():"",type:(null===(p=e.user)||void 0===p?void 0:p.type)||"",partnerId:(null===(g=e.user)||void 0===g?void 0:g.partner_id)?String(null===(y=e.user)||void 0===y?void 0:y.partner_id):"",title:(null===(f=e.user)||void 0===f?void 0:f.title)||"",doctorId:(null===(w=e.user)||void 0===w?void 0:w.doctor_id)?String(null===(h=e.user)||void 0===h?void 0:h.doctor_id):"",hospitalId:(null===(b=e.user)||void 0===b?void 0:b.hospital_id)?String(null===(k=e.user)||void 0===k?void 0:k.hospital_id):""},previewUrl:{title:e.preview_title||"",url:e.preview_link||"",image:e.preview_image||"",description:e.preview_description||""},createdAt:e.created_at||"",scheduleDateTime:e.schedule_datetime||"",photos:e.images||[],description:e.description||"",commentsCount:e.comments_count||0,likesCount:e.likes_count||0,title:e.name||"",isPin:!!e.is_pin,pinDate:e.pin_date||"",liked:e.liked||!1,bookmarked:Boolean(e.bookmarked)||!1,mentions:e.mentions||[],commented:Boolean(e.commented)||!1,introUrl:e.intro_url||"",bannerImage:e.banner_image||"",isAnonymous:e.is_anonymous?1:0,isAskDoctor:e.is_question?1:0,expertAnswer:_(null==e?void 0:e.expert_answer),createdTime:e.created_time||""}:{}},y=e=>e?{disclaimer:e.disclaimer,featuredImage:e.featured_image,info:e.informations||[],reviewedBy:e.reviewed_by?{id:e.reviewed_by.ID,permalink:e.reviewed_by.permalink,name:e.reviewed_by.name,postTitle:e.reviewed_by.post_title}:null,reviewedDate:e.reviewed_date}:{},f=e=>{var i,o,t,l,n,r,a,d,u,s,m,v,c,p,_,g,y,w,h,b,k,I,C,x,S,T,P,A,B,D,q,U;return e?{content:e.content,countLikes:e.likes_count,countReplies:e.replies_count,createdAt:e.created_at,createdTime:e.created_time,id:String(e.id),images:e.image||[],link:e.link||null,replies:e.replies&&e.replies.length>0?e.replies.map(f):[],author:{id:(null===(i=e.user)||void 0===i?void 0:i.id)||0,username:(null===(o=e.user)||void 0===o?void 0:o.user_name)||"",name:(null===(t=e.user)||void 0===t?void 0:t.name)||"",role:(null===(l=e.user)||void 0===l?void 0:l.role)?null===(r=null===(n=e.user)||void 0===n?void 0:n.role)||void 0===r?void 0:r.toLowerCase():"",avatar:(null===(a=e.user)||void 0===a?void 0:a.avatar)||"",type:(null===(d=e.user)||void 0===d?void 0:d.type)||"",email:(null===(u=e.user)||void 0===u?void 0:u.email)||"",partnerId:(null===(s=e.user)||void 0===s?void 0:s.partner_id)?String(null===(m=e.user)||void 0===m?void 0:m.partner_id):"",title:(null===(v=e.user)||void 0===v?void 0:v.title)||"",doctorId:(null===(c=e.user)||void 0===c?void 0:c.doctor_id)?String(null===(p=e.user)||void 0===p?void 0:p.doctor_id):"",hospitalId:(null===(_=e.user)||void 0===_?void 0:_.hospital_id)?String(null===(g=e.user)||void 0===g?void 0:g.hospital_id):""},liked:!!e.liked,mentionedUser:e.mentioned?{id:(null===(y=e.mentioned)||void 0===y?void 0:y.id)||0,username:(null===(w=e.mentioned)||void 0===w?void 0:w.user_name)||"",name:(null===(h=e.mentioned)||void 0===h?void 0:h.name)||"",role:(null===(b=e.mentioned)||void 0===b?void 0:b.role)?null===(I=null===(k=e.mentioned)||void 0===k?void 0:k.role)||void 0===I?void 0:I.toLowerCase():"",avatar:(null===(C=e.mentioned)||void 0===C?void 0:C.avatar)||"",type:(null===(x=e.mentioned)||void 0===x?void 0:x.type)||"",email:(null===(S=e.mentioned)||void 0===S?void 0:S.email)||"",partnerId:(null===(T=e.mentioned)||void 0===T?void 0:T.partner_id)?String(null===(P=e.mentioned)||void 0===P?void 0:P.partner_id):"",doctorId:(null===(A=e.mentioned)||void 0===A?void 0:A.doctor_id)?String(null===(B=e.mentioned)||void 0===B?void 0:B.doctor_id):"",hospitalId:(null===(D=e.mentioned)||void 0===D?void 0:D.hospital_id)?String(null===(q=e.mentioned)||void 0===q?void 0:q.hospital_id):"",title:(null===(U=e.mentioned)||void 0===U?void 0:U.title)||""}:null,mentions:e.mentions||[],isSensitive:e.is_sensitive||0,userReadComment:e.user_read_comment,source:e.source||[],isVerify:e.is_verify||0,isOppose:e.is_oppose||0,userVerify:e.user_verify||{},categorySlug:e.categories||""}:{}},w=e=>void 0!==e&&e?(null==e?void 0:e.turn_off_profile)?"":(null==e?void 0:e.slug)?["expert","medical"].includes((null==e?void 0:e.role)||"")?`/expert/${null==e?void 0:e.slug}`:`/author/${null==e?void 0:e.slug}`:(null==e?void 0:e.profile_url)||(null==e?void 0:e.permalink)||"#":"";var h=Object.freeze({__proto__:null,formatAuthor:l,formatArticleExpert:n,formatArticle:r,formatUserProfile:a,formatBMIResult:e=>{var i,o,t,l,n,r,a,d,u;return e&&e.status?{status:null==e?void 0:e.status,comparison:null!==(i=null==e?void 0:e.comparison)&&void 0!==i?i:"",assessmentData:[{tab:"tools.condition",content:null!==(o=null==e?void 0:e.condition)&&void 0!==o?o:""},{tab:"tools.risks",content:null!==(t=null==e?void 0:e.risk)&&void 0!==t?t:""},{tab:"tools.suggestion",content:null!==(l=null==e?void 0:e.suggestion)&&void 0!==l?l:""}],chartData:(null===(n=null==e?void 0:e.chart_data)||void 0===n?void 0:n.length)>0?null==e?void 0:e.chart_data:[],disclaimer:null!==(r=null==e?void 0:e.disclaimer)&&void 0!==r?r:"",illustrator:null!==(a=null==e?void 0:e.illustrator)&&void 0!==a?a:"",faqs:null!==(d=null==e?void 0:e.faqs)&&void 0!==d?d:[],suggestedArticlesLink:null!==(u=null==e?void 0:e.suggested_articles_link)&&void 0!==u?u:""}:{}},formatSponsor:d,formatReviewedCategory:u,formatCategory:s,formatCategoryApi:e=>e?{categoryInfo:s(e.data.category)||null,explainersPosts:(e.data.explainers_posts||[]).map(r),subCategories:(e.data.sub_categories||[]).map(s)}:{},formatFaqsCategory:m,formatHealthTool:v,formatHealthToolTypeCategory:e=>{var i,o;return e?{termId:(null==e?void 0:e.term_id)||0,name:(null==e?void 0:e.name)||"",healthTools:null!==(o=null===(i=null==e?void 0:e.health_tools)||void 0===i?void 0:i.map((e=>v(e))))&&void 0!==o?o:[]}:{}},formatCommunity:c,formatTopic:p,formatExpertAnswer:_,formatPost:g,formatPostPagination:e=>e?{currentPage:e.current||0,lastPage:e.last||0,total:e.total_items||0}:{},formatNotification:e=>{var i,o,t;return e?{time:e.created_at,content:e.content,postId:String(e.post_id),fromUser:{name:null===(i=e.from_user)||void 0===i?void 0:i.name,id:null===(o=e.from_user)||void 0===o?void 0:o.id,avatar:null===(t=e.from_user)||void 0===t?void 0:t.avatar},toUserId:String(e.to_user_id),postSlug:e.post_slug||"",communitySlug:e.community_slug||""}:{}},formatSpotlightsList:e=>e?e.map((e=>({id:e.ID,name:e.name,permalink:e.permalink,image:(null==e?void 0:e.small_banner)||(null==e?void 0:e.image),imageMedium:(null==e?void 0:e.image_medium)||null,imageThumbnail:(null==e?void 0:e.image_thumbnail)||null,startDate:null==e?void 0:e.start_date,endDate:null==e?void 0:e.end_date}))):[],formatOvulationInfo:y,formatSuggestedArticle:e=>e?{postId:e.post_id||null,categoryId:e.category_id||null,postUrl:e.post_url||null,postReviewed:e.post_reviewed||null,postPageviews:e.post_pageviews||null,postRank:e.post_rank||null,isPin:e.is_pin||null,frequency:e.frequency||null,topic:e.topic||null}:{},formatTopicHealthTool:e=>e?{id:e.tool_id||null,topicFrequency:e.frequency||null,topicId:e.topic_id||null,topicName:e.topic_name||null,isPinned:!!e.is_pin||null,toolLink:e.tool_link||""}:{},formatComment:f,formatReportedPostToPostDetail:e=>e?{name:e.title,description:e.description,images:e.images,likes_count:e.count_likes,comments_count:e.count_comments,topics:[],slug:e.post_slug,id:e.post_id,is_pin:e.is_pin,pin_date:"",post_type:e.post_type,schedule_datetime:e.schedule_datetime,is_active:e.is_active,preview_title:e.preview_title||"",preview_image:e.preview_image||"",preview_description:e.preview_description||"",preview_link:e.preview_link||"",user:e.user,created_at:"",created_time:"",community:{id:e.community_id,name:e.community_name,slug:e.community_slug,description:""}}:{},formatTopicSubot:e=>e?{chatBotId:e.subot_id,isPinned:e.is_pin,topicId:e.topic_id,topicFrequency:e.frequency}:{},formatSiteWideBanner:(e,i)=>void 0!==e&&e?{content:(null==e?void 0:e.content)||"",icon:(null==e?void 0:e.icon)||"",type:i||"other"}:null,formatPWGContent:e=>e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?a(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{},formatUserProfileUrl:w,formatTHRContent:e=>e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?a(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{},formatBabyGrowthContent:e=>{var i,o,t;return e&&e.information?{information:null!==(i=e.information.map((e=>({title:e.title,description:e.description}))))&&void 0!==i?i:[],reviewBy:{reviewer:(null===(o=e.reviewed_by)||void 0===o?void 0:o.display_name)||(null===(t=e.reviewed_by)||void 0===t?void 0:t.name)||"",date:e.reviewed_date||"",link:w(null==e?void 0:e.reviewed_by)},metaTag:e.meta_tag||"",title:e.title||"",description:e.description||"",disclaimer:e.disclaimer||"",is_sponsored:e.is_sponsored||!1,sponsor:e.sponsor,featuredImage:e.featured_image||""}:{}}});exports.Popup=({type:e="lead",closeIcon:o,isOpen:l=!0,onClose:n,children:r,className:a="",enableAnimation:d=!0})=>t.default.createElement(t.default.Fragment,null,t.default.createElement(i.StyledPopup$2,{"data-open":l,"data-type":e,"data-animation":d},t.default.createElement("div",{className:`${a||""} popup-content`},!!o&&t.default.createElement("div",{className:"close-button",onClick:n},o),r)),t.default.createElement(i.StyledPopupWrapper,{"data-open":l,onClick:n})),exports.dataTransform=h,exports.formatArticle=r,exports.formatCategory=s,exports.formatComment=f,exports.formatCommunity=c,exports.formatOvulationInfo=y,exports.formatPost=g,exports.formatTopic=p,exports.formatUserProfileUrl=w;
|
|
1
|
+
"use strict";var e=require("react"),i=require("./index.styled-d3db6485.js");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=o(e);const l=e=>e?{displayName:e.display_name||null,avatar:e.avatar||null,thumbnailAvatar:e.avatar_thumbnail||null,profileUrl:e.profile_url||null,description:e.description||null,metaTag:e.meta_tag||"",specialty:e.specialty||"",organisation:e.organisation||""}:{},n=e=>e?{id:e.ID||null,name:e.name||null,specialty:e.specialty||null,avatar:e.avatar||null,permalink:e.permalink||null,thumbnailAvatar:e.avatar_thumbnail||null}:{},r=e=>{var i,o,t,r;return e?{id:e.ID,postName:e.post_name,sponsor:e.sponsor?d(e.sponsor):null,isSponsored:e.is_sponsored||null,postTitle:e.post_title||"",postModified:e.post_modified||"",postDate:e.post_date||"",modifiedTime:e.modified_time||"",permalink:e.permalink||"",featureImage:e.image||null,featureImageMobile:e.image_medium||null,featureImageMobileXs:e.image_thumbnail||null,author:l(e.author),reviewer:e.reviewed_by&&l(e.reviewed_by)||null,articleReviewed:(null==e?void 0:e.reviewed)?Object.assign(Object.assign({},null==e?void 0:e.reviewed),{author:a(null===(i=null==e?void 0:e.reviewed)||void 0===i?void 0:i.author),editor:a(null===(o=null==e?void 0:e.reviewed)||void 0===o?void 0:o.editor),expert:a(null===(t=null==e?void 0:e.reviewed)||void 0===t?void 0:t.expert),fact_check:a(null===(r=null==e?void 0:e.reviewed)||void 0===r?void 0:r.fact_check)}):null,category:s(e.category),postContent:e.post_content||null,sections:e.sections||null,categories:(e.categories||[]).map(s),sources:e.sources||null,description:e.description||null,excerpt:e.excerpt||null,expert:n(e.expert),metaTag:e.meta_tag||null}:{}},a=e=>void 0!==e&&e?Object.assign(Object.assign({},e),{profile_url:(null==e?void 0:e.slug)?["expert","medical"].includes((null==e?void 0:e.role)||"")?`/expert/${null==e?void 0:e.slug}`:`/author/${null==e?void 0:e.slug}`:e.profile_url}):null,d=e=>e?{title:e.title,logo:e.logo,link:e.link}:{},u=e=>({postTitle:e.post_title,permalink:e.permalink}),s=e=>{var i,o;return e?{termId:e.term_id||null,sponsor:e.sponsor?d(e.sponsor):null,isSponsored:e.is_sponsored||null,categoryName:e.cat_name||null,name:e.name||null,iconUrl:e.icon||"",slugName:e.category_nicename||null,description:e.description||null,featureImage:e.image||null,displayName:e.name||null,parent:e.parent||null,permalink:e.permalink||null,slug:e.slug||null,childCates:(null===(i=e.child_cates)||void 0===i?void 0:i.map((e=>s(e))))||[],colorFeatureImage:e.color_feature_image||null,imageColor:e.image_color||null,textColor:e.text_color||null,catParent:(null===(o=e.cat_parent)||void 0===o?void 0:o.name)?{name:e.cat_parent.name,permalink:e.cat_parent.permalink}:{},metaTag:e.meta_tag||"",reviewedBy:e.reviewed_by?u(e.reviewed_by):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map((e=>m(e))):null}:{}},m=e=>({title:e.title,content:e.content}),v=e=>e?{icon:e.icon,link:e.link.startsWith("http")?e.link:"/health-tools"+e.link,subtitle:e.subtitle,title:e.title}:{},c=e=>e?{topicCount:e.topics_count||0,postCount:e.posts_count||0,memberCount:e.members_count||0,thumbnail:e.thumbnail||"",coverImage:e.cover_image||"",mobileCoverImage:e.mobile_cover_image||"",name:e.name||"",description:e.description||"",slug:e.slug||"",id:e.id||0,joined:Boolean(e.joined),isActive:null===e.is_active||void 0===e.is_active||Boolean(e.is_active),mappedCategoryId:e.mapped_category_id||0,discoverCategory:e.discover_category?{categoryId:e.discover_category.category_id||0,name:e.discover_category.name||""}:null,isHidden:Boolean(e.is_hidden)}:{},p=e=>{var i,o,t,l;return e?{id:e.id||0,name:e.name||"",image:e.thumbnail||"",slug:e.slug||"",url:"/"+(null===(i=e.community)||void 0===i?void 0:i.slug)+"/"+(null==e?void 0:e.slug)||"",description:e.description||"",joined:e.joined||!1,postCount:e.count_posts||0,memberCount:e.count_members||0,communityId:String(null===(o=e.community)||void 0===o?void 0:o.id),communitySlug:null===(t=e.community)||void 0===t?void 0:t.slug,communityName:null===(l=e.community)||void 0===l?void 0:l.name,order:e.order||0,isActive:null===e.is_active||void 0===e.is_active||Boolean(e.is_active),mappedCategoryId:e.mapped_category_id||0,discoverCategory:e.discover_category?{categoryId:e.discover_category.category_id||0,name:e.discover_category.name||""}:null,isHidden:Boolean(e.is_hidden)}:{}},_=e=>e?{answer:null==e?void 0:e.answer.map(f),expert:null==e?void 0:e.expert}:{},g=e=>{var i,o,t,l,n,r,a,d,u,s,m,v,c,p,g,y,f,w,h,b,k;return e?{id:e.id,topics:(null===(i=e.topics)||void 0===i?void 0:i.map((i=>{var o,t,l,n;return{id:i.id||0,name:i.name||"",slug:i.slug||"",url:"/"+(null===(o=e.community)||void 0===o?void 0:o.slug)+"/"+i.slug,communityId:String(null===(t=e.community)||void 0===t?void 0:t.id),communitySlug:(null===(l=e.community)||void 0===l?void 0:l.slug)||"",communityName:(null===(n=e.community)||void 0===n?void 0:n.name)||"",isHidden:Boolean(i.is_hidden),isActive:!0}})))||[],community:{id:(null===(o=e.community)||void 0===o?void 0:o.id)||0,name:(null===(t=e.community)||void 0===t?void 0:t.name)||"",slug:(null===(l=e.community)||void 0===l?void 0:l.slug)||"",isActive:!0,isHidden:Boolean(null===(n=e.community)||void 0===n?void 0:n.is_hidden)},slug:e.slug||"",author:{id:(null===(r=e.user)||void 0===r?void 0:r.id)||0,username:(null===(a=e.user)||void 0===a?void 0:a.user_name)||"",email:(null===(d=e.user)||void 0===d?void 0:d.email)||"",name:(null===(u=e.user)||void 0===u?void 0:u.name)||"",avatar:(null===(s=e.user)||void 0===s?void 0:s.avatar)||"",role:(null===(m=e.user)||void 0===m?void 0:m.role)?null===(c=null===(v=e.user)||void 0===v?void 0:v.role)||void 0===c?void 0:c.toLowerCase():"",type:(null===(p=e.user)||void 0===p?void 0:p.type)||"",partnerId:(null===(g=e.user)||void 0===g?void 0:g.partner_id)?String(null===(y=e.user)||void 0===y?void 0:y.partner_id):"",title:(null===(f=e.user)||void 0===f?void 0:f.title)||"",doctorId:(null===(w=e.user)||void 0===w?void 0:w.doctor_id)?String(null===(h=e.user)||void 0===h?void 0:h.doctor_id):"",hospitalId:(null===(b=e.user)||void 0===b?void 0:b.hospital_id)?String(null===(k=e.user)||void 0===k?void 0:k.hospital_id):""},previewUrl:{title:e.preview_title||"",url:e.preview_link||"",image:e.preview_image||"",description:e.preview_description||""},createdAt:e.created_at||"",scheduleDateTime:e.schedule_datetime||"",photos:e.images||[],description:e.description||"",commentsCount:e.comments_count||0,likesCount:e.likes_count||0,title:e.name||"",isPin:!!e.is_pin,pinDate:e.pin_date||"",liked:e.liked||!1,bookmarked:Boolean(e.bookmarked)||!1,mentions:e.mentions||[],commented:Boolean(e.commented)||!1,introUrl:e.intro_url||"",bannerImage:e.banner_image||"",isAnonymous:e.is_anonymous?1:0,isAskDoctor:e.is_question?1:0,expertAnswer:_(null==e?void 0:e.expert_answer),createdTime:e.created_time||""}:{}},y=e=>e?{disclaimer:e.disclaimer,featuredImage:e.featured_image,info:e.informations||[],reviewedBy:e.reviewed_by?{id:e.reviewed_by.ID,permalink:e.reviewed_by.permalink,name:e.reviewed_by.name,postTitle:e.reviewed_by.post_title}:null,reviewedDate:e.reviewed_date}:{},f=e=>{var i,o,t,l,n,r,a,d,u,s,m,v,c,p,_,g,y,w,h,b,k,I,C,x,S,T,P,A,B,D,q,U;return e?{content:e.content,countLikes:e.likes_count,countReplies:e.replies_count,createdAt:e.created_at,createdTime:e.created_time,id:String(e.id),images:e.image||[],link:e.link||null,replies:e.replies&&e.replies.length>0?e.replies.map(f):[],author:{id:(null===(i=e.user)||void 0===i?void 0:i.id)||0,username:(null===(o=e.user)||void 0===o?void 0:o.user_name)||"",name:(null===(t=e.user)||void 0===t?void 0:t.name)||"",role:(null===(l=e.user)||void 0===l?void 0:l.role)?null===(r=null===(n=e.user)||void 0===n?void 0:n.role)||void 0===r?void 0:r.toLowerCase():"",avatar:(null===(a=e.user)||void 0===a?void 0:a.avatar)||"",type:(null===(d=e.user)||void 0===d?void 0:d.type)||"",email:(null===(u=e.user)||void 0===u?void 0:u.email)||"",partnerId:(null===(s=e.user)||void 0===s?void 0:s.partner_id)?String(null===(m=e.user)||void 0===m?void 0:m.partner_id):"",title:(null===(v=e.user)||void 0===v?void 0:v.title)||"",doctorId:(null===(c=e.user)||void 0===c?void 0:c.doctor_id)?String(null===(p=e.user)||void 0===p?void 0:p.doctor_id):"",hospitalId:(null===(_=e.user)||void 0===_?void 0:_.hospital_id)?String(null===(g=e.user)||void 0===g?void 0:g.hospital_id):""},liked:!!e.liked,mentionedUser:e.mentioned?{id:(null===(y=e.mentioned)||void 0===y?void 0:y.id)||0,username:(null===(w=e.mentioned)||void 0===w?void 0:w.user_name)||"",name:(null===(h=e.mentioned)||void 0===h?void 0:h.name)||"",role:(null===(b=e.mentioned)||void 0===b?void 0:b.role)?null===(I=null===(k=e.mentioned)||void 0===k?void 0:k.role)||void 0===I?void 0:I.toLowerCase():"",avatar:(null===(C=e.mentioned)||void 0===C?void 0:C.avatar)||"",type:(null===(x=e.mentioned)||void 0===x?void 0:x.type)||"",email:(null===(S=e.mentioned)||void 0===S?void 0:S.email)||"",partnerId:(null===(T=e.mentioned)||void 0===T?void 0:T.partner_id)?String(null===(P=e.mentioned)||void 0===P?void 0:P.partner_id):"",doctorId:(null===(A=e.mentioned)||void 0===A?void 0:A.doctor_id)?String(null===(B=e.mentioned)||void 0===B?void 0:B.doctor_id):"",hospitalId:(null===(D=e.mentioned)||void 0===D?void 0:D.hospital_id)?String(null===(q=e.mentioned)||void 0===q?void 0:q.hospital_id):"",title:(null===(U=e.mentioned)||void 0===U?void 0:U.title)||""}:null,mentions:e.mentions||[],isSensitive:e.is_sensitive||0,userReadComment:e.user_read_comment,source:e.source||[],isVerify:e.is_verify||0,isOppose:e.is_oppose||0,userVerify:e.user_verify||{},categorySlug:e.categories||""}:{}},w=e=>void 0!==e&&e?(null==e?void 0:e.turn_off_profile)?"":(null==e?void 0:e.slug)?["expert","medical"].includes((null==e?void 0:e.role)||"")?`/expert/${null==e?void 0:e.slug}`:`/author/${null==e?void 0:e.slug}`:(null==e?void 0:e.profile_url)||(null==e?void 0:e.permalink)||"#":"";var h=Object.freeze({__proto__:null,formatAuthor:l,formatArticleExpert:n,formatArticle:r,formatUserProfile:a,formatBMIResult:e=>{var i,o,t,l,n,r,a,d,u;return e&&e.status?{status:null==e?void 0:e.status,comparison:null!==(i=null==e?void 0:e.comparison)&&void 0!==i?i:"",assessmentData:[{tab:"tools.condition",content:null!==(o=null==e?void 0:e.condition)&&void 0!==o?o:""},{tab:"tools.risks",content:null!==(t=null==e?void 0:e.risk)&&void 0!==t?t:""},{tab:"tools.suggestion",content:null!==(l=null==e?void 0:e.suggestion)&&void 0!==l?l:""}],chartData:(null===(n=null==e?void 0:e.chart_data)||void 0===n?void 0:n.length)>0?null==e?void 0:e.chart_data:[],disclaimer:null!==(r=null==e?void 0:e.disclaimer)&&void 0!==r?r:"",illustrator:null!==(a=null==e?void 0:e.illustrator)&&void 0!==a?a:"",faqs:null!==(d=null==e?void 0:e.faqs)&&void 0!==d?d:[],suggestedArticlesLink:null!==(u=null==e?void 0:e.suggested_articles_link)&&void 0!==u?u:""}:{}},formatSponsor:d,formatReviewedCategory:u,formatCategory:s,formatCategoryApi:e=>e?{categoryInfo:s(e.data.category)||null,explainersPosts:(e.data.explainers_posts||[]).map(r),subCategories:(e.data.sub_categories||[]).map(s)}:{},formatFaqsCategory:m,formatHealthTool:v,formatHealthToolTypeCategory:e=>{var i,o;return e?{termId:(null==e?void 0:e.term_id)||0,name:(null==e?void 0:e.name)||"",healthTools:null!==(o=null===(i=null==e?void 0:e.health_tools)||void 0===i?void 0:i.map((e=>v(e))))&&void 0!==o?o:[]}:{}},formatCommunity:c,formatTopic:p,formatExpertAnswer:_,formatPost:g,formatPostPagination:e=>e?{currentPage:e.current||0,lastPage:e.last||0,total:e.total_items||0}:{},formatNotification:e=>{var i,o,t;return e?{time:e.created_at,content:e.content,postId:String(e.post_id),fromUser:{name:null===(i=e.from_user)||void 0===i?void 0:i.name,id:null===(o=e.from_user)||void 0===o?void 0:o.id,avatar:null===(t=e.from_user)||void 0===t?void 0:t.avatar},toUserId:String(e.to_user_id),postSlug:e.post_slug||"",communitySlug:e.community_slug||""}:{}},formatSpotlightsList:e=>e?e.map((e=>({id:e.ID,name:e.name,permalink:e.permalink,image:(null==e?void 0:e.small_banner)||(null==e?void 0:e.image),imageMedium:(null==e?void 0:e.image_medium)||null,imageThumbnail:(null==e?void 0:e.image_thumbnail)||null,startDate:null==e?void 0:e.start_date,endDate:null==e?void 0:e.end_date}))):[],formatOvulationInfo:y,formatSuggestedArticle:e=>e?{postId:e.post_id||null,categoryId:e.category_id||null,postUrl:e.post_url||null,postReviewed:e.post_reviewed||null,postPageviews:e.post_pageviews||null,postRank:e.post_rank||null,isPin:e.is_pin||null,frequency:e.frequency||null,topic:e.topic||null}:{},formatTopicHealthTool:e=>e?{id:e.tool_id||null,topicFrequency:e.frequency||null,topicId:e.topic_id||null,topicName:e.topic_name||null,isPinned:!!e.is_pin||null,toolLink:e.tool_link||""}:{},formatComment:f,formatReportedPostToPostDetail:e=>e?{name:e.title,description:e.description,images:e.images,likes_count:e.count_likes,comments_count:e.count_comments,topics:[],slug:e.post_slug,id:e.post_id,is_pin:e.is_pin,pin_date:"",post_type:e.post_type,schedule_datetime:e.schedule_datetime,is_active:e.is_active,preview_title:e.preview_title||"",preview_image:e.preview_image||"",preview_description:e.preview_description||"",preview_link:e.preview_link||"",user:e.user,created_at:"",created_time:"",community:{id:e.community_id,name:e.community_name,slug:e.community_slug,description:""}}:{},formatTopicSubot:e=>e?{chatBotId:e.subot_id,isPinned:e.is_pin,topicId:e.topic_id,topicFrequency:e.frequency}:{},formatSiteWideBanner:(e,i)=>void 0!==e&&e?{content:(null==e?void 0:e.content)||"",icon:(null==e?void 0:e.icon)||"",type:i||"other"}:null,formatPWGContent:e=>e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?a(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{},formatUserProfileUrl:w,formatTHRContent:e=>e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?a(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{},formatBabyGrowthContent:e=>{var i,o,t;return e&&e.information?{information:null!==(i=e.information.map((e=>({title:e.title,description:e.description}))))&&void 0!==i?i:[],reviewBy:{reviewer:(null===(o=e.reviewed_by)||void 0===o?void 0:o.display_name)||(null===(t=e.reviewed_by)||void 0===t?void 0:t.name)||"",date:e.reviewed_date||"",link:w(null==e?void 0:e.reviewed_by)},metaTag:e.meta_tag||"",title:e.title||"",description:e.description||"",disclaimer:e.disclaimer||"",is_sponsored:e.is_sponsored||!1,sponsor:e.sponsor,featuredImage:e.featured_image||""}:{}}});exports.Popup=({type:e="lead",closeIcon:o,isOpen:l=!0,onClose:n,children:r,className:a="",enableAnimation:d=!0})=>t.default.createElement(t.default.Fragment,null,t.default.createElement(i.StyledPopup$2,{"data-open":l,"data-type":e,"data-animation":d},t.default.createElement("div",{className:`${a||""} popup-content`},!!o&&t.default.createElement("div",{className:"close-button",onClick:n},o),r)),t.default.createElement(i.StyledPopupWrapper,{"data-open":l,onClick:n})),exports.dataTransform=h,exports.formatArticle=r,exports.formatCategory=s,exports.formatComment=f,exports.formatCommunity=c,exports.formatOvulationInfo=y,exports.formatPost=g,exports.formatTopic=p,exports.formatUserProfileUrl=w;
|