@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
|
-
import{M as
|
|
1
|
+
import e from"@emotion/styled";import{M as t}from"./utils-e3db87a3.js";import{t as o}from"./theme-b980cf81.js";import{C as i}from"./index.styled-49ab3911.js";import a,{useMemo as r,createContext as n,useState as l,useEffect as s,memo as p,useContext as d}from"react";import{u as c}from"./useTranslations-b34a9124.js";import{CommonGAssets as m}from"./gAssets.js";import{a as h,_ as g}from"./tslib.es6-6d4ee5aa.js";import{C as u,a as b,T as x,d as f}from"./index-7e7fbe76.js";import{g as y}from"./cookieHelper-ec98dfd4.js";import v from"slugify";import _ from"string-format";import{i as w}from"./isProduction-4810c43b.js";import{g as E,a as T,b as O,c as A}from"./routing-2d155820.js";import I from"dayjs";import L from"dayjs/plugin/relativeTime";const $=e.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 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
34
34
|
&[data-type='form'] {
|
|
35
35
|
width: 496px;
|
|
36
36
|
height: 548px;
|
|
37
|
-
${
|
|
37
|
+
${t.mbDown} {
|
|
38
38
|
width: 340px;
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
&[data-type='confirm'] {
|
|
43
|
-
${
|
|
43
|
+
${t.mbDown} {
|
|
44
44
|
width: calc(100% - 32px);
|
|
45
45
|
}
|
|
46
|
-
${
|
|
46
|
+
${t.mbUp} {
|
|
47
47
|
width: 100%;
|
|
48
48
|
max-width: 407px;
|
|
49
49
|
}
|
|
@@ -68,7 +68,7 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
68
68
|
border-radius: 50%;
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
|
-
`,S=
|
|
71
|
+
`,S=e.div`
|
|
72
72
|
position: fixed;
|
|
73
73
|
z-index: 110;
|
|
74
74
|
top: 0;
|
|
@@ -81,7 +81,7 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
81
81
|
&[data-open='false'] {
|
|
82
82
|
display: none;
|
|
83
83
|
}
|
|
84
|
-
`,k="DD/MM/YYYY",R="/images/avatar.jpg",D="/images/default-image.jpg",P={DUE_DATE:"DUE_DATE",BMI:"BMI",BMR:"BMR",OVULATION:"OVULATION",IFRAME:"IFRAME",PWG:"PWG",THR:"THR",BGC:"BGC"},C={"id-ID":{"kalkulator-bmi":P.BMI,"kebutuhan-kalori":P.BMR,"kalkulator-hari-perkiraan-lahir":P.DUE_DATE,"kalkulator-masa-subur-2":P.OVULATION,"kalkulator-kenaikan-berat-badan-ibu-hamil":P.PWG,"kalkulator-detak-jantung-saat-olahraga":P.THR},"ms-MY":{"kalkulator-bmi":P.BMI,"kalkulator-bmr":P.BMR,"kalkulator-tarikh-bersalin":P.DUE_DATE,"kalkulator-kesuburan":P.OVULATION,"kalkulator-tambah-berat-badan-hamil":P.PWG,"target-heart-rate-calculator":P.THR},"vi-VN":{"cach-tinh-chi-so-bmi":P.BMI,"tinh-chi-so-bmr":P.BMR,"cong-cu-tinh-ngay-du-sinh":P.DUE_DATE,"tinh-ngay-rung-trung":P.OVULATION,"cong-cu-tinh-can-nang-khi-mang-thai":P.PWG,"cong-cu-do-nhip-tim":P.THR},"zh-TW":{"bmi-calculator":P.BMI,"bmr-calculator":P.BMR,"due-date-calculator":P.DUE_DATE,"ovulation-calculator":P.OVULATION,"pregnancy-weight-gain-calculator":P.PWG,"target-heart-rate-calculator":P.THR},"en-PH":{"bmi-calculator":P.BMI,"bmr-calculator":P.BMR,"due-date-calculator":P.DUE_DATE,"ovulation-calculator":P.OVULATION,"pregnancy-weight-gain-calculator":P.PWG,"target-heart-rate-calculator":P.THR},"th-TH":{"เครื่องคำนวณหา-ค่าดัชนี":P.BMI,"เครื่องคำนวณอัตราการเผาผลาญพลังงาน-bmr":P.BMR,"เครื่องมือคำนวณกำหนดคลอด":P.DUE_DATE,"เครื่องคำนวณการตกไข่-ovulation-calculat":P.OVULATION,"เครื่องคำนวณน้ำหนักตัว":P.PWG,"เครื่องวัดอัตราการเต้น":P.THR},"hi-IN":{"bmi-calculator-en":P.BMI,"bmi-calculator":P.BMI,"bmr-calculator":P.BMR,"delivery-date-calculator":P.DUE_DATE,"ovulation-calculator":P.OVULATION,"pregnancy-weight-gain-calculator":P.PWG,"target-heart-rate-calculator":P.THR},"km-KH":{"គណនា-bmi":P.BMI,"គណនា-bmr":P.BMR,"គណនាថ្ងៃសម្រាលកូន":P.DUE_DATE,"គណនាថ្ងៃមេជីវិតញីទុំធ្លាក់":P.OVULATION,"គណនាទម្ងន់ស្ត្រីពពោះ":P.PWG,"គណនារកចង្វាក់បេះដូងល្អ":P.THR},"my-MM":{"bmi-calculator":P.BMI,"bmr-calculator":P.BMR,"due-date-calendar":P.DUE_DATE,"ovulation-calculator":P.OVULATION,"pregnaancy-weight-calculator":P.PWG,"target-heartrate":P.THR,"pregnancy-weight-calculator":P.PWG,"target-heart-rate":P.THR}},N="hhg_user_token",B="together_admin_token",U={adBlock:48,articleAdContainer:47,headerContainerHome:99,headerContainerPopup:200,headerContainerPopupSUbLevel:300,menuSearchInputPopup:5,menuSearchInputDisplayIcon:6,menuSearchPopup:200},G={report_scam:{label:"morePopover.report.scam",reportReasonText:"morePopover.report.scam"},report_sex:{label:"morePopover.report.sex",reportReasonText:"morePopover.report.sex"},report_offensive:{label:"morePopover.report.offensive",reportReasonText:"morePopover.report.offensive"},report_violence:{label:"morePopover.report.violence",reportReasonText:"morePopover.report.violence"},report_prohibited:{label:"morePopover.report.prohibited",reportReasonText:"morePopover.report.prohibited"},report_spam:{label:"morePopover.report.spam",reportReasonText:"morePopover.report.spam"},report_falseNews:{label:"morePopover.report.falseNews",reportReasonText:"morePopover.report.falseNews"},report_other:{label:"morePopover.report.other",reportReasonText:"morePopover.report.other"}},M=20,H={"en-PH":{ALL:"all",HOSPITAL:"hospital",SERVICE:"service",DOCTOR:"doctor",SEARCH:"search",SPECIALTIES:"specialties",CURRENT:"current-location"},"vi-VN":{ALL:"tat-ca",HOSPITAL:"benh-vien",SERVICE:"dich-vu",DOCTOR:"bac-si",SEARCH:"tim-kiem",SPECIALTIES:"chuyen-khoa",CURRENT:"vi-tri-hien-tai"},"id-ID":{ALL:"semua",HOSPITAL:"rumah-sakit",SERVICE:"layanan",DOCTOR:"dokter",SEARCH:"cari",SPECIALTIES:"spesialisasi",CURRENT:"posisi-saya-saat-ini"}};var z=Object.freeze({__proto__:null,POST_DATE_FORMAT:"dd/MM/yyyy",NORMAL_DATE_FORMAT:"YYYY-MM-DD",DUE_DATE_FORMAT:k,DEFAULT_AVATAR_IMG:R,DEFAULT_RESULT_IMG:"/images/default.png",DEFAULT_IMG:D,BMI_LEVELS:["underweight","healthy","overweight","obese_level_1","obese_level_2"],BMR_LEVELS:["low","normal","high"],CORAL_TOKEN_COOKE:"coral_together_user_token",HEALTH_TOOL_TYPE:P,LOCALE_HEALTH_TOOLS:C,BEARER_TOKEN_COOKIE:N,TOGETHER_DISCLAIMER_COOKIE:"hhg_together_disclaimer",BEARER_ADMIN_TOKEN_COOKIE:B,Z_INDEX:U,BmrActiveLevels:[{value:"sedentary",icon:"bmr-sedentary",name:"bmr.activeLevel.sedentary",description:"bmr.activeLevel.sedentary.description"},{value:"lightly-active",icon:"bmr-light",name:"bmr.activeLevel.lightlyActive",description:"bmr.activeLevel.lightlyActive.description"},{value:"moderately-active",icon:"bmr-moderately",name:"bmr.activeLevel.moderatelyActive",description:"bmr.activeLevel.moderatelyActive.description"},{value:"intensely-active",icon:"bmr-intensively",name:"bmr.activeLevel.intenselyActive",description:"bmr.activeLevel.intenselyActive.description"},{value:"extremely-active",icon:"bmr-extremely",name:"bmr.activeLevel.extremelyActive",description:"bmr.activeLevel.extremelyActive.description"}],LEAD_CAMPAIGN_CODE:"lmoct7xfr5sv4fv",LEAD_TOKEN_COOKIE:"hhg-id",GA_TOKEN_COOKIE:"_ga",GOOGLE_CALENDAR_AUTH_CLIENT_ID:"1038242799566-esoq4ij201ve5qfp266nbca44scpo3c6.apps.googleusercontent.com",FIND_CARE_IFRAME_URL:"https://www.appsheet.com/start/4ba34ebe-3cb6-4c16-8dd4-d074025a5bb6#appName=DependentDropdowns-2711103&group=%5B%5D&page=card&sort=%5B%5D&table=Menu&view=Menu",REPORT_REASON_MAP:G,MB_SOCIAL_LINKS:{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/marry.baby.vn",INSTAGRAM:"https://www.instagram.com/marrybaby.vn/",TWITTER:"",YOUTUBE:"https://www.youtube.com/channel/UCeZybTkY1VzJ3N7LvPGdKbg",ZALO:"http://zalo.me/806483414530291942"},INTERNAL_ROLES:["admin","moderator","local-admin"],EXTERNAL_ROLES:["ambassador","expert","sponsor","guide","influencer"],INTERNAL_PROFILE_ROLES:["moderator","local-admin"],EXTERNAL_PROFILE_ROLES:["expert","ambassador","sponsor"],RoleDataMap:{moderator:{text:"Moderator",fid:"cardAuthor.moderator",background:"#fe921d"},admin:{text:"Admin",fid:"cardAuthor.admin",background:"#2b62cd"},"local-admin":{text:"Local admin",fid:"cardAuthor.localAdmin",background:"#2b62cd"},expert:{text:"Expert",fid:"cardAuthor.expert",background:"#ff6f4d"},sponsor:{text:"Sponsor",fid:"cardAuthor.sponsor",background:"#00c7e6"},ambassador:{text:"Ambassador",fid:"cardAuthor.ambassador",background:"#00CB8A"}},MAX_IMAGE_UPLOADS:20,LOCALISED_SLUGS:H});const j=
|
|
84
|
+
`,k="DD/MM/YYYY",R="/images/avatar.jpg",D="/images/default-image.jpg",P={DUE_DATE:"DUE_DATE",BMI:"BMI",BMR:"BMR",OVULATION:"OVULATION",IFRAME:"IFRAME",PWG:"PWG",THR:"THR",BGC:"BGC"},C={"id-ID":{"kalkulator-bmi":P.BMI,"kebutuhan-kalori":P.BMR,"kalkulator-hari-perkiraan-lahir":P.DUE_DATE,"kalkulator-masa-subur-2":P.OVULATION,"kalkulator-kenaikan-berat-badan-ibu-hamil":P.PWG,"kalkulator-detak-jantung-saat-olahraga":P.THR},"ms-MY":{"kalkulator-bmi":P.BMI,"kalkulator-bmr":P.BMR,"kalkulator-tarikh-bersalin":P.DUE_DATE,"kalkulator-kesuburan":P.OVULATION,"kalkulator-tambah-berat-badan-hamil":P.PWG,"target-heart-rate-calculator":P.THR},"vi-VN":{"cach-tinh-chi-so-bmi":P.BMI,"tinh-chi-so-bmr":P.BMR,"cong-cu-tinh-ngay-du-sinh":P.DUE_DATE,"tinh-ngay-rung-trung":P.OVULATION,"cong-cu-tinh-can-nang-khi-mang-thai":P.PWG,"cong-cu-do-nhip-tim":P.THR},"zh-TW":{"bmi-calculator":P.BMI,"bmr-calculator":P.BMR,"due-date-calculator":P.DUE_DATE,"ovulation-calculator":P.OVULATION,"pregnancy-weight-gain-calculator":P.PWG,"target-heart-rate-calculator":P.THR},"en-PH":{"bmi-calculator":P.BMI,"bmr-calculator":P.BMR,"due-date-calculator":P.DUE_DATE,"ovulation-calculator":P.OVULATION,"pregnancy-weight-gain-calculator":P.PWG,"target-heart-rate-calculator":P.THR},"th-TH":{"เครื่องคำนวณหา-ค่าดัชนี":P.BMI,"เครื่องคำนวณอัตราการเผาผลาญพลังงาน-bmr":P.BMR,"เครื่องมือคำนวณกำหนดคลอด":P.DUE_DATE,"เครื่องคำนวณการตกไข่-ovulation-calculat":P.OVULATION,"เครื่องคำนวณน้ำหนักตัว":P.PWG,"เครื่องวัดอัตราการเต้น":P.THR},"hi-IN":{"bmi-calculator-en":P.BMI,"bmi-calculator":P.BMI,"bmr-calculator":P.BMR,"delivery-date-calculator":P.DUE_DATE,"ovulation-calculator":P.OVULATION,"pregnancy-weight-gain-calculator":P.PWG,"target-heart-rate-calculator":P.THR},"km-KH":{"គណនា-bmi":P.BMI,"គណនា-bmr":P.BMR,"គណនាថ្ងៃសម្រាលកូន":P.DUE_DATE,"គណនាថ្ងៃមេជីវិតញីទុំធ្លាក់":P.OVULATION,"គណនាទម្ងន់ស្ត្រីពពោះ":P.PWG,"គណនារកចង្វាក់បេះដូងល្អ":P.THR},"my-MM":{"bmi-calculator":P.BMI,"bmr-calculator":P.BMR,"due-date-calendar":P.DUE_DATE,"ovulation-calculator":P.OVULATION,"pregnaancy-weight-calculator":P.PWG,"target-heartrate":P.THR,"pregnancy-weight-calculator":P.PWG,"target-heart-rate":P.THR}},N="hhg_user_token",B="together_admin_token",U={adBlock:48,articleAdContainer:47,headerContainerHome:99,headerContainerPopup:200,headerContainerPopupSUbLevel:300,menuSearchInputPopup:5,menuSearchInputDisplayIcon:6,menuSearchPopup:200},G={report_scam:{label:"morePopover.report.scam",reportReasonText:"morePopover.report.scam"},report_sex:{label:"morePopover.report.sex",reportReasonText:"morePopover.report.sex"},report_offensive:{label:"morePopover.report.offensive",reportReasonText:"morePopover.report.offensive"},report_violence:{label:"morePopover.report.violence",reportReasonText:"morePopover.report.violence"},report_prohibited:{label:"morePopover.report.prohibited",reportReasonText:"morePopover.report.prohibited"},report_spam:{label:"morePopover.report.spam",reportReasonText:"morePopover.report.spam"},report_falseNews:{label:"morePopover.report.falseNews",reportReasonText:"morePopover.report.falseNews"},report_other:{label:"morePopover.report.other",reportReasonText:"morePopover.report.other"}},M=20,H={"en-PH":{ALL:"all",HOSPITAL:"hospital",SERVICE:"service",DOCTOR:"doctor",SEARCH:"search",SPECIALTIES:"specialties",CURRENT:"current-location"},"vi-VN":{ALL:"tat-ca",HOSPITAL:"benh-vien",SERVICE:"dich-vu",DOCTOR:"bac-si",SEARCH:"tim-kiem",SPECIALTIES:"chuyen-khoa",CURRENT:"vi-tri-hien-tai"},"id-ID":{ALL:"semua",HOSPITAL:"rumah-sakit",SERVICE:"layanan",DOCTOR:"dokter",SEARCH:"cari",SPECIALTIES:"spesialisasi",CURRENT:"posisi-saya-saat-ini"}};var z=Object.freeze({__proto__:null,POST_DATE_FORMAT:"dd/MM/yyyy",NORMAL_DATE_FORMAT:"YYYY-MM-DD",DUE_DATE_FORMAT:k,DEFAULT_AVATAR_IMG:R,DEFAULT_RESULT_IMG:"/images/default.png",DEFAULT_IMG:D,BMI_LEVELS:["underweight","healthy","overweight","obese_level_1","obese_level_2"],BMR_LEVELS:["low","normal","high"],CORAL_TOKEN_COOKE:"coral_together_user_token",HEALTH_TOOL_TYPE:P,LOCALE_HEALTH_TOOLS:C,BEARER_TOKEN_COOKIE:N,TOGETHER_DISCLAIMER_COOKIE:"hhg_together_disclaimer",BEARER_ADMIN_TOKEN_COOKIE:B,Z_INDEX:U,BmrActiveLevels:[{value:"sedentary",icon:"bmr-sedentary",name:"bmr.activeLevel.sedentary",description:"bmr.activeLevel.sedentary.description"},{value:"lightly-active",icon:"bmr-light",name:"bmr.activeLevel.lightlyActive",description:"bmr.activeLevel.lightlyActive.description"},{value:"moderately-active",icon:"bmr-moderately",name:"bmr.activeLevel.moderatelyActive",description:"bmr.activeLevel.moderatelyActive.description"},{value:"intensely-active",icon:"bmr-intensively",name:"bmr.activeLevel.intenselyActive",description:"bmr.activeLevel.intenselyActive.description"},{value:"extremely-active",icon:"bmr-extremely",name:"bmr.activeLevel.extremelyActive",description:"bmr.activeLevel.extremelyActive.description"}],LEAD_CAMPAIGN_CODE:"lmoct7xfr5sv4fv",LEAD_TOKEN_COOKIE:"hhg-id",GA_TOKEN_COOKIE:"_ga",GOOGLE_CALENDAR_AUTH_CLIENT_ID:"1038242799566-esoq4ij201ve5qfp266nbca44scpo3c6.apps.googleusercontent.com",FIND_CARE_IFRAME_URL:"https://www.appsheet.com/start/4ba34ebe-3cb6-4c16-8dd4-d074025a5bb6#appName=DependentDropdowns-2711103&group=%5B%5D&page=card&sort=%5B%5D&table=Menu&view=Menu",REPORT_REASON_MAP:G,MB_SOCIAL_LINKS:{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/marry.baby.vn",INSTAGRAM:"https://www.instagram.com/marrybaby.vn/",TWITTER:"",YOUTUBE:"https://www.youtube.com/channel/UCeZybTkY1VzJ3N7LvPGdKbg",ZALO:"http://zalo.me/806483414530291942"},INTERNAL_ROLES:["admin","moderator","local-admin"],EXTERNAL_ROLES:["ambassador","expert","sponsor","guide","influencer"],INTERNAL_PROFILE_ROLES:["moderator","local-admin"],EXTERNAL_PROFILE_ROLES:["expert","ambassador","sponsor"],RoleDataMap:{moderator:{text:"Moderator",fid:"cardAuthor.moderator",background:"#fe921d"},admin:{text:"Admin",fid:"cardAuthor.admin",background:"#2b62cd"},"local-admin":{text:"Local admin",fid:"cardAuthor.localAdmin",background:"#2b62cd"},expert:{text:"Expert",fid:"cardAuthor.expert",background:"#ff6f4d"},sponsor:{text:"Sponsor",fid:"cardAuthor.sponsor",background:"#00c7e6"},ambassador:{text:"Ambassador",fid:"cardAuthor.ambassador",background:"#00CB8A"}},MAX_IMAGE_UPLOADS:20,LOCALISED_SLUGS:H});const j=e.a`
|
|
85
85
|
display: inline-flex;
|
|
86
86
|
position: relative;
|
|
87
87
|
flex-direction: row;
|
|
@@ -100,12 +100,12 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
100
100
|
text-decoration: none;
|
|
101
101
|
|
|
102
102
|
cursor: pointer;
|
|
103
|
-
`,F=
|
|
103
|
+
`,F=e.div`
|
|
104
104
|
position: relative;
|
|
105
105
|
display: inline-block;
|
|
106
|
-
`,V=
|
|
106
|
+
`,V=e.div`
|
|
107
107
|
position: relative;
|
|
108
|
-
`,Y=
|
|
108
|
+
`,Y=e.div`
|
|
109
109
|
position: absolute;
|
|
110
110
|
z-index: 21;
|
|
111
111
|
top: 100%;
|
|
@@ -133,14 +133,14 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
133
133
|
filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
|
-
`,K=
|
|
136
|
+
`,K=e.div`
|
|
137
137
|
display: flex;
|
|
138
138
|
height: 40px;
|
|
139
139
|
align-items: center;
|
|
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 {
|
|
@@ -150,7 +150,7 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
150
150
|
&[data-selected='false'] {
|
|
151
151
|
background-color: ${e=>e.theme.colors.gray100};
|
|
152
152
|
}
|
|
153
|
-
`,W=
|
|
153
|
+
`,W=e.div`
|
|
154
154
|
position: fixed;
|
|
155
155
|
z-index: 20;
|
|
156
156
|
top: 0;
|
|
@@ -158,9 +158,9 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
158
158
|
width: 100%;
|
|
159
159
|
height: 100%;
|
|
160
160
|
cursor: default;
|
|
161
|
-
`,X=
|
|
161
|
+
`,X=e.div`
|
|
162
162
|
${e=>`\n ${0!==e.lowerBound?`@media (max-width: ${e.lowerBound-1}px) { display: none; }`:""}\n ${0!==e.upperBound?`@media (min-width: ${e.upperBound}px) { display: none; }`:""}\n `}
|
|
163
|
-
`,q="hhgcomp-navprofilebutton-popup",Z=
|
|
163
|
+
`,q="hhgcomp-navprofilebutton-popup",Z=i(e.div`
|
|
164
164
|
position: absolute;
|
|
165
165
|
right: 0;
|
|
166
166
|
background-color: ${e=>e.theme.colors.white};
|
|
@@ -192,13 +192,13 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
192
192
|
|
|
193
193
|
&[data-type='welcome'] {
|
|
194
194
|
position: fixed;
|
|
195
|
-
${
|
|
195
|
+
${t.mbDown} {
|
|
196
196
|
width: 100%;
|
|
197
197
|
height: 424px;
|
|
198
198
|
bottom: 0;
|
|
199
199
|
top: unset;
|
|
200
200
|
}
|
|
201
|
-
${
|
|
201
|
+
${t.mbUp} {
|
|
202
202
|
top: 50%;
|
|
203
203
|
left: 50%;
|
|
204
204
|
transform: translate(-50%, -50%);
|
|
@@ -210,14 +210,14 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
210
210
|
|
|
211
211
|
&[data-type='due-date'] {
|
|
212
212
|
position: fixed;
|
|
213
|
-
${
|
|
213
|
+
${t.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.mbUp} {
|
|
221
221
|
top: 50%;
|
|
222
222
|
left: 50%;
|
|
223
223
|
transform: translate(-50%, -50%);
|
|
@@ -231,7 +231,7 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
231
231
|
.popup-content {
|
|
232
232
|
z-index: 111;
|
|
233
233
|
height: 100%;
|
|
234
|
-
${
|
|
234
|
+
${t.mbDown} {
|
|
235
235
|
max-height: calc(100vh - var(--header-bottom, 64px));
|
|
236
236
|
}
|
|
237
237
|
overflow: auto;
|
|
@@ -249,10 +249,9 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
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.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 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
266
265
|
filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));
|
|
267
266
|
}
|
|
268
267
|
}
|
|
269
|
-
${
|
|
268
|
+
${t.mbDown} {
|
|
270
269
|
position: fixed;
|
|
271
270
|
left: 0;
|
|
272
271
|
width: 100%;
|
|
273
|
-
border-top: 1px solid ${
|
|
272
|
+
border-top: 1px solid ${o.colors.neutral100};
|
|
274
273
|
}
|
|
275
|
-
${
|
|
274
|
+
${t.mbUp} {
|
|
276
275
|
width: 368px;
|
|
277
276
|
}
|
|
278
277
|
}
|
|
@@ -291,7 +290,7 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
291
290
|
border-radius: 50%;
|
|
292
291
|
}
|
|
293
292
|
}
|
|
294
|
-
`,q),J="hhgcomp-navprofilebutton-popupwrapper";
|
|
293
|
+
`,q),J="hhgcomp-navprofilebutton-popupwrapper";i(e.div`
|
|
295
294
|
position: fixed;
|
|
296
295
|
z-index: 150;
|
|
297
296
|
top: var(--header-bottom, 69px);
|
|
@@ -300,7 +299,7 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
300
299
|
height: 100%;
|
|
301
300
|
align-items: center;
|
|
302
301
|
|
|
303
|
-
${
|
|
302
|
+
${t.mbUp} {
|
|
304
303
|
background-color: transparent;
|
|
305
304
|
&[data-type='welcome'] {
|
|
306
305
|
background: rgba(38, 38, 38, 0.3);
|
|
@@ -310,7 +309,7 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
310
309
|
}
|
|
311
310
|
}
|
|
312
311
|
|
|
313
|
-
${
|
|
312
|
+
${t.mbDown} {
|
|
314
313
|
background: rgba(38, 38, 38, 0.3);
|
|
315
314
|
}
|
|
316
315
|
|
|
@@ -321,7 +320,7 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
321
320
|
&[data-open='false'] {
|
|
322
321
|
display: none;
|
|
323
322
|
}
|
|
324
|
-
`,J);const Q=
|
|
323
|
+
`,J);const Q=e.div`
|
|
325
324
|
width: 40px;
|
|
326
325
|
height: 40px;
|
|
327
326
|
cursor: pointer;
|
|
@@ -346,7 +345,7 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
346
345
|
font-size: 20px;
|
|
347
346
|
font-weight: bold;
|
|
348
347
|
}
|
|
349
|
-
`,ee=
|
|
348
|
+
`,ee=e.a`
|
|
350
349
|
display: inline-flex;
|
|
351
350
|
position: relative;
|
|
352
351
|
width: 40px;
|
|
@@ -374,7 +373,7 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
374
373
|
visibility: visible;
|
|
375
374
|
display: initial;
|
|
376
375
|
&[data-type='profile'] {
|
|
377
|
-
${
|
|
376
|
+
${t.mbDown} {
|
|
378
377
|
top: 100%;
|
|
379
378
|
}
|
|
380
379
|
}
|
|
@@ -383,14 +382,14 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
383
382
|
display: initial;
|
|
384
383
|
}
|
|
385
384
|
}
|
|
386
|
-
`,te=
|
|
385
|
+
`,te=e.a`
|
|
387
386
|
display: inline-flex;
|
|
388
387
|
.login-btn[data-color='tertiary'][data-size='md'] {
|
|
389
388
|
padding-left: 12px;
|
|
390
389
|
padding-right: 12px;
|
|
391
390
|
}
|
|
392
391
|
.mobile-only {
|
|
393
|
-
${
|
|
392
|
+
${t.mbUp} {
|
|
394
393
|
display: none;
|
|
395
394
|
}
|
|
396
395
|
}
|
|
@@ -398,21 +397,21 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
398
397
|
padding-left: 10px;
|
|
399
398
|
padding-right: 10px;
|
|
400
399
|
display: none;
|
|
401
|
-
${
|
|
400
|
+
${t.mbUp} {
|
|
402
401
|
display: block;
|
|
403
402
|
}
|
|
404
403
|
}
|
|
405
|
-
`;var
|
|
404
|
+
`;var oe="fVk18fq",ie="v8TCvUb",ae="mx7T4V3";const re={myHealth:o.mbColors.toneYellow,myCommunity:o.mbColors.toneBlue,mySaved:o.mbColors.toneGreen},ne={helloSites:{myBooking:()=>m.getAssetPath("userProfileNav/helloSites/icon-myBooking.svg"),myCommunity:()=>m.getAssetPath("userProfileNav/helloSites/icon-myCommunity.svg"),myFamily:()=>m.getAssetPath("userProfileNav/helloSites/icon-myFamily.svg"),myHealth:()=>m.getAssetPath("userProfileNav/helloSites/icon-myHealth.svg"),mySaved:()=>m.getAssetPath("userProfileNav/helloSites/icon-mySaved.svg"),eCom:()=>m.getAssetPath("userProfileNav/helloSites/icon-eCom.svg")},marryBaby:{mySaved:()=>m.getAssetPath("userProfileNav/marryBaby/icon-mySaved.svg"),myCommunity:()=>m.getAssetPath("userProfileNav/marryBaby/icon-myCommunity.svg"),myHealth:()=>m.getAssetPath("userProfileNav/marryBaby/icon-myHealth.svg")}},le=({type:e,themeName:t,className:o,onClick:i=(()=>{})})=>{const{t:n}=c(),l=r((()=>{var o,i;return(null===(i=null===(o=ne[t])||void 0===o?void 0:o[e])||void 0===i?void 0:i.call(o))||""}),[e,t]),s=r((()=>"marryBaby"!==t?"transparent":re[e]),[e,t]);return a.createElement("div",{onClick:function(){i(e)},className:`${oe} ${o}`},a.createElement("div",{className:ae,style:{backgroundColor:s,backgroundImage:`url("${l}")`}}),a.createElement("h3",{className:ie},n(`userProfile.nav.card.${e}`)))},se={COMMUNITIES:"community?website_url={websiteUrl}",MENU_TOPIC:"topic?community_id={communityId}&website_url={websiteUrl}",GET_USER_POSTS:"profile/posts?website_url={websiteUrl}"},pe=99,de=300,ce=400,me=210,he=e.div`
|
|
406
405
|
background-color: white;
|
|
407
406
|
text-align: center;
|
|
408
407
|
.cancle-img {
|
|
409
408
|
margin-top: 24px;
|
|
410
|
-
${
|
|
409
|
+
${t.mbDown} {
|
|
411
410
|
width: 80px;
|
|
412
411
|
height: 80px;
|
|
413
412
|
}
|
|
414
413
|
|
|
415
|
-
${
|
|
414
|
+
${t.mbUp} {
|
|
416
415
|
width: 100px;
|
|
417
416
|
height: 100px;
|
|
418
417
|
}
|
|
@@ -423,12 +422,12 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
423
422
|
color: ${e=>e.theme.colors.gray800};
|
|
424
423
|
font-style: normal;
|
|
425
424
|
font-weight: bold;
|
|
426
|
-
${
|
|
425
|
+
${t.mbDown} {
|
|
427
426
|
font-size: 24px;
|
|
428
427
|
line-height: 32px;
|
|
429
428
|
}
|
|
430
429
|
|
|
431
|
-
${
|
|
430
|
+
${t.mbUp} {
|
|
432
431
|
font-size: 32px;
|
|
433
432
|
line-height: 42px;
|
|
434
433
|
}
|
|
@@ -439,24 +438,24 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
439
438
|
color: ${e=>e.theme.colors.gray600};
|
|
440
439
|
font-style: normal;
|
|
441
440
|
font-weight: normal;
|
|
442
|
-
${
|
|
441
|
+
${t.mbDown} {
|
|
443
442
|
font-size: 16px;
|
|
444
443
|
line-height: 24px;
|
|
445
444
|
}
|
|
446
445
|
|
|
447
|
-
${
|
|
446
|
+
${t.mbUp} {
|
|
448
447
|
font-size: 16px;
|
|
449
448
|
line-height: 24px;
|
|
450
449
|
}
|
|
451
450
|
}
|
|
452
|
-
`,
|
|
451
|
+
`,ge=e.div`
|
|
453
452
|
display: flex;
|
|
454
453
|
|
|
455
|
-
${
|
|
454
|
+
${t.mbDown} {
|
|
456
455
|
margin-top: 24px;
|
|
457
456
|
}
|
|
458
457
|
|
|
459
|
-
${
|
|
458
|
+
${t.mbUp} {
|
|
460
459
|
margin-top: 32px;
|
|
461
460
|
}
|
|
462
461
|
justify-content: space-around;
|
|
@@ -472,7 +471,7 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
472
471
|
* Copyright(c) 2012-2014 Roman Shtylman
|
|
473
472
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
474
473
|
* MIT Licensed
|
|
475
|
-
*/;var ue=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");var i={},o=(t||{}).decode||ye,a=0;for(;a<e.length;){var r=e.indexOf("=",a);if(-1===r)break;var n=e.indexOf(";",a);if(-1===n)n=e.length;else if(n<r){a=e.lastIndexOf(";",r-1)+1;continue}var l=e.slice(a,r).trim();if(void 0===i[l]){var s=e.slice(r+1,n).trim();34===s.charCodeAt(0)&&(s=s.slice(1,-1)),i[l]=_e(s,o)}a=n+1}return i},be=function(e,t,i){var o=i||{},a=o.encode||ve;if("function"!=typeof a)throw new TypeError("option encode is invalid");if(!fe.test(e))throw new TypeError("argument name is invalid");var r=a(t);if(r&&!fe.test(r))throw new TypeError("argument val is invalid");var n=e+"="+r;if(null!=o.maxAge){var l=o.maxAge-0;if(isNaN(l)||!isFinite(l))throw new TypeError("option maxAge is invalid");n+="; Max-Age="+Math.floor(l)}if(o.domain){if(!fe.test(o.domain))throw new TypeError("option domain is invalid");n+="; Domain="+o.domain}if(o.path){if(!fe.test(o.path))throw new TypeError("option path is invalid");n+="; Path="+o.path}if(o.expires){var s=o.expires;if(!function(e){return"[object Date]"===xe.call(e)||e instanceof Date}(s)||isNaN(s.valueOf()))throw new TypeError("option expires is invalid");n+="; Expires="+s.toUTCString()}o.httpOnly&&(n+="; HttpOnly");o.secure&&(n+="; Secure");if(o.priority){switch("string"==typeof o.priority?o.priority.toLowerCase():o.priority){case"low":n+="; Priority=Low";break;case"medium":n+="; Priority=Medium";break;case"high":n+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(o.sameSite){switch("string"==typeof o.sameSite?o.sameSite.toLowerCase():o.sameSite){case!0:n+="; SameSite=Strict";break;case"lax":n+="; SameSite=Lax";break;case"strict":n+="; SameSite=Strict";break;case"none":n+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return n},xe=Object.prototype.toString,fe=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function ye(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function ve(e){return encodeURIComponent(e)}function _e(e,t){try{return t(e)}catch(t){return e}}var we={parse:ue,serialize:be};const Ee={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}"}},Te={GET_DOCTOR_INFO:"api/doctors/{doctorId}?site={website_url}",GET_HOSPITAL_INFO:"api/hospital/branch/{hospital_branch_id}?site={website_url}"},Oe={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}"},Ae={SEARCH_USER:"admin/profile/search?website_url={website_url}&name={name}",COMMENT:{IMAGE_UPLOAD:"admin/comment/image/upload?website_url={website_url}"}},Ie={locale:"vi-VN",env:{isMarryBaby:!1,togetherBasePath:"/community"},router:{basePath:"",asPath:"/"}},Le=n({data:Ie,action:{pushNotifications:e=>e,sanitizeFunction:e=>e}});let $e=Ie;const Se=({locale:e="vi-VN",children:t,userInfo:i,router:o,env:r={isMarryBaby:!1,togetherBasePath:"/community"},sanitizeFunction:n=(e=>e),pushNotifications:p=(()=>!1)})=>{const[d,c]=l();return $e={userInfo:i,locale:e,togetherUserId:d,router:o,env:r},s((()=>{(null==i?void 0:i.id)&&Fe(Be(Ee.PROFILE,{_locale:e}),"GET").then((e=>{var t;c(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.id)}))}),[null==i?void 0:i.id]),a.createElement(Le.Provider,{value:{data:{userInfo:i,locale:e,togetherUserId:d,router:o,env:r},action:{pushNotifications:p,sanitizeFunction:n}}},t)},ke={"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"},Re={"vi-VN":"marrybaby.vn"},De=process.env.NEXT_PUBLIC_DEPLOY_LOCALE||"vi-VN",Pe=e=>{const{env:{isMarryBaby:t}}=$e;return`https://${t?Re[e]:ke[e]}`},Ce=e=>{const t=e.indexOf("?");return t>=0?e.slice(0,t+1)+e.slice(t+1).replace(/[^=&]+=(&|$)/g,"").replace(/&$/,""):e},Ne=e=>{const{env:{isMarryBaby:t}}=$e;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.":""}${ke[e]}`},Be=(e,t,i)=>{let o="";i&&(o=Object.keys(i).map((e=>e+"="+i[e])).join("&"));const{togetherBaseApiUrl:a=""}=(null==$e?void 0:$e.env)||{};let r=_(e,Object.assign(Object.assign({},(null==t?void 0:t._locale)?{website_url:Pe(String(t._locale))}:{}),t));return r+=`${r.includes("?")?"&":"?"}${o}`,a+"api/v1/"+Ce(r)},Ue=(e,t,i)=>{const{discoverBaseApiUrl:o="",discoverBaseProdApiUrl:a=""}=(null==$e?void 0:$e.env)||{};return(!w&&i?a:o)+"wp-json/api/"+Ce(_(e,Object.assign({},t)))},Ge=(e,t,i)=>{const{marryBabyApiUrl:o="",marryBabyProdApiUrl:a=""}=(null==$e?void 0:$e.env)||{};return(i&&!w?a:o)+"wp-json/api/"+Ce(_(e,Object.assign({},t)))},Me=(e,t)=>{const{careBaseApiUrl:i=""}=(null==$e?void 0:$e.env)||{};return(i||"https://service-health-care.hellohealthgroup.com/")+Ce(_(e,Object.assign({},t)))},He=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),ze=(e,t,i,o=!1)=>g(void 0,void 0,void 0,(function*(){var a,r,n,l;try{const a=yield fetch(o?e:(l=e,encodeURI(l).replace(/%5B/g,"[").replace(/%5D/g,"]")),Object.assign(Object.assign({method:t},He(i)),{headers:Object.assign({},null==i?void 0:i.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===(n=null==t?void 0:t.response)||void 0===n?void 0:n.data)||null}return null})),je=(e,t="GET",i,o)=>g(void 0,void 0,void 0,(function*(){var a,r,n,l,s,p;try{const l="string"==typeof e?e:e.url,s="string"==typeof e?e:e.backupUrl,p=we.parse(o||""),d=p[N]||y(N);if(!d||!d.length)return ze(s||l,t,i);try{const e=yield fetch(l,Object.assign(Object.assign({method:t},He(i)),{headers:Object.assign({Authorization:"Bearer "+d},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 ze(s||l,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===(n=null==e?void 0:e.response)||void 0===n?void 0:n.statusText}),ze(s||l,t,i)}}catch(e){return console.log({status:null===(l=null==e?void 0:e.response)||void 0===l?void 0:l.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})),Fe=(e,t,i,o)=>g(void 0,void 0,void 0,(function*(){try{const a=we.parse(o||""),r=a[N]||y(N);if(r&&r.length){const o=yield fetch(e,Object.assign(Object.assign({method:t},He(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})),Ve=(e,t,i,o)=>g(void 0,void 0,void 0,(function*(){try{const a=we.parse(o||""),r=a[B]||y(B);if(r&&r.length){const o=yield fetch(e,Object.assign(Object.assign({method:t},He(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}));function Ye(e,t,i){const o=new RegExp("([?&])"+t+"=.*?(&|$)","i"),a=-1!==e.indexOf("?")?"&":"?";return e.match(o)?e.replace(o,"$1"+t+"="+i+"$2"):e+a+t+"="+i}const Ke=(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}=$e.env,o=e||window.location.href;return t&&Object.keys(t).map((e=>{Ye(o,e,t[e])})),Ye(o,"source","communities"),i?`${i}?returnUrl=${encodeURIComponent(o.toString())}`:o})(`${a}${i}/on-boarding?return=${encodeURIComponent(o)}`,t)},We=(e,t,i,o)=>i&&t?`${i}-${t}`:`${v(e||"",{lower:!0,locale:o||De})}-${t}`,Xe=({name:e,id:t,locale:i})=>{var o;return`/care/${null===(o=H[i||"vi-VN"])||void 0===o?void 0:o.DOCTOR}/${We(e,t)}`},qe=({name:e,id:t,slug:i,locale:o})=>{var a;return`/care/${null===(a=H[o||"vi-VN"])||void 0===a?void 0:a.HOSPITAL}/${We(e,t,i)}`},Ze=a.createContext({}),Je=e=>{var{children:t}=e,i=h(e,["children"]);const[o,n]=a.useState((()=>i.currentUrl||`https://${"marryBaby"===i.siteType?Re[i.locale||"en-PH"]:f[i.locale||"en-PH"]}${"together"===i.projectType?"/community":"ecom"===i.projectType?"/ecom":"care"===i.projectType?"/care":""}/`));s((()=>{const e=()=>{n(window.location.href)};return window.addEventListener("popstate",e),e(),()=>{window.removeEventListener("popstate",e)}}),[]);const l=(({locale:e,projectType:t,isMobile:i,siteType:o})=>r((()=>{const a=!(!i&&"profile"===t),r="discover"===t||"marryBaby"===t||"profile"===t&&"marryBaby"===o,n="marryBaby"!==o&&"marryBaby"!==t&&u.includes(e),l="marryBaby"!==t&&"discover"===t&&"marryBaby"!==o&&b.includes(e),s="marryBaby"===t||x.includes(e),p="ecom"===t,d="ecom"===t,c=E(e,"marryBaby"===o);return{enableProfileNavigatorMenu:a,enableSearchBar:r,enableNavCare:n,enableNavCareBooking:l,enableNavTogether:s,enableNavEcom:p,enableProfileEcom:d,enableProfileMyHealth:!0,statics:{HOME_PAGE_URL:c,CARE_URL_FE:`${c}/care`,TOGETHER_URL_FE:`${c}/community`,SSO_URL:T(e,"marryBaby"===o),TOGETHER_API:O(),DISCOVER_API:A(e)}}}),[e,t,i]))({locale:i.locale,projectType:i.projectType,isMobile:i.isMobile,siteType:i.siteType});return a.createElement(Ze.Provider,{value:Object.assign(Object.assign({},i),{configs:l,currentUrl:i.currentUrl||o})},t)},Qe=t.div`
|
|
474
|
+
*/;var ue=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");var o={},i=(t||{}).decode||ye,a=0;for(;a<e.length;){var r=e.indexOf("=",a);if(-1===r)break;var n=e.indexOf(";",a);if(-1===n)n=e.length;else if(n<r){a=e.lastIndexOf(";",r-1)+1;continue}var l=e.slice(a,r).trim();if(void 0===o[l]){var s=e.slice(r+1,n).trim();34===s.charCodeAt(0)&&(s=s.slice(1,-1)),o[l]=_e(s,i)}a=n+1}return o},be=function(e,t,o){var i=o||{},a=i.encode||ve;if("function"!=typeof a)throw new TypeError("option encode is invalid");if(!fe.test(e))throw new TypeError("argument name is invalid");var r=a(t);if(r&&!fe.test(r))throw new TypeError("argument val is invalid");var n=e+"="+r;if(null!=i.maxAge){var l=i.maxAge-0;if(isNaN(l)||!isFinite(l))throw new TypeError("option maxAge is invalid");n+="; Max-Age="+Math.floor(l)}if(i.domain){if(!fe.test(i.domain))throw new TypeError("option domain is invalid");n+="; Domain="+i.domain}if(i.path){if(!fe.test(i.path))throw new TypeError("option path is invalid");n+="; Path="+i.path}if(i.expires){var s=i.expires;if(!function(e){return"[object Date]"===xe.call(e)||e instanceof Date}(s)||isNaN(s.valueOf()))throw new TypeError("option expires is invalid");n+="; Expires="+s.toUTCString()}i.httpOnly&&(n+="; HttpOnly");i.secure&&(n+="; Secure");if(i.priority){switch("string"==typeof i.priority?i.priority.toLowerCase():i.priority){case"low":n+="; Priority=Low";break;case"medium":n+="; Priority=Medium";break;case"high":n+="; 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:n+="; SameSite=Strict";break;case"lax":n+="; SameSite=Lax";break;case"strict":n+="; SameSite=Strict";break;case"none":n+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return n},xe=Object.prototype.toString,fe=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function ye(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function ve(e){return encodeURIComponent(e)}function _e(e,t){try{return t(e)}catch(t){return e}}var we={parse:ue,serialize:be};const Ee={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}"}},Te={GET_DOCTOR_INFO:"api/doctors/{doctorId}?site={website_url}",GET_HOSPITAL_INFO:"api/hospital/branch/{hospital_branch_id}?site={website_url}"},Oe={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}"},Ae={SEARCH_USER:"admin/profile/search?website_url={website_url}&name={name}",COMMENT:{IMAGE_UPLOAD:"admin/comment/image/upload?website_url={website_url}"}},Ie={locale:"vi-VN",env:{isMarryBaby:!1,togetherBasePath:"/community"},router:{basePath:"",asPath:"/"}},Le=n({data:Ie,action:{pushNotifications:e=>e,sanitizeFunction:e=>e}});let $e=Ie;const Se=({locale:e="vi-VN",children:t,userInfo:o,router:i,env:r={isMarryBaby:!1,togetherBasePath:"/community"},sanitizeFunction:n=(e=>e),pushNotifications:p=(()=>!1)})=>{const[d,c]=l();return $e={userInfo:o,locale:e,togetherUserId:d,router:i,env:r},s((()=>{(null==o?void 0:o.id)&&Fe(Be(Ee.PROFILE,{_locale:e}),"GET").then((e=>{var t;c(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.id)}))}),[null==o?void 0:o.id]),a.createElement(Le.Provider,{value:{data:{userInfo:o,locale:e,togetherUserId:d,router:i,env:r},action:{pushNotifications:p,sanitizeFunction:n}}},t)},ke={"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"},Re={"vi-VN":"marrybaby.vn"},De=process.env.NEXT_PUBLIC_DEPLOY_LOCALE||"vi-VN",Pe=e=>{const{env:{isMarryBaby:t}}=$e;return`https://${t?Re[e]:ke[e]}`},Ce=e=>{const t=e.indexOf("?");return t>=0?e.slice(0,t+1)+e.slice(t+1).replace(/[^=&]+=(&|$)/g,"").replace(/&$/,""):e},Ne=e=>{const{env:{isMarryBaby:t}}=$e;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.":""}${ke[e]}`},Be=(e,t,o)=>{let i="";o&&(i=Object.keys(o).map((e=>e+"="+o[e])).join("&"));const{togetherBaseApiUrl:a=""}=(null==$e?void 0:$e.env)||{};let r=_(e,Object.assign(Object.assign({},(null==t?void 0:t._locale)?{website_url:Pe(String(t._locale))}:{}),t));return r+=`${r.includes("?")?"&":"?"}${i}`,a+"api/v1/"+Ce(r)},Ue=(e,t,o)=>{const{discoverBaseApiUrl:i="",discoverBaseProdApiUrl:a=""}=(null==$e?void 0:$e.env)||{};return(!w&&o?a:i)+"wp-json/api/"+Ce(_(e,Object.assign({},t)))},Ge=(e,t,o)=>{const{marryBabyApiUrl:i="",marryBabyProdApiUrl:a=""}=(null==$e?void 0:$e.env)||{};return(o&&!w?a:i)+"wp-json/api/"+Ce(_(e,Object.assign({},t)))},Me=(e,t)=>{const{careBaseApiUrl:o=""}=(null==$e?void 0:$e.env)||{};return(o||"https://service-health-care.hellohealthgroup.com/")+Ce(_(e,Object.assign({},t)))},He=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),ze=(e,t,o,i=!1)=>h(void 0,void 0,void 0,(function*(){var a,r,n,l;try{const a=yield fetch(i?e:(l=e,encodeURI(l).replace(/%5B/g,"[").replace(/%5D/g,"]")),Object.assign(Object.assign({method:t},He(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===(n=null==t?void 0:t.response)||void 0===n?void 0:n.data)||null}return null})),je=(e,t="GET",o,i)=>h(void 0,void 0,void 0,(function*(){var a,r,n,l,s,p;try{const l="string"==typeof e?e:e.url,s="string"==typeof e?e:e.backupUrl,p=we.parse(i||""),d=p[N]||y(N);if(!d||!d.length)return ze(s||l,t,o);try{const e=yield fetch(l,Object.assign(Object.assign({method:t},He(o)),{headers:Object.assign({Authorization:"Bearer "+d},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 ze(s||l,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===(n=null==e?void 0:e.response)||void 0===n?void 0:n.statusText}),ze(s||l,t,o)}}catch(e){return console.log({status:null===(l=null==e?void 0:e.response)||void 0===l?void 0:l.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})),Fe=(e,t,o,i)=>h(void 0,void 0,void 0,(function*(){try{const a=we.parse(i||""),r=a[N]||y(N);if(r&&r.length){const i=yield fetch(e,Object.assign(Object.assign({method:t},He(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})),Ve=(e,t,o,i)=>h(void 0,void 0,void 0,(function*(){try{const a=we.parse(i||""),r=a[B]||y(B);if(r&&r.length){const i=yield fetch(e,Object.assign(Object.assign({method:t},He(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 Ye(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 Ke=(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}=$e.env,i=e||window.location.href;return t&&Object.keys(t).map((e=>{Ye(i,e,t[e])})),Ye(i,"source","communities"),o?`${o}?returnUrl=${encodeURIComponent(i.toString())}`:i})(`${a}${o}/on-boarding?return=${encodeURIComponent(i)}`,t)},We=(e,t,o,i)=>o&&t?`${o}-${t}`:`${v(e||"",{lower:!0,locale:i||De})}-${t}`,Xe=({name:e,id:t,locale:o})=>{var i;return`/care/${null===(i=H[o||"vi-VN"])||void 0===i?void 0:i.DOCTOR}/${We(e,t)}`},qe=({name:e,id:t,slug:o,locale:i})=>{var a;return`/care/${null===(a=H[i||"vi-VN"])||void 0===a?void 0:a.HOSPITAL}/${We(e,t,o)}`},Ze=a.createContext({}),Je=e=>{var{children:t}=e,o=g(e,["children"]);const[i,n]=a.useState((()=>o.currentUrl||`https://${"marryBaby"===o.siteType?Re[o.locale||"en-PH"]:f[o.locale||"en-PH"]}${"together"===o.projectType?"/community":"ecom"===o.projectType?"/ecom":"care"===o.projectType?"/care":""}/`));s((()=>{const e=()=>{n(window.location.href)};return window.addEventListener("popstate",e),e(),()=>{window.removeEventListener("popstate",e)}}),[]);const l=(({locale:e,projectType:t,isMobile:o,siteType:i})=>r((()=>{const a=!(!o&&"profile"===t),r="discover"===t||"marryBaby"===t||"profile"===t&&"marryBaby"===i,n="marryBaby"!==i&&"marryBaby"!==t&&u.includes(e),l="marryBaby"!==t&&"discover"===t&&"marryBaby"!==i&&b.includes(e),s="marryBaby"===t||x.includes(e),p="ecom"===t,d="ecom"===t,c=E(e,"marryBaby"===i);return{enableProfileNavigatorMenu:a,enableSearchBar:r,enableNavCare:n,enableNavCareBooking:l,enableNavTogether:s,enableNavEcom:p,enableProfileEcom:d,enableProfileMyHealth:!0,statics:{HOME_PAGE_URL:c,CARE_URL_FE:`${c}/care`,TOGETHER_URL_FE:`${c}/community`,SSO_URL:T(e,"marryBaby"===i),TOGETHER_API:O(),DISCOVER_API:A(e)}}}),[e,t,o]))({locale:o.locale,projectType:o.projectType,isMobile:o.isMobile,siteType:o.siteType});return a.createElement(Ze.Provider,{value:Object.assign(Object.assign({},o),{configs:l,currentUrl:o.currentUrl||i})},t)},Qe=e.div`
|
|
476
475
|
position: fixed;
|
|
477
476
|
z-index: 201;
|
|
478
477
|
top: calc(100% + 1px); // border 1px
|
|
@@ -488,7 +487,7 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
488
487
|
.hhgcomp-navigation-popupwrapper-menuwrapper {
|
|
489
488
|
position: unset;
|
|
490
489
|
}
|
|
491
|
-
`;
|
|
490
|
+
`;e.div`
|
|
492
491
|
position: fixed;
|
|
493
492
|
bottom: 0;
|
|
494
493
|
left: 0;
|
|
@@ -511,7 +510,7 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
511
510
|
height: 48px;
|
|
512
511
|
}
|
|
513
512
|
}
|
|
514
|
-
`,
|
|
513
|
+
`,e.div`
|
|
515
514
|
display: flex;
|
|
516
515
|
|
|
517
516
|
&[data-card-array-no-margin-style='true'] {
|
|
@@ -532,11 +531,11 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
532
531
|
margin: 0 4px;
|
|
533
532
|
}
|
|
534
533
|
}
|
|
535
|
-
`,
|
|
534
|
+
`,e.div`
|
|
536
535
|
margin-top: 64px;
|
|
537
|
-
`,
|
|
536
|
+
`,e.div`
|
|
538
537
|
padding: 24px 0;
|
|
539
|
-
`,
|
|
538
|
+
`,e.div`
|
|
540
539
|
display: flex;
|
|
541
540
|
width: 100%;
|
|
542
541
|
align-items: center;
|
|
@@ -545,7 +544,7 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
545
544
|
& > div:first-child {
|
|
546
545
|
margin-right: 8px;
|
|
547
546
|
}
|
|
548
|
-
`,
|
|
547
|
+
`,e.div`
|
|
549
548
|
z-index: ${me};
|
|
550
549
|
align-items: center;
|
|
551
550
|
|
|
@@ -554,14 +553,14 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
554
553
|
box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),
|
|
555
554
|
0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),
|
|
556
555
|
0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
557
|
-
`,
|
|
556
|
+
`,e.div`
|
|
558
557
|
position: relative;
|
|
559
558
|
display: flex;
|
|
560
559
|
flex-wrap: wrap;
|
|
561
560
|
align-items: flex-start;
|
|
562
561
|
justify-content: flex-start;
|
|
563
562
|
padding: 48px 0;
|
|
564
|
-
`,
|
|
563
|
+
`,e.div`
|
|
565
564
|
position: relative;
|
|
566
565
|
display: flex;
|
|
567
566
|
flex-wrap: wrap;
|
|
@@ -570,15 +569,15 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
570
569
|
&[data-disabled-divider='false'] {
|
|
571
570
|
border-right: 1px solid #e4e8ec;
|
|
572
571
|
}
|
|
573
|
-
`,
|
|
572
|
+
`,e.div`
|
|
574
573
|
width: 20%;
|
|
575
574
|
padding-right: 16px;
|
|
576
575
|
margin-bottom: 12px;
|
|
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
|
|
|
@@ -598,9 +597,9 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
598
597
|
margin-right: 16px;
|
|
599
598
|
}
|
|
600
599
|
}
|
|
601
|
-
`,
|
|
600
|
+
`,e.div`
|
|
602
601
|
display: none;
|
|
603
|
-
`,
|
|
602
|
+
`,e.div`
|
|
604
603
|
width: 33%;
|
|
605
604
|
height: 48px;
|
|
606
605
|
padding-right: 16px;
|
|
@@ -610,8 +609,8 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
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 {
|
|
@@ -622,35 +621,35 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
622
621
|
& > a > p:hover {
|
|
623
622
|
color: ${e=>e.theme.colors.primaryBase};
|
|
624
623
|
}
|
|
625
|
-
`,
|
|
624
|
+
`,e.div`
|
|
626
625
|
display: flex;
|
|
627
626
|
align-items: center;
|
|
628
627
|
|
|
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
|
+
`,e.div`
|
|
640
639
|
display: flex;
|
|
641
640
|
align-items: center;
|
|
642
641
|
|
|
643
642
|
margin-left: 10px;
|
|
644
|
-
`,
|
|
643
|
+
`,e.div`
|
|
645
644
|
position: absolute;
|
|
646
645
|
top: 16px;
|
|
647
646
|
right: 0;
|
|
648
647
|
display: flex;
|
|
649
648
|
align-items: center;
|
|
650
649
|
cursor: pointer;
|
|
651
|
-
`,
|
|
650
|
+
`,e.div`
|
|
652
651
|
display: block;
|
|
653
|
-
`,
|
|
652
|
+
`,e.div`
|
|
654
653
|
.categories__spotlight {
|
|
655
654
|
display: grid;
|
|
656
655
|
margin: 16px;
|
|
@@ -669,7 +668,7 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
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 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
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 {
|
|
@@ -730,13 +728,13 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
730
728
|
}
|
|
731
729
|
}
|
|
732
730
|
}
|
|
733
|
-
`,
|
|
731
|
+
`,e.div`
|
|
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
|
-
`;const et=
|
|
737
|
+
`;const et=e.div`
|
|
740
738
|
padding: 16px;
|
|
741
739
|
padding-bottom: 12px;
|
|
742
740
|
.fake-search-input {
|
|
@@ -749,12 +747,12 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
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
|
}
|
|
756
754
|
}
|
|
757
|
-
`,tt=
|
|
755
|
+
`,tt=e.div`
|
|
758
756
|
display: block;
|
|
759
757
|
overflow-y: auto;
|
|
760
758
|
flex: 1;
|
|
@@ -763,15 +761,15 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
763
761
|
width: 0;
|
|
764
762
|
display: none;
|
|
765
763
|
}
|
|
766
|
-
`,
|
|
764
|
+
`,ot=p((()=>a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.97183 10.8732C3.97183 7.0617 7.0617 3.97183 10.8732 3.97183C14.6848 3.97183 17.7746 7.0617 17.7746 10.8732C17.7746 14.6848 14.6848 17.7746 10.8732 17.7746C7.0617 17.7746 3.97183 14.6848 3.97183 10.8732ZM10.8732 2C5.97268 2 2 5.97268 2 10.8732C2 15.7738 5.97268 19.7465 10.8732 19.7465C12.9683 19.7465 14.8938 19.0204 16.4118 17.8061L20.3169 21.7112C20.702 22.0963 21.3262 22.0963 21.7112 21.7112C22.0963 21.3262 22.0963 20.702 21.7112 20.3169L17.8061 16.4118C19.0204 14.8938 19.7465 12.9683 19.7465 10.8732C19.7465 5.97268 15.7738 2 10.8732 2Z",fill:"#8C8C8C"})))),it=e.div`
|
|
767
765
|
padding-right: 1rem;
|
|
768
766
|
margin-top: 10px;
|
|
769
767
|
background: #ffffff;
|
|
770
768
|
padding: 5px 15px;
|
|
771
|
-
${
|
|
769
|
+
${t.mbUp} {
|
|
772
770
|
border-right: 1px solid #e4e8ec;
|
|
773
771
|
}
|
|
774
|
-
`,at=
|
|
772
|
+
`,at=e.a`
|
|
775
773
|
padding: 10px 0;
|
|
776
774
|
position: relative;
|
|
777
775
|
|
|
@@ -790,10 +788,10 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
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,30 +811,30 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
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
|
}
|
|
820
818
|
}
|
|
821
819
|
}
|
|
822
|
-
`,rt=
|
|
820
|
+
`,rt=e.div`
|
|
823
821
|
margin: 15px 0;
|
|
824
|
-
${
|
|
822
|
+
${t.mbDown} {
|
|
825
823
|
display: none;
|
|
826
824
|
}
|
|
827
|
-
`,nt=
|
|
825
|
+
`,nt=e.div`
|
|
828
826
|
display: flex;
|
|
829
827
|
position: absolute;
|
|
830
828
|
right: 0;
|
|
831
|
-
${
|
|
829
|
+
${t.mbUp} {
|
|
832
830
|
display: none;
|
|
833
831
|
}
|
|
834
|
-
`,lt=
|
|
832
|
+
`,lt=e.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,19 +842,19 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
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
|
-
`,st=
|
|
847
|
+
`,st=e.div`
|
|
850
848
|
display: flex;
|
|
851
849
|
align-items: center;
|
|
852
850
|
margin-left: 10px;
|
|
853
|
-
`,pt=
|
|
851
|
+
`,pt=e.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,10 +864,10 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
866
864
|
padding: 6px;
|
|
867
865
|
border-radius: 5px;
|
|
868
866
|
margin-top: 20px;
|
|
869
|
-
${
|
|
867
|
+
${t.mbDown} {
|
|
870
868
|
display: none;
|
|
871
869
|
}
|
|
872
|
-
`;
|
|
870
|
+
`;e.div`
|
|
873
871
|
& > a:not(:last-child) > div {
|
|
874
872
|
border-bottom: 1px solid ${e=>e.theme.colors.neutral100};
|
|
875
873
|
}
|
|
@@ -881,16 +879,16 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
881
879
|
&[data-is-displayed='false'] {
|
|
882
880
|
display: none;
|
|
883
881
|
}
|
|
884
|
-
`;const dt=
|
|
882
|
+
`;const dt=e.div`
|
|
885
883
|
display: grid;
|
|
886
884
|
|
|
887
885
|
grid-template-columns: repeat(3, 1fr);
|
|
888
886
|
gap: 24px;
|
|
889
887
|
|
|
890
|
-
${
|
|
888
|
+
${t.tdDown} {
|
|
891
889
|
grid-template-columns: repeat(1, 1fr);
|
|
892
890
|
}
|
|
893
|
-
`,ct=
|
|
891
|
+
`,ct=e.div`
|
|
894
892
|
height: 152px; // 120 + 16 * 2
|
|
895
893
|
position: absolute;
|
|
896
894
|
top: 0;
|
|
@@ -911,22 +909,22 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
911
909
|
display: block;
|
|
912
910
|
object-fit: contain;
|
|
913
911
|
}
|
|
914
|
-
${
|
|
912
|
+
${t.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.mbDown} {
|
|
922
920
|
width: 80px;
|
|
923
921
|
}
|
|
924
|
-
`,mt=
|
|
922
|
+
`,mt=e.div`
|
|
925
923
|
background-color: #ffffff;
|
|
926
924
|
border-radius: 4px;
|
|
927
925
|
width: 100%;
|
|
928
926
|
height: 100%;
|
|
929
|
-
`,
|
|
927
|
+
`,ht=e.div`
|
|
930
928
|
display: flex;
|
|
931
929
|
margin-top: 1rem;
|
|
932
930
|
align-items: center;
|
|
@@ -934,18 +932,18 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
934
932
|
font-weight: 400;
|
|
935
933
|
font-size: 14px;
|
|
936
934
|
text-decoration: none;
|
|
937
|
-
${
|
|
935
|
+
${t.tdDown} {
|
|
938
936
|
display: none;
|
|
939
937
|
}
|
|
940
|
-
`,
|
|
938
|
+
`,gt=e.p`
|
|
941
939
|
font-size: 16px;
|
|
942
940
|
font-weight: 600;
|
|
943
941
|
line-height: 1.6;
|
|
944
942
|
color: ${e=>e.theme.colors.gray800};
|
|
945
|
-
${
|
|
943
|
+
${t.tdDown} {
|
|
946
944
|
padding: 0;
|
|
947
945
|
}
|
|
948
|
-
`,ut=
|
|
946
|
+
`,ut=e.p`
|
|
949
947
|
font-size: 14px;
|
|
950
948
|
line-height: 1.6;
|
|
951
949
|
font-weight: 400;
|
|
@@ -957,23 +955,23 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
957
955
|
-webkit-line-clamp: 2;
|
|
958
956
|
-webkit-box-orient: vertical;
|
|
959
957
|
margin-bottom: auto;
|
|
960
|
-
${
|
|
958
|
+
${t.tdDown} {
|
|
961
959
|
height: unset;
|
|
962
960
|
padding: 0;
|
|
963
961
|
}
|
|
964
|
-
`,bt="hhgcomp-navigation-menucareitem-contentwrapper",xt=
|
|
962
|
+
`,bt="hhgcomp-navigation-menucareitem-contentwrapper",xt=i(e.div`
|
|
965
963
|
display: flex;
|
|
966
964
|
flex-direction: column;
|
|
967
965
|
gap: 8px;
|
|
968
966
|
flex: 1;
|
|
969
967
|
z-index: 1;
|
|
970
|
-
${
|
|
968
|
+
${t.tdDown} {
|
|
971
969
|
gap: 4px;
|
|
972
970
|
}
|
|
973
|
-
`,bt),ft=
|
|
971
|
+
`,bt),ft=e.a`
|
|
974
972
|
text-decoration: none;
|
|
975
973
|
border-radius: 4px;
|
|
976
|
-
background: ${
|
|
974
|
+
background: ${o.colors.white};
|
|
977
975
|
position: relative;
|
|
978
976
|
overflow: hidden;
|
|
979
977
|
padding: 16px;
|
|
@@ -982,8 +980,9 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
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.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 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
991
990
|
width: 100%;
|
|
992
991
|
}
|
|
993
992
|
}
|
|
994
|
-
${
|
|
993
|
+
${t.tdDown} {
|
|
995
994
|
padding-top: 16px;
|
|
996
995
|
a {
|
|
997
996
|
display: none;
|
|
@@ -1009,8 +1008,9 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
1009
1008
|
width: 150px;
|
|
1010
1009
|
}
|
|
1011
1010
|
}
|
|
1012
|
-
${
|
|
1013
|
-
box-shadow: 0px 10px 16px rgba(0, 0, 0, 0.04),
|
|
1011
|
+
${t.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 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
1018
1018
|
height: 80px;
|
|
1019
1019
|
}
|
|
1020
1020
|
}
|
|
1021
|
-
${
|
|
1022
|
-
border: 1px solid ${
|
|
1021
|
+
${t.tdOnly} {
|
|
1022
|
+
border: 1px solid ${o.colors.neutral100};
|
|
1023
1023
|
}
|
|
1024
1024
|
.bg-svg {
|
|
1025
1025
|
width: 100%;
|
|
@@ -1030,7 +1030,7 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
1030
1030
|
position: absolute;
|
|
1031
1031
|
display: inline-block;
|
|
1032
1032
|
}
|
|
1033
|
-
`,yt=
|
|
1033
|
+
`,yt=e.div`
|
|
1034
1034
|
padding: 16px;
|
|
1035
1035
|
border-radius: 8px;
|
|
1036
1036
|
position: relative;
|
|
@@ -1047,7 +1047,7 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
1047
1047
|
left: 0;
|
|
1048
1048
|
z-index: -1;
|
|
1049
1049
|
}
|
|
1050
|
-
${
|
|
1050
|
+
${t.mbDown} {
|
|
1051
1051
|
display: block;
|
|
1052
1052
|
.bg-svg {
|
|
1053
1053
|
right: -24px;
|
|
@@ -1057,45 +1057,45 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
1057
1057
|
}
|
|
1058
1058
|
}
|
|
1059
1059
|
|
|
1060
|
-
${
|
|
1060
|
+
${t.mbUp} {
|
|
1061
1061
|
display: grid;
|
|
1062
1062
|
grid-gap: 10px;
|
|
1063
1063
|
grid-template-columns: 1fr 3fr;
|
|
1064
1064
|
}
|
|
1065
|
-
`,vt=
|
|
1065
|
+
`,vt=e.div`
|
|
1066
1066
|
font-weight: 400;
|
|
1067
1067
|
font-size: 14px;
|
|
1068
1068
|
line-height: 24px;
|
|
1069
1069
|
color: ${e=>e.theme.colors.gray600};
|
|
1070
1070
|
margin-bottom: 15px;
|
|
1071
|
-
`,_t=
|
|
1071
|
+
`,_t=e.div`
|
|
1072
1072
|
font-weight: 600;
|
|
1073
1073
|
font-size: 16px;
|
|
1074
1074
|
line-height: 26px;
|
|
1075
1075
|
color: #000000;
|
|
1076
1076
|
margin-bottom: 4px;
|
|
1077
|
-
`,wt=
|
|
1077
|
+
`,wt=e.div`
|
|
1078
1078
|
background: #fff;
|
|
1079
1079
|
padding: 5px;
|
|
1080
1080
|
display: flex;
|
|
1081
1081
|
align-items: center;
|
|
1082
1082
|
justify-content: center;
|
|
1083
1083
|
border-radius: 50px;
|
|
1084
|
-
`,Et=
|
|
1084
|
+
`,Et=e.div`
|
|
1085
1085
|
display: flex;
|
|
1086
1086
|
justify-content: center;
|
|
1087
1087
|
align-items: center;
|
|
1088
1088
|
position: relative;
|
|
1089
|
-
${
|
|
1089
|
+
${t.mbDown} {
|
|
1090
1090
|
justify-content: end;
|
|
1091
1091
|
min-height: 100px;
|
|
1092
1092
|
}
|
|
1093
|
-
`,Tt=
|
|
1093
|
+
`,Tt=e.div`
|
|
1094
1094
|
margin-top: 10px;
|
|
1095
1095
|
background: #ffffff;
|
|
1096
1096
|
padding: 5px 15px;
|
|
1097
1097
|
position: relative;
|
|
1098
|
-
${
|
|
1098
|
+
${t.mbDown} {
|
|
1099
1099
|
&:after {
|
|
1100
1100
|
position: absolute;
|
|
1101
1101
|
top: 0;
|
|
@@ -1106,10 +1106,10 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
1106
1106
|
content: '';
|
|
1107
1107
|
}
|
|
1108
1108
|
}
|
|
1109
|
-
`,Ot=
|
|
1109
|
+
`,Ot=e.div`
|
|
1110
1110
|
margin: 15px 0;
|
|
1111
1111
|
display: flex;
|
|
1112
|
-
`,At=
|
|
1112
|
+
`,At=e.a`
|
|
1113
1113
|
padding-left: 10px;
|
|
1114
1114
|
display: flex;
|
|
1115
1115
|
align-items: center;
|
|
@@ -1118,15 +1118,15 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
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.mbDown} {
|
|
1127
1127
|
margin-left: auto;
|
|
1128
1128
|
}
|
|
1129
|
-
`;
|
|
1129
|
+
`;e.div`
|
|
1130
1130
|
&[data-category-list-type='sub'] {
|
|
1131
1131
|
padding-bottom: 72px;
|
|
1132
1132
|
}
|
|
@@ -1134,21 +1134,21 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
1134
1134
|
&[data-is-displayed='false'] {
|
|
1135
1135
|
display: none;
|
|
1136
1136
|
}
|
|
1137
|
-
`,
|
|
1137
|
+
`,e.div`
|
|
1138
1138
|
& > div {
|
|
1139
1139
|
width: 100%;
|
|
1140
1140
|
margin-bottom: 8px;
|
|
1141
1141
|
}
|
|
1142
|
-
`;const It=
|
|
1142
|
+
`;const It=e.div`
|
|
1143
1143
|
display: grid;
|
|
1144
1144
|
|
|
1145
1145
|
grid-template-columns: repeat(4, 1fr);
|
|
1146
1146
|
gap: 24px;
|
|
1147
|
-
${
|
|
1147
|
+
${t.tdDown} {
|
|
1148
1148
|
gap: 12px;
|
|
1149
1149
|
grid-template-columns: 1fr;
|
|
1150
1150
|
}
|
|
1151
|
-
`,Lt=
|
|
1151
|
+
`,Lt=e.a`
|
|
1152
1152
|
width: 100%;
|
|
1153
1153
|
display: flex;
|
|
1154
1154
|
align-items: center;
|
|
@@ -1156,7 +1156,7 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
1156
1156
|
* {
|
|
1157
1157
|
pointer-events: none;
|
|
1158
1158
|
}
|
|
1159
|
-
`,$t=
|
|
1159
|
+
`,$t=e.div`
|
|
1160
1160
|
border-radius: 5px;
|
|
1161
1161
|
display: block;
|
|
1162
1162
|
overflow: hidden;
|
|
@@ -1173,21 +1173,21 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
1173
1173
|
top: 0;
|
|
1174
1174
|
left: 0;
|
|
1175
1175
|
}
|
|
1176
|
-
${
|
|
1176
|
+
${t.tdDown} {
|
|
1177
1177
|
width: 72px;
|
|
1178
1178
|
padding-top: 100px;
|
|
1179
1179
|
}
|
|
1180
|
-
`,St=
|
|
1180
|
+
`,St=e.p`
|
|
1181
1181
|
font-size: 16px;
|
|
1182
1182
|
font-weight: 400;
|
|
1183
1183
|
padding: 4px 15px;
|
|
1184
1184
|
line-height: 1.4;
|
|
1185
1185
|
color: ${e=>e.theme.colors.gray800};
|
|
1186
1186
|
flex: 1;
|
|
1187
|
-
${
|
|
1187
|
+
${t.tdUp} {
|
|
1188
1188
|
display: none;
|
|
1189
1189
|
}
|
|
1190
|
-
`;
|
|
1190
|
+
`;e.div`
|
|
1191
1191
|
& > :not(:last-child) {
|
|
1192
1192
|
border-bottom: 1px solid ${e=>e.theme.colors.neutral100};
|
|
1193
1193
|
}
|
|
@@ -1203,23 +1203,23 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
1203
1203
|
&[data-is-displayed='false'] {
|
|
1204
1204
|
display: none;
|
|
1205
1205
|
}
|
|
1206
|
-
`,
|
|
1206
|
+
`,e.div`
|
|
1207
1207
|
& > div {
|
|
1208
1208
|
width: 100%;
|
|
1209
1209
|
margin-bottom: 8px;
|
|
1210
1210
|
}
|
|
1211
|
-
`;const kt=
|
|
1211
|
+
`;const kt=e.div`
|
|
1212
1212
|
display: grid;
|
|
1213
1213
|
grid-template-columns: repeat(2, 1fr);
|
|
1214
1214
|
grid-gap: 48px;
|
|
1215
|
-
${
|
|
1215
|
+
${t.tdDown} {
|
|
1216
1216
|
grid-template-columns: 1fr;
|
|
1217
1217
|
grid-gap: 32px;
|
|
1218
1218
|
}
|
|
1219
|
-
${
|
|
1219
|
+
${t.mbDown} {
|
|
1220
1220
|
grid-gap: 24px;
|
|
1221
1221
|
}
|
|
1222
|
-
`,Rt=
|
|
1222
|
+
`,Rt=e.div`
|
|
1223
1223
|
width: ${e=>e.size||40}px;
|
|
1224
1224
|
height: ${e=>e.size||40}px;
|
|
1225
1225
|
flex-shrink: 0;
|
|
@@ -1239,7 +1239,7 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
1239
1239
|
display: flex;
|
|
1240
1240
|
align-items: center;
|
|
1241
1241
|
justify-content: center;
|
|
1242
|
-
background-color: ${
|
|
1242
|
+
background-color: ${o.colors.secondaryBase};
|
|
1243
1243
|
border-radius: 50%;
|
|
1244
1244
|
color: white;
|
|
1245
1245
|
font-size: 1em;
|
|
@@ -1249,18 +1249,18 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
1249
1249
|
|
|
1250
1250
|
&[data-is-marrybaby='true'] {
|
|
1251
1251
|
.avatar-default {
|
|
1252
|
-
background-color: ${
|
|
1252
|
+
background-color: ${o.mbColors.pink};
|
|
1253
1253
|
}
|
|
1254
1254
|
}
|
|
1255
|
-
`,Dt=e=>{var{className:t,isMarryBaby:
|
|
1255
|
+
`,Dt=e=>{var{className:t,isMarryBaby:o,style:i,avatar:r,username:n,size:p}=e,c=g(e,["className","isMarryBaby","style","avatar","username","size"]);const{data:{env:{isMarryBaby:m}}}=d(Le),h="boolean"==typeof o?o:m,[u,b]=l(!1);return s((()=>{const e=new Image;e.onerror=()=>{b(!0)},e.src=r}),[]),a.createElement(Rt,Object.assign({"data-is-marrybaby":h,className:t,style:i,size:p},c),r&&!u?a.createElement("img",{loading:"lazy",src:r,className:"avatar",alt:"avatar",onError:()=>{b(!0)}}):a.createElement("div",{className:"avatar avatar-default"},n&&(null==n?void 0:n.length)>0?n[0].toUpperCase():"A"))},Pt=e.div`
|
|
1256
1256
|
padding: 5px;
|
|
1257
1257
|
flex: 1;
|
|
1258
|
-
`,Ct=
|
|
1258
|
+
`,Ct=e.img`
|
|
1259
1259
|
width: 88px;
|
|
1260
1260
|
height: 88px;
|
|
1261
1261
|
border-radius: 4px;
|
|
1262
1262
|
object-fit: cover;
|
|
1263
|
-
`,Nt=
|
|
1263
|
+
`,Nt=e.div`
|
|
1264
1264
|
font-size: 12px;
|
|
1265
1265
|
font-weight: 600;
|
|
1266
1266
|
color: ${e=>e.theme.colors.gray800};
|
|
@@ -1269,7 +1269,7 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
1269
1269
|
font-weight: 400;
|
|
1270
1270
|
letter-spacing: -0.2px;
|
|
1271
1271
|
}
|
|
1272
|
-
`,Bt=
|
|
1272
|
+
`,Bt=e.div`
|
|
1273
1273
|
text-decoration: none;
|
|
1274
1274
|
font-size: 12px;
|
|
1275
1275
|
font-weight: 400;
|
|
@@ -1278,15 +1278,15 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
1278
1278
|
font-weight: 400;
|
|
1279
1279
|
letter-spacing: -0.2px;
|
|
1280
1280
|
}
|
|
1281
|
-
`,Ut=
|
|
1281
|
+
`,Ut=e.div`
|
|
1282
1282
|
font-size: 12px;
|
|
1283
1283
|
font-weight: 400;
|
|
1284
1284
|
color: ${e=>e.theme.colors.gray600};
|
|
1285
|
-
`,Gt=
|
|
1285
|
+
`,Gt=e.div`
|
|
1286
1286
|
font-size: 12px;
|
|
1287
1287
|
font-weight: 400;
|
|
1288
1288
|
color: ${e=>e.theme.colors.gray600};
|
|
1289
|
-
`,Mt=
|
|
1289
|
+
`,Mt=e.a`
|
|
1290
1290
|
display: flex;
|
|
1291
1291
|
gap: 10px;
|
|
1292
1292
|
text-decoration: none;
|
|
@@ -1299,10 +1299,10 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
1299
1299
|
border-top: 1px dashed ${e=>e.theme.colors.neutral100};
|
|
1300
1300
|
position: absolute;
|
|
1301
1301
|
bottom: -24px;
|
|
1302
|
-
${
|
|
1302
|
+
${t.tdOnly} {
|
|
1303
1303
|
bottom: -16px;
|
|
1304
1304
|
}
|
|
1305
|
-
${
|
|
1305
|
+
${t.mbDown} {
|
|
1306
1306
|
bottom: -12px;
|
|
1307
1307
|
}
|
|
1308
1308
|
}
|
|
@@ -1311,19 +1311,19 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
1311
1311
|
display: none;
|
|
1312
1312
|
}
|
|
1313
1313
|
}
|
|
1314
|
-
${
|
|
1314
|
+
${t.tdUp} {
|
|
1315
1315
|
&:nth-last-child(2) {
|
|
1316
1316
|
&::after {
|
|
1317
1317
|
display: none;
|
|
1318
1318
|
}
|
|
1319
1319
|
}
|
|
1320
1320
|
}
|
|
1321
|
-
`,Ht=
|
|
1321
|
+
`,Ht=e.div`
|
|
1322
1322
|
display: flex;
|
|
1323
1323
|
gap: 10px;
|
|
1324
1324
|
vertical-align: middle;
|
|
1325
1325
|
align-items: center;
|
|
1326
|
-
`,zt=
|
|
1326
|
+
`,zt=e.div`
|
|
1327
1327
|
margin-top: 8px;
|
|
1328
1328
|
font-size: 16px;
|
|
1329
1329
|
font-weight: 600;
|
|
@@ -1335,29 +1335,29 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
1335
1335
|
line-height: 24px;
|
|
1336
1336
|
letter-spacing: -0.2px;
|
|
1337
1337
|
}
|
|
1338
|
-
`,jt=
|
|
1338
|
+
`,jt=e.div`
|
|
1339
1339
|
display: flex;
|
|
1340
1340
|
flex-wrap: wrap;
|
|
1341
1341
|
align-items: center;
|
|
1342
1342
|
column-gap: 5px;
|
|
1343
|
-
`,Ft=
|
|
1343
|
+
`,Ft=e.div`
|
|
1344
1344
|
display: flex;
|
|
1345
1345
|
gap: 4px;
|
|
1346
1346
|
flex-direction: column;
|
|
1347
|
-
`;I.extend(L);const Vt=({post:e,index:t=0})=>{var i,
|
|
1347
|
+
`;I.extend(L);const Vt=({post:e,index:t=0})=>{var o,i,r,n,l,s,p;const{siteType:c,configs:{statics:m}}=d(Ze);if(!e)return null;const h=[m.TOGETHER_URL_FE,null===(o=e.community)||void 0===o?void 0:o.slug].join("/"),g=[h,e.slug].join("/"),u=e.createdAt,b=u?isNaN(new Date(u).getTime())?null:new Date(u):null,x=b?I(b).toNow(!0):u;return a.createElement(Mt,{href:g,"data-event-category":"Hamburger Navigation","data-event-action":`Together Click ${t+1}`,"data-event-label":g},a.createElement(Pt,null,a.createElement(Ht,null,a.createElement(Dt,{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===(n=e.author)||void 0===n?void 0:n.username)}),a.createElement(Ft,null,a.createElement(Nt,{"data-theme":c},null===(l=e.author)||void 0===l?void 0:l.name),a.createElement(jt,null,a.createElement(Bt,{"data-event-category":"Hamburger Navigation","data-event-action":`Topic Click ${t+1}`,"data-event-label":h,onClick:e=>{e.preventDefault(),location.href=h},"data-theme":c},null===(s=e.community)||void 0===s?void 0:s.name),a.createElement(Gt,null,"•"),a.createElement(Ut,{"data-theme":c},x)))),a.createElement(zt,null,e.title)),!!(null===(p=e.photos)||void 0===p?void 0:p.length)&&a.createElement(Ct,{loading:"lazy",src:e.photos[0]}))};e.div`
|
|
1348
1348
|
&[data-is-display='false'] {
|
|
1349
1349
|
display: none;
|
|
1350
1350
|
}
|
|
1351
|
-
`;const Yt=
|
|
1351
|
+
`;const Yt=e.div`
|
|
1352
1352
|
display: grid;
|
|
1353
1353
|
|
|
1354
1354
|
grid-template-columns: repeat(3, 1fr);
|
|
1355
1355
|
gap: 24px;
|
|
1356
|
-
${
|
|
1356
|
+
${t.tdDown} {
|
|
1357
1357
|
grid-template-columns: 1fr;
|
|
1358
1358
|
gap: 12px;
|
|
1359
1359
|
}
|
|
1360
|
-
`,Kt=
|
|
1360
|
+
`,Kt=e.a`
|
|
1361
1361
|
text-decoration: none;
|
|
1362
1362
|
border-radius: 4px;
|
|
1363
1363
|
background: ${e=>e.theme.colors.primary50};
|
|
@@ -1373,7 +1373,7 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
1373
1373
|
right: 0;
|
|
1374
1374
|
height: 100%;
|
|
1375
1375
|
position: absolute;
|
|
1376
|
-
${
|
|
1376
|
+
${t.tdDown} {
|
|
1377
1377
|
top: calc(51% - 68px);
|
|
1378
1378
|
right: -8px;
|
|
1379
1379
|
}
|
|
@@ -1383,12 +1383,12 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
1383
1383
|
display: flex;
|
|
1384
1384
|
width: 100%;
|
|
1385
1385
|
}
|
|
1386
|
-
${
|
|
1386
|
+
${t.tdDown} {
|
|
1387
1387
|
padding-top: 16px;
|
|
1388
1388
|
display: flex;
|
|
1389
1389
|
align-items: center;
|
|
1390
1390
|
}
|
|
1391
|
-
`,Wt=
|
|
1391
|
+
`,Wt=e.div`
|
|
1392
1392
|
width: 64px;
|
|
1393
1393
|
height: 64px;
|
|
1394
1394
|
background: white;
|
|
@@ -1406,24 +1406,24 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
1406
1406
|
display: block;
|
|
1407
1407
|
transform: translate(-50%, -50%);
|
|
1408
1408
|
}
|
|
1409
|
-
${
|
|
1409
|
+
${t.tdDown} {
|
|
1410
1410
|
position: relative;
|
|
1411
1411
|
top: unset;
|
|
1412
1412
|
right: unset;
|
|
1413
1413
|
}
|
|
1414
|
-
`,Xt=
|
|
1414
|
+
`,Xt=e.div`
|
|
1415
1415
|
display: flex;
|
|
1416
1416
|
align-items: center;
|
|
1417
1417
|
color: ${e=>e.theme.colors.primaryBase};
|
|
1418
1418
|
font-weight: 400;
|
|
1419
1419
|
font-size: 14px;
|
|
1420
1420
|
text-decoration: none;
|
|
1421
|
-
`,qt=
|
|
1421
|
+
`,qt=e.p`
|
|
1422
1422
|
font-size: 16px;
|
|
1423
1423
|
font-weight: 600;
|
|
1424
1424
|
line-height: 1.4;
|
|
1425
1425
|
color: ${e=>e.theme.colors.gray800};
|
|
1426
|
-
`,Zt=
|
|
1426
|
+
`,Zt=e.p`
|
|
1427
1427
|
font-size: 14px;
|
|
1428
1428
|
line-height: 1.4;
|
|
1429
1429
|
font-weight: 400;
|
|
@@ -1435,22 +1435,22 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
1435
1435
|
-webkit-line-clamp: 2;
|
|
1436
1436
|
-webkit-box-orient: vertical;
|
|
1437
1437
|
margin-bottom: auto;
|
|
1438
|
-
${
|
|
1438
|
+
${t.tdDown} {
|
|
1439
1439
|
display: none;
|
|
1440
1440
|
}
|
|
1441
|
-
`,Jt=
|
|
1441
|
+
`,Jt=e.div`
|
|
1442
1442
|
display: flex;
|
|
1443
1443
|
flex-direction: column;
|
|
1444
1444
|
flex: 1;
|
|
1445
1445
|
z-index: 1;
|
|
1446
|
-
${
|
|
1446
|
+
${t.tdUp} {
|
|
1447
1447
|
gap: 8px;
|
|
1448
1448
|
}
|
|
1449
|
-
${
|
|
1449
|
+
${t.tdDown} {
|
|
1450
1450
|
gap: 4px;
|
|
1451
1451
|
flex: 1;
|
|
1452
1452
|
}
|
|
1453
|
-
`,Qt=
|
|
1453
|
+
`,Qt=e.a`
|
|
1454
1454
|
text-decoration: none;
|
|
1455
1455
|
border-radius: 12px;
|
|
1456
1456
|
|
|
@@ -1476,21 +1476,21 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
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 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
1499
1499
|
display: flex;
|
|
1500
1500
|
width: 100%;
|
|
1501
1501
|
}
|
|
1502
|
-
${
|
|
1502
|
+
${t.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.mbDown} {
|
|
1509
1509
|
padding-top: 0;
|
|
1510
1510
|
padding-left: 80px;
|
|
1511
1511
|
height: 96px;
|
|
@@ -1517,20 +1517,20 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
1517
1517
|
left: 16px;
|
|
1518
1518
|
}
|
|
1519
1519
|
}
|
|
1520
|
-
${
|
|
1520
|
+
${t.tdUp} {
|
|
1521
1521
|
min-height: 296px;
|
|
1522
1522
|
}
|
|
1523
1523
|
.mobile-only {
|
|
1524
|
-
${
|
|
1524
|
+
${t.tdUp} {
|
|
1525
1525
|
display: none;
|
|
1526
1526
|
}
|
|
1527
1527
|
}
|
|
1528
1528
|
.desktop-only {
|
|
1529
|
-
${
|
|
1529
|
+
${t.tdDown} {
|
|
1530
1530
|
display: none;
|
|
1531
1531
|
}
|
|
1532
1532
|
}
|
|
1533
|
-
`,
|
|
1533
|
+
`,eo=e.div`
|
|
1534
1534
|
width: 48px;
|
|
1535
1535
|
height: 48px;
|
|
1536
1536
|
background: white;
|
|
@@ -1548,17 +1548,17 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
1548
1548
|
display: block;
|
|
1549
1549
|
transform: translate(-50%, -50%);
|
|
1550
1550
|
}
|
|
1551
|
-
${
|
|
1551
|
+
${t.tdDown} {
|
|
1552
1552
|
position: relative;
|
|
1553
1553
|
top: unset;
|
|
1554
1554
|
right: unset;
|
|
1555
1555
|
}
|
|
1556
|
-
${
|
|
1556
|
+
${t.mbDown} {
|
|
1557
1557
|
position: absolute;
|
|
1558
1558
|
left: 32px;
|
|
1559
1559
|
top: 28px;
|
|
1560
1560
|
}
|
|
1561
|
-
`,
|
|
1561
|
+
`,to=e.div`
|
|
1562
1562
|
display: flex;
|
|
1563
1563
|
align-items: center;
|
|
1564
1564
|
background: white;
|
|
@@ -1570,25 +1570,25 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
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.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
|
+
`,oo=e.p`
|
|
1586
1586
|
font-weight: 600;
|
|
1587
1587
|
font-size: 14px;
|
|
1588
1588
|
line-height: 24px;
|
|
1589
1589
|
letter-spacing: -0.2px;
|
|
1590
1590
|
color: ${e=>e.theme.colors.gray800};
|
|
1591
|
-
`,
|
|
1591
|
+
`,io=e.p`
|
|
1592
1592
|
font-weight: 400;
|
|
1593
1593
|
font-size: 12px;
|
|
1594
1594
|
line-height: 18px;
|
|
@@ -1601,54 +1601,54 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
1601
1601
|
-webkit-line-clamp: 3;
|
|
1602
1602
|
-webkit-box-orient: vertical;
|
|
1603
1603
|
margin-bottom: auto;
|
|
1604
|
-
${
|
|
1604
|
+
${t.tdDown} {
|
|
1605
1605
|
display: none;
|
|
1606
1606
|
}
|
|
1607
|
-
`,
|
|
1607
|
+
`,ao=e.div`
|
|
1608
1608
|
display: flex;
|
|
1609
1609
|
flex: 1;
|
|
1610
1610
|
z-index: 1;
|
|
1611
1611
|
align-items: flex-end;
|
|
1612
1612
|
justify-content: flex-end;
|
|
1613
|
-
${
|
|
1613
|
+
${t.tdUp} {
|
|
1614
1614
|
gap: 8px;
|
|
1615
1615
|
flex-direction: row;
|
|
1616
1616
|
}
|
|
1617
1617
|
|
|
1618
|
-
${
|
|
1618
|
+
${t.tdDown} {
|
|
1619
1619
|
align-items: flex-start;
|
|
1620
1620
|
justify-content: flex-start;
|
|
1621
1621
|
gap: 4px;
|
|
1622
1622
|
}
|
|
1623
|
-
`,
|
|
1623
|
+
`,ro=e.div`
|
|
1624
1624
|
display: flex;
|
|
1625
1625
|
flex-direction: column;
|
|
1626
1626
|
flex: 1;
|
|
1627
1627
|
z-index: 1;
|
|
1628
|
-
${
|
|
1628
|
+
${t.tdUp} {
|
|
1629
1629
|
gap: 8px;
|
|
1630
1630
|
}
|
|
1631
|
-
${
|
|
1631
|
+
${t.tdDown} {
|
|
1632
1632
|
gap: 4px;
|
|
1633
1633
|
flex: 1;
|
|
1634
1634
|
padding-left: 16px;
|
|
1635
1635
|
}
|
|
1636
|
-
`,
|
|
1636
|
+
`,no=e.div`
|
|
1637
1637
|
display: flex;
|
|
1638
1638
|
flex-direction: row;
|
|
1639
1639
|
flex: 1;
|
|
1640
1640
|
z-index: 1;
|
|
1641
|
-
${
|
|
1641
|
+
${t.tdUp} {
|
|
1642
1642
|
gap: 8px;
|
|
1643
1643
|
justify-content: flex-end;
|
|
1644
1644
|
align-items: flex-end;
|
|
1645
1645
|
}
|
|
1646
|
-
${
|
|
1646
|
+
${t.tdDown} {
|
|
1647
1647
|
flex-direction: column;
|
|
1648
1648
|
justify-content: flex-start;
|
|
1649
1649
|
align-items: flex-start;
|
|
1650
1650
|
}
|
|
1651
|
-
`,
|
|
1651
|
+
`,lo=e.div`
|
|
1652
1652
|
z-index: 201;
|
|
1653
1653
|
width: 100%;
|
|
1654
1654
|
align-items: center;
|
|
@@ -1658,20 +1658,19 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
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.mbUp} {
|
|
1670
1669
|
&[data-sitewide-banner-shown='true'][data-collapsed='true'] {
|
|
1671
1670
|
transform: translateY(-64px);
|
|
1672
1671
|
}
|
|
1673
1672
|
}
|
|
1674
|
-
${
|
|
1673
|
+
${t.mbDown} {
|
|
1675
1674
|
&[data-site-type='marryBaby'] {
|
|
1676
1675
|
border-bottom: none;
|
|
1677
1676
|
}
|
|
@@ -1720,7 +1719,7 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
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
|
}
|
|
@@ -1732,7 +1731,7 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
1732
1731
|
right: 16px;
|
|
1733
1732
|
}
|
|
1734
1733
|
}
|
|
1735
|
-
`,
|
|
1734
|
+
`,so=e.div`
|
|
1736
1735
|
display: flex;
|
|
1737
1736
|
height: 100%;
|
|
1738
1737
|
align-items: center;
|
|
@@ -1740,11 +1739,11 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
1740
1739
|
justify-content: space-between;
|
|
1741
1740
|
padding: 0 2rem;
|
|
1742
1741
|
height: 69px;
|
|
1743
|
-
${
|
|
1742
|
+
${t.pcDown} {
|
|
1744
1743
|
padding: 0 1rem;
|
|
1745
1744
|
}
|
|
1746
1745
|
|
|
1747
|
-
${
|
|
1746
|
+
${t.mbDown} {
|
|
1748
1747
|
position: relative;
|
|
1749
1748
|
height: 64px;
|
|
1750
1749
|
background: white;
|
|
@@ -1755,35 +1754,35 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
1755
1754
|
width: 100%;
|
|
1756
1755
|
margin: 0 auto;
|
|
1757
1756
|
padding: 0 16px;
|
|
1758
|
-
${
|
|
1757
|
+
${t.tdUp} {
|
|
1759
1758
|
max-width: 1064px;
|
|
1760
1759
|
}
|
|
1761
1760
|
}
|
|
1762
|
-
`,
|
|
1761
|
+
`,po=e.div`
|
|
1763
1762
|
display: flex;
|
|
1764
1763
|
align-items: center;
|
|
1765
1764
|
height: 100%;
|
|
1766
1765
|
gap: 24px;
|
|
1767
|
-
${
|
|
1766
|
+
${t.pcDown} {
|
|
1768
1767
|
gap: 16px;
|
|
1769
1768
|
}
|
|
1770
1769
|
&[data-site-type='marryBaby'] {
|
|
1771
1770
|
gap: 26px;
|
|
1772
1771
|
}
|
|
1773
|
-
`,
|
|
1772
|
+
`,co=e.div``,mo=e.div`
|
|
1774
1773
|
display: flex;
|
|
1775
1774
|
align-items: center;
|
|
1776
1775
|
height: 100%;
|
|
1777
1776
|
flex-shrink: 0.6;
|
|
1778
1777
|
.hhgcomp-navigation-itemnav-headeritem {
|
|
1779
1778
|
gap: 2px;
|
|
1780
|
-
${
|
|
1779
|
+
${t.pcUp} {
|
|
1781
1780
|
padding: 0 12px;
|
|
1782
1781
|
}
|
|
1783
|
-
${
|
|
1782
|
+
${t.pcDown} {
|
|
1784
1783
|
padding: 0 6px;
|
|
1785
1784
|
}
|
|
1786
|
-
${
|
|
1785
|
+
${t.mbDown} {
|
|
1787
1786
|
display: none;
|
|
1788
1787
|
}
|
|
1789
1788
|
a {
|
|
@@ -1793,7 +1792,7 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
1793
1792
|
&[data-site-type='marryBaby'] {
|
|
1794
1793
|
gap: 26px;
|
|
1795
1794
|
}
|
|
1796
|
-
`;
|
|
1795
|
+
`;e.div`
|
|
1797
1796
|
.fake-search-input {
|
|
1798
1797
|
pointer-events: none;
|
|
1799
1798
|
input {
|
|
@@ -1802,33 +1801,33 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
1802
1801
|
padding-bottom: 10px;
|
|
1803
1802
|
}
|
|
1804
1803
|
}
|
|
1805
|
-
`;const
|
|
1804
|
+
`;const ho=e.div`
|
|
1806
1805
|
margin-left: 16px;
|
|
1807
1806
|
display: flex;
|
|
1808
1807
|
gap: 12px;
|
|
1809
1808
|
align-items: center;
|
|
1810
1809
|
flex-shrink: 0;
|
|
1811
|
-
${
|
|
1810
|
+
${t.pcDown} {
|
|
1812
1811
|
margin-left: 8px;
|
|
1813
1812
|
gap: 8px;
|
|
1814
1813
|
}
|
|
1815
|
-
${
|
|
1814
|
+
${t.mbDown} {
|
|
1816
1815
|
margin-left: 12px;
|
|
1817
1816
|
gap: 10px;
|
|
1818
1817
|
}
|
|
1819
|
-
`,
|
|
1818
|
+
`,go=e.div`
|
|
1820
1819
|
display: flex;
|
|
1821
1820
|
align-items: center;
|
|
1822
1821
|
height: 100%;
|
|
1823
1822
|
&[data-site-type='marryBaby'] {
|
|
1824
1823
|
gap: 26px;
|
|
1825
1824
|
}
|
|
1826
|
-
`,
|
|
1825
|
+
`,uo=e.div`
|
|
1827
1826
|
--header-z-index: 305;
|
|
1828
1827
|
top: 0;
|
|
1829
1828
|
z-index: var(--header-z-index);
|
|
1830
1829
|
|
|
1831
|
-
${
|
|
1830
|
+
${t.mbDown} {
|
|
1832
1831
|
width: 100vw;
|
|
1833
1832
|
max-width: 100%;
|
|
1834
1833
|
}
|
|
@@ -1848,11 +1847,11 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
1848
1847
|
> section * {
|
|
1849
1848
|
pointer-events: auto;
|
|
1850
1849
|
}
|
|
1851
|
-
`;
|
|
1850
|
+
`;e.div`
|
|
1852
1851
|
display: flex;
|
|
1853
1852
|
align-items: center;
|
|
1854
1853
|
gap: 8px;
|
|
1855
|
-
`,
|
|
1854
|
+
`,e.a`
|
|
1856
1855
|
&[data-is-active='true'] {
|
|
1857
1856
|
color: unset;
|
|
1858
1857
|
}
|
|
@@ -1860,4 +1859,4 @@ import{M as e}from"./utils-eb66ac60.js";import t from"styled-components";import{
|
|
|
1860
1859
|
font-weight: 700;
|
|
1861
1860
|
line-height: 22px;
|
|
1862
1861
|
text-decoration: none;
|
|
1863
|
-
`;export{Vt as $,ct as A,mt as B,xt as C,Ie as D,
|
|
1862
|
+
`;export{Vt as $,ct as A,mt as B,xt as C,Ie as D,gt as E,ut as F,$e as G,P as H,ht as I,yt as J,Et as K,wt as L,_t as M,le as N,vt as O,Tt as P,Ot as Q,At as R,F as S,Le as T,Dt as U,dt as V,Lt as W,$t as X,St as Y,It as Z,kt as _,Se as a,Kt as a0,Jt as a1,qt as a2,Zt as a3,Xt as a4,Wt as a5,Qt as a6,ao as a7,eo as a8,no as a9,Ne as aA,Me as aB,Te as aC,ke as aD,qe as aE,Xe as aF,Ue as aG,Oe as aH,Ae as aI,Ve as aJ,Fe as aK,M as aL,R as aM,G as aN,Ge as aO,je as aP,ro as aa,oo as ab,io as ac,to as ad,Yt as ae,Qe as af,et as ag,tt as ah,lo as ai,so as aj,po as ak,co as al,mo as am,ho as an,go as ao,Je as ap,uo as aq,U as ar,$ as as,S as at,N as au,Ke as av,ze as aw,Be as ax,Ee as ay,D as az,k as b,z as c,V as d,Y as e,K as f,W as g,j as h,X as i,Z as j,se as k,he as l,ge as m,ee as n,te as o,Q as p,Ze as q,ot as r,it as s,rt as t,at as u,nt as v,pt as w,lt as x,st as y,ft as z};
|