@hhgtech/hhg-components 1.21.0-beta-11 → 1.21.0-beta-13
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-67f596f1.js +1 -0
- package/build/FullScreen-924067af.js +1 -0
- package/build/Locale-a38e4154.js +1 -0
- package/build/_commonjsHelpers-2e1dcd72.js +1 -0
- package/build/babyGrowth.js +1 -1
- package/build/browser-image-compression-18a94b0a.js +1 -0
- package/build/care/components/organisms/bookingSearchBar/index.styled.d.ts +1 -1
- package/build/care/components/organisms/bookingSearchBar/resultSection/index.styled.d.ts +1 -1
- package/build/care.js +1 -1
- package/build/components/alert.js +1 -0
- package/build/components/ampNextPage.js +1 -0
- package/build/components/articleCard.js +1 -0
- package/build/components/avatar.js +1 -0
- package/build/components/babyGrowthChart.js +1 -0
- package/build/components/babyGrowthChooseProfileDrawer.js +1 -0
- package/build/components/babyGrowthGender.js +1 -0
- package/build/components/babyGrowthLegend.js +1 -0
- package/build/{esm/components/atoms → components}/babyGrowthProfileRadio.js +1 -1
- package/build/components/babyGrowthRecord.js +1 -0
- package/build/components/babyGrowthSwitch.js +1 -0
- package/build/components/babyGrowthTooltip.js +1 -0
- package/build/components/backdrop.js +1 -0
- package/build/components/badge.js +1 -0
- package/build/components/borderHeading.js +1 -0
- package/build/components/breadcrumbs.js +1 -0
- package/build/components/button.js +1 -0
- package/build/components/carousel.js +1 -0
- package/build/components/categoryCard.js +1 -0
- package/build/components/checkbox.js +1 -0
- package/build/components/checkboxGroup.js +1 -0
- package/build/components/childCard.js +1 -0
- package/build/components/container.js +1 -0
- package/build/components/cookieAcceptConfirm.js +1 -0
- package/build/components/datePicker.js +1 -0
- package/build/components/dateRangePicker.js +1 -0
- package/build/components/displayWrapper.js +1 -0
- package/build/components/divider.js +1 -0
- package/build/components/doctorInfo.js +1 -0
- package/build/components/drawer.js +1 -0
- package/build/components/dropdown.js +1 -0
- package/build/components/dropdownSearch.js +1 -0
- package/build/components/fileDropdown.js +1 -0
- package/build/components/flag.js +1 -0
- package/build/components/floatButtonGroup.js +1 -0
- package/build/components/footer.js +1 -0
- package/build/components/grid.js +1 -0
- package/build/components/heading.js +1 -0
- package/build/components/iconText.js +1 -0
- package/build/components/icons.js +1 -0
- package/build/components/input.js +1 -0
- package/build/components/label.js +1 -0
- package/build/components/languageSwitcher.js +1 -0
- package/build/components/logo.js +1 -0
- package/build/components/marryBabyText.js +1 -0
- package/build/components/menu.js +1 -0
- package/build/components/mobileBottomNavigation.js +1 -0
- package/build/components/modal.js +1 -0
- package/build/components/molecules/babyGrowthChooseProfileDrawer/index.d.ts +1 -1
- package/build/components/molecules/babyGrowthChooseProfileDrawer/index.styled.d.ts +1 -1
- package/build/components/molecules/childCard/index.styled.d.ts +1 -1
- package/build/components/molecules/shareDrawer/index.d.ts +1 -1
- package/build/components/molecules/shareDrawer/index.styled.d.ts +1 -1
- package/build/components/molecules/sidemenu/menuLink.d.ts +1 -1
- package/build/components/molecules/tabs/index.d.ts +1 -1
- package/build/components/navigationBookingButton.js +1 -0
- package/build/components/navigationLayout_deprecated.js +1 -0
- package/build/components/navigationLogoutPopup.js +1 -0
- package/build/components/navigationProfileButton.js +1 -0
- package/build/components/navigationV2.js +1 -0
- package/build/components/newBabyProfileRadio.js +1 -0
- package/build/components/organisms/navigationV2/components/atoms/PopupWrapper/index.styled.d.ts +1 -1
- package/build/components/organisms/navigationV2/components/molecules/menuServiceList/index.styled.d.ts +20 -21
- package/build/components/organisms/userProfileNavigation/navHeader/index.styled.d.ts +1 -1
- package/build/components/pagination.js +1 -0
- package/build/components/popup.js +1 -0
- package/build/components/progress.js +1 -0
- package/build/components/progressBar.js +1 -0
- package/build/components/pureInput.js +1 -0
- package/build/components/radio.js +1 -0
- package/build/components/radioGroup.js +1 -0
- package/build/components/radioImageGroup.js +1 -0
- package/build/components/rateStars.js +1 -0
- package/build/components/scrollList.js +1 -0
- package/build/components/seoHead.js +1 -0
- package/build/components/shadow.js +1 -0
- package/build/components/shareContainer.js +1 -0
- package/build/components/shareDrawer.js +1 -0
- package/build/components/sidemenu.js +1 -0
- package/build/components/slider.js +1 -0
- package/build/components/starsRatingBox.js +1 -0
- package/build/components/statisticCard.js +1 -0
- package/build/components/surveyQuestionCard.js +1 -0
- package/build/components/table.js +1 -0
- package/build/components/tabs.js +1 -0
- package/build/components/tag.js +1 -0
- package/build/components/text.js +1 -0
- package/build/components/textArea.js +1 -0
- package/build/components/textDivider.js +1 -0
- package/build/components/toggle.js +1 -0
- package/build/components/underlinedLink.js +1 -0
- package/build/components/uploader.js +1 -0
- package/build/components/userProfileNavigation.js +1 -0
- package/build/components.js +1 -1
- package/build/core.js +1 -1
- package/build/esm/BabyGrowth-a6bb24d9.js +1 -0
- package/build/esm/FullScreen-a24fd8fa.js +1 -0
- package/build/esm/Locale-2d9f66c1.js +1 -0
- package/build/esm/_commonjsHelpers-406f2e34.js +1 -0
- package/build/esm/{animation-e703e19e.js → animation-c611f996.js} +1 -1
- package/build/esm/babyGrowth.js +1 -1
- package/build/esm/browser-image-compression-c934f959.js +1 -0
- package/build/esm/cache.js +1 -1
- package/build/esm/care.js +1 -1
- package/build/esm/components/alert.js +1 -0
- package/build/esm/components/ampNextPage.js +1 -0
- package/build/esm/components/articleCard.js +1 -0
- package/build/esm/components/avatar.js +1 -0
- package/build/esm/components/babyGrowthChart.js +1 -0
- package/build/esm/components/babyGrowthChooseProfileDrawer.js +1 -0
- package/build/esm/components/babyGrowthGender.js +1 -0
- package/build/esm/components/babyGrowthLegend.js +1 -0
- package/build/esm/components/babyGrowthProfileRadio.js +1 -0
- package/build/esm/components/babyGrowthRecord.js +1 -0
- package/build/esm/components/babyGrowthSwitch.js +1 -0
- package/build/esm/components/babyGrowthTooltip.js +1 -0
- package/build/esm/components/backdrop.js +1 -0
- package/build/esm/components/badge.js +1 -0
- package/build/esm/components/borderHeading.js +1 -0
- package/build/esm/components/breadcrumbs.js +1 -0
- package/build/esm/components/button.js +1 -0
- package/build/esm/components/carousel.js +1 -0
- package/build/esm/components/categoryCard.js +1 -0
- package/build/esm/components/checkbox.js +1 -0
- package/build/esm/components/checkboxGroup.js +1 -0
- package/build/esm/components/childCard.js +1 -0
- package/build/esm/components/container.js +1 -0
- package/build/esm/components/cookieAcceptConfirm.js +1 -0
- package/build/esm/components/datePicker.js +1 -0
- package/build/esm/components/dateRangePicker.js +1 -0
- package/build/esm/components/displayWrapper.js +1 -0
- package/build/esm/components/divider.js +1 -0
- package/build/esm/components/doctorInfo.js +1 -0
- package/build/esm/components/drawer.js +1 -0
- package/build/esm/components/dropdown.js +1 -0
- package/build/esm/components/dropdownSearch.js +1 -0
- package/build/esm/components/fileDropdown.js +1 -0
- package/build/esm/components/flag.js +1 -0
- package/build/esm/components/floatButtonGroup.js +1 -0
- package/build/esm/components/footer.js +1 -0
- package/build/esm/components/grid.js +1 -0
- package/build/esm/components/heading.js +1 -0
- package/build/esm/components/iconText.js +1 -0
- package/build/esm/components/icons.js +1 -0
- package/build/esm/components/input.js +1 -0
- package/build/esm/components/label.js +1 -0
- package/build/esm/components/languageSwitcher.js +1 -0
- package/build/esm/components/logo.js +1 -0
- package/build/esm/components/mantine/select.js +1 -1
- package/build/esm/components/marryBabyText.js +1 -0
- package/build/esm/components/menu.js +1 -0
- package/build/esm/components/mobileBottomNavigation.js +1 -0
- package/build/esm/components/modal.js +1 -0
- package/build/esm/components/navigationBookingButton.js +1 -0
- package/build/esm/components/navigationLayout_deprecated.js +1 -0
- package/build/esm/components/navigationLogoutPopup.js +1 -0
- package/build/esm/components/navigationProfileButton.js +1 -0
- package/build/esm/components/navigationV2.js +1 -0
- package/build/esm/components/newBabyProfileRadio.js +1 -0
- package/build/esm/components/pagination.js +1 -0
- package/build/esm/components/popup.js +1 -0
- package/build/esm/components/progress.js +1 -0
- package/build/esm/components/progressBar.js +1 -0
- package/build/esm/components/pureInput.js +1 -0
- package/build/esm/components/radio.js +1 -0
- package/build/esm/components/radioGroup.js +1 -0
- package/build/esm/{index.styled-3a97799e.js → components/radioImageGroup.js} +1 -1
- package/build/esm/components/rateStars.js +1 -0
- package/build/esm/components/scrollList.js +1 -0
- package/build/esm/components/seoHead.js +1 -0
- package/build/esm/components/shadow.js +1 -0
- package/build/esm/components/shareContainer.js +1 -0
- package/build/esm/components/shareDrawer.js +1 -0
- package/build/esm/components/sidemenu.js +1 -0
- package/build/esm/components/slider.js +1 -0
- package/build/esm/components/starsRatingBox.js +1 -0
- package/build/esm/components/statisticCard.js +1 -0
- package/build/esm/components/surveyQuestionCard.js +1 -0
- package/build/esm/components/table.js +1 -0
- package/build/esm/components/tabs.js +1 -0
- package/build/esm/components/tag.js +1 -0
- package/build/esm/components/text.js +1 -0
- package/build/esm/components/textArea.js +1 -0
- package/build/esm/components/textDivider.js +1 -0
- package/build/esm/components/toggle.js +1 -0
- package/build/esm/components/underlinedLink.js +1 -0
- package/build/esm/components/uploader.js +1 -0
- package/build/esm/components/userProfileNavigation.js +1 -0
- package/build/esm/components.js +1 -1
- package/build/esm/{core-fd895ef9.js → core-14be5e06.js} +1 -1
- package/build/esm/core.js +1 -1
- package/build/esm/ecom.js +1 -1
- package/build/esm/getDynamicHealthTool-eebb945c.js +1 -0
- package/build/esm/{getSocialList-ff22842b.js → getSocialList-e83ef69b.js} +1 -1
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/imgHHG.js +1 -1
- package/build/esm/index-038204e6.js +1 -0
- package/build/esm/index-10d2af11.js +1 -0
- package/build/esm/index-1c61f762.js +1 -0
- package/build/esm/index-29445b85.js +7 -0
- package/build/esm/index-3f5821b7.js +1 -0
- package/build/esm/index-46cbc22e.js +178 -0
- package/build/esm/{index-e7b4b60b.js → index-52fcdd30.js} +1 -1
- package/build/esm/index-6d62c282.js +1 -0
- package/build/esm/index-a1a27346.js +9 -0
- package/build/esm/index-a2a0f40d.js +1 -0
- package/build/esm/{tableBody-a16e38b4.js → index-a55d3726.js} +1 -1
- package/build/esm/index-b610a8a2.js +1 -0
- package/build/esm/index-ebe11fb9.js +1 -0
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-c2186de7.js → index.styled-3e97b3fa.js} +1 -1
- package/build/esm/lazyLoad-751c35bd.js +1 -0
- package/build/esm/{lock-e8f828ec.js → lock-6e10cde5.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/navigationLayout_deprecated.js +1 -1
- package/build/esm/surveyThankyouCard-e77b7790.js +1 -0
- package/build/esm/{together-200b1b78.js → together-68c58fff.js} +1 -1
- package/build/esm/together.js +1 -1
- package/build/esm/togetherComponentGlobalContext-49d5b8e0.js +1 -0
- package/build/esm/translationsContext-873337b8.js +1 -0
- package/build/esm/translationsProvider-a5fc5cf8.js +1 -0
- package/build/esm/{tslib.es6-260fa47f.js → tslib.es6-95636cf4.js} +1 -1
- package/build/esm/types-35f87e1d.js +1 -0
- package/build/esm/types-87d986d8.js +1 -0
- package/build/esm/types.js +1 -1
- package/build/esm/{useHealthToolCache-3583a3fc.js → useHealthToolCache-f3494997.js} +1 -1
- package/build/esm/useTranslations-d9bcdd4c.js +1 -0
- package/build/esm/{zalo-7f0726ae.js → zalo-d903a989.js} +1 -1
- package/build/{getDynamicHealthTool-87cf062a.js → getDynamicHealthTool-0df314ad.js} +1 -1
- package/build/{getSocialList-2a3b759f.js → getSocialList-f228c829.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/index-0c1af36a.js +1 -0
- package/build/index-19a7a687.js +173 -0
- package/build/index-43887156.js +1 -0
- package/build/index-49ee4083.js +1 -0
- package/build/index-6b372a6e.js +1 -0
- package/build/index-7b01cc84.js +1 -0
- package/build/index-cd4b0ed4.js +1 -0
- package/build/index-d12009e4.js +1 -0
- package/build/index-f454f04d.js +1 -0
- package/build/index-f4d501a4.js +1 -0
- package/build/index-fb9d2a41.js +1 -0
- package/build/index-fbae171b.js +9 -0
- package/build/index.js +1 -1
- package/build/lazyLoad-b5986db9.js +1 -0
- package/build/lock-1950c18b.js +1 -0
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/navigationLayout_deprecated.js +1 -1
- package/build/surveyThankyouCard-0a32a3a4.js +1 -0
- package/build/together-0ce4269b.js +1 -0
- package/build/together.js +1 -1
- package/build/togetherComponentGlobalContext-2bd33521.js +1 -0
- package/build/{en-PH-365f6e52.js → translationsContext-af789c7c.js} +1 -1
- package/build/translationsProvider-04343e8a.js +1 -0
- package/build/types-2632346d.js +1 -0
- package/build/types-d6bb7e7e.js +1 -0
- package/build/types.js +1 -1
- package/build/{useHealthToolCache-f0e420ac.js → useHealthToolCache-3e46ef8f.js} +1 -1
- package/build/useTranslations-77f20604.js +1 -0
- package/build/zalo-8f8b40ca.js +1 -0
- package/package.json +9 -24
- package/build/Locale-11b51016.js +0 -1
- package/build/Stethoscope-d829ee20.js +0 -1
- package/build/components/atoms/alert.js +0 -1
- package/build/components/atoms/avatar.js +0 -1
- package/build/components/atoms/babyGrowthChart.js +0 -1
- package/build/components/atoms/babyGrowthGender.js +0 -1
- package/build/components/atoms/babyGrowthLegend.js +0 -1
- package/build/components/atoms/babyGrowthProfileRadio.js +0 -1
- package/build/components/atoms/babyGrowthRecord.js +0 -1
- package/build/components/atoms/babyGrowthSwitch.js +0 -1
- package/build/components/atoms/babyGrowthTooltip.js +0 -1
- package/build/components/atoms/backdrop.js +0 -1
- package/build/components/atoms/badge.js +0 -1
- package/build/components/atoms/borderHeading.js +0 -1
- package/build/components/atoms/button.js +0 -1
- package/build/components/atoms/checkbox.js +0 -1
- package/build/components/atoms/container.js +0 -1
- package/build/components/atoms/displayWrapper.js +0 -1
- package/build/components/atoms/divider.js +0 -1
- package/build/components/atoms/drawer.js +0 -1
- package/build/components/atoms/fileDropdown.js +0 -1
- package/build/components/atoms/flag.js +0 -1
- package/build/components/atoms/grid.js +0 -1
- package/build/components/atoms/heading.js +0 -1
- package/build/components/atoms/icons.js +0 -1
- package/build/components/atoms/input.js +0 -1
- package/build/components/atoms/label.js +0 -1
- package/build/components/atoms/logo.js +0 -1
- package/build/components/atoms/marryBabyText.js +0 -1
- package/build/components/atoms/menu.js +0 -1
- package/build/components/atoms/newBabyProfileRadio.js +0 -1
- package/build/components/atoms/pagination.js +0 -1
- package/build/components/atoms/progress.js +0 -1
- package/build/components/atoms/pureInput.js +0 -1
- package/build/components/atoms/radio.js +0 -1
- package/build/components/atoms/radioImageGroup.js +0 -1
- package/build/components/atoms/rateStars.js +0 -1
- package/build/components/atoms/shadow.js +0 -1
- package/build/components/atoms/slider.js +0 -1
- package/build/components/atoms/tag.js +0 -1
- package/build/components/atoms/text.js +0 -1
- package/build/components/atoms/textArea.js +0 -1
- package/build/components/atoms/textDivider.js +0 -1
- package/build/components/atoms/toggle.js +0 -1
- package/build/components/atoms/underlinedLink.js +0 -1
- package/build/components/atoms/uploader.js +0 -1
- package/build/components/atoms.js +0 -1
- package/build/components/molecules/ampNextPage.js +0 -1
- package/build/components/molecules/articleCard.js +0 -1
- package/build/components/molecules/babyGrowthChooseProfileDrawer.js +0 -1
- package/build/components/molecules/breadcrumbs.js +0 -1
- package/build/components/molecules/carousel.js +0 -1
- package/build/components/molecules/categoryCard.js +0 -1
- package/build/components/molecules/checkboxGroup.js +0 -1
- package/build/components/molecules/childCard.js +0 -1
- package/build/components/molecules/cookieAcceptConfirm.js +0 -1
- package/build/components/molecules/datePicker.js +0 -1
- package/build/components/molecules/dateRangePicker.js +0 -1
- package/build/components/molecules/doctorInfo.js +0 -1
- package/build/components/molecules/dropdown.js +0 -1
- package/build/components/molecules/dropdownSearch.js +0 -1
- package/build/components/molecules/floatButtonGroup.js +0 -1
- package/build/components/molecules/iconText.js +0 -1
- package/build/components/molecules/languageSwitcher.js +0 -1
- package/build/components/molecules/mobileBottomNavigation.js +0 -1
- package/build/components/molecules/modal.js +0 -1
- package/build/components/molecules/popup.js +0 -1
- package/build/components/molecules/progressBar.js +0 -1
- package/build/components/molecules/radioGroup.js +0 -1
- package/build/components/molecules/scrollList.js +0 -1
- package/build/components/molecules/seoHead.js +0 -1
- package/build/components/molecules/shareContainer.js +0 -1
- package/build/components/molecules/shareDrawer.js +0 -1
- package/build/components/molecules/sidemenu.js +0 -1
- package/build/components/molecules/starsRatingBox.js +0 -1
- package/build/components/molecules/statisticCard.js +0 -1
- package/build/components/molecules/surveyQuestionCard.js +0 -1
- package/build/components/molecules/table.js +0 -1
- package/build/components/molecules/tabs.js +0 -1
- package/build/components/molecules.js +0 -1
- package/build/components/organisms/footer.js +0 -1
- package/build/components/organisms/navigationBookingButton.js +0 -1
- package/build/components/organisms/navigationLayout_deprecated.js +0 -1
- package/build/components/organisms/navigationLogoutPopup.js +0 -1
- package/build/components/organisms/navigationProfileButton.js +0 -1
- package/build/components/organisms/navigationV2.js +0 -1
- package/build/components/organisms/userProfileNavigation.js +0 -1
- package/build/components/organisms.js +0 -1
- package/build/esm/Locale-69030fff.js +0 -1
- package/build/esm/Stethoscope-43935dbb.js +0 -1
- package/build/esm/components/atoms/alert.js +0 -1
- package/build/esm/components/atoms/avatar.js +0 -1
- package/build/esm/components/atoms/babyGrowthChart.js +0 -1
- package/build/esm/components/atoms/babyGrowthGender.js +0 -1
- package/build/esm/components/atoms/babyGrowthLegend.js +0 -1
- package/build/esm/components/atoms/babyGrowthRecord.js +0 -1
- package/build/esm/components/atoms/babyGrowthSwitch.js +0 -1
- package/build/esm/components/atoms/babyGrowthTooltip.js +0 -1
- package/build/esm/components/atoms/backdrop.js +0 -1
- package/build/esm/components/atoms/badge.js +0 -1
- package/build/esm/components/atoms/borderHeading.js +0 -1
- package/build/esm/components/atoms/button.js +0 -1
- package/build/esm/components/atoms/checkbox.js +0 -1
- package/build/esm/components/atoms/container.js +0 -1
- package/build/esm/components/atoms/displayWrapper.js +0 -1
- package/build/esm/components/atoms/divider.js +0 -1
- package/build/esm/components/atoms/drawer.js +0 -1
- package/build/esm/components/atoms/fileDropdown.js +0 -1
- package/build/esm/components/atoms/flag.js +0 -1
- package/build/esm/components/atoms/grid.js +0 -1
- package/build/esm/components/atoms/heading.js +0 -1
- package/build/esm/components/atoms/icons.js +0 -1
- package/build/esm/components/atoms/input.js +0 -1
- package/build/esm/components/atoms/label.js +0 -1
- package/build/esm/components/atoms/logo.js +0 -1
- package/build/esm/components/atoms/marryBabyText.js +0 -1
- package/build/esm/components/atoms/menu.js +0 -1
- package/build/esm/components/atoms/newBabyProfileRadio.js +0 -1
- package/build/esm/components/atoms/pagination.js +0 -1
- package/build/esm/components/atoms/progress.js +0 -1
- package/build/esm/components/atoms/pureInput.js +0 -1
- package/build/esm/components/atoms/radio.js +0 -1
- package/build/esm/components/atoms/radioImageGroup.js +0 -1
- package/build/esm/components/atoms/rateStars.js +0 -1
- package/build/esm/components/atoms/shadow.js +0 -1
- package/build/esm/components/atoms/slider.js +0 -1
- package/build/esm/components/atoms/tag.js +0 -1
- package/build/esm/components/atoms/text.js +0 -1
- package/build/esm/components/atoms/textArea.js +0 -1
- package/build/esm/components/atoms/textDivider.js +0 -1
- package/build/esm/components/atoms/toggle.js +0 -1
- package/build/esm/components/atoms/underlinedLink.js +0 -1
- package/build/esm/components/atoms/uploader.js +0 -1
- package/build/esm/components/atoms.js +0 -1
- package/build/esm/components/molecules/ampNextPage.js +0 -1
- package/build/esm/components/molecules/articleCard.js +0 -1
- package/build/esm/components/molecules/babyGrowthChooseProfileDrawer.js +0 -1
- package/build/esm/components/molecules/breadcrumbs.js +0 -1
- package/build/esm/components/molecules/carousel.js +0 -1
- package/build/esm/components/molecules/categoryCard.js +0 -1
- package/build/esm/components/molecules/checkboxGroup.js +0 -1
- package/build/esm/components/molecules/childCard.js +0 -1
- package/build/esm/components/molecules/cookieAcceptConfirm.js +0 -1
- package/build/esm/components/molecules/datePicker.js +0 -1
- package/build/esm/components/molecules/dateRangePicker.js +0 -1
- package/build/esm/components/molecules/doctorInfo.js +0 -1
- package/build/esm/components/molecules/dropdown.js +0 -1
- package/build/esm/components/molecules/dropdownSearch.js +0 -1
- package/build/esm/components/molecules/floatButtonGroup.js +0 -1
- package/build/esm/components/molecules/iconText.js +0 -1
- package/build/esm/components/molecules/languageSwitcher.js +0 -1
- package/build/esm/components/molecules/mobileBottomNavigation.js +0 -1
- package/build/esm/components/molecules/modal.js +0 -1
- package/build/esm/components/molecules/popup.js +0 -1
- package/build/esm/components/molecules/progressBar.js +0 -1
- package/build/esm/components/molecules/radioGroup.js +0 -1
- package/build/esm/components/molecules/scrollList.js +0 -1
- package/build/esm/components/molecules/seoHead.js +0 -1
- package/build/esm/components/molecules/shareContainer.js +0 -1
- package/build/esm/components/molecules/shareDrawer.js +0 -1
- package/build/esm/components/molecules/sidemenu.js +0 -1
- package/build/esm/components/molecules/starsRatingBox.js +0 -1
- package/build/esm/components/molecules/statisticCard.js +0 -1
- package/build/esm/components/molecules/surveyQuestionCard.js +0 -1
- package/build/esm/components/molecules/table.js +0 -1
- package/build/esm/components/molecules/tabs.js +0 -1
- package/build/esm/components/molecules.js +0 -1
- package/build/esm/components/organisms/footer.js +0 -1
- package/build/esm/components/organisms/navigationBookingButton.js +0 -1
- package/build/esm/components/organisms/navigationLayout_deprecated.js +0 -1
- package/build/esm/components/organisms/navigationLogoutPopup.js +0 -1
- package/build/esm/components/organisms/navigationProfileButton.js +0 -1
- package/build/esm/components/organisms/navigationV2.js +0 -1
- package/build/esm/components/organisms/userProfileNavigation.js +0 -1
- package/build/esm/components/organisms.js +0 -1
- package/build/esm/en-PH-15a5d362.js +0 -1
- package/build/esm/getDynamicHealthTool-346a5692.js +0 -1
- package/build/esm/index-01a46dcb.js +0 -1
- package/build/esm/index-5231f7b6.js +0 -1
- package/build/esm/index-5990a15d.js +0 -1
- package/build/esm/index-62c22dbe.js +0 -1
- package/build/esm/index-6a77c6f4.js +0 -1
- package/build/esm/index-9e6be097.js +0 -1
- package/build/esm/index-b1f8b4ff.js +0 -1
- package/build/esm/index-cb8a92f0.js +0 -1
- package/build/esm/index-ec22c621.js +0 -1
- package/build/esm/index-edf514dd.js +0 -1
- package/build/esm/index.styled-070ed8ad.js +0 -1
- package/build/esm/index.styled-14385ba4.js +0 -1
- package/build/esm/index.styled-1479f73a.js +0 -1
- package/build/esm/index.styled-1735bb7f.js +0 -1
- package/build/esm/index.styled-18eeca5a.js +0 -1
- package/build/esm/index.styled-21bf0a76.js +0 -1
- package/build/esm/index.styled-3247d7d7.js +0 -1
- package/build/esm/index.styled-33916835.js +0 -1
- package/build/esm/index.styled-35802967.js +0 -1
- package/build/esm/index.styled-3a7f1be6.js +0 -1
- package/build/esm/index.styled-41fcfc4d.js +0 -1
- package/build/esm/index.styled-4516ef5a.js +0 -1
- package/build/esm/index.styled-5c128da3.js +0 -1
- package/build/esm/index.styled-5cc30198.js +0 -1
- package/build/esm/index.styled-719c9640.js +0 -1
- package/build/esm/index.styled-74cafd8f.js +0 -1
- package/build/esm/index.styled-76f02a1e.js +0 -1
- package/build/esm/index.styled-7b4d2a6a.js +0 -1
- package/build/esm/index.styled-7eda6b11.js +0 -1
- package/build/esm/index.styled-8a2fdae1.js +0 -1
- package/build/esm/index.styled-8c13a042.js +0 -1
- package/build/esm/index.styled-8f74f167.js +0 -1
- package/build/esm/index.styled-9e89a217.js +0 -1
- package/build/esm/index.styled-a6be0beb.js +0 -1
- package/build/esm/index.styled-b1c59945.js +0 -1
- package/build/esm/index.styled-b47d1432.js +0 -1
- package/build/esm/index.styled-b8c131bf.js +0 -1
- package/build/esm/index.styled-b9ee0859.js +0 -1
- package/build/esm/index.styled-bc1e34ec.js +0 -1
- package/build/esm/index.styled-bcfdf661.js +0 -1
- package/build/esm/index.styled-c0b0df7e.js +0 -1
- package/build/esm/index.styled-c1df498b.js +0 -1
- package/build/esm/index.styled-c3dcdb30.js +0 -1
- package/build/esm/index.styled-c7311908.js +0 -1
- package/build/esm/index.styled-c9c43e63.js +0 -1
- package/build/esm/index.styled-db5aa049.js +0 -1
- package/build/esm/index.styled-e4f1d848.js +0 -1
- package/build/esm/index.styled-ee90d157.js +0 -1
- package/build/esm/index.styled-f3b75621.js +0 -1
- package/build/esm/index.styled-f41c3ca8.js +0 -1
- package/build/esm/index.styled-f9636b35.js +0 -1
- package/build/esm/lazyLoad-59e8ff6d.js +0 -1
- package/build/esm/menuLink-cb440241.js +0 -1
- package/build/esm/surveyQuestionCard-a9220787.js +0 -1
- package/build/esm/surveyThankyouCard-6c29909f.js +0 -1
- package/build/esm/togetherComponentGlobalContext-656ef1d0.js +0 -1
- package/build/esm/translationsContext-d658f58d.js +0 -1
- package/build/esm/translationsProvider-5d2f9e25.js +0 -1
- package/build/esm/types-1b968cc0.js +0 -1
- package/build/esm/types-3aa5aa3a.js +0 -1
- package/build/esm/useTranslations-32d4da23.js +0 -1
- package/build/index-1dcd4d14.js +0 -1
- package/build/index-3a039505.js +0 -1
- package/build/index-45b1d207.js +0 -1
- package/build/index-57503957.js +0 -1
- package/build/index-77217283.js +0 -1
- package/build/index-afeb5842.js +0 -1
- package/build/index-b08daeef.js +0 -1
- package/build/index-b2bfa272.js +0 -1
- package/build/index-e14b4b59.js +0 -1
- package/build/index-f157b9d5.js +0 -1
- package/build/index.styled-008ef19d.js +0 -1
- package/build/index.styled-066b3539.js +0 -1
- package/build/index.styled-0e458732.js +0 -1
- package/build/index.styled-12564c85.js +0 -1
- package/build/index.styled-153551ce.js +0 -1
- package/build/index.styled-1b85e0c8.js +0 -1
- package/build/index.styled-1d015c53.js +0 -1
- package/build/index.styled-3c5397f9.js +0 -1
- package/build/index.styled-3ee5723a.js +0 -1
- package/build/index.styled-4c7d3d62.js +0 -1
- package/build/index.styled-5f87a409.js +0 -1
- package/build/index.styled-623fef75.js +0 -1
- package/build/index.styled-695c7b97.js +0 -1
- package/build/index.styled-69d9ccc8.js +0 -1
- package/build/index.styled-71dccfe1.js +0 -1
- package/build/index.styled-746e44a4.js +0 -1
- package/build/index.styled-749e4611.js +0 -1
- package/build/index.styled-78176bcd.js +0 -1
- package/build/index.styled-78875f21.js +0 -1
- package/build/index.styled-7a935330.js +0 -1
- package/build/index.styled-7be82491.js +0 -1
- package/build/index.styled-7d510632.js +0 -1
- package/build/index.styled-7e46b5b8.js +0 -1
- package/build/index.styled-80d36b16.js +0 -1
- package/build/index.styled-97d71ef5.js +0 -1
- package/build/index.styled-a757296d.js +0 -1
- package/build/index.styled-a8c022ac.js +0 -1
- package/build/index.styled-ad582518.js +0 -1
- package/build/index.styled-b1cca2d9.js +0 -1
- package/build/index.styled-b5ed3e2a.js +0 -1
- package/build/index.styled-c0a48e50.js +0 -1
- package/build/index.styled-c138a33c.js +0 -1
- package/build/index.styled-cb37a32a.js +0 -1
- package/build/index.styled-d814136c.js +0 -1
- package/build/index.styled-dc219b10.js +0 -1
- package/build/index.styled-df85fa38.js +0 -1
- package/build/index.styled-e0103298.js +0 -1
- package/build/index.styled-ec8b738a.js +0 -1
- package/build/index.styled-f4dc1d65.js +0 -1
- package/build/index.styled-f502a042.js +0 -1
- package/build/index.styled-fb8fdc21.js +0 -1
- package/build/index.styled-fbf8794a.js +0 -1
- package/build/lazyLoad-f5c59bb0.js +0 -1
- package/build/lock-f96868e8.js +0 -1
- package/build/menuLink-8bd7d73e.js +0 -1
- package/build/surveyQuestionCard-dc8ee056.js +0 -1
- package/build/surveyThankyouCard-2a90aec4.js +0 -1
- package/build/tableBody-5653fcab.js +0 -1
- package/build/together-643762e2.js +0 -1
- package/build/togetherComponentGlobalContext-6197b982.js +0 -1
- package/build/translationsContext-2d7ea471.js +0 -1
- package/build/translationsProvider-06140ba2.js +0 -1
- package/build/types-b9a2a66a.js +0 -1
- package/build/types-cace91f1.js +0 -1
- package/build/useTranslations-8eec642f.js +0 -1
- package/build/zalo-e7b9d144.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as n}from"./tslib.es6-260fa47f.js";import t from"styled-components";var e,r,o,i,s,a,l,c,d,p,u,h,g=t.div(e||(e=n(["\n position: relative;\n width: 100%;\n\n & div[role='slider'] {\n -webkit-text-size-adjust: none;\n -webkit-user-select: none;\n &:focus {\n outline: none;\n }\n }\n"],["\n position: relative;\n width: 100%;\n\n & div[role='slider'] {\n -webkit-text-size-adjust: none;\n -webkit-user-select: none;\n &:focus {\n outline: none;\n }\n }\n"]))),f=t.div(r||(r=n(["\n position: absolute;\n top: 19px;\n width: 24px;\n height: 24px;\n color: ",";\n border: 2px solid ",";\n border-radius: 50%;\n transform: translateY(-50%) translateX(-50%);\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n background-color: ",";\n color: ",";\n border: 1px solid ",";\n\n &[data-is-active='true'] {\n background-color: ",";\n color: ",";\n border: none;\n }\n"],["\n position: absolute;\n top: 19px;\n width: 24px;\n height: 24px;\n color: ",";\n border: 2px solid ",";\n border-radius: 50%;\n transform: translateY(-50%) translateX(-50%);\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n background-color: ",";\n color: ",";\n border: 1px solid ",";\n\n &[data-is-active='true'] {\n background-color: ",";\n color: ",";\n border: none;\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.gray300}),(function(n){return n.theme.colors.gray300}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.white})),x=t.div(o||(o=n(["\n display: flex;\n width: 100%;\n height: 36px;\n\n &[data-track-type='detail'] {\n margin-top: 0;\n }\n\n &[data-track-type='detail'][data-step-passed='true'] > div {\n border: 1px solid ",";\n height: 0px;\n }\n\n &[data-track-type='detail'] > div {\n border: 1px solid ",";\n height: 0px;\n }\n"],["\n display: flex;\n width: 100%;\n height: 36px;\n\n &[data-track-type='detail'] {\n margin-top: 0;\n }\n\n &[data-track-type='detail'][data-step-passed='true'] > div {\n border: 1px solid ",";\n height: 0px;\n }\n\n &[data-track-type='detail'] > div {\n border: 1px solid ",";\n height: 0px;\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.gray200})),m=t.div(i||(i=n(["\n width: 100%;\n height: 5px;\n align-self: center;\n border-radius: 4px;\n background-color: ",";\n"],["\n width: 100%;\n height: 5px;\n align-self: center;\n border-radius: 4px;\n background-color: ",";\n"])),(function(n){return n.theme.colors.gray200})),b=t.div(s||(s=n(["\n position: absolute;\n top: 32px;\n min-width: 100px;\n text-align: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n\n &[data-step-passed='true'] {\n color: ",";\n }\n"],["\n position: absolute;\n top: 32px;\n min-width: 100px;\n text-align: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n\n &[data-step-passed='true'] {\n color: ",";\n }\n"])),(function(n){return n.theme.colors.gray500}),(function(n){return n.theme.sizes.fsCaption2}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.colors.gray800})),y=t.div(a||(a=n(["\n display: flex;\n align-items: center;\n"],["\n display: flex;\n align-items: center;\n"]))),w=t.div(l||(l=n(["\n display: flex;\n align-items: center;\n font-size: ",";\n font-weight: ",";\n color: ",";\n cursor: pointer;\n\n & > svg {\n height: 10px;\n width: 10px;\n margin: 0 14px;\n }\n\n & > svg > path {\n stroke: ",";\n }\n\n &[data-selected='true'] {\n color: ",";\n }\n"],["\n display: flex;\n align-items: center;\n font-size: ",";\n font-weight: ",";\n color: ",";\n cursor: pointer;\n\n & > svg {\n height: 10px;\n width: 10px;\n margin: 0 14px;\n }\n\n & > svg > path {\n stroke: ",";\n }\n\n &[data-selected='true'] {\n color: ",";\n }\n"])),(function(n){return n.theme.sizes.fsCaption2}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.colors.gray500}),(function(n){return n.theme.colors.gray500}),(function(n){return n.theme.colors.primaryBase})),v=t.div(c||(c=n(["\n position: absolute;\n left: 0;\n top: 19px;\n height: 24px;\n cursor: pointer;\n\n transform: translateY(-50%);\n display: flex;\n align-items: center;\n\n padding: 8px;\n background-color: ",";\n"],["\n position: absolute;\n left: 0;\n top: 19px;\n height: 24px;\n cursor: pointer;\n\n transform: translateY(-50%);\n display: flex;\n align-items: center;\n\n padding: 8px;\n background-color: ",";\n"])),(function(n){return n.theme.colors.white})),k=t.div(d||(d=n(["\n min-width: 24px;\n height: 24px;\n border: 2px solid ",";\n border-radius: 50%;\n margin-right: 8px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n background-color: ",";\n color: ",";\n border: 1px solid ",";\n\n &[data-is-active='true'] {\n border: none;\n background-color: ",";\n color: ",";\n }\n"],["\n min-width: 24px;\n height: 24px;\n border: 2px solid ",";\n border-radius: 50%;\n margin-right: 8px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n background-color: ",";\n color: ",";\n border: 1px solid ",";\n\n &[data-is-active='true'] {\n border: none;\n background-color: ",";\n color: ",";\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.gray300}),(function(n){return n.theme.colors.gray300}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.white})),z=t.div(p||(p=n(["\n display: flex;\n align-items: center;\n justify-content: center;\n\n & > svg {\n height: 20px;\n width: 20px;\n margin-right: 8px;\n\n & > path {\n stroke: ",";\n }\n }\n"],["\n display: flex;\n align-items: center;\n justify-content: center;\n\n & > svg {\n height: 20px;\n width: 20px;\n margin-right: 8px;\n\n & > path {\n stroke: ",";\n }\n }\n"])),(function(n){return n.theme.colors.gray500})),j=t.div(u||(u=n(["\n color: ",";\n font-size: ",";\n font-weight: ",";\n margin-right: 8px;\n flex: 0 0 auto;\n\n &[data-step-passed='true'] {\n color: ",";\n }\n"],["\n color: ",";\n font-size: ",";\n font-weight: ",";\n margin-right: 8px;\n flex: 0 0 auto;\n\n &[data-step-passed='true'] {\n color: ",";\n }\n"])),(function(n){return n.theme.colors.gray400}),(function(n){return n.theme.sizes.fsCaption2}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.colors.gray800})),B=t.div(h||(h=n(["\n position: absolute;\n top: 32px;\n font-weight: ",";\n color: ",";\n padding-right: 16px;\n"],["\n position: absolute;\n top: 32px;\n font-weight: ",";\n color: ",";\n padding-right: 16px;\n"])),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.gray400}));export{g as S,y as a,w as b,x as c,m as d,f as e,b as f,v as g,z as h,k as i,j,B as k};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as n}from"./tslib.es6-260fa47f.js";import{M as t}from"./utils-432904d8.js";import i from"styled-components";var e,a,o,r,p=i.h6(e||(e=n(["\n color: ",";\n font-size: 14px;\n font-weight: ",";\n line-height: 22px;\n"],["\n color: ",";\n font-size: 14px;\n font-weight: ",";\n line-height: 22px;\n"])),(function(n){return n.theme.colors.gray600}),(function(n){return n.theme.sizes.fwBold})),x=i.a(a||(a=n(["\n display: inline-block;\n width: 100%;\n height: 100%;\n color: inherit;\n text-decoration: none;\n\n * {\n pointer-events: none;\n }\n"],["\n display: inline-block;\n width: 100%;\n height: 100%;\n color: inherit;\n text-decoration: none;\n\n * {\n pointer-events: none;\n }\n"]))),d=i.article(o||(o=n(["\n display: flex;\n width: 100%;\n box-sizing: border-box;\n padding: 16px 16px 16px 0;\n background-color: ",";\n cursor: pointer;\n\n [data-event-category] > * {\n pointer-events: none;\n }\n\n .content {\n display: flex;\n width: 100%;\n flex-direction: column;\n\n .inner-content {\n display: flex;\n flex-direction: column;\n p {\n display: flex;\n align-items: center;\n }\n\n a {\n text-decoration: none;\n }\n\n .bookmark {\n width: 18px;\n height: 18px;\n }\n //.title,\n .title a {\n display: -webkit-box;\n overflow: hidden;\n margin-top: 2px;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n }\n\n .text {\n display: -webkit-box;\n overflow: hidden;\n max-width: 100%;\n margin-top: 4px;\n //margin-bottom: 26px;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n }\n }\n }\n\n .footer {\n display: flex;\n\n .author {\n width: calc(100% - 20px);\n }\n\n .bookmark {\n display: flex;\n width: 12px;\n height: 16px;\n margin-left: 8px;\n cursor: pointer;\n\n svg {\n width: 100%;\n height: 100%;\n }\n }\n }\n\n .banner {\n position: relative;\n min-width: 100px;\n max-width: 100px;\n max-width: 100%;\n height: 100%;\n max-height: 100%;\n border-radius: 6px;\n\n img {\n width: 100%;\n height: 100%;\n border-radius: 6px;\n object-fit: cover;\n object-position: center;\n pointer-events: none;\n }\n }\n .shoppable {\n position: absolute;\n bottom: 4px;\n left: 6px;\n }\n\n &[data-size='sm'][data-direction='horizontal'] {\n padding: 20px 0;\n\n .label {\n margin-bottom: 0;\n }\n .banner {\n width: 100px;\n height: 100px;\n margin: 0 16px 0 0;\n\n "," {\n min-width: 100px;\n max-width: 100px;\n height: 100px;\n margin: 0 16px 0 0;\n }\n }\n\n .text {\n display: none;\n }\n }\n\n &[data-direction='horizontal'] {\n .footer {\n margin-top: auto;\n }\n }\n\n &[data-size='md'][data-direction='horizontal'] {\n padding: 16px 0;\n\n .banner {\n min-width: 200px;\n max-width: 200px;\n height: 150px;\n margin: 0 24px 0 0;\n }\n\n "," {\n .text {\n display: none;\n }\n\n .banner {\n min-width: 100px;\n max-width: 100px;\n height: 100px;\n margin: 0 16px 0 0;\n }\n\n .specialty {\n display: none;\n }\n }\n }\n\n &[data-direction='vertical'] {\n flex-direction: column;\n padding: 0 0 0 0;\n\n .label {\n margin-top: 16px;\n display: flex;\n }\n\n &[data-size='sm'] {\n .banner {\n height: 150px;\n }\n\n .text {\n display: none;\n }\n\n .title {\n margin-top: 0;\n margin-bottom: 12px;\n }\n }\n\n &[data-size='lg'] {\n .banner {\n max-height: 312px;\n\n "," {\n max-height: 192px;\n }\n }\n\n .text {\n display: -webkit-box;\n margin-top: 8px;\n margin-bottom: 16px;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 3;\n word-break: break-word;\n }\n }\n\n .banner {\n min-width: 100%;\n height: 468px;\n margin: 0;\n }\n }\n\n &[data-is-expert] {\n .inner-content label.text {\n display: none;\n }\n\n .specialty > [data-tag='h6'] {\n font-size: 13px;\n font-weight: 400;\n line-height: 19px;\n }\n\n &[data-size='md'] .footer .author .avatar {\n margin-right: 8px;\n }\n\n "," {\n &[data-size='md'] .footer .author .avatar {\n width: 40px;\n height: 40px;\n margin-right: 16px;\n }\n }\n\n .title {\n margin-bottom: 16px;\n "," {\n margin-bottom: 8px;\n }\n }\n\n &[data-direction='horizontal'] {\n .footer {\n margin-top: auto;\n }\n }\n }\n"],["\n display: flex;\n width: 100%;\n box-sizing: border-box;\n padding: 16px 16px 16px 0;\n background-color: ",";\n cursor: pointer;\n\n [data-event-category] > * {\n pointer-events: none;\n }\n\n .content {\n display: flex;\n width: 100%;\n flex-direction: column;\n\n .inner-content {\n display: flex;\n flex-direction: column;\n p {\n display: flex;\n align-items: center;\n }\n\n a {\n text-decoration: none;\n }\n\n .bookmark {\n width: 18px;\n height: 18px;\n }\n //.title,\n .title a {\n display: -webkit-box;\n overflow: hidden;\n margin-top: 2px;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n }\n\n .text {\n display: -webkit-box;\n overflow: hidden;\n max-width: 100%;\n margin-top: 4px;\n //margin-bottom: 26px;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n }\n }\n }\n\n .footer {\n display: flex;\n\n .author {\n width: calc(100% - 20px);\n }\n\n .bookmark {\n display: flex;\n width: 12px;\n height: 16px;\n margin-left: 8px;\n cursor: pointer;\n\n svg {\n width: 100%;\n height: 100%;\n }\n }\n }\n\n .banner {\n position: relative;\n min-width: 100px;\n max-width: 100px;\n max-width: 100%;\n height: 100%;\n max-height: 100%;\n border-radius: 6px;\n\n img {\n width: 100%;\n height: 100%;\n border-radius: 6px;\n object-fit: cover;\n object-position: center;\n pointer-events: none;\n }\n }\n .shoppable {\n position: absolute;\n bottom: 4px;\n left: 6px;\n }\n\n &[data-size='sm'][data-direction='horizontal'] {\n padding: 20px 0;\n\n .label {\n margin-bottom: 0;\n }\n .banner {\n width: 100px;\n height: 100px;\n margin: 0 16px 0 0;\n\n "," {\n min-width: 100px;\n max-width: 100px;\n height: 100px;\n margin: 0 16px 0 0;\n }\n }\n\n .text {\n display: none;\n }\n }\n\n &[data-direction='horizontal'] {\n .footer {\n margin-top: auto;\n }\n }\n\n &[data-size='md'][data-direction='horizontal'] {\n padding: 16px 0;\n\n .banner {\n min-width: 200px;\n max-width: 200px;\n height: 150px;\n margin: 0 24px 0 0;\n }\n\n "," {\n .text {\n display: none;\n }\n\n .banner {\n min-width: 100px;\n max-width: 100px;\n height: 100px;\n margin: 0 16px 0 0;\n }\n\n .specialty {\n display: none;\n }\n }\n }\n\n &[data-direction='vertical'] {\n flex-direction: column;\n padding: 0 0 0 0;\n\n .label {\n margin-top: 16px;\n display: flex;\n }\n\n &[data-size='sm'] {\n .banner {\n height: 150px;\n }\n\n .text {\n display: none;\n }\n\n .title {\n margin-top: 0;\n margin-bottom: 12px;\n }\n }\n\n &[data-size='lg'] {\n .banner {\n max-height: 312px;\n\n "," {\n max-height: 192px;\n }\n }\n\n .text {\n display: -webkit-box;\n margin-top: 8px;\n margin-bottom: 16px;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 3;\n word-break: break-word;\n }\n }\n\n .banner {\n min-width: 100%;\n height: 468px;\n margin: 0;\n }\n }\n\n &[data-is-expert] {\n .inner-content label.text {\n display: none;\n }\n\n .specialty > [data-tag='h6'] {\n font-size: 13px;\n font-weight: 400;\n line-height: 19px;\n }\n\n &[data-size='md'] .footer .author .avatar {\n margin-right: 8px;\n }\n\n "," {\n &[data-size='md'] .footer .author .avatar {\n width: 40px;\n height: 40px;\n margin-right: 16px;\n }\n }\n\n .title {\n margin-bottom: 16px;\n "," {\n margin-bottom: 8px;\n }\n }\n\n &[data-direction='horizontal'] {\n .footer {\n margin-top: auto;\n }\n }\n }\n"])),(function(n){return n.theme.colors.white}),t.mbDown,t.mbDown,t.mbDown,t.tdUp,t.mbDown),h=i.div(r||(r=n(["\n display: flex;\n width: 100%;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n margin-top: 8px;\n\n .author {\n display: flex;\n align-items: center;\n\n .avatar,\n .expert-avatar {\n flex-shrink: 0;\n\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n\n .name {\n font-weight: 600;\n }\n\n .poster {\n display: flex;\n align-items: center;\n white-space: pre-wrap;\n &[data-is-disabled-url='true'] {\n cursor: default;\n a {\n pointer-events: none;\n }\n }\n\n p {\n display: -webkit-box;\n overflow: hidden;\n //font-size: 11px;\n -webkit-box-orient: vertical;\n font-weight: 400;\n -webkit-line-clamp: 3;\n\n a {\n color: ",";\n text-decoration: none;\n }\n\n span:not(.name) {\n color: ",";\n }\n }\n }\n\n .expert {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n justify-content: center;\n\n a {\n text-decoration: none;\n }\n\n &[data-is-disabled-url='true'] {\n cursor: default;\n a {\n pointer-events: none;\n }\n }\n }\n\n .avatar {\n width: 24px;\n height: 24px;\n margin-right: 8px;\n\n "," {\n margin-right: 4px;\n }\n\n &[data-size='lg'] {\n "," {\n width: 32px;\n height: 32px;\n margin-right: 12px;\n }\n }\n }\n\n .expert-avatar {\n "," {\n width: 40px;\n height: 40px;\n margin-right: 16px;\n }\n\n "," {\n width: 32px;\n height: 32px;\n margin-right: 8px;\n }\n\n &[data-size='lg'] {\n "," {\n width: 64px;\n height: 64px;\n margin-right: 16px;\n }\n\n "," {\n width: 40px;\n height: 40px;\n margin-right: 16px;\n }\n }\n }\n }\n"],["\n display: flex;\n width: 100%;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n margin-top: 8px;\n\n .author {\n display: flex;\n align-items: center;\n\n .avatar,\n .expert-avatar {\n flex-shrink: 0;\n\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n\n .name {\n font-weight: 600;\n }\n\n .poster {\n display: flex;\n align-items: center;\n white-space: pre-wrap;\n &[data-is-disabled-url='true'] {\n cursor: default;\n a {\n pointer-events: none;\n }\n }\n\n p {\n display: -webkit-box;\n overflow: hidden;\n //font-size: 11px;\n -webkit-box-orient: vertical;\n font-weight: 400;\n -webkit-line-clamp: 3;\n\n a {\n color: ",";\n text-decoration: none;\n }\n\n span:not(.name) {\n color: ",";\n }\n }\n }\n\n .expert {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n justify-content: center;\n\n a {\n text-decoration: none;\n }\n\n &[data-is-disabled-url='true'] {\n cursor: default;\n a {\n pointer-events: none;\n }\n }\n }\n\n .avatar {\n width: 24px;\n height: 24px;\n margin-right: 8px;\n\n "," {\n margin-right: 4px;\n }\n\n &[data-size='lg'] {\n "," {\n width: 32px;\n height: 32px;\n margin-right: 12px;\n }\n }\n }\n\n .expert-avatar {\n "," {\n width: 40px;\n height: 40px;\n margin-right: 16px;\n }\n\n "," {\n width: 32px;\n height: 32px;\n margin-right: 8px;\n }\n\n &[data-size='lg'] {\n "," {\n width: 64px;\n height: 64px;\n margin-right: 16px;\n }\n\n "," {\n width: 40px;\n height: 40px;\n margin-right: 16px;\n }\n }\n }\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.colors.gray400}),t.mbDown,t.tdUp,t.mbUp,t.mbDown,t.mbUp,t.mbDown);export{d as S,x as a,h as b,p as c};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import l from"vanilla-lazyload";var a=null;"undefined"==typeof window||a||(a=new l);export{a as l};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as n}from"./tslib.es6-260fa47f.js";import e from"react";import t from"styled-components";import{Text as i}from"./components/atoms/text.js";import"./index.styled-c9c43e63.js";import"./index.styled-3a7f1be6.js";import"./index.styled-5cc30198.js";import"./index.styled-c7311908.js";import"./index.styled-76f02a1e.js";import"./index.styled-bc1e34ec.js";import"./index.styled-8a2fdae1.js";import"./index.styled-35802967.js";import"./index.styled-14385ba4.js";import"./index.styled-ee90d157.js";import"./components/atoms/label.js";import"./index.styled-a6be0beb.js";import{Logo as o}from"./components/atoms/logo.js";import"./utils-432904d8.js";import"./index.styled-f3b75621.js";import"./components/atoms/pureInput.js";import"./index.styled-c2186de7.js";import"./index.styled-b8c131bf.js";import"react-range";import"./index.styled-7eda6b11.js";import"./index.styled-18eeca5a.js";import"./index.styled-b9ee0859.js";import"./index.styled-21bf0a76.js";import"./index.styled-4516ef5a.js";import"./components/atoms/textArea.js";import"./components/atoms/container.js";import"./index.styled-070ed8ad.js";import"./components/atoms/textDivider.js";import"./index.styled-db5aa049.js";import"./Stethoscope-43935dbb.js";import"./index.styled-7b4d2a6a.js";import"react-dom";import"./index.styled-e4f1d848.js";import"./index.styled-3247d7d7.js";import"./components/atoms/menu.js";import"./index.styled-3a97799e.js";import"./translationsContext-d658f58d.js";import"string-format";import"lodash/debounce";import"./constants-3be6f6a9.js";import"date-fns";import"./animation-e703e19e.js";import"./lazyLoad-59e8ff6d.js";import"./Locale-69030fff.js";import"./index.styled-41fcfc4d.js";import{DoctorInfo as a}from"./components/molecules/doctorInfo.js";var s,r,d,p,m,l=t.div(s||(s=n(["\n --menu-width: 240px;\n --menu-spacing: 28px 16px;\n width: var(--menu-width);\n height: 100vh;\n padding: var(--menu-spacing);\n background-color: ",";\n transition: ease-in-out 0.5s;\n\n &[data-is-collapsed] {\n --menu-width: 64px;\n --menu-spacing: 28px 8px;\n }\n"],["\n --menu-width: 240px;\n --menu-spacing: 28px 16px;\n width: var(--menu-width);\n height: 100vh;\n padding: var(--menu-spacing);\n background-color: ",";\n transition: ease-in-out 0.5s;\n\n &[data-is-collapsed] {\n --menu-width: 64px;\n --menu-spacing: 28px 8px;\n }\n"])),(function(n){return n.theme.colors.neutral50})),c=function(n){var t=n.isCollapsed,i=n.className,o=n.style,a=n.children;return e.createElement(l,{style:o,className:i,"data-is-collapsed":t||void 0},a)},x=t.div(r||(r=n(["\n display: flex;\n align-items: baseline;\n justify-content: space-between;\n\n svg {\n transition: 0.4s ease-in-out;\n }\n"],["\n display: flex;\n align-items: baseline;\n justify-content: space-between;\n\n svg {\n transition: 0.4s ease-in-out;\n }\n"]))),u=t.div(d||(d=n(["\n cursor: pointer;\n &[data-is-collapsed] {\n transform: rotate(180deg);\n }\n"],["\n cursor: pointer;\n &[data-is-collapsed] {\n transform: rotate(180deg);\n }\n"]))),f=function(n){var t=n.isCollapsed,i=n.defaultLogo,a=n.onBackClick,s=n.customIcon;return e.createElement(x,null,e.createElement(o,{type:t?"logomark":i||"hellocare",height:"24px",width:t?"24px":"77px"}),e.createElement(u,{"data-is-collapsed":t||void 0,onClick:a},s||e.createElement("svg",{"data-name":"Layer 1",viewBox:"0 0 20 20",width:"20px",height:"20px"},e.createElement("path",{d:"M10 .75A9.25 9.25 0 1019.25 10 9.25 9.25 0 0010 .75z",fill:"none",stroke:"#d2d6dc",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),e.createElement("path",{d:"M11.44 6.53L8 10l3.48 3.47",fill:"none",stroke:"#737373",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}))))},g=t.div(p||(p=n(["\n display: flex;\n align-items: center;\n margin-top: 24px;\n margin-bottom: 36px;\n\n figcaption {\n white-space: nowrap;\n }\n\n &[data-is-collapsed='true'] {\n img {\n max-width: 2rem;\n max-height: 2rem;\n }\n }\n"],["\n display: flex;\n align-items: center;\n margin-top: 24px;\n margin-bottom: 36px;\n\n figcaption {\n white-space: nowrap;\n }\n\n &[data-is-collapsed='true'] {\n img {\n max-width: 2rem;\n max-height: 2rem;\n }\n }\n"]))),j=function(n){var t=n.isCollapsed,i=n.userName,o=n.role,s=n.avatar;return e.createElement(g,{"data-is-collapsed":t||void 0},e.createElement(a,{image:s,name:i,description:o,isDescriptionHidden:t}))},y=t.div(m||(m=n(["\n display: flex;\n align-items: center;\n padding: 9px 21px;\n margin-bottom: 4px;\n border-radius: 6px;\n\n &:not([data-is-link-active]) {\n cursor: pointer;\n }\n\n p {\n margin-left: 12px;\n }\n\n &[data-is-link-active] {\n background: ",";\n }\n\n &[data-is-link-collapsed] {\n justify-content: center;\n margin-right: -14px;\n margin-left: -14px;\n }\n"],["\n display: flex;\n align-items: center;\n padding: 9px 21px;\n margin-bottom: 4px;\n border-radius: 6px;\n\n &:not([data-is-link-active]) {\n cursor: pointer;\n }\n\n p {\n margin-left: 12px;\n }\n\n &[data-is-link-active] {\n background: ",";\n }\n\n &[data-is-link-collapsed] {\n justify-content: center;\n margin-right: -14px;\n margin-left: -14px;\n }\n"])),(function(n){return n.theme.colors.primaryBase})),h=function(n){var t=n.icon,o=n.isActive,a=n.children,s=n.isCollapsed,r=n.activeIcon,d=n.onLinkClick,p=n.textSize,m=void 0===p?"base":p,l=n.textType,c=void 0===l?"bold":l,x=n.textColorActive,u=void 0===x?"#fff":x,f=n.textColor,g=void 0===f?"#595959":f;return e.createElement(y,{"data-is-link-active":o||void 0,onClick:d,"data-is-link-collapsed":s||void 0},o&&r?r:t,!s&&e.createElement(i,{size:m,type:c,color:o?u:g},a))};export{h as M,c as S,j as U,f as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import n,{useState as e,useEffect as t,useRef as r}from"react";import{Text as i}from"./components/atoms/text.js";import"./index.styled-c9c43e63.js";import"./index.styled-3a7f1be6.js";import"./index.styled-5cc30198.js";import"./index.styled-c7311908.js";import{Button as o}from"./components/atoms/button.js";import"./index.styled-bc1e34ec.js";import"./index.styled-8a2fdae1.js";import"./index.styled-35802967.js";import"./index.styled-14385ba4.js";import"./index.styled-ee90d157.js";import"./components/atoms/label.js";import"./index.styled-a6be0beb.js";import"./components/atoms/logo.js";import"./utils-432904d8.js";import"./index.styled-f3b75621.js";import"./components/atoms/pureInput.js";import{S as a}from"./index.styled-c2186de7.js";import"./index.styled-b8c131bf.js";import"react-range";import"./index.styled-7eda6b11.js";import"./index.styled-18eeca5a.js";import"./index.styled-b9ee0859.js";import"./index.styled-21bf0a76.js";import"./index.styled-4516ef5a.js";import{TextArea as s}from"./components/atoms/textArea.js";import"./components/atoms/container.js";import"./index.styled-070ed8ad.js";import"./components/atoms/textDivider.js";import"./index.styled-db5aa049.js";import"./Stethoscope-43935dbb.js";import"./index.styled-7b4d2a6a.js";import"react-dom";import"./index.styled-e4f1d848.js";import"./index.styled-3247d7d7.js";import"./components/atoms/menu.js";import"./index.styled-3a97799e.js";import"./translationsContext-d658f58d.js";import"string-format";import"lodash/debounce";import"./constants-3be6f6a9.js";import"date-fns";import"./animation-e703e19e.js";import"./lazyLoad-59e8ff6d.js";import l from"styled-components";import"./Locale-69030fff.js";import"./index.styled-41fcfc4d.js";import{b as m}from"./tslib.es6-260fa47f.js";import"./index.styled-76f02a1e.js";import{Heading as c}from"./components/atoms/heading.js";import{Input as d}from"./components/atoms/input.js";var p,u,g,h,v,f=l.div(p||(p=m(["\n padding: 1rem;\n background: ",";\n .survey-inner-wrapper {\n padding: 1.25rem 1rem 1.5rem;\n background: ",";\n border-radius: 6px;\n .survey-header {\n border-bottom: 1px solid #dbdfe5;\n margin-bottom: 12px;\n .survey-header-text {\n color: ",";\n }\n }\n\n .survey-contact-submit {\n width: 100%;\n margin-bottom: 1.5rem;\n }\n .term-policy-container {\n width: 70%;\n min-width: 210px;\n max-width: 100%;\n margin: 0 auto 1.5rem;\n text-align: center;\n }\n\n .survey-progress-wrapper {\n width: calc(100% + 2rem);\n height: 4px;\n margin-bottom: 1rem;\n margin-left: -1rem;\n background: #e4e8ec;\n .survey-progress {\n width: 100%;\n height: 100%;\n background: #00b16a;\n transform: scaleX(0);\n transform-origin: left;\n transition: transform ease-in-out 0.3s;\n }\n }\n\n .survey-button-wrapper {\n display: flex;\n justify-content: flex-end;\n button {\n justify-content: center;\n &[data-has-icon='true'] {\n svg {\n width: 10px;\n height: 10px;\n margin-right: 10px;\n vertical-align: unset;\n }\n }\n &.survey-next-button {\n &[data-has-icon='true'] {\n svg {\n margin-right: 0;\n margin-left: 10px;\n }\n }\n }\n }\n &[data-center='true'] {\n justify-content: center;\n button:only-child {\n width: 200px;\n max-width: 80%;\n }\n }\n .survey-prev-button {\n margin-right: 0.5rem;\n }\n }\n }\n"],["\n padding: 1rem;\n background: ",";\n .survey-inner-wrapper {\n padding: 1.25rem 1rem 1.5rem;\n background: ",";\n border-radius: 6px;\n .survey-header {\n border-bottom: 1px solid #dbdfe5;\n margin-bottom: 12px;\n .survey-header-text {\n color: ",";\n }\n }\n\n .survey-contact-submit {\n width: 100%;\n margin-bottom: 1.5rem;\n }\n .term-policy-container {\n width: 70%;\n min-width: 210px;\n max-width: 100%;\n margin: 0 auto 1.5rem;\n text-align: center;\n }\n\n .survey-progress-wrapper {\n width: calc(100% + 2rem);\n height: 4px;\n margin-bottom: 1rem;\n margin-left: -1rem;\n background: #e4e8ec;\n .survey-progress {\n width: 100%;\n height: 100%;\n background: #00b16a;\n transform: scaleX(0);\n transform-origin: left;\n transition: transform ease-in-out 0.3s;\n }\n }\n\n .survey-button-wrapper {\n display: flex;\n justify-content: flex-end;\n button {\n justify-content: center;\n &[data-has-icon='true'] {\n svg {\n width: 10px;\n height: 10px;\n margin-right: 10px;\n vertical-align: unset;\n }\n }\n &.survey-next-button {\n &[data-has-icon='true'] {\n svg {\n margin-right: 0;\n margin-left: 10px;\n }\n }\n }\n }\n &[data-center='true'] {\n justify-content: center;\n button:only-child {\n width: 200px;\n max-width: 80%;\n }\n }\n .survey-prev-button {\n margin-right: 0.5rem;\n }\n }\n }\n"])),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.gray500})),y=l(a)(u||(u=m(["\n &[data-type='circle'] {\n padding: 16px 20px;\n border: 0.5px solid transparent;\n background: #fafafa;\n border-radius: 6px;\n &[data-checked='true'] {\n border: 0.5px solid #2d87f3;\n background: #f7f9fc;\n }\n input {\n border: solid 2px #737373;\n margin-right: 0;\n background: white;\n &[type='checkbox'] {\n &:checked {\n border: 0;\n background: ","\n url(\"data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 22 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11 21C16.5228 21 21 16.5228 21 11C21 5.47715 16.5228 1 11 1C5.47715 1 1 5.47715 1 11C1 16.5228 5.47715 21 11 21Z' fill='%232D87F3' stroke='%232D87F3' stroke-width='2'/%3E%3Cpath d='M15.5714 8L9.67857 14L7 11.2727' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\")\n no-repeat center center;\n &:after {\n display: none;\n }\n }\n }\n }\n\n &[data-has-image='true'] {\n position: relative;\n display: block;\n padding: 12px;\n input {\n position: absolute;\n top: 20px;\n right: 20px;\n }\n .choice-image-wrapper {\n position: relative;\n padding-top: 56.25%;\n margin-bottom: 0.75rem;\n img {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n border-radius: 6px;\n object-fit: cover;\n }\n }\n }\n }\n"],["\n &[data-type='circle'] {\n padding: 16px 20px;\n border: 0.5px solid transparent;\n background: #fafafa;\n border-radius: 6px;\n &[data-checked='true'] {\n border: 0.5px solid #2d87f3;\n background: #f7f9fc;\n }\n input {\n border: solid 2px #737373;\n margin-right: 0;\n background: white;\n &[type='checkbox'] {\n &:checked {\n border: 0;\n background: ","\n url(\"data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 22 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11 21C16.5228 21 21 16.5228 21 11C21 5.47715 16.5228 1 11 1C5.47715 1 1 5.47715 1 11C1 16.5228 5.47715 21 11 21Z' fill='%232D87F3' stroke='%232D87F3' stroke-width='2'/%3E%3Cpath d='M15.5714 8L9.67857 14L7 11.2727' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\")\n no-repeat center center;\n &:after {\n display: none;\n }\n }\n }\n }\n\n &[data-has-image='true'] {\n position: relative;\n display: block;\n padding: 12px;\n input {\n position: absolute;\n top: 20px;\n right: 20px;\n }\n .choice-image-wrapper {\n position: relative;\n padding-top: 56.25%;\n margin-bottom: 0.75rem;\n img {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n border-radius: 6px;\n object-fit: cover;\n }\n }\n }\n }\n"])),(function(n){return n.theme.colors.primaryBase})),x=l.div(g||(g=m(["\n position: relative;\n width: 100%;\n padding-top: min(400px, 100%);\n .survey-thankyou-wrapper-inner {\n position: absolute;\n top: 0;\n left: 0;\n display: flex;\n width: 100%;\n height: 100%;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n .survey-thankyou-icon {\n width: 36%;\n max-height: 50%;\n margin-bottom: 1.5rem;\n }\n .survey-thankyou-title {\n margin-bottom: 1rem;\n text-align: center;\n }\n .survey-thankyou-subtitle {\n text-align: center;\n > * {\n text-align: center;\n }\n }\n }\n"],["\n position: relative;\n width: 100%;\n padding-top: min(400px, 100%);\n .survey-thankyou-wrapper-inner {\n position: absolute;\n top: 0;\n left: 0;\n display: flex;\n width: 100%;\n height: 100%;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n .survey-thankyou-icon {\n width: 36%;\n max-height: 50%;\n margin-bottom: 1.5rem;\n }\n .survey-thankyou-title {\n margin-bottom: 1rem;\n text-align: center;\n }\n .survey-thankyou-subtitle {\n text-align: center;\n > * {\n text-align: center;\n }\n }\n }\n"]))),b=l.div(h||(h=m(["\n .survey-question-text-wrapper {\n margin-bottom: 24px;\n .survey-question-title {\n margin-bottom: 4px;\n }\n .survey-question-subtitle,\n .survey-question-description {\n color: ",";\n }\n }\n .survey-question-image {\n width: 100%;\n margin-bottom: 12px;\n border-radius: 6px;\n }\n\n .survey-question-answer-wrapper {\n margin-bottom: 1.5rem;\n .survey-question-options-wrapper {\n display: grid;\n grid-gap: 0.5rem;\n grid-template-columns: 1fr;\n &[data-has-image='true'] {\n grid-gap: 0.8rem;\n grid-template-columns: 1fr 1fr;\n }\n .survey-question-option-item {\n label {\n color: #262626;\n font-size: 16px;\n font-style: normal;\n font-weight: normal;\n line-height: 24px;\n }\n }\n }\n .survey-contact-input {\n margin-bottom: 1rem;\n &:first-child {\n margin-top: 1rem;\n }\n label {\n font-weight: 700;\n }\n input {\n margin-top: 6px;\n }\n }\n }\n"],["\n .survey-question-text-wrapper {\n margin-bottom: 24px;\n .survey-question-title {\n margin-bottom: 4px;\n }\n .survey-question-subtitle,\n .survey-question-description {\n color: ",";\n }\n }\n .survey-question-image {\n width: 100%;\n margin-bottom: 12px;\n border-radius: 6px;\n }\n\n .survey-question-answer-wrapper {\n margin-bottom: 1.5rem;\n .survey-question-options-wrapper {\n display: grid;\n grid-gap: 0.5rem;\n grid-template-columns: 1fr;\n &[data-has-image='true'] {\n grid-gap: 0.8rem;\n grid-template-columns: 1fr 1fr;\n }\n .survey-question-option-item {\n label {\n color: #262626;\n font-size: 16px;\n font-style: normal;\n font-weight: normal;\n line-height: 24px;\n }\n }\n }\n .survey-contact-input {\n margin-bottom: 1rem;\n &:first-child {\n margin-top: 1rem;\n }\n label {\n font-weight: 700;\n }\n input {\n margin-top: 6px;\n }\n }\n }\n"])),(function(n){return n.theme.colors.gray500})),w=function(e){var t=e.size,r=void 0===t?"small":t,i=e.label,o=e.name,a=e.checked,s=e.value,l=e.className,m=e.isDisabled,c=void 0!==m&&m,d=e.onChange,p=e.hasImage,u=e.inputType,g=e.image;return n.createElement(y,{"data-disabled":c,className:l,"data-type":"circle","data-size":r,"data-checked":a,onClick:function(){d(s)},"data-has-image":p},p&&n.createElement("div",{className:"choice-image-wrapper"},g&&n.createElement("img",{src:g})),n.createElement("label",{onClick:function(n){n.preventDefault()},htmlFor:"".concat(o,"-").concat(s)},i),n.createElement("input",{type:u,checked:a,name:o,id:"".concat(o,"-").concat(s),value:s,readOnly:!0}))},k=function(r){var o=r.question,a=r.description,l=r.onOptionsChange,m=r.onTextOptionsChange,p=r.style,u=r.className,g=o.type,h=o.title,v=o.subtitle,f=o.image,y=o.textOptions,x=o.options,k=o.name,j=o.is_multi_select,E=!!(null==x?void 0:x.some((function(n){return n.image}))),C=e([]),N=C[0],q=C[1],D=e((function(){return(null==y?void 0:y.slice())||[]})),L=D[0],T=D[1];return t((function(){l&&l(N.slice())}),[!!l,N]),t((function(){m&&m(L)}),[!!m,L]),n.createElement(b,{className:u,style:p},n.createElement("div",{className:"survey-question-text-wrapper"},h&&n.createElement(c,{"data-nosubtitle":!v,className:"survey-question-title",tag:"h4"},h),v&&n.createElement(i,{className:"survey-question-subtitle",size:"p2"},v),a&&n.createElement(i,{className:"survey-question-description",size:"p2"},a)),f&&n.createElement("img",{src:f,className:"survey-question-image"}),n.createElement("div",{className:"survey-question-answer-wrapper"},"radio"===g&&n.createElement("div",{"data-has-image":E,className:"survey-question-options-wrapper"},x.map((function(e){var t;return n.createElement(w,{inputType:"radio",label:e.label,name:k,key:"".concat(k,"-").concat(e.value),checked:(null===(t=N[0])||void 0===t?void 0:t.value)===e.value,value:e.value,onChange:function(n){q([x.find((function(e){return e.value===n}))])},className:"survey-question-option-item",image:e.image,hasImage:E})}))),"checkbox"===g&&n.createElement("div",{"data-has-image":E,className:"survey-question-options-wrapper"},x.map((function(e){return n.createElement(w,{inputType:"checkbox",label:e.label,name:k,key:"".concat(k,"-").concat(e.value),checked:!!N.find((function(n){return n.value===e.value})),value:e.value,onChange:function(){var n=N.findIndex((function(n){return n.value===e.value}));q(n>=0?function(e){return e.splice(n,1),e.slice()}:j?function(n){return n.concat(e).slice()}:[e])},className:"survey-question-option-item survey-option-radio",image:e.image,hasImage:E})}))),"textbox"===g&&L.map((function(e,t){return e.isTextArea?n.createElement(s,{key:t,placeholder:e.placeholder,height:"150px",value:e.value,onChange:function(n){return T((function(e){return e[t].value=n,e.slice()}))}}):n.createElement(d,{key:t,value:e.value,name:e.name,size:"md",className:"survey-contact-input",label:e.label,placeholder:e.placeholder,onChange:function(n){T((function(e){return e[t].value=n,e.slice()}))},type:e.type})}))))};!function(n){n[n.UNLIMITED=0]="UNLIMITED",n[n.EXACT_NUMBER=1]="EXACT_NUMBER",n[n.RANGE=2]="RANGE"}(v||(v={}));var j=function(t){var a,s,l,m=t.className,c=t.headerText,d=t.style,p=t.question,u=t.termAndPolicyText,g=t.prevText,h=t.nextText,y=t.isContactForm,x=t.isDisableNext,b=t.isDisablePrev,w=t.onPrevClick,j=t.onNextClick,E=t.isSubmitButton,C=t.isButtonCenter,N=t.progress,q=t.descriptionText,D=e([]),L=D[0],T=D[1],z=p.is_multi_select,A=p.multi_select_option,M=p.from,B=p.to,I=null==p?void 0:p.type,_="checkbox"===I&&(null===(a=p.options)||void 0===a?void 0:a.length)&&(!L||0===L.length||z&&A===v.RANGE&&(L.length<M||L.length>B)||z&&A===v.EXACT_NUMBER&&L.length!==M)||"radio"===I&&(null===(s=p.options)||void 0===s?void 0:s.length)&&(!L||0===L.length)||"textbox"===I&&(null===(l=p.textOptions)||void 0===l?void 0:l.length)&&(L.length<p.textOptions.length||L.some((function(n){return!n.value}))),F="number"==typeof N?N>1?1:N<0?0:Number(N.toFixed(2)):-1,O=r(null),R=function(){return"textbox"!==I||O.current.reportValidity()};return n.createElement(f,{className:m,style:d},n.createElement("div",{className:"survey-inner-wrapper"},c&&n.createElement("div",{className:"survey-header"},n.createElement(i,{className:"survey-header-text",size:"c2"},c)),n.createElement("form",{ref:O,onSubmit:function(n){return n.preventDefault()}},n.createElement(k,{question:p,description:q,onOptionsChange:function(n){T(n)},onTextOptionsChange:function(n){T(n)}})),y&&h&&n.createElement(o,{className:"survey-contact-submit",size:"lg",isDisabled:x||_,onClick:function(){return R()&&j&&j(L)}},h),u&&n.createElement("div",{className:"term-policy-container"},u),"number"==typeof N&&n.createElement("div",{className:"survey-progress-wrapper"},n.createElement("div",{className:"survey-progress",style:{transform:"scaleX(".concat(F,")")}})),(g||h)&&n.createElement("div",{"data-center":C,className:"survey-button-wrapper"},g&&n.createElement(o,{className:"survey-prev-button",size:"lg",color:b?"primary":"secondary",isDisabled:b,icon:n.createElement("svg",{width:"6",height:"10",viewBox:"0 0 6 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M2.44677 4.99999L5.31252 2.13424C5.62302 1.82374 5.62302 1.31974 5.31252 1.00924C5.00202 0.698742 4.49802 0.698742 4.18752 1.00924L0.727018 4.46974C0.433768 4.76299 0.433768 5.23774 0.727018 5.53024L4.18752 8.99074C4.49802 9.30124 5.00202 9.30124 5.31252 8.99074C5.62302 8.68024 5.62302 8.17624 5.31252 7.86574L2.44677 4.99999Z",fill:b?"#fff":"#2D87F3"})),onClick:w},g),!y&&h&&n.createElement(o,{onClick:function(){return R()&&j&&j(L)},className:"survey-next-button",size:"lg",isDisabled:x||_},h," ",E?void 0:n.createElement("svg",{width:"6",height:"10",viewBox:"0 0 6 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M3.80322 5.19994L0.937465 2.33419C0.626965 2.02369 0.626965 1.51969 0.937465 1.20919C1.24796 0.898693 1.75196 0.898693 2.06246 1.20919L5.52297 4.66969C5.81622 4.96294 5.81622 5.43769 5.52297 5.73019L2.06246 9.19069C1.75196 9.50119 1.24796 9.50119 0.937465 9.19069C0.626965 8.88019 0.626965 8.37619 0.937465 8.06569L3.80322 5.19994Z",fill:"#ffffff"}))))))};export{j as S,f as a,x as b};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e from"react";import{Text as t}from"./components/atoms/text.js";import"./index.styled-c9c43e63.js";import"./index.styled-3a7f1be6.js";import"./index.styled-5cc30198.js";import"./index.styled-c7311908.js";import"./index.styled-76f02a1e.js";import"./index.styled-bc1e34ec.js";import"./index.styled-8a2fdae1.js";import"./index.styled-35802967.js";import"./index.styled-14385ba4.js";import{Heading as o}from"./components/atoms/heading.js";import"./components/atoms/label.js";import"./index.styled-a6be0beb.js";import"./components/atoms/logo.js";import"./utils-432904d8.js";import"./index.styled-f3b75621.js";import"./components/atoms/pureInput.js";import"./index.styled-c2186de7.js";import"./index.styled-b8c131bf.js";import"react-range";import"./index.styled-7eda6b11.js";import"./index.styled-18eeca5a.js";import"./index.styled-b9ee0859.js";import"./index.styled-21bf0a76.js";import"./index.styled-4516ef5a.js";import"./components/atoms/textArea.js";import"./components/atoms/container.js";import"./index.styled-070ed8ad.js";import"./components/atoms/textDivider.js";import"./index.styled-db5aa049.js";import"./Stethoscope-43935dbb.js";import"./index.styled-7b4d2a6a.js";import"react-dom";import"./index.styled-e4f1d848.js";import"./index.styled-3247d7d7.js";import"./components/atoms/menu.js";import"./index.styled-3a97799e.js";import"./translationsContext-d658f58d.js";import"string-format";import"lodash/debounce";import"./constants-3be6f6a9.js";import"date-fns";import"./animation-e703e19e.js";import"./lazyLoad-59e8ff6d.js";import"styled-components";import"./Locale-69030fff.js";import"./index.styled-41fcfc4d.js";import{a as s,b as r}from"./surveyQuestionCard-a9220787.js";var i=function(i){var n=i.thankyou,a=i.thankyouSubtitle,m=i.className,d=i.style;return e.createElement(s,{className:m,style:d},e.createElement("div",{className:"survey-inner-wrapper"},e.createElement(r,null,e.createElement("div",{className:"survey-thankyou-wrapper-inner"},e.createElement("svg",{viewBox:"0 0 122 122",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"survey-thankyou-icon"},e.createElement("path",{d:"M61.5 122C94.6371 122 121.5 95.1371 121.5 62C121.5 28.8629 94.6371 2 61.5 2C28.3629 2 1.5 28.8629 1.5 62C1.5 95.1371 28.3629 122 61.5 122Z",fill:"#E3F2FF"}),e.createElement("ellipse",{cx:"61.5",cy:"110.36",rx:"48",ry:"3.36",fill:"#91CAFF"}),e.createElement("path",{d:"M82.9048 72.6663H101.5L87.597 40H35.403L21.5 72.6663H40.0952V91H83.0786L82.9048 72.6663Z",fill:"#2C74DF"}),e.createElement("path",{d:"M74.4004 15.0005H39.863C36.9017 15.0005 34.5 17.4022 34.5 20.3635V72.5769C34.5 75.5383 36.9017 77.9399 39.863 77.9399H83.1357C86.097 77.9399 88.4987 75.5383 88.4987 72.5769V29.0988L88.4987 21.0005C88.4987 17.6868 85.8124 15.0005 82.4987 15.0005H74.4004Z",fill:"white"}),e.createElement("path",{d:"M88.8529 80.1077H34.1469C31.8699 80.1077 30.06 78.3036 30.06 76.0338V65.3837C30.06 63.1139 31.8699 61.3098 34.1469 61.3098H88.8529C91.1299 61.3098 92.9398 63.1139 92.9398 65.3837V76.0338C92.9398 78.3036 91.1299 80.1077 88.8529 80.1077Z",fill:"#E4E8EC"}),e.createElement("path",{d:"M90.838 85.4512H32.1618C29.8849 85.4512 28.075 83.6471 28.075 81.3774V70.7272C28.075 68.4575 29.8849 66.6533 32.1618 66.6533H90.7796C93.0566 66.6533 94.8665 68.4575 94.8665 70.7272V81.3774C94.9249 83.6471 93.0566 85.4512 90.838 85.4512Z",fill:"white"}),e.createElement("path",{d:"M103.748 75.4919V105.755C103.748 107.675 102.172 109.247 100.245 109.247H23.0031C21.0764 109.247 19.5 107.675 19.5 105.755V75.4919C19.5 73.5713 21.0764 72 23.0031 72H42.3866C44.3133 72 45.8897 73.5713 45.8897 75.4919V80.8461C45.8897 81.1952 46.1232 81.428 46.4735 81.428H76.7749C77.1253 81.428 77.3588 81.1952 77.3588 80.8461V75.4919C77.3588 73.5713 78.9352 72 80.8618 72H100.245C102.172 72 103.748 73.5713 103.748 75.4919Z",fill:"#45A4FF"}),e.createElement("path",{d:"M51.9541 91.3767V94.4612C51.9541 96.0907 53.2386 97.3711 54.8733 97.3711H67.7179C69.3526 97.3711 70.6371 96.0907 70.6371 94.4612V91.3767",stroke:"#2C74DF",strokeWidth:"3",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M120.5 38.0251C118.5 37.7793 117.25 39.3768 118.125 41.22L118.375 41.9573C119.125 43.8006 118 45.398 116 45.1523L115.25 45.0294C113.25 44.7836 112 46.3811 112.875 48.2244L113.25 48.9616C114 50.8049 112.875 52.4025 110.875 52.1567L110.125 52.0337C108.625 51.9109 107.5 52.7712 107.5 54",stroke:"#FE921D",strokeWidth:"1.9096",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M1.53299 62C1.2644 63.413 2.6745 64.337 4.35323 63.8478L5.02472 63.6304C6.70346 63.087 8.11356 64.0109 7.84496 65.4783L7.7107 66.0217C7.4421 67.4348 8.8522 68.3587 10.5309 67.8696L11.2024 67.6522C12.8812 67.1087 14.2913 68.0326 14.0227 69.5L13.8884 70.0435C13.687 71.1304 14.4256 71.8913 15.5 72",stroke:"#00B16A",strokeWidth:"2.8751",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M118 92C119.381 92 120.5 90.8807 120.5 89.5C120.5 88.1193 119.381 87 118 87C116.619 87 115.5 88.1193 115.5 89.5C115.5 90.8807 116.619 92 118 92Z",stroke:"#00B16A",strokeWidth:"2.8751",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M82.0001 3.18747L83.1875 7.53467L87.5347 6.34727L86.3473 2.00007L82.0001 3.18747Z",stroke:"#00B16A",strokeWidth:"2.1628",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M17.0001 28C18.1046 28 19 27.1045 19 25.9999C19 24.8954 18.1046 24 17.0001 24C15.8955 24 15 24.8954 15 25.9999C15 27.1045 15.8955 28 17.0001 28Z",stroke:"#FE921D",strokeWidth:"2.3278",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M61.5 26.6667C54.136 26.6667 48.1667 32.6361 48.1667 40.0001C48.1667 47.3641 54.136 53.3334 61.5 53.3334C68.864 53.3334 74.8334 47.3641 74.8334 40.0001C74.8334 32.6361 68.864 26.6667 61.5 26.6667ZM69.1094 36.9427L59.776 46.2761C59.516 46.5361 59.1747 46.6667 58.8334 46.6667C58.492 46.6667 58.1507 46.5361 57.8907 46.2761L53.8907 42.2761C53.3694 41.7547 53.3694 40.9121 53.8907 40.3907C54.412 39.8694 55.2547 39.8694 55.776 40.3907L58.8334 43.4481L67.224 35.0574C67.7454 34.5361 68.588 34.5361 69.1094 35.0574C69.6307 35.5787 69.6307 36.4214 69.1094 36.9427Z",fill:"#00CB8A"})),n&&e.createElement(o,{className:"survey-thankyou-title",tag:"h3"},n),a&&e.createElement(t,{className:"survey-thankyou-subtitle",size:"p3"},a)))))};export{i as S};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e,{createContext as t,useState as r,useEffect as o}from"react";import{d as a,e as i,_ as n}from"./tslib.es6-260fa47f.js";import{g as l}from"./cookieHelper-0e8521c3.js";import s from"slugify";import c from"string-format";var u={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_DOCTOR_INFO:"api/doctors/{doctorId}?site={website_url}",GET_HOSPITAL_INFO:"api/hospital/branch/{hospital_branch_id}?site={website_url}"},d={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",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}"},E={SEARCH_USER:"admin/profile/search?website_url={website_url}&name={name}",COMMENT:{IMAGE_UPLOAD:"admin/comment/image/upload?website_url={website_url}"}},p=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");var r={},o=(t||{}).decode||O,a=0;for(;a<e.length;){var i=e.indexOf("=",a);if(-1===i)break;var n=e.indexOf(";",a);if(-1===n)n=e.length;else if(n<i){a=e.lastIndexOf(";",i-1)+1;continue}var l=e.slice(a,i).trim();if(void 0===r[l]){var s=e.slice(i+1,n).trim();34===s.charCodeAt(0)&&(s=s.slice(1,-1)),r[l]=v(s,o)}a=n+1}return r},T=function(e,t,r){var o=r||{},a=o.encode||A;if("function"!=typeof a)throw new TypeError("option encode is invalid");if(!h.test(e))throw new TypeError("argument name is invalid");var i=a(t);if(i&&!h.test(i))throw new TypeError("argument val is invalid");var n=e+"="+i;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(!h.test(o.domain))throw new TypeError("option domain is invalid");n+="; Domain="+o.domain}if(o.path){if(!h.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]"===m.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},m=Object.prototype.toString,h=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function O(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function A(e){return encodeURIComponent(e)}function v(e,t){try{return t(e)}catch(t){return e}}var b={parse:p,serialize:T},g="/images/avatar.jpg",I="/images/default-image.jpg",L={DUE_DATE:"DUE_DATE",BMI:"BMI",BMR:"BMR",OVULATION:"OVULATION",IFRAME:"IFRAME",PWG:"PWG",THR:"THR"},f={"id-ID":{"kalkulator-bmi":L.BMI,"kebutuhan-kalori":L.BMR,"kalkulator-hari-perkiraan-lahir":L.DUE_DATE,"kalkulator-masa-subur-2":L.OVULATION,"kalkulator-kenaikan-berat-badan-ibu-hamil":L.PWG,"kalkulator-detak-jantung-saat-olahraga":L.THR},"ms-MY":{"kalkulator-bmi":L.BMI,"kalkulator-bmr":L.BMR,"kalkulator-tarikh-bersalin":L.DUE_DATE,"kalkulator-kesuburan":L.OVULATION,"kalkulator-tambah-berat-badan-hamil":L.PWG,"target-heart-rate-calculator":L.THR},"vi-VN":{"cach-tinh-chi-so-bmi":L.BMI,"tinh-chi-so-bmr":L.BMR,"cong-cu-tinh-ngay-du-sinh":L.DUE_DATE,"tinh-ngay-rung-trung":L.OVULATION,"cong-cu-tinh-can-nang-khi-mang-thai":L.PWG,"cong-cu-do-nhip-tim":L.THR},"zh-TW":{"bmi-calculator":L.BMI,"bmr-calculator":L.BMR,"due-date-calculator":L.DUE_DATE,"ovulation-calculator":L.OVULATION,"pregnancy-weight-gain-calculator":L.PWG,"target-heart-rate-calculator":L.THR},"en-PH":{"bmi-calculator":L.BMI,"bmr-calculator":L.BMR,"due-date-calculator":L.DUE_DATE,"ovulation-calculator":L.OVULATION,"pregnancy-weight-gain-calculator":L.PWG,"target-heart-rate-calculator":L.THR},"th-TH":{"เครื่องคำนวณหา-ค่าดัชนี":L.BMI,"เครื่องคำนวณอัตราการเผาผลาญพลังงาน-bmr":L.BMR,"เครื่องมือคำนวณกำหนดคลอด":L.DUE_DATE,"เครื่องคำนวณการตกไข่-ovulation-calculat":L.OVULATION,"เครื่องคำนวณน้ำหนักตัว":L.PWG,"เครื่องวัดอัตราการเต้น":L.THR},"hi-IN":{"bmi-calculator-en":L.BMI,"bmi-calculator":L.BMI,"bmr-calculator":L.BMR,"delivery-date-calculator":L.DUE_DATE,"ovulation-calculator":L.OVULATION,"pregnancy-weight-gain-calculator":L.PWG,"target-heart-rate-calculator":L.THR},"km-KH":{"គណនា-bmi":L.BMI,"គណនា-bmr":L.BMR,"គណនាថ្ងៃសម្រាលកូន":L.DUE_DATE,"គណនាថ្ងៃមេជីវិតញីទុំធ្លាក់":L.OVULATION,"គណនាទម្ងន់ស្ត្រីពពោះ":L.PWG,"គណនារកចង្វាក់បេះដូងល្អ":L.THR},"my-MM":{"bmi-calculator":L.BMI,"bmr-calculator":L.BMR,"due-date-calendar":L.DUE_DATE,"ovulation-calculator":L.OVULATION,"pregnaancy-weight-calculator":L.PWG,"target-heartrate":L.THR,"pregnancy-weight-calculator":L.PWG,"target-heart-rate":L.THR}},R="hhg_user_token",S={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"}},w=20,y={"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"}},P=Object.freeze({__proto__:null,POST_DATE_FORMAT:"dd/MM/yyyy",NORMAL_DATE_FORMAT:"YYYY-MM-DD",DEFAULT_AVATAR_IMG:"/images/avatar.jpg",DEFAULT_RESULT_IMG:"/images/default.png",DEFAULT_IMG:"/images/default-image.jpg",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:L,LOCALE_HEALTH_TOOLS:f,BEARER_TOKEN_COOKIE:"hhg_user_token",TOGETHER_DISCLAIMER_COOKIE:"hhg_together_disclaimer",BEARER_ADMIN_TOKEN_COOKIE:"together_admin_token",Z_INDEX:{adBlock:48,articleAdContainer:47,headerContainerHome:99,headerContainerPopup:200,headerContainerPopupSUbLevel:300,menuSearchInputPopup:5,menuSearchInputDisplayIcon:6,menuSearchPopup:200},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:S,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:y}),D={"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"},G={"vi-VN":"marrybaby.vn"},N=process.env.NEXT_PUBLIC_DEPLOY_LOCALE||"vi-VN",k=function(e){var t=Q.env.isMarryBaby;return"https://".concat(t?G[e]:D[e])},C=function(e){var t=e.indexOf("?");return t>=0?e.slice(0,t+1)+e.slice(t+1).replace(/[^=&]+=(&|$)/g,"").replace(/&$/,""):e},M=function(e){var t=Q.env.isMarryBaby;if("undefined"!=typeof window)return window.location.origin;var r="staging"===process.env.NEXT_PUBLIC_DEPLOY_ENV;return"development"===process.env.NEXT_PUBLIC_DEPLOY_ENV?"http://localhost:3000":"https://".concat(r?t?"fe.":"discover.":t?"www.":"").concat(D[e])},U=function(e,t,r){return"undefined"!=typeof window?window.location.href:"".concat(M(e)).concat(t).concat(r)},B=function(e,t,r){var o="";r&&(o=Object.keys(r).map((function(e){return e+"="+r[e]})).join("&"));var a=((null==Q?void 0:Q.env)||{}).togetherBaseApiUrl,i=void 0===a?"":a,l=c(e,n(n({},(null==t?void 0:t._locale)?{website_url:k(String(t._locale))}:{}),t));return l+="".concat(l.includes("?")?"&":"?").concat(o),i+"api/v1/"+C(l)},H=function(e,t){var r=((null==Q?void 0:Q.env)||{}).discoverBaseApiUrl;return(void 0===r?"":r)+"wp-json/api/"+C(c(e,n({},t)))},x=function(e,t){var r=((null==Q?void 0:Q.env)||{}).careBaseApiUrl;return((void 0===r?"":r)||"https://service-health-care.hellohealthgroup.com/")+C(c(e,n({},t)))},F=function(e){return(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},V=function(e,t,r,o){return void 0===o&&(o=!1),a(void 0,void 0,void 0,(function(){var a,l,s,c,u;return i(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,fetch(o?e:(_=e,encodeURI(_).replace(/%5B/g,"[").replace(/%5D/g,"]")),n({method:t},F(r))).then((function(e){return e.json()}))];case 1:return(a=i.sent())?[2,a]:[3,3];case 2:return l=i.sent(),console.log(l),console.log({url:e,status:null===(s=null==l?void 0:l.response)||void 0===s?void 0:s.status,statusText:null===(c=null==l?void 0:l.response)||void 0===c?void 0:c.statusText}),[2,(null===(u=null==l?void 0:l.response)||void 0===u?void 0:u.data)||null];case 3:return[2,null]}var _}))}))},K=function(e,t,r,o){return void 0===t&&(t="GET"),a(void 0,void 0,void 0,(function(){var a,s,c,u,_,d,E,p,T,m,h,O,A,v;return i(this,(function(i){switch(i.label){case 0:if(i.trys.push([0,7,,8]),a="string"==typeof e?e:e.url,s="string"==typeof e?e:e.backupUrl,c=b.parse(o||""),u=c.hhg_user_token,!(_=u||l("hhg_user_token"))||!_.length)return[3,5];i.label=1;case 1:return i.trys.push([1,3,,4]),[4,fetch(a,n(n({method:t},F(r)),{headers:{Authorization:"Bearer "+_}})).then((function(e){return e.json()}))];case 2:return d=i.sent(),(null===(T=null==d?void 0:d.messages)||void 0===T?void 0:T.find((function(e){return"Unauthenticated"===(null==e?void 0:e.toLowerCase())})))?[2,V(s||a,t,r)]:d?[2,d]:[3,4];case 3:return E=i.sent(),console.log({status:null===(m=null==E?void 0:E.response)||void 0===m?void 0:m.status,statusText:null===(h=null==E?void 0:E.response)||void 0===h?void 0:h.statusText}),[2,V(s||a,t,r)];case 4:return[3,6];case 5:return[2,V(s||a,t,r)];case 6:return[3,8];case 7:return p=i.sent(),console.log({status:null===(O=null==p?void 0:p.response)||void 0===O?void 0:O.status,statusText:null===(A=null==p?void 0:p.response)||void 0===A?void 0:A.statusText}),[2,(null===(v=null==p?void 0:p.response)||void 0===v?void 0:v.data)||null];case 8:return[2,null]}}))}))},Y=function(e,t,r,o){return a(void 0,void 0,void 0,(function(){var a,s,c,u;return i(this,(function(i){switch(i.label){case 0:return i.trys.push([0,3,,4]),a=b.parse(o||""),s=a.hhg_user_token,(c=s||l("hhg_user_token"))&&c.length?[4,fetch(e,n(n({method:t},F(r)),{headers:{Authorization:"Bearer "+c}})).then((function(e){return e.json()}))]:[3,2];case 1:if(u=i.sent())return[2,u];i.label=2;case 2:return[3,4];case 3:return i.sent(),[2,null];case 4:return[2,null]}}))}))},W=function(e,t,r,o){return a(void 0,void 0,void 0,(function(){var a,s,c,u;return i(this,(function(i){switch(i.label){case 0:return i.trys.push([0,3,,4]),a=b.parse(o||""),s=a.together_admin_token,(c=s||l("together_admin_token"))&&c.length?[4,fetch(e,n(n({method:t},F(r)),{headers:{Authorization:"Bearer "+c}})).then((function(e){return e.json()}))]:[3,2];case 1:if(u=i.sent())return[2,u];i.label=2;case 2:return[3,4];case 3:return i.sent(),[2,null];case 4:return[2,null]}}))}))};function j(e,t,r){var o=new RegExp("([?&])"+t+"=.*?(&|$)","i"),a=-1!==e.indexOf("?")?"&":"?";return e.match(o)?e.replace(o,"$1"+t+"="+r+"$2"):e+a+t+"="+r}var X=function(e,t,r){void 0===r&&(r="/community");var o=e||("undefined"!=typeof window?window.location.href:"/"),a="undefined"!=typeof window?window.location.origin:"";return a||e&&(e.startsWith("http://")||e.startsWith("https://"))&&(a=e.split("/").slice(0,3).join("/")),function(e,t){var r=Q.env.publicSSO,o=e||window.location.href;return t&&Object.keys(t).map((function(e){j(o,e,t[e])})),j(o,"source","communities"),r?"".concat(r,"?returnUrl=").concat(encodeURIComponent(o.toString())):o}("".concat(a).concat(r,"/on-boarding?return=").concat(encodeURIComponent(o)),t)},z=function(e,t,r,o){return r&&t?"".concat(r,"-").concat(t):"".concat(s(e||"",{lower:!0,locale:o||N}),"-").concat(t)},$=function(e){var t,r=e.name,o=e.id,a=e.locale;return"/care/".concat(null===(t=y[a||"vi-VN"])||void 0===t?void 0:t.DOCTOR,"/").concat(z(r,o))},J=function(e){var t,r=e.name,o=e.id,a=e.slug,i=e.locale;return"/care/".concat(null===(t=y[i||"vi-VN"])||void 0===t?void 0:t.HOSPITAL,"/").concat(z(r,o,a))},Z={locale:"vi-VN",env:{isMarryBaby:!1,togetherBasePath:"/community"},router:{basePath:"",asPath:"/"}},q=t({data:Z,action:{pushNotifications:function(e){return e},sanitizeFunction:function(e){return e}}}),Q=Z,ee=function(t){var a=t.locale,i=void 0===a?"vi-VN":a,n=t.children,l=t.userInfo,s=t.router,c=t.env,_=void 0===c?{isMarryBaby:!1,togetherBasePath:"/community"}:c,d=t.sanitizeFunction,E=void 0===d?function(e){return e}:d,p=t.pushNotifications,T=void 0===p?function(){return!1}:p,m=r(),h=m[0],O=m[1];return Q={userInfo:l,locale:i,togetherUserId:h,router:s,env:_},o((function(){(null==l?void 0:l.id)&&Y(B(u.PROFILE,{_locale:i}),"GET").then((function(e){var t;O(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.id)}))}),[null==l?void 0:l.id]),e.createElement(q.Provider,{value:{data:{userInfo:l,locale:i,togetherUserId:h,router:s,env:_},action:{pushNotifications:T,sanitizeFunction:E}}},n)};export{E as A,R as B,_ as C,Z as D,Q as G,w as M,u as P,S as R,q as T,ee as a,I as b,P as c,V as d,B as e,U as f,X as g,W as h,Y as i,g as j,x as k,M as l,D as m,K as n,J as o,$ as p,H as q,d as r};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{createContext as r}from"react";var a=r(null);export{a as T};
|