@hhgtech/hhg-components 1.26.2 → 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/index.styled.d.ts +39 -6
- package/build/care/components/organisms/bookingSearchBar/locationResults/index.styled.d.ts +21 -8
- package/build/care/components/organisms/bookingSearchBar/mobileFakeInput/index.d.ts +4 -1
- package/build/care/components/organisms/bookingSearchBar/mobileTopbar/index.styled.d.ts +29 -5
- package/build/care/components/organisms/bookingSearchBar/resultSection/index.styled.d.ts +38 -8
- package/build/care/components/organisms/bookingSearchBar/resultSectionItem/index.styled.d.ts +34 -7
- package/build/care/components/organisms/bookingSearchBar/searchInputs/index.styled.d.ts +28 -6
- package/build/care.js +1 -1
- package/build/components/atoms/alert/index.d.ts +1 -1
- package/build/components/atoms/avatar/index.d.ts +1 -1
- package/build/components/atoms/avatar/index.styled.d.ts +5 -1
- package/build/components/atoms/backdrop/index.styled.d.ts +5 -1
- package/build/components/atoms/badge/index.styled.d.ts +5 -1
- package/build/components/atoms/borderHeading/index.styled.d.ts +5 -1
- package/build/components/atoms/btnChoice/index.styled.d.ts +5 -1
- package/build/components/atoms/checkbox/index.styled.d.ts +5 -1
- package/build/components/atoms/displayWrapper/index.styled.d.ts +6 -2
- package/build/components/atoms/divider/index.d.ts +1 -1
- package/build/components/atoms/divider/index.styled.d.ts +6 -2
- package/build/components/atoms/drawer/helpers.d.ts +1 -1
- package/build/components/atoms/drawer/index.styled.d.ts +15 -5
- package/build/components/atoms/dropdownMB/index.styled.d.ts +3 -2
- package/build/components/atoms/fileDropdown/index.d.ts +1 -1
- package/build/components/atoms/fileDropdown/index.styled.d.ts +21 -5
- package/build/components/atoms/grid/index.styled.d.ts +8 -1
- package/build/components/atoms/heading/index.d.ts +1 -1
- package/build/components/atoms/icons/Plus.d.ts +4 -1
- package/build/components/atoms/input/index.styled.d.ts +22 -6
- package/build/components/atoms/inputMB/index.styled.d.ts +26 -2
- package/build/components/atoms/logo/index.styled.d.ts +9 -2
- package/build/components/atoms/marryBabyText/index.d.ts +1 -1
- package/build/components/atoms/marryBabyText/index.styled.d.ts +8 -5
- package/build/components/atoms/menu/index.styled.d.ts +10 -3
- package/build/components/atoms/newBabyProfileRadio/index.styled.d.ts +5 -1
- package/build/components/atoms/pagination/index.d.ts +1 -1
- package/build/components/atoms/pagination/index.styled.d.ts +13 -3
- package/build/components/atoms/pill/index.styled.d.ts +9 -2
- package/build/components/atoms/progress/index.styled.d.ts +5 -1
- package/build/components/atoms/pureInput/index.styled.d.ts +21 -5
- package/build/components/atoms/radio/index.styled.d.ts +5 -1
- package/build/components/atoms/radioImageGroup/index.styled.d.ts +9 -2
- package/build/components/atoms/rateStars/index.styled.d.ts +5 -1
- package/build/components/atoms/shadow/index.styled.d.ts +5 -1
- package/build/components/atoms/tag/index.styled.d.ts +5 -1
- package/build/components/atoms/toggle/index.styled.d.ts +17 -4
- package/build/components/atoms/underlinedLink/index.styled.d.ts +5 -1
- package/build/components/atoms/uploader/index.styled.d.ts +17 -4
- package/build/components/babyGrowth/babyGrowthChart/index.styled.d.ts +5 -1
- package/build/components/babyGrowth/babyGrowthChooseProfileDrawer/index.styled.d.ts +8 -2
- package/build/components/babyGrowth/babyGrowthForm/index.styled.d.ts +40 -7
- package/build/components/babyGrowth/babyGrowthGender/index.styled.d.ts +7 -2
- package/build/components/babyGrowth/babyGrowthLegend/index.styled.d.ts +9 -2
- package/build/components/babyGrowth/babyGrowthProfileRadio/index.styled.d.ts +5 -1
- package/build/components/babyGrowth/babyGrowthRecord/index.styled.d.ts +5 -1
- package/build/components/babyGrowth/babyGrowthSwitch/index.styled.d.ts +5 -1
- package/build/components/babyGrowth/babyGrowthTooltip/index.styled.d.ts +5 -1
- package/build/components/babyGrowth/childCard/index.styled.d.ts +14 -3
- package/build/components/mantine/accordion/index.styled.d.ts +4 -3
- package/build/components/mantine/aspectRatio/index.styled.d.ts +5 -1
- package/build/components/mantine/breadcrumbs/index.styled.d.ts +5 -1
- package/build/components/mantine/button/index.styled.d.ts +5 -1
- package/build/components/mantine/datepicker/index.styled.d.ts +6 -2
- package/build/components/mantine/index.d.ts +2 -1
- package/build/components/mantine/modal/index.styled.d.ts +3 -2
- package/build/components/mantine/slider/index.styled.d.ts +7 -2
- package/build/components/mantine/text/index.styled.d.ts +3 -8
- package/build/components/mantine/textArea/index.styled.d.ts +3 -1
- 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/articleCard/index.d.ts +1 -1
- package/build/components/molecules/bmiForm/index.styled.d.ts +47 -6
- package/build/components/molecules/bmrForm/index.styled.d.ts +43 -5
- package/build/components/molecules/carousel/index.styled.d.ts +13 -3
- package/build/components/molecules/categoryCard/index.d.ts +1 -1
- package/build/components/molecules/categoryCard/index.styled.d.ts +5 -1
- package/build/components/molecules/checkboxGroup/index.styled.d.ts +5 -1
- package/build/components/molecules/cookieAcceptConfirm/index.styled.d.ts +26 -8
- package/build/components/molecules/datePicker/index.styled.d.ts +9 -2
- package/build/components/molecules/dateRangePicker/calendar/index.styled.d.ts +61 -13
- package/build/components/molecules/dateRangePicker/index.styled.d.ts +9 -2
- package/build/components/molecules/dropdown/index.d.ts +1 -1
- package/build/components/molecules/dropdown/index.styled.d.ts +19 -12
- package/build/components/molecules/dropdownSearch/index.styled.d.ts +27 -7
- package/build/components/molecules/dueDateCalculator/index.styled.d.ts +33 -6
- package/build/components/molecules/embeddedHeathToolCards/baby-growth/index.styled.d.ts +11 -4
- package/build/components/molecules/embeddedHeathToolCards/baby-poop/index.styled.d.ts +46 -15
- package/build/components/molecules/embeddedHeathToolCards/index.styled.d.ts +15 -4
- package/build/components/molecules/floatButtonGroup/index.d.ts +1 -1
- package/build/components/molecules/floatButtonGroup/index.styled.d.ts +33 -8
- package/build/components/molecules/iconText/index.styled.d.ts +5 -1
- package/build/components/molecules/languageSwitcher/index.styled.d.ts +5 -1
- package/build/components/molecules/languageSwitcher/tooltipSelection/index.d.ts +1 -1
- package/build/components/molecules/languageSwitcher/tooltipSelection/index.styled.d.ts +21 -5
- package/build/components/molecules/mobileBottomNavigation/index.styled.d.ts +23 -7
- package/build/components/molecules/modal/index.styled.d.ts +17 -4
- package/build/components/molecules/pillCarousel/index.styled.d.ts +24 -3
- package/build/components/molecules/popup/index.styled.d.ts +9 -2
- package/build/components/molecules/progressBar/index.styled.d.ts +49 -12
- package/build/components/molecules/radioGroup/index.styled.d.ts +5 -1
- package/build/components/molecules/radioImageGroupForTool/index.styled.d.ts +9 -2
- package/build/components/molecules/scrollList/index.styled.d.ts +5 -1
- package/build/components/molecules/shareContainer/index.styled.d.ts +5 -1
- package/build/components/molecules/shareDrawer/index.styled.d.ts +5 -1
- package/build/components/molecules/starsRatingBox/index.styled.d.ts +17 -4
- package/build/components/molecules/statisticCard/index.styled.d.ts +17 -4
- package/build/components/molecules/surveyQuestionCard/index.styled.d.ts +21 -4
- package/build/components/molecules/tabs/index.d.ts +1 -1
- package/build/components/molecules/tabs/index.styled.d.ts +17 -4
- package/build/components/molecules/thrForm/index.styled.d.ts +47 -6
- package/build/components/molecules/toolBannerCard/index.styled.d.ts +63 -17
- package/build/components/molecules/weightGainForm/index.styled.d.ts +81 -20
- package/build/components/onboarding/dynamicForm/index.styled.d.ts +5 -1
- package/build/components/onboarding/onboardingForm/index.styled.d.ts +7 -1
- package/build/components/onboarding/onboardingModal/index.styled.d.ts +29 -7
- package/build/components/onboarding/otpForm/index.styled.d.ts +7 -1
- package/build/components/onboarding/personalInfoForm/index.styled.d.ts +5 -1
- package/build/components/organisms/heroBannerHealthTool/index.styled.d.ts +41 -10
- package/build/components/organisms/navigationLogoutPopup/index.styled.d.ts +9 -2
- package/build/components/organisms/navigationProfileButton/index.styled.d.ts +29 -7
- package/build/components/organisms/navigationV2/components/molecules/Categories/index.styled.d.ts +29 -7
- package/build/components/organisms/navigationV2/components/molecules/Spotlights/index.styled.d.ts +13 -3
- package/build/components/organisms/navigationV2/components/molecules/menuCareList/Item/index.styled.d.ts +33 -8
- package/build/components/organisms/navigationV2/components/molecules/menuCareList/index.styled.d.ts +9 -2
- package/build/components/organisms/navigationV2/components/molecules/menuCategoriesList/Item/index.styled.d.ts +13 -3
- package/build/components/organisms/navigationV2/components/molecules/menuCategoriesList/index.styled.d.ts +13 -3
- package/build/components/organisms/navigationV2/components/molecules/menuCommunitiesList/Item/index.styled.d.ts +45 -11
- package/build/components/organisms/navigationV2/components/molecules/menuCommunitiesList/index.styled.d.ts +13 -3
- package/build/components/organisms/navigationV2/components/molecules/menuHealthToolsList/Item/index.styled.d.ts +25 -6
- package/build/components/organisms/navigationV2/components/molecules/menuHealthToolsList/ItemMarryBaby/index.styled.d.ts +33 -8
- package/build/components/organisms/navigationV2/components/molecules/menuHealthToolsList/index.styled.d.ts +9 -2
- package/build/components/organisms/navigationV2/components/molecules/menuServiceList/index.styled.d.ts +81 -23
- package/build/components/organisms/navigationV2/components/molecules/navigationBar/index.styled.d.ts +33 -8
- package/build/components/organisms/navigationV2/components/molecules/spotlightNoData/index.styled.d.ts +21 -5
- package/build/components/organisms/navigationV2/index.styled.d.ts +13 -3
- package/build/components/pregnancyWeightGain/pregnancyWeightGainChart/components/index.styled.d.ts +13 -3
- package/build/components/pregnancyWeightGain/pregnancyWeightGainChart/index.styled.d.ts +5 -1
- package/build/components/ui/onboarding/index.styled.d.ts +11 -3
- package/build/components/vaccination/vaccineCard/index.styled.d.ts +17 -4
- package/build/components/vaccination/vaccineImmunization/index.styled.d.ts +9 -2
- package/build/components/vaccination/vaccineRecordsByAgeGroup/index.styled.d.ts +21 -5
- package/build/components/vaccination/vaccineTimelineBanner/index.styled.d.ts +5 -1
- package/build/components.js +1 -1
- package/build/constants.js +1 -1
- package/build/{core-86d1d4b7.js → core-9e7fa00d.js} +1 -1
- package/build/{dataTransform-0920fd46.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-0382a275.js → core-8ee6ccec.js} +1 -1
- package/build/esm/{dataTransform-626806af.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-287582f9.js → getDynamicHealthTool-1cfb1b84.js} +1 -1
- package/build/esm/{getSocialList-bb91bdcd.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-523fd7b5.js → index-19ad623c.js} +1 -1
- package/build/esm/{index-75654787.js → index-3f756f44.js} +1 -1
- package/build/esm/{index-37f23c7c.js → index-46c98c71.js} +1 -1
- package/build/esm/{index-d39586cf.js → index-47161cce.js} +4 -4
- package/build/esm/index-483f0c71.js +1 -0
- package/build/esm/{index-1e7cb8f5.js → index-5dc75abe.js} +1 -1
- package/build/esm/{index-2255ace2.js → index-6bdb021f.js} +1 -1
- package/build/esm/{index-ba091eef.js → index-7e7fbe76.js} +1 -1
- package/build/esm/{index-850a6e81.js → index-86787371.js} +1 -1
- package/build/esm/{index-da768b6d.js → index-9fa8c47c.js} +18 -18
- package/build/esm/{index-9828acfd.js → index-b6e39606.js} +1 -1
- package/build/esm/{index-3ce79169.js → index-cd54b72a.js} +23 -23
- package/build/esm/index-d25aa5cb.js +1 -0
- package/build/esm/{index-475d9e47.js → index-d5e46cad.js} +1 -1
- package/build/esm/{index-4f1c858f.js → index-e46cec66.js} +1 -1
- package/build/esm/{index-fb690d48.js → index-e9210384.js} +3 -3
- package/build/esm/index-f3ce73c1.js +1 -0
- package/build/esm/{index-086da1d7.js → index-f7b582e1.js} +1 -1
- package/build/esm/index-f9abddb6.js +1 -0
- package/build/esm/{index-1daa59fe.js → index-fa9941e0.js} +1 -1
- package/build/esm/{index-f50c2ed5.js → index-fb42e44f.js} +1 -1
- package/build/esm/{index-421eca30.js → index-fe02b6fa.js} +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-65576081.js → index.styled-28e52e67.js} +229 -227
- package/build/esm/{index.styled-557adcc4.js → index.styled-49ab3911.js} +116 -108
- package/build/esm/{index.styled-0d946728.js → index.styled-87917eed.js} +5 -5
- package/build/esm/{index.styled-2eba1dae.js → index.styled-c050d393.js} +238 -239
- package/build/esm/{index.styled-c95d156f.js → index.styled-d4398861.js} +6 -6
- 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 +1 -1
- package/build/esm/{routing-f682d1f9.js → routing-2d155820.js} +1 -1
- package/build/esm/{screenSizeContext-49f083d0.js → screenSizeContext-e8baa898.js} +3 -3
- package/build/esm/{theme-7a380626.js → theme-b980cf81.js} +1 -1
- package/build/esm/together.js +1 -1
- package/build/esm/{translationsProvider-fd495f30.js → translationsProvider-9b24aea1.js} +1 -1
- package/build/esm/{types-732ba19a.js → types-ed671f0a.js} +71 -71
- package/build/esm/{types-cf2025f5.js → types-ffb1105c.js} +115 -119
- package/build/esm/types.js +1 -1
- package/build/esm/useHealthToolCache-b1120a23.js +1 -0
- package/build/esm/{useRafState-03366366.js → useRafState-217e6e79.js} +1 -1
- package/build/esm/{useScreenSize-0364123f.js → useScreenSize-a478a48e.js} +1 -1
- package/build/esm/useTranslations-b34a9124.js +1 -0
- package/build/esm/utils-7fe6a860.js +166 -0
- package/build/esm/vaccination.js +41 -41
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/getDynamicHealthTool-5f50986e.js +1 -0
- package/build/{getSocialList-401ea10b.js → getSocialList-7f09333d.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/{index-6a3b4fdc.js → index-00698e01.js} +1 -1
- package/build/{index-93da2295.js → index-09712937.js} +1 -1
- package/build/{index-a68b357b.js → index-18005712.js} +1 -1
- package/build/{index-02703eb3.js → index-2f9e1df7.js} +1 -1
- package/build/{index-1027c9db.js → index-3ed5176a.js} +1 -1
- package/build/index-47caacd3.js +1 -0
- package/build/{index-a1c04c08.js → index-6207a63d.js} +1 -1
- package/build/index-6fa70b52.js +1 -0
- package/build/{index-aaa97035.js → index-76151732.js} +1 -1
- package/build/index-78d09170.js +115 -0
- package/build/{index-db9780bb.js → index-79674ad8.js} +1 -1
- package/build/index-87c5e5fa.js +1 -0
- package/build/{index-fe395b6a.js → index-a01143fe.js} +3 -3
- package/build/{index-88b6d502.js → index-a2de03ce.js} +1 -1
- package/build/{index-015a02ec.js → index-aa485ce2.js} +4 -4
- package/build/{index-f0b5a2e9.js → index-aecd4287.js} +1 -1
- package/build/{index-04ef1e33.js → index-af641795.js} +1 -1
- package/build/{index-b57648f2.js → index-b0471eb6.js} +1 -1
- package/build/{index-e39e1328.js → index-bdda9ac5.js} +1 -1
- package/build/{index-3498a47f.js → index-d002cf7c.js} +1 -1
- package/build/{index-d8585bf7.js → index-dc5654c7.js} +1 -1
- package/build/{index-8c5fc7a1.js → index-f78caa67.js} +22 -22
- package/build/{index-49b825aa.js → index-fd684eec.js} +1 -1
- package/build/index.js +1 -1
- package/build/{index.styled-0654a893.js → index.styled-24aab5e3.js} +5 -5
- package/build/index.styled-2741756f.js +1257 -0
- package/build/index.styled-c0481ce8.js +50 -0
- package/build/{index.styled-10f91006.js → index.styled-d3db6485.js} +142 -143
- package/build/{index.styled-24eda00b.js → index.styled-f073fde4.js} +282 -280
- package/build/lead.js +1 -1
- package/build/mantine.js +1 -1
- package/build/misc/animation.d.ts +9 -9
- package/build/misc/theme.d.ts +1 -3
- 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-0366e86d.js → routing-cc9be7a5.js} +1 -1
- package/build/{screenSizeContext-3871959e.js → screenSizeContext-f0ebed7f.js} +10 -10
- package/build/{theme-0dfa18d3.js → theme-a77c4057.js} +1 -1
- package/build/together/components/atoms/cardLink/index.styled.d.ts +6 -2
- package/build/together/components/atoms/labelSortPin/index.styled.d.ts +5 -1
- package/build/together/components/atoms/loading/index.styled.d.ts +9 -2
- package/build/together/components/atoms/notificationBar/index.styled.d.ts +18 -5
- package/build/together/components/atoms/sensitiveMask/index.styled.d.ts +13 -3
- package/build/together/components/atoms/tagTopic/index.styled.d.ts +5 -1
- package/build/together/components/atoms/userAvatar/index.styled.d.ts +6 -2
- package/build/together/components/molecules/createNewPostContent/index.styled.d.ts +13 -3
- package/build/together/components/molecules/createPostDescription/index.styled.d.ts +9 -2
- package/build/together/components/molecules/createPostTitle/index.styled.d.ts +5 -1
- package/build/together/components/molecules/inputCommentBar/index.styled.d.ts +5 -1
- package/build/together/components/molecules/popupDanger/index.styled.d.ts +5 -1
- package/build/together/components/molecules/popupDoctor/index.styled.d.ts +33 -8
- package/build/together/components/molecules/popupExpert/index.styled.d.ts +29 -7
- package/build/together/components/molecules/popupFrame/index.styled.d.ts +10 -3
- package/build/together/components/molecules/popupFrame/popupShare.d.ts +4 -1
- package/build/together/components/molecules/popupHospital/index.styled.d.ts +29 -7
- package/build/together/components/molecules/postContent/index.styled.d.ts +6 -2
- package/build/together/components/molecules/postImagePreview/index.styled.d.ts +11 -3
- package/build/together/components/molecules/postImagePreview/postSingleImageViewPopup/index.styled.d.ts +21 -5
- package/build/together/components/molecules/shareBox/index.styled.d.ts +9 -2
- package/build/together/components/molecules/socialLinkPreview/index.styled.d.ts +6 -2
- package/build/together/components/molecules/submitReportForm/index.d.ts +1 -1
- package/build/together/components/molecules/submitReportForm/index.styled.d.ts +5 -1
- package/build/together/components/molecules/topicSelectList/index.styled.d.ts +5 -1
- package/build/together/components/organisms/cardPost/index.styled.d.ts +5 -1
- package/build/together/components/organisms/cardReply/index.styled.d.ts +12 -2
- package/build/together/components/organisms/popoverMenu/index.styled.d.ts +9 -2
- package/build/together/components/organisms/sourceList/index.styled.d.ts +21 -5
- package/build/together/components/organisms/sourceList/recommentCategories/index.styled.d.ts +25 -6
- package/build/together/components/organisms/sourceList/sourceItem/index.styled.d.ts +9 -2
- package/build/together.js +1 -1
- package/build/{translationsProvider-c7887f2f.js → translationsProvider-5383b211.js} +1 -1
- package/build/{types-86f5ccff.js → types-3e9f1637.js} +115 -119
- package/build/{types-d8bce503.js → types-c584b21c.js} +71 -71
- package/build/types.js +1 -1
- package/build/{useHealthToolCache-d432bccf.js → useHealthToolCache-495c0af3.js} +1 -1
- package/build/{useRafState-040f5417.js → useRafState-710b9f6c.js} +1 -1
- package/build/{useScreenSize-22d0b73e.js → useScreenSize-80d668cf.js} +1 -1
- package/build/useTranslations-11d21172.js +1 -0
- package/build/utils-58837b5e.js +166 -0
- package/build/vaccination.js +34 -34
- package/package.json +5 -7
- package/build/esm/index-4618c8b1.js +0 -1
- package/build/esm/index-5b1f48f6.js +0 -1
- package/build/esm/index-9aa9ea8a.js +0 -1
- package/build/esm/index-a60e8753.js +0 -1
- package/build/esm/index-af9b0189.js +0 -1
- package/build/esm/useHealthToolCache-363b2f57.js +0 -1
- package/build/esm/useTranslations-adbba887.js +0 -1
- package/build/esm/utils-6749cb05.js +0 -166
- package/build/getDynamicHealthTool-ec53eb68.js +0 -1
- package/build/index-0a062890.js +0 -1
- package/build/index-45f7b954.js +0 -1
- package/build/index-6111f907.js +0 -1
- package/build/index-8cd6ee80.js +0 -115
- package/build/index.styled-0890f205.js +0 -50
- package/build/index.styled-81b3744a.js +0 -1249
- package/build/useTranslations-2522e02f.js +0 -1
- package/build/utils-4f699937.js +0 -166
- /package/build/{BMI_BOYS.percentile.monthly-7cb9f753.js → BMI_BOYS.percentile.monthly-ad3d0ae7.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-41c8c9ae.js → BMI_BOYS.percentile.weekly-acef6653.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-1ecbbce1.js → BMI_BOYS.percentile.yearly-8c64c0c3.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-56a271bb.js → BMI_BOYS.zscore.monthly-ec78a3b3.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-8e63d86f.js → BMI_BOYS.zscore.weekly-17cbed22.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-5b5f737a.js → BMI_BOYS.zscore.yearly-59206f2e.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-3bfc69d9.js → BMI_GIRLS.percentile.monthly-f8cc96db.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-eb6a0604.js → BMI_GIRLS.percentile.weekly-848047ee.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-c75708c4.js → BMI_GIRLS.percentile.yearly-564da965.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-1afc2414.js → BMI_GIRLS.zscore.monthly-76ce0ef4.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-626ba416.js → BMI_GIRLS.zscore.weekly-862a6bba.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-d6ad235e.js → BMI_GIRLS.zscore.yearly-0fbdefc4.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-92cb6872.js → HEAD CIRCUM_BOYS.percentile.monthly-cf3c1317.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-bcf0cbfe.js → HEAD CIRCUM_BOYS.percentile.weekly-4915d20b.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-9435a068.js → HEAD CIRCUM_BOYS.percentile.yearly-5953fbd3.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-8ed3082a.js → HEAD CIRCUM_BOYS.zscore.monthly-2dad7fb4.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-8110c113.js → HEAD CIRCUM_BOYS.zscore.weekly-5c54cbe2.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-46de3f08.js → HEAD CIRCUM_BOYS.zscore.yearly-cba2e265.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-64d6851c.js → HEAD CIRCUM_GIRLS.percentile.monthly-8df9c99a.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-79716470.js → HEAD CIRCUM_GIRLS.percentile.weekly-9904dca5.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-3660ac3c.js → HEAD CIRCUM_GIRLS.percentile.yearly-fec72f46.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-5d1f0736.js → HEAD CIRCUM_GIRLS.zscore.monthly-e68e0a7f.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-463164d8.js → HEAD CIRCUM_GIRLS.zscore.weekly-210a9721.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-7cc8aa84.js → HEAD CIRCUM_GIRLS.zscore.yearly-b29ee605.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-7cd1be5e.js → HEIGHT_BOYS.percentile.monthly-719cfe0f.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-62b1b529.js → HEIGHT_BOYS.percentile.weekly-2b62cbfb.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-260e90cc.js → HEIGHT_BOYS.percentile.yearly-b98576c9.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-27b54ac8.js → HEIGHT_BOYS.zscore.monthly-6d4e4b71.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-f6b53273.js → HEIGHT_BOYS.zscore.weekly-35bd8b2c.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-f03057a3.js → HEIGHT_BOYS.zscore.yearly-578f252a.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-0a569d7c.js → HEIGHT_GIRLS.percentile.monthly-dac1d9a6.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-54d586e0.js → HEIGHT_GIRLS.percentile.weekly-5cbe7e02.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-bb0205c1.js → HEIGHT_GIRLS.percentile.yearly-68ccecad.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-65504081.js → HEIGHT_GIRLS.zscore.monthly-35c47378.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-bf6aeb50.js → HEIGHT_GIRLS.zscore.weekly-33cb076c.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-204dd7a5.js → HEIGHT_GIRLS.zscore.yearly-85d838d6.js} +0 -0
- /package/build/{Onboarding-58ad00eb.js → Onboarding-e0bc49b6.js} +0 -0
- /package/build/{Visible-53af2df3.js → Visible-0c20268e.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-a589fba1.js → WEIGHT_BOYS.percentile.monthly-d63afafb.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-e285a14b.js → WEIGHT_BOYS.percentile.weekly-e924c535.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-28abf604.js → WEIGHT_BOYS.percentile.yearly-3a609de3.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-584bc78f.js → WEIGHT_BOYS.zscore.monthly-2bfb2d82.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-53cf64c9.js → WEIGHT_BOYS.zscore.weekly-920ea6ef.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-756cc8d6.js → WEIGHT_BOYS.zscore.yearly-bda55c99.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-48bbc291.js → WEIGHT_GIRLS.percentile.monthly-8cd415a7.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-3c198de1.js → WEIGHT_GIRLS.percentile.weekly-a1eee50a.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-6b611efa.js → WEIGHT_GIRLS.percentile.yearly-ebe46be2.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-21c2fe41.js → WEIGHT_GIRLS.zscore.monthly-150deae9.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-699784c8.js → WEIGHT_GIRLS.zscore.weekly-9403945c.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-2a8368ee.js → WEIGHT_GIRLS.zscore.yearly-199a1599.js} +0 -0
- /package/build/{constants-5fae608d.js → constants-8bb095c0.js} +0 -0
- /package/build/{cookieHelper-6bf570a6.js → cookieHelper-ad5f2efe.js} +0 -0
- /package/build/{dataTransform-355fcd93.js → dataTransform-7ae9991a.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-232e5b13.js → BMI_BOYS.percentile.monthly-f07925b6.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-ea880ece.js → BMI_BOYS.percentile.weekly-186afa5a.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-3c94dee9.js → BMI_BOYS.percentile.yearly-79577e9e.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-c58ec198.js → BMI_BOYS.zscore.monthly-c143e5fa.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-9374cdd6.js → BMI_BOYS.zscore.weekly-c310b94d.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-c9e37597.js → BMI_BOYS.zscore.yearly-951dcf5f.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-3186b214.js → BMI_GIRLS.percentile.monthly-6e7cc93b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-838da920.js → BMI_GIRLS.percentile.weekly-03f7cc6b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-e74ec608.js → BMI_GIRLS.percentile.yearly-f3ed06b3.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-99a32139.js → BMI_GIRLS.zscore.monthly-aea3084b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-c85a6cb8.js → BMI_GIRLS.zscore.weekly-1fd57c87.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-8d66e4b7.js → BMI_GIRLS.zscore.yearly-e5689945.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-6cf7f3fc.js → HEAD CIRCUM_BOYS.percentile.monthly-e0ad764c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-72d3279c.js → HEAD CIRCUM_BOYS.percentile.weekly-b98e312c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-c94b8b15.js → HEAD CIRCUM_BOYS.percentile.yearly-7eeaa219.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-4ae9d853.js → HEAD CIRCUM_BOYS.zscore.monthly-daf5b201.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-5c451325.js → HEAD CIRCUM_BOYS.zscore.weekly-1775b919.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-493c5189.js → HEAD CIRCUM_BOYS.zscore.yearly-09f43181.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-0d81fc58.js → HEAD CIRCUM_GIRLS.percentile.monthly-cae4b638.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-29b91eaa.js → HEAD CIRCUM_GIRLS.percentile.weekly-f0e716ad.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-a3c781f1.js → HEAD CIRCUM_GIRLS.percentile.yearly-3506e4ae.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-d6647713.js → HEAD CIRCUM_GIRLS.zscore.monthly-13d8b464.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-406ec38f.js → HEAD CIRCUM_GIRLS.zscore.weekly-1327fd6e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-0c78aef1.js → HEAD CIRCUM_GIRLS.zscore.yearly-f20aaf9c.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-84a80839.js → HEIGHT_BOYS.percentile.monthly-982f50f8.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-cf815f22.js → HEIGHT_BOYS.percentile.weekly-64103ce8.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-a02e2825.js → HEIGHT_BOYS.percentile.yearly-609c1872.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-9f89b705.js → HEIGHT_BOYS.zscore.monthly-4447429d.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-0e4ffc16.js → HEIGHT_BOYS.zscore.weekly-8d39275e.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-d0edf0bf.js → HEIGHT_BOYS.zscore.yearly-a3d1d3e4.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-8e0f943b.js → HEIGHT_GIRLS.percentile.monthly-e3506bf7.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-48e6e355.js → HEIGHT_GIRLS.percentile.weekly-0e75bd3c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-25ec1154.js → HEIGHT_GIRLS.percentile.yearly-4b37b61e.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-adf01e2c.js → HEIGHT_GIRLS.zscore.monthly-aac66fd4.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-3e010f50.js → HEIGHT_GIRLS.zscore.weekly-e726dc50.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-5cab6436.js → HEIGHT_GIRLS.zscore.yearly-3a5f029c.js} +0 -0
- /package/build/esm/{Onboarding-6b46846b.js → Onboarding-e50f8d93.js} +0 -0
- /package/build/esm/{Visible-496e6c00.js → Visible-6381c638.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-4b0a0c5d.js → WEIGHT_BOYS.percentile.monthly-4a61a17e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-b73fa457.js → WEIGHT_BOYS.percentile.weekly-07c2ed40.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-af56dea8.js → WEIGHT_BOYS.percentile.yearly-bb121124.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-0266b046.js → WEIGHT_BOYS.zscore.monthly-01b24493.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-d4945609.js → WEIGHT_BOYS.zscore.weekly-a9681785.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-6257f07f.js → WEIGHT_BOYS.zscore.yearly-f9f75d56.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-261f3ef4.js → WEIGHT_GIRLS.percentile.monthly-4289e8dd.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-b5a19344.js → WEIGHT_GIRLS.percentile.weekly-f6e4d119.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-1c159187.js → WEIGHT_GIRLS.percentile.yearly-2efd2654.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-164f4a7d.js → WEIGHT_GIRLS.zscore.monthly-c6e2c073.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-7c3d5d08.js → WEIGHT_GIRLS.zscore.weekly-19d8d782.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-3c193331.js → WEIGHT_GIRLS.zscore.yearly-97799c72.js} +0 -0
- /package/build/esm/{constants-83cc4bf6.js → constants-6a90d60e.js} +0 -0
- /package/build/esm/{cookieHelper-aa50c7f9.js → cookieHelper-ec98dfd4.js} +0 -0
- /package/build/esm/{dataTransform-42f94530.js → dataTransform-0384faa0.js} +0 -0
- /package/build/esm/{index-e903b126.js → index-4f3db35b.js} +0 -0
- /package/build/esm/{index-5dded4fd.js → index-8e5ff5d9.js} +0 -0
- /package/build/esm/{isProduction-1d3cb81e.js → isProduction-4810c43b.js} +0 -0
- /package/build/esm/{localizeNumberFormat-ca1e5259.js → localizeNumberFormat-2ef6abb8.js} +0 -0
- /package/build/esm/{normalizeLink-33964f87.js → normalizeLink-035b9468.js} +0 -0
- /package/build/esm/{translationsContext-2ec412e6.js → translationsContext-62d92141.js} +0 -0
- /package/build/esm/{tslib.es6-83ef7bb8.js → tslib.es6-6d4ee5aa.js} +0 -0
- /package/build/esm/{types-889ad8c0.js → types-36c407ed.js} +0 -0
- /package/build/esm/{useIsInit-ee8afdfb.js → useIsInit-6da34c03.js} +0 -0
- /package/build/esm/{useOutsideClick-8c694b17.js → useOutsideClick-14dc42f3.js} +0 -0
- /package/build/esm/{useScrollbarSize-315e8566.js → useScrollbarSize-3c8b6d23.js} +0 -0
- /package/build/esm/{useUniqueId-290147ee.js → useUniqueId-6aa5cd4b.js} +0 -0
- /package/build/esm/{utils-eb66ac60.js → utils-e3db87a3.js} +0 -0
- /package/build/{index-26e03973.js → index-24088255.js} +0 -0
- /package/build/{index-6bf9278b.js → index-2a8be674.js} +0 -0
- /package/build/{isProduction-47032811.js → isProduction-caf23831.js} +0 -0
- /package/build/{localizeNumberFormat-a54bdc32.js → localizeNumberFormat-bc743d5f.js} +0 -0
- /package/build/{normalizeLink-2306c995.js → normalizeLink-a2e5fdea.js} +0 -0
- /package/build/{translationsContext-a6a567c2.js → translationsContext-77b34459.js} +0 -0
- /package/build/{tslib.es6-08c42772.js → tslib.es6-340fd43c.js} +0 -0
- /package/build/{types-a56d559e.js → types-4e9ce85f.js} +0 -0
- /package/build/{useIsInit-2e42ae3d.js → useIsInit-163a86a0.js} +0 -0
- /package/build/{useOutsideClick-2a78a81a.js → useOutsideClick-d81e2ff3.js} +0 -0
- /package/build/{useScrollbarSize-680d0ea0.js → useScrollbarSize-0848f444.js} +0 -0
- /package/build/{useUniqueId-4132773f.js → useUniqueId-e2bb002a.js} +0 -0
- /package/build/{utils-05f7fda9.js → utils-be54ffe5.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
"use strict";var e=require("
|
|
1
|
+
"use strict";var e=require("@emotion/styled"),t=require("./utils-be54ffe5.js"),o=require("./theme-a77c4057.js"),i=require("./index.styled-2741756f.js"),a=require("react"),r=require("./useTranslations-11d21172.js"),l=require("./gAssets.js"),n=require("./tslib.es6-340fd43c.js"),s=require("./index-bdda9ac5.js"),d=require("./cookieHelper-ad5f2efe.js"),p=require("slugify"),u=require("string-format"),c=require("./isProduction-caf23831.js"),m=require("./routing-cc9be7a5.js"),g=require("dayjs"),h=require("dayjs/plugin/relativeTime");function x(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var f=x(e),b=x(a),y=x(p),_=x(u),v=x(g),w=x(h);const E=f.default.div`
|
|
2
2
|
position: fixed;
|
|
3
3
|
left: 50%;
|
|
4
4
|
|
|
5
5
|
padding: 0 16px 32px;
|
|
6
6
|
background-color: ${e=>e.theme.colors.white};
|
|
7
|
-
border-radius: ${e=>e.theme.borderRadius};
|
|
7
|
+
border-radius: ${e=>e.theme.other.borderRadius};
|
|
8
8
|
box-shadow: 0px 4px 8px ${e=>e.theme.colors.gray200};
|
|
9
9
|
transform: translate(-50%, -50%);
|
|
10
10
|
transition: all 0.5s ease-in-out;
|
|
@@ -34,16 +34,16 @@
|
|
|
34
34
|
&[data-type='form'] {
|
|
35
35
|
width: 496px;
|
|
36
36
|
height: 548px;
|
|
37
|
-
${
|
|
37
|
+
${t.MediaQueries.mbDown} {
|
|
38
38
|
width: 340px;
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
&[data-type='confirm'] {
|
|
43
|
-
${
|
|
43
|
+
${t.MediaQueries.mbDown} {
|
|
44
44
|
width: calc(100% - 32px);
|
|
45
45
|
}
|
|
46
|
-
${
|
|
46
|
+
${t.MediaQueries.mbUp} {
|
|
47
47
|
width: 100%;
|
|
48
48
|
max-width: 407px;
|
|
49
49
|
}
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
justify-content: space-between;
|
|
141
141
|
|
|
142
142
|
padding: 0 16px;
|
|
143
|
-
border-radius: ${e=>e.theme.borderRadius};
|
|
143
|
+
border-radius: ${e=>e.theme.other.borderRadius};
|
|
144
144
|
cursor: pointer;
|
|
145
145
|
|
|
146
146
|
.check-icon {
|
|
@@ -192,13 +192,13 @@
|
|
|
192
192
|
|
|
193
193
|
&[data-type='welcome'] {
|
|
194
194
|
position: fixed;
|
|
195
|
-
${
|
|
195
|
+
${t.MediaQueries.mbDown} {
|
|
196
196
|
width: 100%;
|
|
197
197
|
height: 424px;
|
|
198
198
|
bottom: 0;
|
|
199
199
|
top: unset;
|
|
200
200
|
}
|
|
201
|
-
${
|
|
201
|
+
${t.MediaQueries.mbUp} {
|
|
202
202
|
top: 50%;
|
|
203
203
|
left: 50%;
|
|
204
204
|
transform: translate(-50%, -50%);
|
|
@@ -210,14 +210,14 @@
|
|
|
210
210
|
|
|
211
211
|
&[data-type='due-date'] {
|
|
212
212
|
position: fixed;
|
|
213
|
-
${
|
|
213
|
+
${t.MediaQueries.mbDown} {
|
|
214
214
|
width: 100%;
|
|
215
215
|
height: 100%;
|
|
216
216
|
overflow-y: scroll;
|
|
217
217
|
bottom: 0;
|
|
218
218
|
top: unset;
|
|
219
219
|
}
|
|
220
|
-
${
|
|
220
|
+
${t.MediaQueries.mbUp} {
|
|
221
221
|
top: 50%;
|
|
222
222
|
left: 50%;
|
|
223
223
|
transform: translate(-50%, -50%);
|
|
@@ -231,7 +231,7 @@
|
|
|
231
231
|
.popup-content {
|
|
232
232
|
z-index: 111;
|
|
233
233
|
height: 100%;
|
|
234
|
-
${
|
|
234
|
+
${t.MediaQueries.mbDown} {
|
|
235
235
|
max-height: calc(100vh - var(--header-bottom, 64px));
|
|
236
236
|
}
|
|
237
237
|
overflow: auto;
|
|
@@ -249,10 +249,9 @@
|
|
|
249
249
|
|
|
250
250
|
&[data-type='profile'] {
|
|
251
251
|
/* min-height: 415px; */
|
|
252
|
-
${
|
|
253
|
-
border-radius: ${e=>e.theme.borderRadius};
|
|
254
|
-
box-shadow: 0px 4px 8px
|
|
255
|
-
${e=>e.theme.colors.gray200};
|
|
252
|
+
${t.MediaQueries.mbUp} {
|
|
253
|
+
border-radius: ${e=>e.theme.other.borderRadius};
|
|
254
|
+
box-shadow: 0px 4px 8px ${e=>e.theme.colors.gray200};
|
|
256
255
|
&:before {
|
|
257
256
|
position: absolute;
|
|
258
257
|
right: 11px;
|
|
@@ -266,13 +265,13 @@
|
|
|
266
265
|
filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));
|
|
267
266
|
}
|
|
268
267
|
}
|
|
269
|
-
${
|
|
268
|
+
${t.MediaQueries.mbDown} {
|
|
270
269
|
position: fixed;
|
|
271
270
|
left: 0;
|
|
272
271
|
width: 100%;
|
|
273
|
-
border-top: 1px solid ${
|
|
272
|
+
border-top: 1px solid ${o.theme.colors.neutral100};
|
|
274
273
|
}
|
|
275
|
-
${
|
|
274
|
+
${t.MediaQueries.mbUp} {
|
|
276
275
|
width: 368px;
|
|
277
276
|
}
|
|
278
277
|
}
|
|
@@ -291,7 +290,7 @@
|
|
|
291
290
|
border-radius: 50%;
|
|
292
291
|
}
|
|
293
292
|
}
|
|
294
|
-
`,j="hhgcomp-navprofilebutton-popup",F=
|
|
293
|
+
`,j="hhgcomp-navprofilebutton-popup",F=i.getDefaultClassWrapper(Q,j),V=f.default.div`
|
|
295
294
|
position: fixed;
|
|
296
295
|
z-index: 150;
|
|
297
296
|
top: var(--header-bottom, 69px);
|
|
@@ -300,7 +299,7 @@
|
|
|
300
299
|
height: 100%;
|
|
301
300
|
align-items: center;
|
|
302
301
|
|
|
303
|
-
${
|
|
302
|
+
${t.MediaQueries.mbUp} {
|
|
304
303
|
background-color: transparent;
|
|
305
304
|
&[data-type='welcome'] {
|
|
306
305
|
background: rgba(38, 38, 38, 0.3);
|
|
@@ -310,7 +309,7 @@
|
|
|
310
309
|
}
|
|
311
310
|
}
|
|
312
311
|
|
|
313
|
-
${
|
|
312
|
+
${t.MediaQueries.mbDown} {
|
|
314
313
|
background: rgba(38, 38, 38, 0.3);
|
|
315
314
|
}
|
|
316
315
|
|
|
@@ -321,7 +320,7 @@
|
|
|
321
320
|
&[data-open='false'] {
|
|
322
321
|
display: none;
|
|
323
322
|
}
|
|
324
|
-
`,W="hhgcomp-navprofilebutton-popupwrapper";
|
|
323
|
+
`,W="hhgcomp-navprofilebutton-popupwrapper";i.getDefaultClassWrapper(V,W);const Y=f.default.div`
|
|
325
324
|
width: 40px;
|
|
326
325
|
height: 40px;
|
|
327
326
|
cursor: pointer;
|
|
@@ -374,7 +373,7 @@
|
|
|
374
373
|
visibility: visible;
|
|
375
374
|
display: initial;
|
|
376
375
|
&[data-type='profile'] {
|
|
377
|
-
${
|
|
376
|
+
${t.MediaQueries.mbDown} {
|
|
378
377
|
top: 100%;
|
|
379
378
|
}
|
|
380
379
|
}
|
|
@@ -390,7 +389,7 @@
|
|
|
390
389
|
padding-right: 12px;
|
|
391
390
|
}
|
|
392
391
|
.mobile-only {
|
|
393
|
-
${
|
|
392
|
+
${t.MediaQueries.mbUp} {
|
|
394
393
|
display: none;
|
|
395
394
|
}
|
|
396
395
|
}
|
|
@@ -398,21 +397,21 @@
|
|
|
398
397
|
padding-left: 10px;
|
|
399
398
|
padding-right: 10px;
|
|
400
399
|
display: none;
|
|
401
|
-
${
|
|
400
|
+
${t.MediaQueries.mbUp} {
|
|
402
401
|
display: block;
|
|
403
402
|
}
|
|
404
403
|
}
|
|
405
|
-
`;var X="fVk18fq",Z="v8TCvUb",J="mx7T4V3";const ee={myHealth:
|
|
404
|
+
`;var X="fVk18fq",Z="v8TCvUb",J="mx7T4V3";const ee={myHealth:o.theme.mbColors.toneYellow,myCommunity:o.theme.mbColors.toneBlue,mySaved:o.theme.mbColors.toneGreen},te={helloSites:{myBooking:()=>l.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-myBooking.svg"),myCommunity:()=>l.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-myCommunity.svg"),myFamily:()=>l.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-myFamily.svg"),myHealth:()=>l.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-myHealth.svg"),mySaved:()=>l.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-mySaved.svg"),eCom:()=>l.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-eCom.svg")},marryBaby:{mySaved:()=>l.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-mySaved.svg"),myCommunity:()=>l.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-myCommunity.svg"),myHealth:()=>l.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-myHealth.svg")}},oe=99,ie=300,ae=400,re=210,le=f.default.div`
|
|
406
405
|
background-color: white;
|
|
407
406
|
text-align: center;
|
|
408
407
|
.cancle-img {
|
|
409
408
|
margin-top: 24px;
|
|
410
|
-
${
|
|
409
|
+
${t.MediaQueries.mbDown} {
|
|
411
410
|
width: 80px;
|
|
412
411
|
height: 80px;
|
|
413
412
|
}
|
|
414
413
|
|
|
415
|
-
${
|
|
414
|
+
${t.MediaQueries.mbUp} {
|
|
416
415
|
width: 100px;
|
|
417
416
|
height: 100px;
|
|
418
417
|
}
|
|
@@ -423,12 +422,12 @@
|
|
|
423
422
|
color: ${e=>e.theme.colors.gray800};
|
|
424
423
|
font-style: normal;
|
|
425
424
|
font-weight: bold;
|
|
426
|
-
${
|
|
425
|
+
${t.MediaQueries.mbDown} {
|
|
427
426
|
font-size: 24px;
|
|
428
427
|
line-height: 32px;
|
|
429
428
|
}
|
|
430
429
|
|
|
431
|
-
${
|
|
430
|
+
${t.MediaQueries.mbUp} {
|
|
432
431
|
font-size: 32px;
|
|
433
432
|
line-height: 42px;
|
|
434
433
|
}
|
|
@@ -439,12 +438,12 @@
|
|
|
439
438
|
color: ${e=>e.theme.colors.gray600};
|
|
440
439
|
font-style: normal;
|
|
441
440
|
font-weight: normal;
|
|
442
|
-
${
|
|
441
|
+
${t.MediaQueries.mbDown} {
|
|
443
442
|
font-size: 16px;
|
|
444
443
|
line-height: 24px;
|
|
445
444
|
}
|
|
446
445
|
|
|
447
|
-
${
|
|
446
|
+
${t.MediaQueries.mbUp} {
|
|
448
447
|
font-size: 16px;
|
|
449
448
|
line-height: 24px;
|
|
450
449
|
}
|
|
@@ -452,11 +451,11 @@
|
|
|
452
451
|
`,ne=f.default.div`
|
|
453
452
|
display: flex;
|
|
454
453
|
|
|
455
|
-
${
|
|
454
|
+
${t.MediaQueries.mbDown} {
|
|
456
455
|
margin-top: 24px;
|
|
457
456
|
}
|
|
458
457
|
|
|
459
|
-
${
|
|
458
|
+
${t.MediaQueries.mbUp} {
|
|
460
459
|
margin-top: 32px;
|
|
461
460
|
}
|
|
462
461
|
justify-content: space-around;
|
|
@@ -472,7 +471,7 @@
|
|
|
472
471
|
* Copyright(c) 2012-2014 Roman Shtylman
|
|
473
472
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
474
473
|
* MIT Licensed
|
|
475
|
-
*/;var se=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");var
|
|
474
|
+
*/;var se=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");var o={},i=(t||{}).decode||ce,a=0;for(;a<e.length;){var r=e.indexOf("=",a);if(-1===r)break;var l=e.indexOf(";",a);if(-1===l)l=e.length;else if(l<r){a=e.lastIndexOf(";",r-1)+1;continue}var n=e.slice(a,r).trim();if(void 0===o[n]){var s=e.slice(r+1,l).trim();34===s.charCodeAt(0)&&(s=s.slice(1,-1)),o[n]=ge(s,i)}a=l+1}return o},de=function(e,t,o){var i=o||{},a=i.encode||me;if("function"!=typeof a)throw new TypeError("option encode is invalid");if(!ue.test(e))throw new TypeError("argument name is invalid");var r=a(t);if(r&&!ue.test(r))throw new TypeError("argument val is invalid");var l=e+"="+r;if(null!=i.maxAge){var n=i.maxAge-0;if(isNaN(n)||!isFinite(n))throw new TypeError("option maxAge is invalid");l+="; Max-Age="+Math.floor(n)}if(i.domain){if(!ue.test(i.domain))throw new TypeError("option domain is invalid");l+="; Domain="+i.domain}if(i.path){if(!ue.test(i.path))throw new TypeError("option path is invalid");l+="; Path="+i.path}if(i.expires){var s=i.expires;if(!function(e){return"[object Date]"===pe.call(e)||e instanceof Date}(s)||isNaN(s.valueOf()))throw new TypeError("option expires is invalid");l+="; Expires="+s.toUTCString()}i.httpOnly&&(l+="; HttpOnly");i.secure&&(l+="; Secure");if(i.priority){switch("string"==typeof i.priority?i.priority.toLowerCase():i.priority){case"low":l+="; Priority=Low";break;case"medium":l+="; Priority=Medium";break;case"high":l+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(i.sameSite){switch("string"==typeof i.sameSite?i.sameSite.toLowerCase():i.sameSite){case!0:l+="; SameSite=Strict";break;case"lax":l+="; SameSite=Lax";break;case"strict":l+="; SameSite=Strict";break;case"none":l+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return l},pe=Object.prototype.toString,ue=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function ce(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function me(e){return encodeURIComponent(e)}function ge(e,t){try{return t(e)}catch(t){return e}}var he={parse:se,serialize:de};const xe={BASE_API_PATH:"/",PROFILE:"profile?website_url={website_url}",SEARCH_USER:"profile/search?website_url={website_url}&name={name}",FETCH_PREVIEW:"fetch/preview?website_url={website_url}",FETCH_POST_OR_TOPIC:"fetch/{slug}?website_url={website_url}&community_slug={communitySlug}",POST:{LIST:"post?website_url={website_url}&slug={slug}&pin={pin}&page={page}&community_id={communityId}&topic_id={topicId}&sort_by={sort}&id={id}",DETAIL_BY_ID_OR_SLUG:"post/{idSlug}?website_url={website_url}",CREATE:"post/create?website_url={website_url}",LIKE:"post/{id}/like?website_url={website_url}",DELETE:"post/{id}/delete?website_url={website_url}",REPORT:"post/{id}/report?website_url={website_url}",UPDATE:"post/{id}/update?website_url={website_url}",FOLLOW:"post/{id}/follow?website_url={website_url}",CREATE_ARTICLE_COMMENT:"article-comment/create?website_url={website_url}"},COMMENT:{LIST:"comment?website_url={website_url}&post_id={postId}&page={page}&sort_by={sort}&items_per_page={perPage}&_without_reply={withoutReply}",CREATE:"comment/create?website_url={website_url}",REPLY:"comment/reply?website_url={website_url}",DELETE:"comment/{id}/delete?website_url={website_url}",LIKE:"comment/{id}/like?website_url={website_url}",UNLIKE:"comment/{id}/unlike?website_url={website_url}",IMAGE_UPLOAD:"comment/image/upload?website_url={website_url}"},COMMUNITY:{LIST:"community?website_url={website_url}&page={page}",DETAIL_BY_ID_OR_SLUG:"community/{idSlug}?website_url={website_url}",JOIN:"community/join?website_url={website_url}",LEAVE:"community/leave?website_url={website_url}"},TOPIC:{LIST:"topic?website_url={website_url}&community_slug={communitySlug}&community_id={communityId}&page={page}",DETAIL_BY_ID_OR_SLUG:"topic/{idSlug}?website_url={website_url}&community_slug={communitySlug}&community_id={communityId}",HEALTH_TOOLS:"tools?topic_id={topicId}&website_url={website_url}",SUBOTS:"subots?topic_id={topicId}&website_url={website_url}",SUGGESTED_POSTS:"suggested-posts?topic_id={topicId}&website_url={website_url}&page={page}",JOIN:"topic/join?website_url={website_url}",LEAVE:"topic/leave?website_url={website_url}"},BOOKMARK:{LIST:"bookmark?user_id={userId}&website_url={website_url}",CREATE:"bookmark/create?website_url={website_url}",DELETE:"bookmark/delete?website_url={website_url}"},UPLOAD_IMAGE:"auth/comment/image/upload?website_url={website_url}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info",USER:{DETAIL:"profile/user/detail?website_url={website_url}&user_id={id}",COUNT_TABS:"profile/user/counting?website_url={website_url}&user_id={id}&total_post={post}&total_comment={comment}&total_community={community}&total_reply={reply}&total_question={question}",LIST_POST:"profile/user/posts?website_url={website_url}&user_id={id}&is_anonymous={isAnonymous}&paging=none",LIST_QUESTION_NEED_REPLY:"questions/no-reply?website_url={website_url}",LIST_QUESTION:"question/{id}?website_url={website_url}&is_reply={isReply}&is_question={isQuestion}&is_ignore={isIgnore}&group_by={groupBy}",SKIP_QUESTION:"questions/ignore?website_url={website_url}&question_id={id}",LIST_ANSWERS:"replied/{id}?website_url={website_url}&paging=1&items_per_page={pageSize}"}},fe={locale:"vi-VN",env:{isMarryBaby:!1,togetherBasePath:"/community"},router:{basePath:"",asPath:"/"}},be=a.createContext({data:fe,action:{pushNotifications:e=>e,sanitizeFunction:e=>e}});exports.GlobalData=fe;const ye={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com"},_e={"vi-VN":"marrybaby.vn"},ve=process.env.NEXT_PUBLIC_DEPLOY_LOCALE||"vi-VN",we=e=>{const{env:{isMarryBaby:t}}=exports.GlobalData;return`https://${t?_e[e]:ye[e]}`},Ee=e=>{const t=e.indexOf("?");return t>=0?e.slice(0,t+1)+e.slice(t+1).replace(/[^=&]+=(&|$)/g,"").replace(/&$/,""):e},Te=(e,t,o)=>{let i="";o&&(i=Object.keys(o).map((e=>e+"="+o[e])).join("&"));const{togetherBaseApiUrl:a=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};let r=_.default(e,Object.assign(Object.assign({},(null==t?void 0:t._locale)?{website_url:we(String(t._locale))}:{}),t));return r+=`${r.includes("?")?"&":"?"}${i}`,a+"api/v1/"+Ee(r)},Ae=e=>((null==e?void 0:e.data)&&(e.data instanceof FormData?e.body=e.data:"object"==typeof e.data&&(e.body=JSON.stringify(e.data)),delete e.data),e),Oe=(e,t,o,i=!1)=>n.__awaiter(void 0,void 0,void 0,(function*(){var a,r,l,n;try{const a=yield fetch(i?e:(n=e,encodeURI(n).replace(/%5B/g,"[").replace(/%5D/g,"]")),Object.assign(Object.assign({method:t},Ae(o)),{headers:Object.assign({},null==o?void 0:o.headers)})).then((e=>e.json()));if(a)return a}catch(t){return console.log(t),console.log({url:e,status:null===(a=null==t?void 0:t.response)||void 0===a?void 0:a.status,statusText:null===(r=null==t?void 0:t.response)||void 0===r?void 0:r.statusText}),(null===(l=null==t?void 0:t.response)||void 0===l?void 0:l.data)||null}return null})),Se=(e,t,o,i)=>n.__awaiter(void 0,void 0,void 0,(function*(){try{const a=he.parse(i||""),r=a[$]||d.getCookie($);if(r&&r.length){const i=yield fetch(e,Object.assign(Object.assign({method:t},Ae(o)),{headers:Object.assign({Authorization:"Bearer "+r},null==o?void 0:o.headers)})).then((e=>e.json()));if(i)return i}}catch(e){return null}return null}));function Ie(e,t,o){const i=new RegExp("([?&])"+t+"=.*?(&|$)","i"),a=-1!==e.indexOf("?")?"&":"?";return e.match(i)?e.replace(i,"$1"+t+"="+o+"$2"):e+a+t+"="+o}const Le=(e,t,o,i)=>o&&t?`${o}-${t}`:`${y.default(e||"",{lower:!0,locale:i||ve})}-${t}`,$e=b.default.createContext({}),Ce=f.default.div`
|
|
476
475
|
position: fixed;
|
|
477
476
|
z-index: 201;
|
|
478
477
|
top: calc(100% + 1px); // border 1px
|
|
@@ -577,8 +576,8 @@
|
|
|
577
576
|
|
|
578
577
|
& > a {
|
|
579
578
|
color: ${e=>e.theme.colors.gray800};
|
|
580
|
-
font-size: ${e=>e.theme.sizes.fsParagraph4};
|
|
581
|
-
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
579
|
+
font-size: ${e=>e.theme.other.sizes.fsParagraph4};
|
|
580
|
+
font-weight: ${e=>e.theme.other.sizes.fwRegular};
|
|
582
581
|
line-height: 22px;
|
|
583
582
|
}
|
|
584
583
|
|
|
@@ -610,8 +609,8 @@
|
|
|
610
609
|
display: flex;
|
|
611
610
|
align-items: center;
|
|
612
611
|
color: ${e=>e.theme.colors.gray800};
|
|
613
|
-
font-size: ${e=>e.theme.sizes.fsParagraph4};
|
|
614
|
-
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
612
|
+
font-size: ${e=>e.theme.other.sizes.fsParagraph4};
|
|
613
|
+
font-weight: ${e=>e.theme.other.sizes.fwRegular};
|
|
615
614
|
line-height: 22px;
|
|
616
615
|
|
|
617
616
|
& > :first-child {
|
|
@@ -629,12 +628,12 @@
|
|
|
629
628
|
padding-right: 16px;
|
|
630
629
|
margin-bottom: 12px;
|
|
631
630
|
color: ${e=>e.theme.colors.primaryBase};
|
|
632
|
-
font-size: ${e=>e.theme.sizes.fsParagraph4};
|
|
633
|
-
font-weight: ${e=>e.theme.sizes.fwBold};
|
|
631
|
+
font-size: ${e=>e.theme.other.sizes.fsParagraph4};
|
|
632
|
+
font-weight: ${e=>e.theme.other.sizes.fwBold};
|
|
634
633
|
line-height: 24px;
|
|
635
634
|
|
|
636
635
|
&[data-theme='marryBaby'] {
|
|
637
|
-
color: ${e=>e.theme.mbColors.pink};
|
|
636
|
+
color: ${e=>e.theme.colors.mbColors.pink};
|
|
638
637
|
}
|
|
639
638
|
`,f.default.div`
|
|
640
639
|
display: flex;
|
|
@@ -669,7 +668,7 @@
|
|
|
669
668
|
flex-direction: column;
|
|
670
669
|
align-items: center;
|
|
671
670
|
padding: 16px;
|
|
672
|
-
border-radius: ${e=>e.theme.borderRadius};
|
|
671
|
+
border-radius: ${e=>e.theme.other.borderRadius};
|
|
673
672
|
color: ${e=>e.theme.colors.primaryBase};
|
|
674
673
|
|
|
675
674
|
svg {
|
|
@@ -718,8 +717,7 @@
|
|
|
718
717
|
width: 100%;
|
|
719
718
|
|
|
720
719
|
+ li {
|
|
721
|
-
border-top: 1px solid
|
|
722
|
-
${e=>e.theme.colors.neutral100};
|
|
720
|
+
border-top: 1px solid ${e=>e.theme.colors.neutral100};
|
|
723
721
|
}
|
|
724
722
|
|
|
725
723
|
a {
|
|
@@ -734,7 +732,7 @@
|
|
|
734
732
|
width: 20%;
|
|
735
733
|
height: 2px;
|
|
736
734
|
|
|
737
|
-
background-color: ${e=>e.theme.mbColors.pink};
|
|
735
|
+
background-color: ${e=>e.theme.colors.mbColors.pink};
|
|
738
736
|
border-radius: 2px;
|
|
739
737
|
`;const De=f.default.div`
|
|
740
738
|
padding: 16px;
|
|
@@ -749,7 +747,7 @@
|
|
|
749
747
|
}
|
|
750
748
|
&[data-theme='marryBaby'] {
|
|
751
749
|
input {
|
|
752
|
-
background: ${e=>e.theme.mbColors.lightGray};
|
|
750
|
+
background: ${e=>e.theme.colors.mbColors.lightGray};
|
|
753
751
|
border-radius: 16px;
|
|
754
752
|
border: none;
|
|
755
753
|
}
|
|
@@ -768,7 +766,7 @@
|
|
|
768
766
|
margin-top: 10px;
|
|
769
767
|
background: #ffffff;
|
|
770
768
|
padding: 5px 15px;
|
|
771
|
-
${
|
|
769
|
+
${t.MediaQueries.mbUp} {
|
|
772
770
|
border-right: 1px solid #e4e8ec;
|
|
773
771
|
}
|
|
774
772
|
`,Pe=f.default.a`
|
|
@@ -790,10 +788,10 @@
|
|
|
790
788
|
|
|
791
789
|
&[data-theme='marryBaby']:hover {
|
|
792
790
|
p {
|
|
793
|
-
color: ${e=>e.theme.mbColors.pink};
|
|
791
|
+
color: ${e=>e.theme.colors.mbColors.pink};
|
|
794
792
|
}
|
|
795
793
|
.icon {
|
|
796
|
-
background-color: ${e=>e.theme.mbColors.lightPink};
|
|
794
|
+
background-color: ${e=>e.theme.colors.mbColors.lightPink};
|
|
797
795
|
}
|
|
798
796
|
}
|
|
799
797
|
&[data-theme='helloSite']:hover {
|
|
@@ -813,7 +811,7 @@
|
|
|
813
811
|
width: 100%;
|
|
814
812
|
height: 40px;
|
|
815
813
|
border-radius: 50%;
|
|
816
|
-
background-color: ${e=>e.theme.mbColors.lightGray};
|
|
814
|
+
background-color: ${e=>e.theme.colors.mbColors.lightGray};
|
|
817
815
|
img {
|
|
818
816
|
border-radius: 50%;
|
|
819
817
|
}
|
|
@@ -821,22 +819,22 @@
|
|
|
821
819
|
}
|
|
822
820
|
`,Ge=f.default.div`
|
|
823
821
|
margin: 15px 0;
|
|
824
|
-
${
|
|
822
|
+
${t.MediaQueries.mbDown} {
|
|
825
823
|
display: none;
|
|
826
824
|
}
|
|
827
825
|
`,Ne=f.default.div`
|
|
828
826
|
display: flex;
|
|
829
827
|
position: absolute;
|
|
830
828
|
right: 0;
|
|
831
|
-
${
|
|
829
|
+
${t.MediaQueries.mbUp} {
|
|
832
830
|
display: none;
|
|
833
831
|
}
|
|
834
832
|
`,Ue=f.default.div`
|
|
835
833
|
display: flex;
|
|
836
834
|
align-items: center;
|
|
837
835
|
color: ${e=>e.theme.colors.primaryBase};
|
|
838
|
-
font-size: ${e=>e.theme.sizes.fsParagraph4};
|
|
839
|
-
font-weight: ${e=>e.theme.sizes.fwBold};
|
|
836
|
+
font-size: ${e=>e.theme.other.sizes.fsParagraph4};
|
|
837
|
+
font-weight: ${e=>e.theme.other.sizes.fwBold};
|
|
840
838
|
line-height: 24px;
|
|
841
839
|
font-size: 14px;
|
|
842
840
|
font-weight: 600;
|
|
@@ -844,7 +842,7 @@
|
|
|
844
842
|
pointer-events: none;
|
|
845
843
|
}
|
|
846
844
|
&[data-theme='marryBaby'] {
|
|
847
|
-
color: ${e=>e.theme.mbColors.pink};
|
|
845
|
+
color: ${e=>e.theme.colors.mbColors.pink};
|
|
848
846
|
}
|
|
849
847
|
`,Be=f.default.div`
|
|
850
848
|
display: flex;
|
|
@@ -853,10 +851,10 @@
|
|
|
853
851
|
`,He=f.default.a`
|
|
854
852
|
border: 1px solid ${e=>e.theme.colors.primaryBase};
|
|
855
853
|
&[data-theme='marryBaby'] {
|
|
856
|
-
border: 1px solid ${e=>e.theme.mbColors.pink};
|
|
854
|
+
border: 1px solid ${e=>e.theme.colors.mbColors.pink};
|
|
857
855
|
|
|
858
856
|
svg path {
|
|
859
|
-
stroke: ${e=>e.theme.mbColors.pink};
|
|
857
|
+
stroke: ${e=>e.theme.colors.mbColors.pink};
|
|
860
858
|
}
|
|
861
859
|
}
|
|
862
860
|
position: relative;
|
|
@@ -866,7 +864,7 @@
|
|
|
866
864
|
padding: 6px;
|
|
867
865
|
border-radius: 5px;
|
|
868
866
|
margin-top: 20px;
|
|
869
|
-
${
|
|
867
|
+
${t.MediaQueries.mbDown} {
|
|
870
868
|
display: none;
|
|
871
869
|
}
|
|
872
870
|
`;f.default.div`
|
|
@@ -887,7 +885,7 @@
|
|
|
887
885
|
grid-template-columns: repeat(3, 1fr);
|
|
888
886
|
gap: 24px;
|
|
889
887
|
|
|
890
|
-
${
|
|
888
|
+
${t.MediaQueries.tdDown} {
|
|
891
889
|
grid-template-columns: repeat(1, 1fr);
|
|
892
890
|
}
|
|
893
891
|
`,Qe=f.default.div`
|
|
@@ -911,14 +909,14 @@
|
|
|
911
909
|
display: block;
|
|
912
910
|
object-fit: contain;
|
|
913
911
|
}
|
|
914
|
-
${
|
|
912
|
+
${t.MediaQueries.tdDown} {
|
|
915
913
|
margin-bottom: 0;
|
|
916
914
|
padding: 0;
|
|
917
915
|
height: 100%;
|
|
918
916
|
position: unset;
|
|
919
917
|
width: 150px;
|
|
920
918
|
}
|
|
921
|
-
${
|
|
919
|
+
${t.MediaQueries.mbDown} {
|
|
922
920
|
width: 80px;
|
|
923
921
|
}
|
|
924
922
|
`,je=f.default.div`
|
|
@@ -934,7 +932,7 @@
|
|
|
934
932
|
font-weight: 400;
|
|
935
933
|
font-size: 14px;
|
|
936
934
|
text-decoration: none;
|
|
937
|
-
${
|
|
935
|
+
${t.MediaQueries.tdDown} {
|
|
938
936
|
display: none;
|
|
939
937
|
}
|
|
940
938
|
`,Ve=f.default.p`
|
|
@@ -942,7 +940,7 @@
|
|
|
942
940
|
font-weight: 600;
|
|
943
941
|
line-height: 1.6;
|
|
944
942
|
color: ${e=>e.theme.colors.gray800};
|
|
945
|
-
${
|
|
943
|
+
${t.MediaQueries.tdDown} {
|
|
946
944
|
padding: 0;
|
|
947
945
|
}
|
|
948
946
|
`,We=f.default.p`
|
|
@@ -957,7 +955,7 @@
|
|
|
957
955
|
-webkit-line-clamp: 2;
|
|
958
956
|
-webkit-box-orient: vertical;
|
|
959
957
|
margin-bottom: auto;
|
|
960
|
-
${
|
|
958
|
+
${t.MediaQueries.tdDown} {
|
|
961
959
|
height: unset;
|
|
962
960
|
padding: 0;
|
|
963
961
|
}
|
|
@@ -967,13 +965,13 @@
|
|
|
967
965
|
gap: 8px;
|
|
968
966
|
flex: 1;
|
|
969
967
|
z-index: 1;
|
|
970
|
-
${
|
|
968
|
+
${t.MediaQueries.tdDown} {
|
|
971
969
|
gap: 4px;
|
|
972
970
|
}
|
|
973
|
-
`,Ke="hhgcomp-navigation-menucareitem-contentwrapper",qe=
|
|
971
|
+
`,Ke="hhgcomp-navigation-menucareitem-contentwrapper",qe=i.getDefaultClassWrapper(Ye,Ke),Xe=f.default.a`
|
|
974
972
|
text-decoration: none;
|
|
975
973
|
border-radius: 4px;
|
|
976
|
-
background: ${
|
|
974
|
+
background: ${o.theme.colors.white};
|
|
977
975
|
position: relative;
|
|
978
976
|
overflow: hidden;
|
|
979
977
|
padding: 16px;
|
|
@@ -982,8 +980,9 @@
|
|
|
982
980
|
* {
|
|
983
981
|
pointer-events: none;
|
|
984
982
|
}
|
|
985
|
-
${
|
|
986
|
-
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06),
|
|
983
|
+
${t.MediaQueries.tdUp} {
|
|
984
|
+
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06),
|
|
985
|
+
0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
987
986
|
gap: 30px;
|
|
988
987
|
flex-direction: column;
|
|
989
988
|
a {
|
|
@@ -991,7 +990,7 @@
|
|
|
991
990
|
width: 100%;
|
|
992
991
|
}
|
|
993
992
|
}
|
|
994
|
-
${
|
|
993
|
+
${t.MediaQueries.tdDown} {
|
|
995
994
|
padding-top: 16px;
|
|
996
995
|
a {
|
|
997
996
|
display: none;
|
|
@@ -1009,8 +1008,9 @@
|
|
|
1009
1008
|
width: 150px;
|
|
1010
1009
|
}
|
|
1011
1010
|
}
|
|
1012
|
-
${
|
|
1013
|
-
box-shadow: 0px 10px 16px rgba(0, 0, 0, 0.04),
|
|
1011
|
+
${t.MediaQueries.mbDown} {
|
|
1012
|
+
box-shadow: 0px 10px 16px rgba(0, 0, 0, 0.04),
|
|
1013
|
+
0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
1014
1014
|
display: flex;
|
|
1015
1015
|
flex-direction: row-reverse;
|
|
1016
1016
|
img {
|
|
@@ -1018,8 +1018,8 @@
|
|
|
1018
1018
|
height: 80px;
|
|
1019
1019
|
}
|
|
1020
1020
|
}
|
|
1021
|
-
${
|
|
1022
|
-
border: 1px solid ${
|
|
1021
|
+
${t.MediaQueries.tdOnly} {
|
|
1022
|
+
border: 1px solid ${o.theme.colors.neutral100};
|
|
1023
1023
|
}
|
|
1024
1024
|
.bg-svg {
|
|
1025
1025
|
width: 100%;
|
|
@@ -1047,7 +1047,7 @@
|
|
|
1047
1047
|
left: 0;
|
|
1048
1048
|
z-index: -1;
|
|
1049
1049
|
}
|
|
1050
|
-
${
|
|
1050
|
+
${t.MediaQueries.mbDown} {
|
|
1051
1051
|
display: block;
|
|
1052
1052
|
.bg-svg {
|
|
1053
1053
|
right: -24px;
|
|
@@ -1057,7 +1057,7 @@
|
|
|
1057
1057
|
}
|
|
1058
1058
|
}
|
|
1059
1059
|
|
|
1060
|
-
${
|
|
1060
|
+
${t.MediaQueries.mbUp} {
|
|
1061
1061
|
display: grid;
|
|
1062
1062
|
grid-gap: 10px;
|
|
1063
1063
|
grid-template-columns: 1fr 3fr;
|
|
@@ -1081,21 +1081,21 @@
|
|
|
1081
1081
|
align-items: center;
|
|
1082
1082
|
justify-content: center;
|
|
1083
1083
|
border-radius: 50px;
|
|
1084
|
-
`,
|
|
1084
|
+
`,ot=f.default.div`
|
|
1085
1085
|
display: flex;
|
|
1086
1086
|
justify-content: center;
|
|
1087
1087
|
align-items: center;
|
|
1088
1088
|
position: relative;
|
|
1089
|
-
${
|
|
1089
|
+
${t.MediaQueries.mbDown} {
|
|
1090
1090
|
justify-content: end;
|
|
1091
1091
|
min-height: 100px;
|
|
1092
1092
|
}
|
|
1093
|
-
`,
|
|
1093
|
+
`,it=f.default.div`
|
|
1094
1094
|
margin-top: 10px;
|
|
1095
1095
|
background: #ffffff;
|
|
1096
1096
|
padding: 5px 15px;
|
|
1097
1097
|
position: relative;
|
|
1098
|
-
${
|
|
1098
|
+
${t.MediaQueries.mbDown} {
|
|
1099
1099
|
&:after {
|
|
1100
1100
|
position: absolute;
|
|
1101
1101
|
top: 0;
|
|
@@ -1118,12 +1118,12 @@
|
|
|
1118
1118
|
font-size: 14px;
|
|
1119
1119
|
color: ${e=>e.theme.colors.primaryBase};
|
|
1120
1120
|
&[data-theme='marryBaby'] {
|
|
1121
|
-
color: ${e=>e.theme.mbColors.pink};
|
|
1121
|
+
color: ${e=>e.theme.colors.mbColors.pink};
|
|
1122
1122
|
}
|
|
1123
1123
|
img {
|
|
1124
1124
|
padding-left: 5px;
|
|
1125
1125
|
}
|
|
1126
|
-
${
|
|
1126
|
+
${t.MediaQueries.mbDown} {
|
|
1127
1127
|
margin-left: auto;
|
|
1128
1128
|
}
|
|
1129
1129
|
`;f.default.div`
|
|
@@ -1144,7 +1144,7 @@
|
|
|
1144
1144
|
|
|
1145
1145
|
grid-template-columns: repeat(4, 1fr);
|
|
1146
1146
|
gap: 24px;
|
|
1147
|
-
${
|
|
1147
|
+
${t.MediaQueries.tdDown} {
|
|
1148
1148
|
gap: 12px;
|
|
1149
1149
|
grid-template-columns: 1fr;
|
|
1150
1150
|
}
|
|
@@ -1173,7 +1173,7 @@
|
|
|
1173
1173
|
top: 0;
|
|
1174
1174
|
left: 0;
|
|
1175
1175
|
}
|
|
1176
|
-
${
|
|
1176
|
+
${t.MediaQueries.tdDown} {
|
|
1177
1177
|
width: 72px;
|
|
1178
1178
|
padding-top: 100px;
|
|
1179
1179
|
}
|
|
@@ -1184,7 +1184,7 @@
|
|
|
1184
1184
|
line-height: 1.4;
|
|
1185
1185
|
color: ${e=>e.theme.colors.gray800};
|
|
1186
1186
|
flex: 1;
|
|
1187
|
-
${
|
|
1187
|
+
${t.MediaQueries.tdUp} {
|
|
1188
1188
|
display: none;
|
|
1189
1189
|
}
|
|
1190
1190
|
`;f.default.div`
|
|
@@ -1212,11 +1212,11 @@
|
|
|
1212
1212
|
display: grid;
|
|
1213
1213
|
grid-template-columns: repeat(2, 1fr);
|
|
1214
1214
|
grid-gap: 48px;
|
|
1215
|
-
${
|
|
1215
|
+
${t.MediaQueries.tdDown} {
|
|
1216
1216
|
grid-template-columns: 1fr;
|
|
1217
1217
|
grid-gap: 32px;
|
|
1218
1218
|
}
|
|
1219
|
-
${
|
|
1219
|
+
${t.MediaQueries.mbDown} {
|
|
1220
1220
|
grid-gap: 24px;
|
|
1221
1221
|
}
|
|
1222
1222
|
`,ut=f.default.div`
|
|
@@ -1239,7 +1239,7 @@
|
|
|
1239
1239
|
display: flex;
|
|
1240
1240
|
align-items: center;
|
|
1241
1241
|
justify-content: center;
|
|
1242
|
-
background-color: ${
|
|
1242
|
+
background-color: ${o.theme.colors.secondaryBase};
|
|
1243
1243
|
border-radius: 50%;
|
|
1244
1244
|
color: white;
|
|
1245
1245
|
font-size: 1em;
|
|
@@ -1249,10 +1249,10 @@
|
|
|
1249
1249
|
|
|
1250
1250
|
&[data-is-marrybaby='true'] {
|
|
1251
1251
|
.avatar-default {
|
|
1252
|
-
background-color: ${
|
|
1252
|
+
background-color: ${o.theme.mbColors.pink};
|
|
1253
1253
|
}
|
|
1254
1254
|
}
|
|
1255
|
-
`,ct=e=>{var{className:t,isMarryBaby:
|
|
1255
|
+
`,ct=e=>{var{className:t,isMarryBaby:o,style:i,avatar:r,username:l,size:s}=e,d=n.__rest(e,["className","isMarryBaby","style","avatar","username","size"]);const{data:{env:{isMarryBaby:p}}}=a.useContext(be),u="boolean"==typeof o?o:p,[c,m]=a.useState(!1);return a.useEffect((()=>{const e=new Image;e.onerror=()=>{m(!0)},e.src=r}),[]),b.default.createElement(ut,Object.assign({"data-is-marrybaby":u,className:t,style:i,size:s},d),r&&!c?b.default.createElement("img",{loading:"lazy",src:r,className:"avatar",alt:"avatar",onError:()=>{m(!0)}}):b.default.createElement("div",{className:"avatar avatar-default"},l&&(null==l?void 0:l.length)>0?l[0].toUpperCase():"A"))},mt=f.default.div`
|
|
1256
1256
|
padding: 5px;
|
|
1257
1257
|
flex: 1;
|
|
1258
1258
|
`,gt=f.default.img`
|
|
@@ -1299,10 +1299,10 @@
|
|
|
1299
1299
|
border-top: 1px dashed ${e=>e.theme.colors.neutral100};
|
|
1300
1300
|
position: absolute;
|
|
1301
1301
|
bottom: -24px;
|
|
1302
|
-
${
|
|
1302
|
+
${t.MediaQueries.tdOnly} {
|
|
1303
1303
|
bottom: -16px;
|
|
1304
1304
|
}
|
|
1305
|
-
${
|
|
1305
|
+
${t.MediaQueries.mbDown} {
|
|
1306
1306
|
bottom: -12px;
|
|
1307
1307
|
}
|
|
1308
1308
|
}
|
|
@@ -1311,7 +1311,7 @@
|
|
|
1311
1311
|
display: none;
|
|
1312
1312
|
}
|
|
1313
1313
|
}
|
|
1314
|
-
${
|
|
1314
|
+
${t.MediaQueries.tdUp} {
|
|
1315
1315
|
&:nth-last-child(2) {
|
|
1316
1316
|
&::after {
|
|
1317
1317
|
display: none;
|
|
@@ -1353,7 +1353,7 @@
|
|
|
1353
1353
|
|
|
1354
1354
|
grid-template-columns: repeat(3, 1fr);
|
|
1355
1355
|
gap: 24px;
|
|
1356
|
-
${
|
|
1356
|
+
${t.MediaQueries.tdDown} {
|
|
1357
1357
|
grid-template-columns: 1fr;
|
|
1358
1358
|
gap: 12px;
|
|
1359
1359
|
}
|
|
@@ -1373,7 +1373,7 @@
|
|
|
1373
1373
|
right: 0;
|
|
1374
1374
|
height: 100%;
|
|
1375
1375
|
position: absolute;
|
|
1376
|
-
${
|
|
1376
|
+
${t.MediaQueries.tdDown} {
|
|
1377
1377
|
top: calc(51% - 68px);
|
|
1378
1378
|
right: -8px;
|
|
1379
1379
|
}
|
|
@@ -1383,7 +1383,7 @@
|
|
|
1383
1383
|
display: flex;
|
|
1384
1384
|
width: 100%;
|
|
1385
1385
|
}
|
|
1386
|
-
${
|
|
1386
|
+
${t.MediaQueries.tdDown} {
|
|
1387
1387
|
padding-top: 16px;
|
|
1388
1388
|
display: flex;
|
|
1389
1389
|
align-items: center;
|
|
@@ -1406,7 +1406,7 @@
|
|
|
1406
1406
|
display: block;
|
|
1407
1407
|
transform: translate(-50%, -50%);
|
|
1408
1408
|
}
|
|
1409
|
-
${
|
|
1409
|
+
${t.MediaQueries.tdDown} {
|
|
1410
1410
|
position: relative;
|
|
1411
1411
|
top: unset;
|
|
1412
1412
|
right: unset;
|
|
@@ -1435,7 +1435,7 @@
|
|
|
1435
1435
|
-webkit-line-clamp: 2;
|
|
1436
1436
|
-webkit-box-orient: vertical;
|
|
1437
1437
|
margin-bottom: auto;
|
|
1438
|
-
${
|
|
1438
|
+
${t.MediaQueries.tdDown} {
|
|
1439
1439
|
display: none;
|
|
1440
1440
|
}
|
|
1441
1441
|
`,$t=f.default.div`
|
|
@@ -1443,10 +1443,10 @@
|
|
|
1443
1443
|
flex-direction: column;
|
|
1444
1444
|
flex: 1;
|
|
1445
1445
|
z-index: 1;
|
|
1446
|
-
${
|
|
1446
|
+
${t.MediaQueries.tdUp} {
|
|
1447
1447
|
gap: 8px;
|
|
1448
1448
|
}
|
|
1449
|
-
${
|
|
1449
|
+
${t.MediaQueries.tdDown} {
|
|
1450
1450
|
gap: 4px;
|
|
1451
1451
|
flex: 1;
|
|
1452
1452
|
}
|
|
@@ -1476,21 +1476,21 @@
|
|
|
1476
1476
|
}
|
|
1477
1477
|
|
|
1478
1478
|
&[data-color='pink'] {
|
|
1479
|
-
background: ${e=>e.theme.mbColors.tonePink};
|
|
1479
|
+
background: ${e=>e.theme.colors.mbColors.tonePink};
|
|
1480
1480
|
.bg-svg {
|
|
1481
|
-
fill: ${e=>e.theme.mbColors.peach};
|
|
1481
|
+
fill: ${e=>e.theme.colors.mbColors.peach};
|
|
1482
1482
|
}
|
|
1483
1483
|
}
|
|
1484
1484
|
&[data-color='orange'] {
|
|
1485
|
-
background: ${e=>e.theme.mbColors.toneYellow};
|
|
1485
|
+
background: ${e=>e.theme.colors.mbColors.toneYellow};
|
|
1486
1486
|
.bg-svg {
|
|
1487
|
-
fill: ${e=>e.theme.mbColors.orange};
|
|
1487
|
+
fill: ${e=>e.theme.colors.mbColors.orange};
|
|
1488
1488
|
}
|
|
1489
1489
|
}
|
|
1490
1490
|
&[data-color='green'] {
|
|
1491
|
-
background: ${e=>e.theme.mbColors.toneGreen};
|
|
1491
|
+
background: ${e=>e.theme.colors.mbColors.toneGreen};
|
|
1492
1492
|
.bg-svg {
|
|
1493
|
-
fill: ${e=>e.theme.mbColors.mint};
|
|
1493
|
+
fill: ${e=>e.theme.colors.mbColors.mint};
|
|
1494
1494
|
}
|
|
1495
1495
|
}
|
|
1496
1496
|
|
|
@@ -1499,13 +1499,13 @@
|
|
|
1499
1499
|
display: flex;
|
|
1500
1500
|
width: 100%;
|
|
1501
1501
|
}
|
|
1502
|
-
${
|
|
1502
|
+
${t.MediaQueries.tdDown} {
|
|
1503
1503
|
padding-top: 16px;
|
|
1504
1504
|
display: flex;
|
|
1505
1505
|
align-items: flex-start;
|
|
1506
1506
|
justify-content: flex-start;
|
|
1507
1507
|
}
|
|
1508
|
-
${
|
|
1508
|
+
${t.MediaQueries.mbDown} {
|
|
1509
1509
|
padding-top: 0;
|
|
1510
1510
|
padding-left: 80px;
|
|
1511
1511
|
height: 96px;
|
|
@@ -1517,16 +1517,16 @@
|
|
|
1517
1517
|
left: 16px;
|
|
1518
1518
|
}
|
|
1519
1519
|
}
|
|
1520
|
-
${
|
|
1520
|
+
${t.MediaQueries.tdUp} {
|
|
1521
1521
|
min-height: 296px;
|
|
1522
1522
|
}
|
|
1523
1523
|
.mobile-only {
|
|
1524
|
-
${
|
|
1524
|
+
${t.MediaQueries.tdUp} {
|
|
1525
1525
|
display: none;
|
|
1526
1526
|
}
|
|
1527
1527
|
}
|
|
1528
1528
|
.desktop-only {
|
|
1529
|
-
${
|
|
1529
|
+
${t.MediaQueries.tdDown} {
|
|
1530
1530
|
display: none;
|
|
1531
1531
|
}
|
|
1532
1532
|
}
|
|
@@ -1548,12 +1548,12 @@
|
|
|
1548
1548
|
display: block;
|
|
1549
1549
|
transform: translate(-50%, -50%);
|
|
1550
1550
|
}
|
|
1551
|
-
${
|
|
1551
|
+
${t.MediaQueries.tdDown} {
|
|
1552
1552
|
position: relative;
|
|
1553
1553
|
top: unset;
|
|
1554
1554
|
right: unset;
|
|
1555
1555
|
}
|
|
1556
|
-
${
|
|
1556
|
+
${t.MediaQueries.mbDown} {
|
|
1557
1557
|
position: absolute;
|
|
1558
1558
|
left: 32px;
|
|
1559
1559
|
top: 28px;
|
|
@@ -1570,16 +1570,16 @@
|
|
|
1570
1570
|
height: 20px;
|
|
1571
1571
|
|
|
1572
1572
|
svg path {
|
|
1573
|
-
fill: ${e=>e.theme.mbColors.gray};
|
|
1573
|
+
fill: ${e=>e.theme.colors.mbColors.gray};
|
|
1574
1574
|
}
|
|
1575
1575
|
|
|
1576
|
-
${
|
|
1576
|
+
${t.MediaQueries.tdDown} {
|
|
1577
1577
|
background: none;
|
|
1578
1578
|
width: 100%;
|
|
1579
1579
|
font-weight: 400;
|
|
1580
1580
|
font-size: 12px;
|
|
1581
1581
|
line-height: 18px;
|
|
1582
|
-
color: ${e=>e.theme.mbColors.pink};
|
|
1582
|
+
color: ${e=>e.theme.colors.mbColors.pink};
|
|
1583
1583
|
padding-left: 16px;
|
|
1584
1584
|
}
|
|
1585
1585
|
`,Rt=f.default.p`
|
|
@@ -1601,7 +1601,7 @@
|
|
|
1601
1601
|
-webkit-line-clamp: 3;
|
|
1602
1602
|
-webkit-box-orient: vertical;
|
|
1603
1603
|
margin-bottom: auto;
|
|
1604
|
-
${
|
|
1604
|
+
${t.MediaQueries.tdDown} {
|
|
1605
1605
|
display: none;
|
|
1606
1606
|
}
|
|
1607
1607
|
`,Pt=f.default.div`
|
|
@@ -1610,12 +1610,12 @@
|
|
|
1610
1610
|
z-index: 1;
|
|
1611
1611
|
align-items: flex-end;
|
|
1612
1612
|
justify-content: flex-end;
|
|
1613
|
-
${
|
|
1613
|
+
${t.MediaQueries.tdUp} {
|
|
1614
1614
|
gap: 8px;
|
|
1615
1615
|
flex-direction: row;
|
|
1616
1616
|
}
|
|
1617
1617
|
|
|
1618
|
-
${
|
|
1618
|
+
${t.MediaQueries.tdDown} {
|
|
1619
1619
|
align-items: flex-start;
|
|
1620
1620
|
justify-content: flex-start;
|
|
1621
1621
|
gap: 4px;
|
|
@@ -1625,10 +1625,10 @@
|
|
|
1625
1625
|
flex-direction: column;
|
|
1626
1626
|
flex: 1;
|
|
1627
1627
|
z-index: 1;
|
|
1628
|
-
${
|
|
1628
|
+
${t.MediaQueries.tdUp} {
|
|
1629
1629
|
gap: 8px;
|
|
1630
1630
|
}
|
|
1631
|
-
${
|
|
1631
|
+
${t.MediaQueries.tdDown} {
|
|
1632
1632
|
gap: 4px;
|
|
1633
1633
|
flex: 1;
|
|
1634
1634
|
padding-left: 16px;
|
|
@@ -1638,12 +1638,12 @@
|
|
|
1638
1638
|
flex-direction: row;
|
|
1639
1639
|
flex: 1;
|
|
1640
1640
|
z-index: 1;
|
|
1641
|
-
${
|
|
1641
|
+
${t.MediaQueries.tdUp} {
|
|
1642
1642
|
gap: 8px;
|
|
1643
1643
|
justify-content: flex-end;
|
|
1644
1644
|
align-items: flex-end;
|
|
1645
1645
|
}
|
|
1646
|
-
${
|
|
1646
|
+
${t.MediaQueries.tdDown} {
|
|
1647
1647
|
flex-direction: column;
|
|
1648
1648
|
justify-content: flex-start;
|
|
1649
1649
|
align-items: flex-start;
|
|
@@ -1658,20 +1658,19 @@
|
|
|
1658
1658
|
transition: height 0.3s, transform 0.3s;
|
|
1659
1659
|
|
|
1660
1660
|
&[data-site-type='helloSites'] {
|
|
1661
|
-
border-bottom: 1px solid
|
|
1662
|
-
${e=>e.theme.colors.neutral100};
|
|
1661
|
+
border-bottom: 1px solid ${e=>e.theme.colors.neutral100};
|
|
1663
1662
|
}
|
|
1664
1663
|
|
|
1665
1664
|
&[data-marry-baby-tone='pink'] {
|
|
1666
|
-
background-color: ${e=>e.theme.mbColors.lightPink};
|
|
1665
|
+
background-color: ${e=>e.theme.colors.mbColors.lightPink};
|
|
1667
1666
|
}
|
|
1668
1667
|
|
|
1669
|
-
${
|
|
1668
|
+
${t.MediaQueries.mbUp} {
|
|
1670
1669
|
&[data-sitewide-banner-shown='true'][data-collapsed='true'] {
|
|
1671
1670
|
transform: translateY(-64px);
|
|
1672
1671
|
}
|
|
1673
1672
|
}
|
|
1674
|
-
${
|
|
1673
|
+
${t.MediaQueries.mbDown} {
|
|
1675
1674
|
&[data-site-type='marryBaby'] {
|
|
1676
1675
|
border-bottom: none;
|
|
1677
1676
|
}
|
|
@@ -1699,12 +1698,12 @@
|
|
|
1699
1698
|
}
|
|
1700
1699
|
|
|
1701
1700
|
&[data-header-type='home'] {
|
|
1702
|
-
z-index: ${
|
|
1701
|
+
z-index: ${oe};
|
|
1703
1702
|
}
|
|
1704
1703
|
|
|
1705
1704
|
&[data-header-type='popup'] {
|
|
1706
1705
|
position: absolute;
|
|
1707
|
-
z-index: ${
|
|
1706
|
+
z-index: ${ie};
|
|
1708
1707
|
}
|
|
1709
1708
|
|
|
1710
1709
|
&[data-header-type='popup-sub-level'] {
|
|
@@ -1720,7 +1719,7 @@
|
|
|
1720
1719
|
|
|
1721
1720
|
.marry-baby {
|
|
1722
1721
|
input {
|
|
1723
|
-
background: ${e=>e.theme.mbColors.lightGray};
|
|
1722
|
+
background: ${e=>e.theme.colors.mbColors.lightGray};
|
|
1724
1723
|
border-radius: 16px;
|
|
1725
1724
|
border: none;
|
|
1726
1725
|
}
|
|
@@ -1740,11 +1739,11 @@
|
|
|
1740
1739
|
justify-content: space-between;
|
|
1741
1740
|
padding: 0 2rem;
|
|
1742
1741
|
height: 69px;
|
|
1743
|
-
${
|
|
1742
|
+
${t.MediaQueries.pcDown} {
|
|
1744
1743
|
padding: 0 1rem;
|
|
1745
1744
|
}
|
|
1746
1745
|
|
|
1747
|
-
${
|
|
1746
|
+
${t.MediaQueries.mbDown} {
|
|
1748
1747
|
position: relative;
|
|
1749
1748
|
height: 64px;
|
|
1750
1749
|
background: white;
|
|
@@ -1755,7 +1754,7 @@
|
|
|
1755
1754
|
width: 100%;
|
|
1756
1755
|
margin: 0 auto;
|
|
1757
1756
|
padding: 0 16px;
|
|
1758
|
-
${
|
|
1757
|
+
${t.MediaQueries.tdUp} {
|
|
1759
1758
|
max-width: 1064px;
|
|
1760
1759
|
}
|
|
1761
1760
|
}
|
|
@@ -1764,7 +1763,7 @@
|
|
|
1764
1763
|
align-items: center;
|
|
1765
1764
|
height: 100%;
|
|
1766
1765
|
gap: 24px;
|
|
1767
|
-
${
|
|
1766
|
+
${t.MediaQueries.pcDown} {
|
|
1768
1767
|
gap: 16px;
|
|
1769
1768
|
}
|
|
1770
1769
|
&[data-site-type='marryBaby'] {
|
|
@@ -1777,13 +1776,13 @@
|
|
|
1777
1776
|
flex-shrink: 0.6;
|
|
1778
1777
|
.hhgcomp-navigation-itemnav-headeritem {
|
|
1779
1778
|
gap: 2px;
|
|
1780
|
-
${
|
|
1779
|
+
${t.MediaQueries.pcUp} {
|
|
1781
1780
|
padding: 0 12px;
|
|
1782
1781
|
}
|
|
1783
|
-
${
|
|
1782
|
+
${t.MediaQueries.pcDown} {
|
|
1784
1783
|
padding: 0 6px;
|
|
1785
1784
|
}
|
|
1786
|
-
${
|
|
1785
|
+
${t.MediaQueries.mbDown} {
|
|
1787
1786
|
display: none;
|
|
1788
1787
|
}
|
|
1789
1788
|
a {
|
|
@@ -1808,11 +1807,11 @@
|
|
|
1808
1807
|
gap: 12px;
|
|
1809
1808
|
align-items: center;
|
|
1810
1809
|
flex-shrink: 0;
|
|
1811
|
-
${
|
|
1810
|
+
${t.MediaQueries.pcDown} {
|
|
1812
1811
|
margin-left: 8px;
|
|
1813
1812
|
gap: 8px;
|
|
1814
1813
|
}
|
|
1815
|
-
${
|
|
1814
|
+
${t.MediaQueries.mbDown} {
|
|
1816
1815
|
margin-left: 12px;
|
|
1817
1816
|
gap: 10px;
|
|
1818
1817
|
}
|
|
@@ -1828,7 +1827,7 @@
|
|
|
1828
1827
|
top: 0;
|
|
1829
1828
|
z-index: var(--header-z-index);
|
|
1830
1829
|
|
|
1831
|
-
${
|
|
1830
|
+
${t.MediaQueries.mbDown} {
|
|
1832
1831
|
width: 100vw;
|
|
1833
1832
|
max-width: 100%;
|
|
1834
1833
|
}
|
|
@@ -1860,4 +1859,4 @@
|
|
|
1860
1859
|
font-weight: 700;
|
|
1861
1860
|
line-height: 22px;
|
|
1862
1861
|
text-decoration: none;
|
|
1863
|
-
`,exports.ADMIN_PATHS={SEARCH_USER:"admin/profile/search?website_url={website_url}&name={name}",COMMENT:{IMAGE_UPLOAD:"admin/comment/image/upload?website_url={website_url}"}},exports.BEARER_TOKEN_COOKIE=$,exports.CARE_PATHS={GET_DOCTOR_INFO:"api/doctors/{doctorId}?site={website_url}",GET_HOSPITAL_INFO:"api/hospital/branch/{hospital_branch_id}?site={website_url}"},exports.DEFAULT_AVATAR_IMG=O,exports.DEFAULT_IMG=S,exports.DISCOVER_PATHS={BASE_API_PATH:"/",GET_SEARCH_ARTICLES:"search?s={keyword}&page={page}",GET_ALL_CATEGORIES:"categories?type=all",GET_HOMEPAGE_POSTS:"home/trending-post?type={type}",GET_HOMEPAGE_LATEST_POSTS:"articles?page=1&_islatest=1",GET_ARTICLE_DETAIL:"article/{slug}?skip_ids={skipIds}&_isrelated={isRelated}",GET_CATEGORY_DETAIL:"category/{slug}",GET_CATEGORY_OR_ARTICLE_DETAIL:"fetch/{fullSlug}",GET_PREVIEW_ARTICLE:"fetch/{fullSlug}?preview_nonce={nonce}&preview=true",GET_ARTICLE_OF_CATEGORY:"articles?category_id={categoryId}&page={currentPage}",GET_PAGE_STATIC:"page/{slug}",GET_ALL_HEALTH_TOOLS:"healthtools",GET_ALL_MARRYBABY_HEALTH_TOOLS:"health-tools",GET_HEALTH_TOOLS_BY_CATEGORY:"healthtools?_hasgroup=1",GET_AUTHOR:"author/{slug}",GET_ALL_EXPERTS:"experts",GET_ALL_EXPERTS_PAGING:"experts?page={page}",GET_EXPERT:"expert/{slug}",GET_EXPERT_POST:"expert/article?page={page}",POST_ARTICLE_FEEDBACK:"article/feedback/{id}",GET_AZ_DRUGS:"category/a-z/{category}",GET_HOMEPAGE_MEDICAL_REVIEWED:"home/medical-reviewed",GET_ARTICLES_BY_IDS:"articles?ids={ids}",GET_ARTICLE_OF_CATEGORY_NO_EXPLAINERS:"articles?category_id={categoryId}&page={currentPage}&skip_ids={ids}",GET_EXPERT_OF_CATEGORY:"category/expert/?id={id}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info",GET_DUE_DATE_ALL_WEEKS:"health-tools/due-date-calculator/all",GET_DUE_DATE_SUGGESTED_ARTICLES:"health-tools/due-date-calculator/result?from_week={from}&to_week={to}",GET_PROFILE:"user/profile",GET_ADMIN_PROFILE:"GET_ADMIN_PROFILE",GET_FEATURE:"feature",POST_NEW_FEATURE:"feature/update",CREATE_BOOKMARK:"bookmark/create",DELETE_BOOKMARK:"bookmark/delete",DELETE_ALL_BOOKMARK:"bookmark/delete-all",GET_ALL_BOOKMARK:"bookmark",SSO_USER_PROFILE:"user",SSO_USER_BOOKMARKS:"user/bookmarks",SSO_USER_PASSWORD:"user/settings/password",SSO_USER_EMAIL:"user/settings/update-email",SSO_CLOSE_ACCOUNT:"user/settings/close-account",SSO_HELP:"user/settings/help",GET_HEALTH_TOOL_OVULATION_INFO:"health-tools/ovulation-calculator/info",GET_HEALTH_TOOL_OVULATION_SUGGESTED_ARTICLES:"health-tools/ovulation-calculator/result?method={method}",GET_HEALTH_TOOL_BMI_INFO:"health-tools/bmi-calculator/info",GET_HEALTH_TOOL_BMI_RESULT:"health-tools/bmi-calculator/result?gender={gender}&bmi={bmi}&age={age}",GET_HEALTH_TOOL_BMR_INFO:"health-tools/bmr-calculator/info",GET_HEALTH_TOOL_BMR_RESULT:"health-tools/bmr-calculator/result?kcals={kcals}&gender={gender}&age={age}",GET_HEALTH_TOOL_PWG_INFO:"health-tools/preweight-gain-calculator/info",GET_HEALTH_TOOL_THR_INFO:"health-tools/target-heart-rate/info",GET_HEALTH_TOOL_BABY_GROWTH_INFO:"health-tools/baby-growth-tracking/info",POST_UPDATE_LOCATION:"tracking/geo/",GET_SIDIS_DUE_DATE:"frontend/tools/due_date",GET_SIDIS_OVULATION:"frontend/tools/ovulation",GET_SIDIS_BMI:"frontend/tools/bmi",GET_SIDIS_BMR:"frontend/tools/bmr",POST_LOGOUT:"user/logout",OVULATION_CREATE_EVENT:"ovulation/event?method={method}&day={day}&cycle={cycle}&period={period}&token={token}&user_id={user_id}",GET_ALL_SPOTLIGHT:"spotlights?per_page={perPage}&order_by={orderBy}",SSO_UPDATE_FIRST_TIME_BOOKMARK:"bookmark/update-first-time",POST_COMMENT_NOTIFICATION:"comment/notification",GET_ABOUT_US_DATA:"about",POST_LEAD_IMPRESSION:"campaign/{campaignCode}/impression",POST_LEAD_POPUP_EXIT:"campaign/{campaignCode}/popup_exit",POST_LEAD_LEAD:"campaign/{campaignCode}/lead",POST_SSO_VERIFY_TOKEN:"verify-id-token",GET_LANDING_PAGE_FIRST_NODE:"landing_page/bot",GET_LANDING_PAGE_NEXT_NODE:"landing_page/messages",POST_LANDING_PAGE_IMPRESSION:"landing_page/impressions",POST_LANDING_PAGE_CLICK:"landing_page/clicks",FETCH_URL_DATA:"preview",GET_SPOTLIGHT_LANDING:"spotlight/{slug}",GET_FOOTER_INFO:"footer",CHECK_SSO_EMAIL:"member/check-email",GET_HOMEPAGE_SITEWIDE_BANNER:"home/sitewide-banner",GET_DYNAMIC_FOOTER:"menu/footer",GET_EXPERTS:"experts?page={page}&number={perPage}&s={search}",GET_EXPERT_BY_ID:"expert/{id}"},exports.DUE_DATE_FORMAT=A,exports.DefaultComponentGlobalContextData=fe,exports.HEALTH_TOOL_TYPE=I,exports.Item=({post:e,index:t=0})=>{var i,o,r,l,n,s,d;const{siteType:p,configs:{statics:u}}=a.useContext($e);if(!e)return null;const c=[u.TOGETHER_URL_FE,null===(i=e.community)||void 0===i?void 0:i.slug].join("/"),m=[c,e.slug].join("/"),g=e.createdAt,h=g?isNaN(new Date(g).getTime())?null:new Date(g):null,x=h?v.default(h).toNow(!0):g;return b.default.createElement(yt,{href:m,"data-event-category":"Hamburger Navigation","data-event-action":`Together Click ${t+1}`,"data-event-label":m},b.default.createElement(mt,null,b.default.createElement(_t,null,b.default.createElement(ct,{avatar:null===(o=e.author)||void 0===o?void 0:o.avatar,username:(null===(r=e.author)||void 0===r?void 0:r.name)||(null===(l=e.author)||void 0===l?void 0:l.username)}),b.default.createElement(Et,null,b.default.createElement(ht,{"data-theme":p},null===(n=e.author)||void 0===n?void 0:n.name),b.default.createElement(wt,null,b.default.createElement(xt,{"data-event-category":"Hamburger Navigation","data-event-action":`Topic Click ${t+1}`,"data-event-label":c,onClick:e=>{e.preventDefault(),location.href=c},"data-theme":p},null===(s=e.community)||void 0===s?void 0:s.name),b.default.createElement(bt,null,"•"),b.default.createElement(ft,{"data-theme":p},x)))),b.default.createElement(vt,null,e.title)),!!(null===(d=e.photos)||void 0===d?void 0:d.length)&&b.default.createElement(gt,{loading:"lazy",src:e.photos[0]}))},exports.MAX_IMAGE_UPLOADS=20,exports.NavigationCard=({type:e,themeName:t,className:i,onClick:o=(()=>{})})=>{const{t:l}=r.useTranslations(),n=a.useMemo((()=>{var i,o;return(null===(o=null===(i=te[t])||void 0===i?void 0:i[e])||void 0===o?void 0:o.call(i))||""}),[e,t]),s=a.useMemo((()=>"marryBaby"!==t?"transparent":ee[e]),[e,t]);return b.default.createElement("div",{onClick:function(){o(e)},className:`${X} ${i}`},b.default.createElement("div",{className:J,style:{backgroundColor:s,backgroundImage:`url("${n}")`}}),b.default.createElement("h3",{className:Z},l(`userProfile.nav.card.${e}`)))},exports.NavigationContext=$e,exports.NavigationProvider=e=>{var{children:t}=e,i=n.__rest(e,["children"]);const[o,r]=b.default.useState((()=>i.currentUrl||`https://${"marryBaby"===i.siteType?_e[i.locale||"en-PH"]:s.domainLocales[i.locale||"en-PH"]}${"together"===i.projectType?"/community":"ecom"===i.projectType?"/ecom":"care"===i.projectType?"/care":""}/`));a.useEffect((()=>{const e=()=>{r(window.location.href)};return window.addEventListener("popstate",e),e(),()=>{window.removeEventListener("popstate",e)}}),[]);const l=(({locale:e,projectType:t,isMobile:i,siteType:o})=>a.useMemo((()=>{const a=!(!i&&"profile"===t),r="discover"===t||"marryBaby"===t||"profile"===t&&"marryBaby"===o,l="marryBaby"!==o&&"marryBaby"!==t&&s.CARE_LOCALES.includes(e),n="marryBaby"!==t&&"discover"===t&&"marryBaby"!==o&&s.CARE_BOOKING_LOCALES.includes(e),d="marryBaby"===t||s.TOGETHER_LOCALES.includes(e),p="ecom"===t,u="ecom"===t,c=m.getCurrentBaseUrl(e,"marryBaby"===o);return{enableProfileNavigatorMenu:a,enableSearchBar:r,enableNavCare:l,enableNavCareBooking:n,enableNavTogether:d,enableNavEcom:p,enableProfileEcom:u,enableProfileMyHealth:!0,statics:{HOME_PAGE_URL:c,CARE_URL_FE:`${c}/care`,TOGETHER_URL_FE:`${c}/community`,SSO_URL:m.getCurrentSsoUrl(e,"marryBaby"===o),TOGETHER_API:m.getTogetherApiDomain(),DISCOVER_API:m.getDiscoverApiDomain(e)}}}),[e,t,i]))({locale:i.locale,projectType:i.projectType,isMobile:i.isMobile,siteType:i.siteType});return b.default.createElement($e.Provider,{value:Object.assign(Object.assign({},i),{configs:l,currentUrl:i.currentUrl||o})},t)},exports.PATHS=xe,exports.REPORT_REASON_MAP=M,exports.SearchIcon=Re,exports.StyleSelectionPopup=U,exports.StyledAvatar=Y,exports.StyledBtnView=Fe,exports.StyledBtnView$1=St,exports.StyledBtnView$2=Mt,exports.StyledButtonGroup=ne,exports.StyledContainer=Vt,exports.StyledContainerItems=ze,exports.StyledContainerItems$1=lt,exports.StyledContainerItems$2=pt,exports.StyledContainerItems$3=Tt,exports.StyledContainerNoPosts=Ze,exports.StyledContent=Gt,exports.StyledContentLeft=tt,exports.StyledContentWrapper=qe,exports.StyledContentWrapper$1=$t,exports.StyledContentWrapper$2=Pt,exports.StyledDes=We,exports.StyledDes$1=Lt,exports.StyledDes$2=kt,exports.StyledDescription=Je,exports.StyledDisplayWrapper=z,exports.StyledHeader=Bt,exports.StyledHeaderWrapper=Ut,exports.StyledHeading=Ge,exports.StyledHeading$1=at,exports.StyledIconNav=Ne,exports.StyledImageCard=Qe,exports.StyledImageCard$1=st,exports.StyledImageCard$2=Ot,exports.StyledImageCard$3=Dt,exports.StyledImageCardInner=je,exports.StyledImageWrapper=K,exports.StyledImageWrapper$1=Be,exports.StyledItem=Pe,exports.StyledItem$1=Xe,exports.StyledItem$2=nt,exports.StyledItem$3=At,exports.StyledItem$4=Ct,exports.StyledItemAll=Ue,exports.StyledItemGridLeft=ke,exports.StyledItemGridRight=ot,exports.StyledLanguageChangeLink=P,exports.StyledLeft=it,exports.StyledLeftGroup=Ht,exports.StyledLoggedOutAnchor=q,exports.StyledLogoWrapper=zt,exports.StyledMasterMenuContainer=Ce,exports.StyledOption=B,exports.StyledPopup=F,exports.StyledPopup$1=le,exports.StyledPopup$2=E,exports.StyledPopupBackground=H,exports.StyledPopupWrapper=T,exports.StyledProfileNavGroup=jt,exports.StyledRightGroup=Qt,exports.StyledSelectionContainer=G,exports.StyledSelectionLabel=N,exports.StyledServiceListMenuSearchInputWrapper=De,exports.StyledTitle=Ve,exports.StyledTitle$1=et,exports.StyledTitle$2=dt,exports.StyledTitle$3=It,exports.StyledTitle$4=Rt,exports.StyledViewMore=He,exports.StyledViewMore$1=rt,exports.StyledWrapMenuItems=Ft,exports.StyledWrapName=Nt,exports.StyledWrapper=Me,exports.TOGETHER_PATHS={COMMUNITIES:"community?website_url={websiteUrl}",MENU_TOPIC:"topic?community_id={communityId}&website_url={websiteUrl}",GET_USER_POSTS:"profile/posts?website_url={websiteUrl}"},exports.TogetherComponentGlobalContext=be,exports.TogetherComponentGlobalContextProvider=({locale:e="vi-VN",children:t,userInfo:i,router:o,env:r={isMarryBaby:!1,togetherBasePath:"/community"},sanitizeFunction:l=(e=>e),pushNotifications:n=(()=>!1)})=>{const[s,d]=a.useState();return exports.GlobalData={userInfo:i,locale:e,togetherUserId:s,router:o,env:r},a.useEffect((()=>{(null==i?void 0:i.id)&&Se(Te(xe.PROFILE,{_locale:e}),"GET").then((e=>{var t;d(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.id)}))}),[null==i?void 0:i.id]),b.default.createElement(be.Provider,{value:{data:{userInfo:i,locale:e,togetherUserId:s,router:o,env:r},action:{pushNotifications:n,sanitizeFunction:l}}},t)},exports.UserAvatar=ct,exports.Z_INDEX=D,exports.callApi=Oe,exports.callApiWithAdminAuth=(e,t,i,o)=>n.__awaiter(void 0,void 0,void 0,(function*(){try{const a=he.parse(o||""),r=a[C]||d.getCookie(C);if(r&&r.length){const o=yield fetch(e,Object.assign(Object.assign({method:t},Ae(i)),{headers:Object.assign({Authorization:"Bearer "+r},null==i?void 0:i.headers)})).then((e=>e.json()));if(o)return o}}catch(e){return null}return null})),exports.callApiWithAuth=Se,exports.callApiWithOptionalAuth=(e,t="GET",i,o)=>n.__awaiter(void 0,void 0,void 0,(function*(){var a,r,l,n,s,p;try{const n="string"==typeof e?e:e.url,s="string"==typeof e?e:e.backupUrl,p=he.parse(o||""),u=p[$]||d.getCookie($);if(!u||!u.length)return Oe(s||n,t,i);try{const e=yield fetch(n,Object.assign(Object.assign({method:t},Ae(i)),{headers:Object.assign({Authorization:"Bearer "+u},null==i?void 0:i.headers)})).then((e=>e.json()));if(null===(a=null==e?void 0:e.messages)||void 0===a?void 0:a.find((e=>"Unauthenticated"===(null==e?void 0:e.toLowerCase()))))return Oe(s||n,t,i);if(e)return e}catch(e){return console.log({status:null===(r=null==e?void 0:e.response)||void 0===r?void 0:r.status,statusText:null===(l=null==e?void 0:e.response)||void 0===l?void 0:l.statusText}),Oe(s||n,t,i)}}catch(e){return console.log({status:null===(n=null==e?void 0:e.response)||void 0===n?void 0:n.status,statusText:null===(s=null==e?void 0:e.response)||void 0===s?void 0:s.statusText}),(null===(p=null==e?void 0:e.response)||void 0===p?void 0:p.data)||null}return null})),exports.constants=k,exports.domainLocales=ye,exports.getApiPath=Te,exports.getCareDoctorUrl=({name:e,id:t,locale:i})=>{var o;return`/care/${null===(o=R[i||"vi-VN"])||void 0===o?void 0:o.DOCTOR}/${Le(e,t)}`},exports.getCareHospitalUrl=({name:e,id:t,slug:i,locale:o})=>{var a;return`/care/${null===(a=R[o||"vi-VN"])||void 0===a?void 0:a.HOSPITAL}/${Le(e,t,i)}`},exports.getCarePath=(e,t)=>{const{careBaseApiUrl:i=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};return(i||"https://service-health-care.hellohealthgroup.com/")+Ee(_.default(e,Object.assign({},t)))},exports.getCurrentBaseUrl=e=>{const{env:{isMarryBaby:t}}=exports.GlobalData;if("undefined"!=typeof window)return window.location.origin;const i="staging"===process.env.NEXT_PUBLIC_DEPLOY_ENV;return"development"===process.env.NEXT_PUBLIC_DEPLOY_ENV?"http://localhost:3000":`https://${i?t?"fe.":"discover.":t?"www.":""}${ye[e]}`},exports.getDiscoverApiPath=(e,t,i)=>{const{discoverBaseApiUrl:o="",discoverBaseProdApiUrl:a=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};return(!c.isProduction&&i?a:o)+"wp-json/api/"+Ee(_.default(e,Object.assign({},t)))},exports.getMarryBabyApiPath=(e,t,i)=>{const{marryBabyApiUrl:o="",marryBabyProdApiUrl:a=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};return(i&&!c.isProduction?a:o)+"wp-json/api/"+Ee(_.default(e,Object.assign({},t)))},exports.getUrlToSignUp=(e,t,i="/community")=>{const o=e||("undefined"!=typeof window?window.location.href:"/");let a="undefined"!=typeof window?window.location.origin:"";a||e&&(e.startsWith("http://")||e.startsWith("https://"))&&(a=e.split("/").slice(0,3).join("/"));return((e,t)=>{const{publicSSO:i}=exports.GlobalData.env,o=e||window.location.href;return t&&Object.keys(t).map((e=>{Ie(o,e,t[e])})),Ie(o,"source","communities"),i?`${i}?returnUrl=${encodeURIComponent(o.toString())}`:o})(`${a}${i}/on-boarding?return=${encodeURIComponent(o)}`,t)};
|
|
1862
|
+
`,exports.ADMIN_PATHS={SEARCH_USER:"admin/profile/search?website_url={website_url}&name={name}",COMMENT:{IMAGE_UPLOAD:"admin/comment/image/upload?website_url={website_url}"}},exports.BEARER_TOKEN_COOKIE=$,exports.CARE_PATHS={GET_DOCTOR_INFO:"api/doctors/{doctorId}?site={website_url}",GET_HOSPITAL_INFO:"api/hospital/branch/{hospital_branch_id}?site={website_url}"},exports.DEFAULT_AVATAR_IMG=O,exports.DEFAULT_IMG=S,exports.DISCOVER_PATHS={BASE_API_PATH:"/",GET_SEARCH_ARTICLES:"search?s={keyword}&page={page}",GET_ALL_CATEGORIES:"categories?type=all",GET_HOMEPAGE_POSTS:"home/trending-post?type={type}",GET_HOMEPAGE_LATEST_POSTS:"articles?page=1&_islatest=1",GET_ARTICLE_DETAIL:"article/{slug}?skip_ids={skipIds}&_isrelated={isRelated}",GET_CATEGORY_DETAIL:"category/{slug}",GET_CATEGORY_OR_ARTICLE_DETAIL:"fetch/{fullSlug}",GET_PREVIEW_ARTICLE:"fetch/{fullSlug}?preview_nonce={nonce}&preview=true",GET_ARTICLE_OF_CATEGORY:"articles?category_id={categoryId}&page={currentPage}",GET_PAGE_STATIC:"page/{slug}",GET_ALL_HEALTH_TOOLS:"healthtools",GET_ALL_MARRYBABY_HEALTH_TOOLS:"health-tools",GET_HEALTH_TOOLS_BY_CATEGORY:"healthtools?_hasgroup=1",GET_AUTHOR:"author/{slug}",GET_ALL_EXPERTS:"experts",GET_ALL_EXPERTS_PAGING:"experts?page={page}",GET_EXPERT:"expert/{slug}",GET_EXPERT_POST:"expert/article?page={page}",POST_ARTICLE_FEEDBACK:"article/feedback/{id}",GET_AZ_DRUGS:"category/a-z/{category}",GET_HOMEPAGE_MEDICAL_REVIEWED:"home/medical-reviewed",GET_ARTICLES_BY_IDS:"articles?ids={ids}",GET_ARTICLE_OF_CATEGORY_NO_EXPLAINERS:"articles?category_id={categoryId}&page={currentPage}&skip_ids={ids}",GET_EXPERT_OF_CATEGORY:"category/expert/?id={id}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info",GET_DUE_DATE_ALL_WEEKS:"health-tools/due-date-calculator/all",GET_DUE_DATE_SUGGESTED_ARTICLES:"health-tools/due-date-calculator/result?from_week={from}&to_week={to}",GET_PROFILE:"user/profile",GET_ADMIN_PROFILE:"GET_ADMIN_PROFILE",GET_FEATURE:"feature",POST_NEW_FEATURE:"feature/update",CREATE_BOOKMARK:"bookmark/create",DELETE_BOOKMARK:"bookmark/delete",DELETE_ALL_BOOKMARK:"bookmark/delete-all",GET_ALL_BOOKMARK:"bookmark",SSO_USER_PROFILE:"user",SSO_USER_BOOKMARKS:"user/bookmarks",SSO_USER_PASSWORD:"user/settings/password",SSO_USER_EMAIL:"user/settings/update-email",SSO_CLOSE_ACCOUNT:"user/settings/close-account",SSO_HELP:"user/settings/help",GET_HEALTH_TOOL_OVULATION_INFO:"health-tools/ovulation-calculator/info",GET_HEALTH_TOOL_OVULATION_SUGGESTED_ARTICLES:"health-tools/ovulation-calculator/result?method={method}",GET_HEALTH_TOOL_BMI_INFO:"health-tools/bmi-calculator/info",GET_HEALTH_TOOL_BMI_RESULT:"health-tools/bmi-calculator/result?gender={gender}&bmi={bmi}&age={age}",GET_HEALTH_TOOL_BMR_INFO:"health-tools/bmr-calculator/info",GET_HEALTH_TOOL_BMR_RESULT:"health-tools/bmr-calculator/result?kcals={kcals}&gender={gender}&age={age}",GET_HEALTH_TOOL_PWG_INFO:"health-tools/preweight-gain-calculator/info",GET_HEALTH_TOOL_THR_INFO:"health-tools/target-heart-rate/info",GET_HEALTH_TOOL_BABY_GROWTH_INFO:"health-tools/baby-growth-tracking/info",POST_UPDATE_LOCATION:"tracking/geo/",GET_SIDIS_DUE_DATE:"frontend/tools/due_date",GET_SIDIS_OVULATION:"frontend/tools/ovulation",GET_SIDIS_BMI:"frontend/tools/bmi",GET_SIDIS_BMR:"frontend/tools/bmr",POST_LOGOUT:"user/logout",OVULATION_CREATE_EVENT:"ovulation/event?method={method}&day={day}&cycle={cycle}&period={period}&token={token}&user_id={user_id}",GET_ALL_SPOTLIGHT:"spotlights?per_page={perPage}&order_by={orderBy}",SSO_UPDATE_FIRST_TIME_BOOKMARK:"bookmark/update-first-time",POST_COMMENT_NOTIFICATION:"comment/notification",GET_ABOUT_US_DATA:"about",POST_LEAD_IMPRESSION:"campaign/{campaignCode}/impression",POST_LEAD_POPUP_EXIT:"campaign/{campaignCode}/popup_exit",POST_LEAD_LEAD:"campaign/{campaignCode}/lead",POST_SSO_VERIFY_TOKEN:"verify-id-token",GET_LANDING_PAGE_FIRST_NODE:"landing_page/bot",GET_LANDING_PAGE_NEXT_NODE:"landing_page/messages",POST_LANDING_PAGE_IMPRESSION:"landing_page/impressions",POST_LANDING_PAGE_CLICK:"landing_page/clicks",FETCH_URL_DATA:"preview",GET_SPOTLIGHT_LANDING:"spotlight/{slug}",GET_FOOTER_INFO:"footer",CHECK_SSO_EMAIL:"member/check-email",GET_HOMEPAGE_SITEWIDE_BANNER:"home/sitewide-banner",GET_DYNAMIC_FOOTER:"menu/footer",GET_EXPERTS:"experts?page={page}&number={perPage}&s={search}",GET_EXPERT_BY_ID:"expert/{id}"},exports.DUE_DATE_FORMAT=A,exports.DefaultComponentGlobalContextData=fe,exports.HEALTH_TOOL_TYPE=I,exports.Item=({post:e,index:t=0})=>{var o,i,r,l,n,s,d;const{siteType:p,configs:{statics:u}}=a.useContext($e);if(!e)return null;const c=[u.TOGETHER_URL_FE,null===(o=e.community)||void 0===o?void 0:o.slug].join("/"),m=[c,e.slug].join("/"),g=e.createdAt,h=g?isNaN(new Date(g).getTime())?null:new Date(g):null,x=h?v.default(h).toNow(!0):g;return b.default.createElement(yt,{href:m,"data-event-category":"Hamburger Navigation","data-event-action":`Together Click ${t+1}`,"data-event-label":m},b.default.createElement(mt,null,b.default.createElement(_t,null,b.default.createElement(ct,{avatar:null===(i=e.author)||void 0===i?void 0:i.avatar,username:(null===(r=e.author)||void 0===r?void 0:r.name)||(null===(l=e.author)||void 0===l?void 0:l.username)}),b.default.createElement(Et,null,b.default.createElement(ht,{"data-theme":p},null===(n=e.author)||void 0===n?void 0:n.name),b.default.createElement(wt,null,b.default.createElement(xt,{"data-event-category":"Hamburger Navigation","data-event-action":`Topic Click ${t+1}`,"data-event-label":c,onClick:e=>{e.preventDefault(),location.href=c},"data-theme":p},null===(s=e.community)||void 0===s?void 0:s.name),b.default.createElement(bt,null,"•"),b.default.createElement(ft,{"data-theme":p},x)))),b.default.createElement(vt,null,e.title)),!!(null===(d=e.photos)||void 0===d?void 0:d.length)&&b.default.createElement(gt,{loading:"lazy",src:e.photos[0]}))},exports.MAX_IMAGE_UPLOADS=20,exports.NavigationCard=({type:e,themeName:t,className:o,onClick:i=(()=>{})})=>{const{t:l}=r.useTranslations(),n=a.useMemo((()=>{var o,i;return(null===(i=null===(o=te[t])||void 0===o?void 0:o[e])||void 0===i?void 0:i.call(o))||""}),[e,t]),s=a.useMemo((()=>"marryBaby"!==t?"transparent":ee[e]),[e,t]);return b.default.createElement("div",{onClick:function(){i(e)},className:`${X} ${o}`},b.default.createElement("div",{className:J,style:{backgroundColor:s,backgroundImage:`url("${n}")`}}),b.default.createElement("h3",{className:Z},l(`userProfile.nav.card.${e}`)))},exports.NavigationContext=$e,exports.NavigationProvider=e=>{var{children:t}=e,o=n.__rest(e,["children"]);const[i,r]=b.default.useState((()=>o.currentUrl||`https://${"marryBaby"===o.siteType?_e[o.locale||"en-PH"]:s.domainLocales[o.locale||"en-PH"]}${"together"===o.projectType?"/community":"ecom"===o.projectType?"/ecom":"care"===o.projectType?"/care":""}/`));a.useEffect((()=>{const e=()=>{r(window.location.href)};return window.addEventListener("popstate",e),e(),()=>{window.removeEventListener("popstate",e)}}),[]);const l=(({locale:e,projectType:t,isMobile:o,siteType:i})=>a.useMemo((()=>{const a=!(!o&&"profile"===t),r="discover"===t||"marryBaby"===t||"profile"===t&&"marryBaby"===i,l="marryBaby"!==i&&"marryBaby"!==t&&s.CARE_LOCALES.includes(e),n="marryBaby"!==t&&"discover"===t&&"marryBaby"!==i&&s.CARE_BOOKING_LOCALES.includes(e),d="marryBaby"===t||s.TOGETHER_LOCALES.includes(e),p="ecom"===t,u="ecom"===t,c=m.getCurrentBaseUrl(e,"marryBaby"===i);return{enableProfileNavigatorMenu:a,enableSearchBar:r,enableNavCare:l,enableNavCareBooking:n,enableNavTogether:d,enableNavEcom:p,enableProfileEcom:u,enableProfileMyHealth:!0,statics:{HOME_PAGE_URL:c,CARE_URL_FE:`${c}/care`,TOGETHER_URL_FE:`${c}/community`,SSO_URL:m.getCurrentSsoUrl(e,"marryBaby"===i),TOGETHER_API:m.getTogetherApiDomain(),DISCOVER_API:m.getDiscoverApiDomain(e)}}}),[e,t,o]))({locale:o.locale,projectType:o.projectType,isMobile:o.isMobile,siteType:o.siteType});return b.default.createElement($e.Provider,{value:Object.assign(Object.assign({},o),{configs:l,currentUrl:o.currentUrl||i})},t)},exports.PATHS=xe,exports.REPORT_REASON_MAP=M,exports.SearchIcon=Re,exports.StyleSelectionPopup=U,exports.StyledAvatar=Y,exports.StyledBtnView=Fe,exports.StyledBtnView$1=St,exports.StyledBtnView$2=Mt,exports.StyledButtonGroup=ne,exports.StyledContainer=Vt,exports.StyledContainerItems=ze,exports.StyledContainerItems$1=lt,exports.StyledContainerItems$2=pt,exports.StyledContainerItems$3=Tt,exports.StyledContainerNoPosts=Ze,exports.StyledContent=Gt,exports.StyledContentLeft=tt,exports.StyledContentWrapper=qe,exports.StyledContentWrapper$1=$t,exports.StyledContentWrapper$2=Pt,exports.StyledDes=We,exports.StyledDes$1=Lt,exports.StyledDes$2=kt,exports.StyledDescription=Je,exports.StyledDisplayWrapper=z,exports.StyledHeader=Bt,exports.StyledHeaderWrapper=Ut,exports.StyledHeading=Ge,exports.StyledHeading$1=at,exports.StyledIconNav=Ne,exports.StyledImageCard=Qe,exports.StyledImageCard$1=st,exports.StyledImageCard$2=Ot,exports.StyledImageCard$3=Dt,exports.StyledImageCardInner=je,exports.StyledImageWrapper=K,exports.StyledImageWrapper$1=Be,exports.StyledItem=Pe,exports.StyledItem$1=Xe,exports.StyledItem$2=nt,exports.StyledItem$3=At,exports.StyledItem$4=Ct,exports.StyledItemAll=Ue,exports.StyledItemGridLeft=ke,exports.StyledItemGridRight=it,exports.StyledLanguageChangeLink=P,exports.StyledLeft=ot,exports.StyledLeftGroup=Ht,exports.StyledLoggedOutAnchor=q,exports.StyledLogoWrapper=zt,exports.StyledMasterMenuContainer=Ce,exports.StyledOption=B,exports.StyledPopup=F,exports.StyledPopup$1=le,exports.StyledPopup$2=E,exports.StyledPopupBackground=H,exports.StyledPopupWrapper=T,exports.StyledProfileNavGroup=jt,exports.StyledRightGroup=Qt,exports.StyledSelectionContainer=G,exports.StyledSelectionLabel=N,exports.StyledServiceListMenuSearchInputWrapper=De,exports.StyledTitle=Ve,exports.StyledTitle$1=et,exports.StyledTitle$2=dt,exports.StyledTitle$3=It,exports.StyledTitle$4=Rt,exports.StyledViewMore=He,exports.StyledViewMore$1=rt,exports.StyledWrapMenuItems=Ft,exports.StyledWrapName=Nt,exports.StyledWrapper=Me,exports.TOGETHER_PATHS={COMMUNITIES:"community?website_url={websiteUrl}",MENU_TOPIC:"topic?community_id={communityId}&website_url={websiteUrl}",GET_USER_POSTS:"profile/posts?website_url={websiteUrl}"},exports.TogetherComponentGlobalContext=be,exports.TogetherComponentGlobalContextProvider=({locale:e="vi-VN",children:t,userInfo:o,router:i,env:r={isMarryBaby:!1,togetherBasePath:"/community"},sanitizeFunction:l=(e=>e),pushNotifications:n=(()=>!1)})=>{const[s,d]=a.useState();return exports.GlobalData={userInfo:o,locale:e,togetherUserId:s,router:i,env:r},a.useEffect((()=>{(null==o?void 0:o.id)&&Se(Te(xe.PROFILE,{_locale:e}),"GET").then((e=>{var t;d(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.id)}))}),[null==o?void 0:o.id]),b.default.createElement(be.Provider,{value:{data:{userInfo:o,locale:e,togetherUserId:s,router:i,env:r},action:{pushNotifications:n,sanitizeFunction:l}}},t)},exports.UserAvatar=ct,exports.Z_INDEX=D,exports.callApi=Oe,exports.callApiWithAdminAuth=(e,t,o,i)=>n.__awaiter(void 0,void 0,void 0,(function*(){try{const a=he.parse(i||""),r=a[C]||d.getCookie(C);if(r&&r.length){const i=yield fetch(e,Object.assign(Object.assign({method:t},Ae(o)),{headers:Object.assign({Authorization:"Bearer "+r},null==o?void 0:o.headers)})).then((e=>e.json()));if(i)return i}}catch(e){return null}return null})),exports.callApiWithAuth=Se,exports.callApiWithOptionalAuth=(e,t="GET",o,i)=>n.__awaiter(void 0,void 0,void 0,(function*(){var a,r,l,n,s,p;try{const n="string"==typeof e?e:e.url,s="string"==typeof e?e:e.backupUrl,p=he.parse(i||""),u=p[$]||d.getCookie($);if(!u||!u.length)return Oe(s||n,t,o);try{const e=yield fetch(n,Object.assign(Object.assign({method:t},Ae(o)),{headers:Object.assign({Authorization:"Bearer "+u},null==o?void 0:o.headers)})).then((e=>e.json()));if(null===(a=null==e?void 0:e.messages)||void 0===a?void 0:a.find((e=>"Unauthenticated"===(null==e?void 0:e.toLowerCase()))))return Oe(s||n,t,o);if(e)return e}catch(e){return console.log({status:null===(r=null==e?void 0:e.response)||void 0===r?void 0:r.status,statusText:null===(l=null==e?void 0:e.response)||void 0===l?void 0:l.statusText}),Oe(s||n,t,o)}}catch(e){return console.log({status:null===(n=null==e?void 0:e.response)||void 0===n?void 0:n.status,statusText:null===(s=null==e?void 0:e.response)||void 0===s?void 0:s.statusText}),(null===(p=null==e?void 0:e.response)||void 0===p?void 0:p.data)||null}return null})),exports.constants=k,exports.domainLocales=ye,exports.getApiPath=Te,exports.getCareDoctorUrl=({name:e,id:t,locale:o})=>{var i;return`/care/${null===(i=R[o||"vi-VN"])||void 0===i?void 0:i.DOCTOR}/${Le(e,t)}`},exports.getCareHospitalUrl=({name:e,id:t,slug:o,locale:i})=>{var a;return`/care/${null===(a=R[i||"vi-VN"])||void 0===a?void 0:a.HOSPITAL}/${Le(e,t,o)}`},exports.getCarePath=(e,t)=>{const{careBaseApiUrl:o=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};return(o||"https://service-health-care.hellohealthgroup.com/")+Ee(_.default(e,Object.assign({},t)))},exports.getCurrentBaseUrl=e=>{const{env:{isMarryBaby:t}}=exports.GlobalData;if("undefined"!=typeof window)return window.location.origin;const o="staging"===process.env.NEXT_PUBLIC_DEPLOY_ENV;return"development"===process.env.NEXT_PUBLIC_DEPLOY_ENV?"http://localhost:3000":`https://${o?t?"fe.":"discover.":t?"www.":""}${ye[e]}`},exports.getDiscoverApiPath=(e,t,o)=>{const{discoverBaseApiUrl:i="",discoverBaseProdApiUrl:a=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};return(!c.isProduction&&o?a:i)+"wp-json/api/"+Ee(_.default(e,Object.assign({},t)))},exports.getMarryBabyApiPath=(e,t,o)=>{const{marryBabyApiUrl:i="",marryBabyProdApiUrl:a=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};return(o&&!c.isProduction?a:i)+"wp-json/api/"+Ee(_.default(e,Object.assign({},t)))},exports.getUrlToSignUp=(e,t,o="/community")=>{const i=e||("undefined"!=typeof window?window.location.href:"/");let a="undefined"!=typeof window?window.location.origin:"";a||e&&(e.startsWith("http://")||e.startsWith("https://"))&&(a=e.split("/").slice(0,3).join("/"));return((e,t)=>{const{publicSSO:o}=exports.GlobalData.env,i=e||window.location.href;return t&&Object.keys(t).map((e=>{Ie(i,e,t[e])})),Ie(i,"source","communities"),o?`${o}?returnUrl=${encodeURIComponent(i.toString())}`:i})(`${a}${o}/on-boarding?return=${encodeURIComponent(i)}`,t)};
|