@hhgtech/hhg-components 1.28.26 → 1.28.28
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/Subot-1722467d.js +1 -0
- package/build/babyGrowth.js +24 -24
- package/build/cache.js +1 -1
- package/build/care.js +1 -1
- package/build/components.js +1 -1
- package/build/{constants-d9ea113d.js → constants-32fce788.js} +1 -1
- package/build/{constants-206f3b70.js → constants-40e42f36.js} +1 -1
- package/build/constants.js +1 -1
- package/build/{core-1e5dc399.js → core-9daa2b6d.js} +1 -1
- package/build/ecom.js +1 -1
- package/build/esm/Subot-3e26682c.js +1 -0
- package/build/esm/babyGrowth.js +37 -37
- package/build/esm/cache.js +1 -1
- package/build/esm/care.js +1 -1
- package/build/esm/components.js +1 -1
- package/build/esm/{constants-b1321698.js → constants-cf8d2b27.js} +2 -2
- package/build/esm/{constants-f9d7aa8c.js → constants-f17c72d7.js} +1 -1
- package/build/esm/constants.js +1 -1
- package/build/esm/{core-f858b620.js → core-469917c1.js} +1 -1
- package/build/esm/ecom.js +1 -1
- package/build/esm/footer.js +1 -1
- package/build/esm/gAssets.js +1 -1
- package/build/esm/getDynamicHealthTool-07d36d83.js +1 -0
- package/build/esm/getSocialList-52e734b5.js +1 -0
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/i18nV2.js +1 -1
- package/build/esm/{index-f4cf350a.js → index-0914cf85.js} +1 -1
- package/build/esm/index-0f17b8aa.js +1 -0
- package/build/esm/index-36c96e53.js +1 -0
- package/build/esm/index-539f568d.js +1 -0
- package/build/esm/index-59321c99.js +1 -0
- package/build/esm/{index-48404b57.js → index-5ff5ccf6.js} +1 -1
- package/build/esm/index-63cb82b7.js +1 -0
- package/build/esm/index-6a242131.js +177 -0
- package/build/esm/index-6db1bd1f.js +1 -0
- package/build/esm/index-70255978.js +1 -0
- package/build/esm/{index-6bfa1218.js → index-7532b0c5.js} +1 -1
- package/build/esm/{index-ee15c33c.js → index-7af053cd.js} +3 -3
- package/build/esm/index-8727c628.js +1 -0
- package/build/esm/{index-a192f489.js → index-992c1d4f.js} +1 -1
- package/build/esm/index-9e8718ca.js +3533 -0
- package/build/esm/index-a53e5cc5.js +1 -0
- package/build/esm/index-a5572feb.js +1 -0
- package/build/esm/index-ab913381.js +1 -0
- package/build/esm/index-bb64c9f3.js +1 -0
- package/build/esm/index-d97b7f95.js +1 -0
- package/build/esm/{index-11fea400.js → index-dce8c446.js} +1 -1
- package/build/esm/index-e9742f34.js +1 -0
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-2bdbb16a.js → index.styled-82281f59.js} +135 -135
- package/build/esm/index.styled-83170533.js +50 -0
- package/build/esm/{index.styled-7ef36c68.js → index.styled-8642a0c0.js} +1 -1
- package/build/esm/index.styled-bd0daa57.js +1755 -0
- package/build/esm/{index.styles-07a11ccd.js → index.styles-309a8680.js} +2 -2
- package/build/esm/interfaces/constants/index.d.ts +16 -0
- package/build/esm/interfaces/types/Subot.d.ts +302 -0
- package/build/esm/interfaces/types/SubotInline.d.ts +40 -0
- package/build/esm/interfaces/types/index.d.ts +3 -0
- package/build/esm/lead/api/paths.d.ts +11 -0
- package/build/esm/lead/api/utils.d.ts +5 -0
- package/build/esm/lead.js +1 -1
- package/build/esm/mantine.js +1 -1
- package/build/esm/misc/fastdom.d.ts +41 -0
- package/build/esm/misc.js +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/esm/onboardingV2.js +9 -9
- package/build/esm/pwg.js +3 -3
- package/build/esm/{routing-a4e59b08.js → routing-910eb4da.js} +1 -1
- package/build/esm/subot/api/paths.d.ts +19 -0
- package/build/esm/subot/api/utils.d.ts +13 -0
- package/build/esm/subot/components/PhoneInput/index.d.ts +17 -0
- package/build/esm/subot/components/markdown/index.d.ts +5 -0
- package/build/esm/subot/components/markdown/index.styled.d.ts +1 -0
- package/build/esm/subot/components/otpInfoForm/countDown.d.ts +19 -0
- package/build/esm/subot/components/otpInfoForm/index.d.ts +18 -0
- package/build/esm/subot/components/otpInfoForm/index.styled.d.ts +2 -0
- package/build/esm/subot/components/userInfoForm/GoogleAddressField.d.ts +34 -0
- package/build/esm/subot/components/userInfoForm/SelectItem.d.ts +8 -0
- package/build/esm/subot/components/userInfoForm/index.d.ts +20 -0
- package/build/esm/subot/components/userInfoForm/index.styled.d.ts +3 -0
- package/build/esm/subot/components/userInfoForm/utils.d.ts +9 -0
- package/build/esm/subot/hooks/useAddressMultipleLevelData/index.d.ts +13 -0
- package/build/esm/subot/hooks/useCurrentUrl.d.ts +1 -0
- package/build/esm/subot/hooks/useDescriptionPollNode.d.ts +6 -0
- package/build/esm/subot/hooks/useValidationMultiOption.d.ts +5 -0
- package/build/esm/subot/index.d.ts +2 -0
- package/build/esm/subot/subotInlineRevamp/assets/check-circle-green.d.ts +3 -0
- package/build/esm/subot/subotInlineRevamp/assets/checkbox.d.ts +3 -0
- package/build/esm/subot/subotInlineRevamp/assets/chevron-down.d.ts +3 -0
- package/build/esm/subot/subotInlineRevamp/assets/chevron-left.d.ts +3 -0
- package/build/esm/subot/subotInlineRevamp/assets/chevron-right.d.ts +3 -0
- package/build/esm/subot/subotInlineRevamp/assets/close.d.ts +3 -0
- package/build/esm/subot/subotInlineRevamp/assets/delete-icon.d.ts +3 -0
- package/build/esm/subot/subotInlineRevamp/assets/icon-edit.d.ts +3 -0
- package/build/esm/subot/subotInlineRevamp/assets/info-error.d.ts +3 -0
- package/build/esm/subot/subotInlineRevamp/assets/info.d.ts +3 -0
- package/build/esm/subot/subotInlineRevamp/assets/location.d.ts +3 -0
- package/build/esm/subot/subotInlineRevamp/assets/references.d.ts +3 -0
- package/build/esm/subot/subotInlineRevamp/assets/refresh.d.ts +3 -0
- package/build/esm/subot/subotInlineRevamp/common/styles.d.ts +3 -0
- package/build/esm/subot/subotInlineRevamp/common/subotInlineVoucherLeftUI/index.d.ts +10 -0
- package/build/esm/subot/subotInlineRevamp/container.d.ts +4 -0
- package/build/esm/subot/subotInlineRevamp/context.d.ts +4 -0
- package/build/esm/subot/subotInlineRevamp/friso.utils.d.ts +3 -0
- package/build/esm/subot/subotInlineRevamp/index.d.ts +1 -0
- package/build/esm/subot/subotInlineRevamp/styled.d.ts +2 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineAction/SubotInlineActionImageChoice/index.d.ts +7 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineAction/SubotInlineActionSSO/index.d.ts +7 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineAction/SubotInlineActionTextChoice/index.d.ts +8 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineAction/SubotInlineActionTextChoice/styles.d.ts +21 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineAction/SubotInlinePollChoice/index.d.ts +7 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineAction/SubotInlinePollChoice/styles.d.ts +1 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineAction/SubotInlinePollChoiceImage/index.d.ts +7 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineAction/index.d.ts +7 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineAction/styles.d.ts +1 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineAction/utils.d.ts +8 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineDisclaimer/index.d.ts +6 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineDisclaimer/styles.d.ts +1 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineFooter/index.d.ts +6 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineFooter/styles.d.ts +1 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineInfoSection/index.d.ts +16 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotButton/index.d.ts +7 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotButton/styles.d.ts +1 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotEventSubmission/index.d.ts +7 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotImage/index.d.ts +7 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotImage/styles.d.ts +1 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotRelatedArticle/index.d.ts +9 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotRelatedArticle/styles.d.ts +1 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotSuggestedService/SubotInlineServiceDisclaimer/index.d.ts +9 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotSuggestedService/SubotInlineServiceDisclaimer/styles.d.ts +1 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotSuggestedService/index.d.ts +7 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotSuggestedService/styles.d.ts +1 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotText/index.d.ts +7 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotText/styles.d.ts +1 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotTitle/index.d.ts +11 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotTitle/styles.d.ts +1 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentSSO/index.d.ts +7 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentSSO/styles.d.ts +1 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentUrl/index.d.ts +4 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentUrl/styles.d.ts +4 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/index.d.ts +7 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/styles.d.ts +1 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineIntent/utils.d.ts +8 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/container.d.ts +9 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/context.d.ts +13 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/index.d.ts +1 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeFinal/index.d.ts +7 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeFinal/styles.d.ts +1 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeFinalStandard/index.d.ts +7 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeFinalStandard/styles.d.ts +3 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeFinalStandard/sub-inline-intent.d.ts +7 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeFinalThankYou/index.d.ts +7 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeFinalThankYou/styles.d.ts +1 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeForm/index.d.ts +7 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeForm/styles.d.ts +1 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeImage/index.d.ts +7 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeImage/styles.d.ts +1 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeMultiple/index.d.ts +7 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeMultiple/styles.d.ts +1 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodePoll/index.d.ts +7 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodePoll/styles.d.ts +1 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeSSO/index.d.ts +8 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeSSO/styles.d.ts +1 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeStart/container.d.ts +11 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeStart/index.d.ts +1 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeStart/styles.d.ts +1 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeText/index.d.ts +7 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeText/styles.d.ts +1 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/utils.d.ts +5 -0
- package/build/esm/subot/subotInlineRevamp/subotInlineNode/view.d.ts +3 -0
- package/build/esm/subot/subotInlineRevamp/types.d.ts +60 -0
- package/build/esm/subot/subotInlineRevamp/utils.d.ts +52 -0
- package/build/esm/subot/subotInlineRevamp/view.d.ts +4 -0
- package/build/esm/subot/utils/dynamicScore.utils.d.ts +12 -0
- package/build/esm/subot/utils/fpixel.d.ts +2 -0
- package/build/esm/subot/utils/index.d.ts +24 -0
- package/build/esm/subot.js +1709 -0
- package/build/esm/together/api/utils.d.ts +2 -2
- package/build/esm/together/interfaces/types.d.ts +1 -0
- package/build/esm/together/togetherComponentGlobalContext.d.ts +9 -1
- package/build/esm/together.js +1 -1
- package/build/esm/types-225e1b02.js +1 -0
- package/build/esm/{types-de6c8d61.js → types-f83118a3.js} +1 -1
- package/build/esm/types.js +1 -1
- package/build/esm/useCategory-28c9abc6.js +1 -0
- package/build/esm/useHealthToolCache-e117dfc4.js +1 -0
- package/build/esm/usePlacesAutocomplete-e30f1118.js +1 -0
- package/build/esm/{useRafState-1446e72b.js → useRafState-10da1fd9.js} +1 -1
- package/build/esm/{useTranslations-28b19550.js → useTranslations-d8b9e866.js} +1 -1
- package/build/esm/utils-a7d6d7bd.js +1 -0
- package/build/esm/{utils-4dd7269c.js → utils-c6957af3.js} +1 -1
- package/build/esm/vaccination.js +5 -5
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/getDynamicHealthTool-de43b3f5.js +1 -0
- package/build/getSocialList-9fc8841e.js +1 -0
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-f7536bc6.js → index-08284f8f.js} +2 -2
- package/build/{index-781bee17.js → index-289338c5.js} +1 -1
- package/build/index-2efa93f4.js +1 -0
- package/build/index-377f90fc.js +1 -0
- package/build/{index-2922fa49.js → index-48ac2384.js} +1 -1
- package/build/index-494c572e.js +1 -0
- package/build/index-542a0aa1.js +1 -0
- package/build/index-64661797.js +1 -0
- package/build/index-701c4a92.js +1 -0
- package/build/{esm/index-dbff2d47.js → index-85ea987c.js} +1 -1
- package/build/index-97b22be6.js +1 -0
- package/build/index-9c75f185.js +1 -0
- package/build/{index-0212babb.js → index-a3916b70.js} +1 -1
- package/build/index-adc97936.js +1 -0
- package/build/index-cdb7ff38.js +1 -0
- package/build/index-cefda9d4.js +1 -0
- package/build/index-dbb6aa7b.js +1 -0
- package/build/{index-e3a8e828.js → index-dc09ac1e.js} +3 -3
- package/build/index-ee279ebe.js +177 -0
- package/build/index-f2ae4ff9.js +1 -0
- package/build/index-f6748529.js +1 -0
- package/build/index-f712bf65.js +3533 -0
- package/build/index.js +1 -1
- package/build/index.styled-2bf89382.js +50 -0
- package/build/{index.styled-e25011fd.js → index.styled-366879b1.js} +126 -126
- package/build/{index.styled-0a9266aa.js → index.styled-72b6bed2.js} +1 -1
- package/build/index.styled-86c3180a.js +1755 -0
- package/build/{index.styles-f208cbbd.js → index.styles-5b4ce3f7.js} +37 -37
- package/build/interfaces/constants/index.d.ts +16 -0
- package/build/interfaces/types/Subot.d.ts +302 -0
- package/build/interfaces/types/SubotInline.d.ts +40 -0
- package/build/interfaces/types/index.d.ts +3 -0
- package/build/lead/api/paths.d.ts +11 -0
- package/build/lead/api/utils.d.ts +5 -0
- package/build/lead.js +1 -1
- package/build/mantine.js +1 -1
- package/build/misc/fastdom.d.ts +41 -0
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/onboardingV2.js +5 -5
- package/build/pwg.js +3 -3
- package/build/{routing-eeb746d3.js → routing-9196855e.js} +1 -1
- package/build/subot/api/paths.d.ts +19 -0
- package/build/subot/api/utils.d.ts +13 -0
- package/build/subot/components/PhoneInput/index.d.ts +17 -0
- package/build/subot/components/markdown/index.d.ts +5 -0
- package/build/subot/components/markdown/index.styled.d.ts +1 -0
- package/build/subot/components/otpInfoForm/countDown.d.ts +19 -0
- package/build/subot/components/otpInfoForm/index.d.ts +18 -0
- package/build/subot/components/otpInfoForm/index.styled.d.ts +2 -0
- package/build/subot/components/userInfoForm/GoogleAddressField.d.ts +34 -0
- package/build/subot/components/userInfoForm/SelectItem.d.ts +8 -0
- package/build/subot/components/userInfoForm/index.d.ts +20 -0
- package/build/subot/components/userInfoForm/index.styled.d.ts +3 -0
- package/build/subot/components/userInfoForm/utils.d.ts +9 -0
- package/build/subot/hooks/useAddressMultipleLevelData/index.d.ts +13 -0
- package/build/subot/hooks/useCurrentUrl.d.ts +1 -0
- package/build/subot/hooks/useDescriptionPollNode.d.ts +6 -0
- package/build/subot/hooks/useValidationMultiOption.d.ts +5 -0
- package/build/subot/index.d.ts +2 -0
- package/build/subot/subotInlineRevamp/assets/check-circle-green.d.ts +3 -0
- package/build/subot/subotInlineRevamp/assets/checkbox.d.ts +3 -0
- package/build/subot/subotInlineRevamp/assets/chevron-down.d.ts +3 -0
- package/build/subot/subotInlineRevamp/assets/chevron-left.d.ts +3 -0
- package/build/subot/subotInlineRevamp/assets/chevron-right.d.ts +3 -0
- package/build/subot/subotInlineRevamp/assets/close.d.ts +3 -0
- package/build/subot/subotInlineRevamp/assets/delete-icon.d.ts +3 -0
- package/build/subot/subotInlineRevamp/assets/icon-edit.d.ts +3 -0
- package/build/subot/subotInlineRevamp/assets/info-error.d.ts +3 -0
- package/build/subot/subotInlineRevamp/assets/info.d.ts +3 -0
- package/build/subot/subotInlineRevamp/assets/location.d.ts +3 -0
- package/build/subot/subotInlineRevamp/assets/references.d.ts +3 -0
- package/build/subot/subotInlineRevamp/assets/refresh.d.ts +3 -0
- package/build/subot/subotInlineRevamp/common/styles.d.ts +3 -0
- package/build/subot/subotInlineRevamp/common/subotInlineVoucherLeftUI/index.d.ts +10 -0
- package/build/subot/subotInlineRevamp/container.d.ts +4 -0
- package/build/subot/subotInlineRevamp/context.d.ts +4 -0
- package/build/subot/subotInlineRevamp/friso.utils.d.ts +3 -0
- package/build/subot/subotInlineRevamp/index.d.ts +1 -0
- package/build/subot/subotInlineRevamp/styled.d.ts +2 -0
- package/build/subot/subotInlineRevamp/subotInlineAction/SubotInlineActionImageChoice/index.d.ts +7 -0
- package/build/subot/subotInlineRevamp/subotInlineAction/SubotInlineActionSSO/index.d.ts +7 -0
- package/build/subot/subotInlineRevamp/subotInlineAction/SubotInlineActionTextChoice/index.d.ts +8 -0
- package/build/subot/subotInlineRevamp/subotInlineAction/SubotInlineActionTextChoice/styles.d.ts +21 -0
- package/build/subot/subotInlineRevamp/subotInlineAction/SubotInlinePollChoice/index.d.ts +7 -0
- package/build/subot/subotInlineRevamp/subotInlineAction/SubotInlinePollChoice/styles.d.ts +1 -0
- package/build/subot/subotInlineRevamp/subotInlineAction/SubotInlinePollChoiceImage/index.d.ts +7 -0
- package/build/subot/subotInlineRevamp/subotInlineAction/index.d.ts +7 -0
- package/build/subot/subotInlineRevamp/subotInlineAction/styles.d.ts +1 -0
- package/build/subot/subotInlineRevamp/subotInlineAction/utils.d.ts +8 -0
- package/build/subot/subotInlineRevamp/subotInlineDisclaimer/index.d.ts +6 -0
- package/build/subot/subotInlineRevamp/subotInlineDisclaimer/styles.d.ts +1 -0
- package/build/subot/subotInlineRevamp/subotInlineFooter/index.d.ts +6 -0
- package/build/subot/subotInlineRevamp/subotInlineFooter/styles.d.ts +1 -0
- package/build/subot/subotInlineRevamp/subotInlineInfoSection/index.d.ts +16 -0
- package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotButton/index.d.ts +7 -0
- package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotButton/styles.d.ts +1 -0
- package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotEventSubmission/index.d.ts +7 -0
- package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotImage/index.d.ts +7 -0
- package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotImage/styles.d.ts +1 -0
- package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotRelatedArticle/index.d.ts +9 -0
- package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotRelatedArticle/styles.d.ts +1 -0
- package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotSuggestedService/SubotInlineServiceDisclaimer/index.d.ts +9 -0
- package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotSuggestedService/SubotInlineServiceDisclaimer/styles.d.ts +1 -0
- package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotSuggestedService/index.d.ts +7 -0
- package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotSuggestedService/styles.d.ts +1 -0
- package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotText/index.d.ts +7 -0
- package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotText/styles.d.ts +1 -0
- package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotTitle/index.d.ts +11 -0
- package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentBotTitle/styles.d.ts +1 -0
- package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentSSO/index.d.ts +7 -0
- package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentSSO/styles.d.ts +1 -0
- package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentUrl/index.d.ts +4 -0
- package/build/subot/subotInlineRevamp/subotInlineIntent/SubotInlineIntentUrl/styles.d.ts +4 -0
- package/build/subot/subotInlineRevamp/subotInlineIntent/index.d.ts +7 -0
- package/build/subot/subotInlineRevamp/subotInlineIntent/styles.d.ts +1 -0
- package/build/subot/subotInlineRevamp/subotInlineIntent/utils.d.ts +8 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/container.d.ts +9 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/context.d.ts +13 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/index.d.ts +1 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeFinal/index.d.ts +7 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeFinal/styles.d.ts +1 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeFinalStandard/index.d.ts +7 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeFinalStandard/styles.d.ts +3 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeFinalStandard/sub-inline-intent.d.ts +7 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeFinalThankYou/index.d.ts +7 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeFinalThankYou/styles.d.ts +1 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeForm/index.d.ts +7 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeForm/styles.d.ts +1 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeImage/index.d.ts +7 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeImage/styles.d.ts +1 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeMultiple/index.d.ts +7 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeMultiple/styles.d.ts +1 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodePoll/index.d.ts +7 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodePoll/styles.d.ts +1 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeSSO/index.d.ts +8 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeSSO/styles.d.ts +1 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeStart/container.d.ts +11 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeStart/index.d.ts +1 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeStart/styles.d.ts +1 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeText/index.d.ts +7 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/subotInlineNodeText/styles.d.ts +1 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/utils.d.ts +5 -0
- package/build/subot/subotInlineRevamp/subotInlineNode/view.d.ts +3 -0
- package/build/subot/subotInlineRevamp/types.d.ts +60 -0
- package/build/subot/subotInlineRevamp/utils.d.ts +52 -0
- package/build/subot/subotInlineRevamp/view.d.ts +4 -0
- package/build/subot/utils/dynamicScore.utils.d.ts +12 -0
- package/build/subot/utils/fpixel.d.ts +2 -0
- package/build/subot/utils/index.d.ts +24 -0
- package/build/subot.js +1709 -0
- package/build/together/api/utils.d.ts +2 -2
- package/build/together/interfaces/types.d.ts +1 -0
- package/build/together/togetherComponentGlobalContext.d.ts +9 -1
- package/build/together.js +1 -1
- package/build/types-7c5b4a63.js +1 -0
- package/build/{types-9c12ca83.js → types-7ff69523.js} +1 -1
- package/build/types.js +1 -1
- package/build/useCategory-db396f3e.js +1 -0
- package/build/{useHealthToolCache-6cdee506.js → useHealthToolCache-78894feb.js} +1 -1
- package/build/usePlacesAutocomplete-cc9ed6fe.js +1 -0
- package/build/{useRafState-1e420cf7.js → useRafState-ade92052.js} +1 -1
- package/build/{useTranslations-91457229.js → useTranslations-45ef6653.js} +1 -1
- package/build/utils-9013d9b5.js +1 -0
- package/build/{utils-293ffa82.js → utils-cef4a03b.js} +1 -1
- package/build/vaccination.js +1 -1
- package/package.json +6 -1
- package/build/Onboarding-657118be.js +0 -1
- package/build/esm/Onboarding-68463903.js +0 -1
- package/build/esm/getDynamicHealthTool-844c6f6a.js +0 -1
- package/build/esm/getSocialList-7e971b70.js +0 -1
- package/build/esm/index-146e09e3.js +0 -177
- package/build/esm/index-3d5c1bc6.js +0 -1
- package/build/esm/index-480d01ae.js +0 -50
- package/build/esm/index-58c18460.js +0 -1
- package/build/esm/index-5b6ce3c8.js +0 -1
- package/build/esm/index-7344117e.js +0 -1
- package/build/esm/index-798caaf0.js +0 -3533
- package/build/esm/index-9dfd478f.js +0 -1
- package/build/esm/index-bac9d662.js +0 -1
- package/build/esm/index-bbcd103b.js +0 -1755
- package/build/esm/index-c382ba8d.js +0 -1
- package/build/esm/index-d08071f0.js +0 -1
- package/build/esm/types-6e7ea58d.js +0 -1
- package/build/esm/useCategory-66dc7051.js +0 -1
- package/build/esm/useHealthToolCache-5b011d4c.js +0 -1
- package/build/esm/utils-c9c9f998.js +0 -1
- package/build/getDynamicHealthTool-701bf691.js +0 -1
- package/build/getSocialList-34b4160e.js +0 -1
- package/build/index-26547fdb.js +0 -50
- package/build/index-2ef62da6.js +0 -1
- package/build/index-43968e3d.js +0 -1755
- package/build/index-6e03cf5a.js +0 -1
- package/build/index-773217c2.js +0 -1
- package/build/index-79708112.js +0 -1
- package/build/index-80c61fb6.js +0 -1
- package/build/index-820acd26.js +0 -1
- package/build/index-85409c2e.js +0 -1
- package/build/index-a0d5a151.js +0 -3533
- package/build/index-b75de7cd.js +0 -177
- package/build/index-c5b7c15a.js +0 -1
- package/build/index-e2b8fc0e.js +0 -1
- package/build/index-e68f4447.js +0 -1
- package/build/types-5160cfd8.js +0 -1
- package/build/useCategory-9cb93e7b.js +0 -1
- package/build/utils-18296362.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-1cd695d8.js → BMI_BOYS.percentile.monthly-3dc40e7f.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-0056c560.js → BMI_BOYS.percentile.weekly-c850c918.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-03cca0be.js → BMI_BOYS.percentile.yearly-801eb999.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-aa5df91d.js → BMI_BOYS.zscore.monthly-0ab0be45.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-3d76505b.js → BMI_BOYS.zscore.weekly-9a937581.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-52d967e9.js → BMI_BOYS.zscore.yearly-17dfd6d3.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-1d8ebde3.js → BMI_GIRLS.percentile.monthly-d8085dfe.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-77acf120.js → BMI_GIRLS.percentile.weekly-1f360a48.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-0baa066c.js → BMI_GIRLS.percentile.yearly-51c5c6d1.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-2c416f8b.js → BMI_GIRLS.zscore.monthly-b3f5412f.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-05aa726d.js → BMI_GIRLS.zscore.weekly-67ca1c19.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-d1a2c524.js → BMI_GIRLS.zscore.yearly-53909407.js} +0 -0
- /package/build/{ChevronDown-a7f9de37.js → ChevronDown-e78dfe2c.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-5c54a40f.js → HEAD CIRCUM_BOYS.percentile.monthly-5a9fd77d.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-ed924d0f.js → HEAD CIRCUM_BOYS.percentile.weekly-10342371.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-39b250f2.js → HEAD CIRCUM_BOYS.percentile.yearly-ce0fca94.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-89b42d5b.js → HEAD CIRCUM_BOYS.zscore.monthly-7ed50089.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-11d3c7fe.js → HEAD CIRCUM_BOYS.zscore.weekly-94d77f2e.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-48bbe7a5.js → HEAD CIRCUM_BOYS.zscore.yearly-d54b7848.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-f611c38e.js → HEAD CIRCUM_GIRLS.percentile.monthly-8dec8c91.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-fcbd5d63.js → HEAD CIRCUM_GIRLS.percentile.weekly-b1976ffa.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-8224f26f.js → HEAD CIRCUM_GIRLS.percentile.yearly-9d04b05d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-c7f6b828.js → HEAD CIRCUM_GIRLS.zscore.monthly-7f142a08.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-49769efc.js → HEAD CIRCUM_GIRLS.zscore.weekly-d48f6954.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-0b528e0a.js → HEAD CIRCUM_GIRLS.zscore.yearly-14434e4f.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-e35d8b62.js → HEIGHT_BOYS.percentile.monthly-676f5530.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-521fe16f.js → HEIGHT_BOYS.percentile.weekly-60e45b6b.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-0330595f.js → HEIGHT_BOYS.percentile.yearly-15334902.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-829ea24d.js → HEIGHT_BOYS.zscore.monthly-bce4de71.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-a21e2c75.js → HEIGHT_BOYS.zscore.weekly-823114cd.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-9a35dcb2.js → HEIGHT_BOYS.zscore.yearly-835c9bb9.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-2b496255.js → HEIGHT_GIRLS.percentile.monthly-553e9c6f.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-798d0798.js → HEIGHT_GIRLS.percentile.weekly-feb2d33e.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-98716d86.js → HEIGHT_GIRLS.percentile.yearly-6f499cc5.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-c7cae5ca.js → HEIGHT_GIRLS.zscore.monthly-abfe8b81.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-2a3d14bd.js → HEIGHT_GIRLS.zscore.weekly-b7966832.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-1f072a23.js → HEIGHT_GIRLS.zscore.yearly-37f75f33.js} +0 -0
- /package/build/{Visible-18046824.js → Visible-1c56fbc5.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-3934e3d6.js → WEIGHT_BOYS.percentile.monthly-91f605bd.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-d1e205d3.js → WEIGHT_BOYS.percentile.weekly-80e52ebe.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-60038eb2.js → WEIGHT_BOYS.percentile.yearly-a42fe36c.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-09c98a58.js → WEIGHT_BOYS.zscore.monthly-abd7d187.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-f5af9666.js → WEIGHT_BOYS.zscore.weekly-b4f653d8.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-af4fa571.js → WEIGHT_BOYS.zscore.yearly-e00bb874.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-8aba1338.js → WEIGHT_GIRLS.percentile.monthly-aacad85f.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-5aa37aee.js → WEIGHT_GIRLS.percentile.weekly-92f347b4.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-76c3462e.js → WEIGHT_GIRLS.percentile.yearly-cdea1c92.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-b95aebe5.js → WEIGHT_GIRLS.zscore.monthly-f1843232.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-f9e24db4.js → WEIGHT_GIRLS.zscore.weekly-a544817b.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-48f4eb07.js → WEIGHT_GIRLS.zscore.yearly-1c0aa2ae.js} +0 -0
- /package/build/{cookieHelper-e985d4c7.js → cookieHelper-ffb4fd8b.js} +0 -0
- /package/build/{dataTransform-30c3f50a.js → dataTransform-6d870326.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-a4a0ad7b.js → BMI_BOYS.percentile.monthly-a3ce9938.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-63b2bfcf.js → BMI_BOYS.percentile.weekly-509586f6.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-ce94b23f.js → BMI_BOYS.percentile.yearly-c5bb805b.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-ae9d6e27.js → BMI_BOYS.zscore.monthly-56a8ca62.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-2f5e4917.js → BMI_BOYS.zscore.weekly-f7ef381f.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-f2a75999.js → BMI_BOYS.zscore.yearly-4d43acd4.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-867ec46e.js → BMI_GIRLS.percentile.monthly-95bcbb2b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-175ab658.js → BMI_GIRLS.percentile.weekly-289ebe3b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-5ee37a78.js → BMI_GIRLS.percentile.yearly-3f7e04aa.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-c7b46d27.js → BMI_GIRLS.zscore.monthly-63241d58.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-6cf428b7.js → BMI_GIRLS.zscore.weekly-dcf15800.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-cf665059.js → BMI_GIRLS.zscore.yearly-a83f804e.js} +0 -0
- /package/build/esm/{ChevronDown-5eb26fa9.js → ChevronDown-9654e503.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-c0092a9b.js → HEAD CIRCUM_BOYS.percentile.monthly-01025ce1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-60e4e681.js → HEAD CIRCUM_BOYS.percentile.weekly-d57418d1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-e195a8f5.js → HEAD CIRCUM_BOYS.percentile.yearly-89076acf.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-83ea3849.js → HEAD CIRCUM_BOYS.zscore.monthly-92d740bf.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-9f9f34e6.js → HEAD CIRCUM_BOYS.zscore.weekly-712e4d7e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-3837882e.js → HEAD CIRCUM_BOYS.zscore.yearly-5a85d048.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-8eb0c2b1.js → HEAD CIRCUM_GIRLS.percentile.monthly-d3c2de41.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-e35d52a1.js → HEAD CIRCUM_GIRLS.percentile.weekly-e9eb1057.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-b85a212e.js → HEAD CIRCUM_GIRLS.percentile.yearly-b729a3d7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-d05611bf.js → HEAD CIRCUM_GIRLS.zscore.monthly-0e6d5b95.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-68620b06.js → HEAD CIRCUM_GIRLS.zscore.weekly-76b8c388.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-6589d2cd.js → HEAD CIRCUM_GIRLS.zscore.yearly-6c43b660.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-e528b356.js → HEIGHT_BOYS.percentile.monthly-bd14dfb3.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-5cc30d5e.js → HEIGHT_BOYS.percentile.weekly-28561e1d.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-5f6d1261.js → HEIGHT_BOYS.percentile.yearly-95cbc5d4.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-df54093d.js → HEIGHT_BOYS.zscore.monthly-8f8c7e63.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-cb871f3e.js → HEIGHT_BOYS.zscore.weekly-b6b2133d.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-be2bf770.js → HEIGHT_BOYS.zscore.yearly-0a721242.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-faac10ab.js → HEIGHT_GIRLS.percentile.monthly-0b7e5c85.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-171f0405.js → HEIGHT_GIRLS.percentile.weekly-0e965359.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-1e9a8a8c.js → HEIGHT_GIRLS.percentile.yearly-82135038.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-c6a3a15a.js → HEIGHT_GIRLS.zscore.monthly-78fc054c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-16914b26.js → HEIGHT_GIRLS.zscore.weekly-776a1a17.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-d1bb3b68.js → HEIGHT_GIRLS.zscore.yearly-c1f848e1.js} +0 -0
- /package/build/esm/{Visible-a28d7eb0.js → Visible-76578e44.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-eb935b31.js → WEIGHT_BOYS.percentile.monthly-d2143081.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-e87dae78.js → WEIGHT_BOYS.percentile.weekly-a1b742dc.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-3b5ceca6.js → WEIGHT_BOYS.percentile.yearly-426bf234.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-c289c49f.js → WEIGHT_BOYS.zscore.monthly-c2f66396.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-43ced9e1.js → WEIGHT_BOYS.zscore.weekly-dea5836f.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-159239ae.js → WEIGHT_BOYS.zscore.yearly-3aaa5b87.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-2acfe764.js → WEIGHT_GIRLS.percentile.monthly-98555f5c.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-0fa87a0f.js → WEIGHT_GIRLS.percentile.weekly-ed4ecaea.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-0009507a.js → WEIGHT_GIRLS.percentile.yearly-f1e194fc.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-e4df7056.js → WEIGHT_GIRLS.zscore.monthly-dadc78cb.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-1b18ee01.js → WEIGHT_GIRLS.zscore.weekly-8dd9e19c.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-3e77aea2.js → WEIGHT_GIRLS.zscore.yearly-256c3290.js} +0 -0
- /package/build/esm/{cookieHelper-87d0e0e7.js → cookieHelper-b7f7d5f1.js} +0 -0
- /package/build/esm/{dataTransform-233027fc.js → dataTransform-3542601c.js} +0 -0
- /package/build/esm/{index-9d684c92.js → index-354ddd99.js} +0 -0
- /package/build/esm/{index-db903b7d.js → index-5e6b6109.js} +0 -0
- /package/build/esm/{index-0aeb7ac9.js → index-f9986ddb.js} +0 -0
- /package/build/esm/{isProduction-51fadd96.js → isProduction-13f6d491.js} +0 -0
- /package/build/esm/{localizeNumberFormat-f423cfc1.js → localizeNumberFormat-a578872d.js} +0 -0
- /package/build/esm/{normalizeLink-7f6a35f5.js → normalizeLink-f1a07e08.js} +0 -0
- /package/build/esm/{number-06671b87.js → number-4286843a.js} +0 -0
- /package/build/esm/{paths-b4d6519e.js → paths-a3913e3c.js} +0 -0
- /package/build/esm/{screenSizeContext-7e881f6d.js → screenSizeContext-fc852596.js} +0 -0
- /package/build/esm/{theme-f470318d.js → theme-afaf0d05.js} +0 -0
- /package/build/esm/{translationsContext-d199b4bc.js → translationsContext-74126881.js} +0 -0
- /package/build/esm/{tslib.es6-71be3ad2.js → tslib.es6-914e91bc.js} +0 -0
- /package/build/esm/{types-daf9f191.js → types-fee4011a.js} +0 -0
- /package/build/esm/{useIsInit-96aef578.js → useIsInit-531139ff.js} +0 -0
- /package/build/esm/{useOutsideClick-3c9bb801.js → useOutsideClick-1dc534d6.js} +0 -0
- /package/build/esm/{useScrollbarSize-a671c544.js → useScrollbarSize-bac85788.js} +0 -0
- /package/build/{index-69072e3c.js → index-0b14280f.js} +0 -0
- /package/build/{index-e906cca1.js → index-30a6de1a.js} +0 -0
- /package/build/{index-e46f2dda.js → index-94130616.js} +0 -0
- /package/build/{isProduction-8be63fc2.js → isProduction-51951576.js} +0 -0
- /package/build/{localizeNumberFormat-8a4ccd79.js → localizeNumberFormat-7d655858.js} +0 -0
- /package/build/{normalizeLink-f918ee2e.js → normalizeLink-b646fe58.js} +0 -0
- /package/build/{number-04972221.js → number-2bbfe6b9.js} +0 -0
- /package/build/{paths-7708bedf.js → paths-62703942.js} +0 -0
- /package/build/{screenSizeContext-927d5e3b.js → screenSizeContext-a6dd41f9.js} +0 -0
- /package/build/{theme-1bc846ef.js → theme-3f0985a0.js} +0 -0
- /package/build/{translationsContext-6e3c777d.js → translationsContext-8d6ba9f9.js} +0 -0
- /package/build/{tslib.es6-60cf710c.js → tslib.es6-5f2b74ff.js} +0 -0
- /package/build/{types-d48ad8ac.js → types-f1f451e3.js} +0 -0
- /package/build/{useIsInit-1b9b9148.js → useIsInit-e1320c4c.js} +0 -0
- /package/build/{useOutsideClick-44f136c3.js → useOutsideClick-9eb66aa1.js} +0 -0
- /package/build/{useScrollbarSize-7aaaacbb.js → useScrollbarSize-651139db.js} +0 -0
|
@@ -1,1755 +0,0 @@
|
|
|
1
|
-
import{_ as e,a as t}from"./tslib.es6-71be3ad2.js";import i,{useState as a,useMemo as n,useRef as o,Fragment as l,useEffect as r,memo as s,useContext as d,useCallback as c}from"react";import{g as m}from"./core-f858b620.js";import{F as p,a as g,B as h}from"./index-ee15c33c.js";import u,{css as v}from"styled-components";import{T as C,I as f,U as b}from"./index-c382ba8d.js";import{CommonGAssets as x}from"./gAssets.js";import{C as y,T as E,E as w,b as k,d as $,L,S as B}from"./index-dbff2d47.js";import{n as M,a as P}from"./normalizeLink-7f6a35f5.js";import{a as _,g as H,b as D,c as N,d as T}from"./routing-a4e59b08.js";import{P as j,U as A,b as z,a as F}from"./index-6bfa1218.js";import{L as S}from"./index-3d5c1bc6.js";import{u as U,b as V}from"./useTranslations-28b19550.js";import R from"lodash/throttle";import{createStyles as O,rem as I,Box as Z,Indicator as G,Portal as W}from"@mantine/core";import"@mantine/dates";import{L as Y}from"./Onboarding-68463903.js";import K from"dayjs";import{j as q,M as Q}from"./screenSizeContext-7e881f6d.js";import{t as J}from"./theme-f470318d.js";import"./isProduction-51fadd96.js";import"./translationsContext-d199b4bc.js";import X from"string-format";import"@mantine/hooks";import{L as ee}from"./constants-f9d7aa8c.js";import{x as te,a7 as ie,P as ae,H as ne}from"./index.styles-07a11ccd.js";import oe from"lodash/debounce";import"./useCategory-66dc7051.js";import{C as le}from"./ChevronDown-5eb26fa9.js";import{B as re}from"./index-a192f489.js";import{a as se}from"./constants-b1321698.js";import{I as de}from"./index-9dfd478f.js";import{u as ce}from"./useIsInit-96aef578.js";import"./utils-4dd7269c.js";import"./index.styled-7ef36c68.js";import"./index-0aeb7ac9.js";import me from"dayjs/plugin/relativeTime";import{C as pe}from"./index-9d684c92.js";const ge=["hellobacsi.com","hellosehat.com","hellodoktor.com","hellokrupet.com","hellodoctor.com.ph","hellokhunmor.com","hellosayarwon.com","helloyishi.com.tw","helloswasthya.com","marrybaby.vn","hellohealth.questionpro.com","hellobacsivn.page.link"],he=(e="")=>ge.some((t=>new URL(e).origin.endsWith(t))),ue=u.a`
|
|
2
|
-
display: inline-flex;
|
|
3
|
-
position: relative;
|
|
4
|
-
flex-direction: row;
|
|
5
|
-
align-items: center;
|
|
6
|
-
padding: 7px 11px;
|
|
7
|
-
gap: 2px;
|
|
8
|
-
|
|
9
|
-
background: ${e=>e.theme.colors.white};
|
|
10
|
-
border: 1px solid ${e=>e.theme.colors.neutral100};
|
|
11
|
-
border-radius: 20px;
|
|
12
|
-
|
|
13
|
-
color: ${e=>e.theme.colors.gray600};
|
|
14
|
-
font-weight: 600;
|
|
15
|
-
font-size: 12px;
|
|
16
|
-
line-height: 18px;
|
|
17
|
-
text-decoration: none;
|
|
18
|
-
|
|
19
|
-
cursor: pointer;
|
|
20
|
-
`,ve=u.div`
|
|
21
|
-
position: relative;
|
|
22
|
-
display: inline-block;
|
|
23
|
-
`,Ce=u.div`
|
|
24
|
-
position: relative;
|
|
25
|
-
`,fe=u.div`
|
|
26
|
-
position: absolute;
|
|
27
|
-
z-index: 21;
|
|
28
|
-
top: 100%;
|
|
29
|
-
right: 0;
|
|
30
|
-
width: 327px;
|
|
31
|
-
padding: 8px;
|
|
32
|
-
background: white;
|
|
33
|
-
border-radius: 4px;
|
|
34
|
-
filter: drop-shadow(0px 8px 40px rgba(0, 0, 0, 0.1));
|
|
35
|
-
|
|
36
|
-
&[data-is-open='false'] {
|
|
37
|
-
display: none;
|
|
38
|
-
}
|
|
39
|
-
&[data-show-indicator='true'] {
|
|
40
|
-
&:before {
|
|
41
|
-
position: absolute;
|
|
42
|
-
right: 11px;
|
|
43
|
-
bottom: 100%;
|
|
44
|
-
width: 0;
|
|
45
|
-
height: 0;
|
|
46
|
-
border: 0.5rem solid transparent;
|
|
47
|
-
border-top: none;
|
|
48
|
-
border-bottom-color: #fff;
|
|
49
|
-
content: '';
|
|
50
|
-
filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
`,be=u.div`
|
|
54
|
-
display: flex;
|
|
55
|
-
height: 40px;
|
|
56
|
-
align-items: center;
|
|
57
|
-
justify-content: space-between;
|
|
58
|
-
|
|
59
|
-
padding: 0 16px;
|
|
60
|
-
border-radius: ${e=>e.theme.borderRadius};
|
|
61
|
-
cursor: pointer;
|
|
62
|
-
|
|
63
|
-
.check-icon {
|
|
64
|
-
width: 16px;
|
|
65
|
-
height: 16px;
|
|
66
|
-
}
|
|
67
|
-
&[data-selected='false'] {
|
|
68
|
-
background-color: ${e=>e.theme.colors.gray100};
|
|
69
|
-
}
|
|
70
|
-
`,xe=u.div`
|
|
71
|
-
position: fixed;
|
|
72
|
-
z-index: 20;
|
|
73
|
-
top: 0;
|
|
74
|
-
left: 0;
|
|
75
|
-
width: 100%;
|
|
76
|
-
height: 100%;
|
|
77
|
-
cursor: default;
|
|
78
|
-
`,ye=({options:e,label:t,labelRenderer:n,selected:o,onChange:l,showSelected:r=!0,style:s={},showIndicator:d=!0})=>{const[c,m]=a(!1);return i.createElement(i.Fragment,null,i.createElement(ve,null,i.createElement(Ce,{onClick:()=>m((e=>!e))},t||(null==n?void 0:n(c))||null,i.createElement(fe,{"data-is-open":c,style:s,"data-show-indicator":d},e.map(((e,t)=>i.createElement(be,{key:t,"data-selected":r&&o===e.value,onClick:t=>{o!==e.value&&(l(e.value),m((e=>!e))),t.stopPropagation()}},i.createElement(C,{size:"p3"},e.label),r&&o===e.value&&i.createElement("img",{src:x.getAssetPath("check.svg"),alt:"check",className:"check-icon",loading:"lazy"}))))))),c&&i.createElement(xe,{onClick:()=>m(!1)}))},Ee=({languageOptions:e,locale:t})=>{var a,n;const o=null==e?void 0:e.find((e=>e.locale===t));return(null==e?void 0:e.length)?i.createElement(ye,{options:e,selected:o.value,label:i.createElement(we,{locale:t,label:o.label||(null===(n=null===(a=t.split("-"))||void 0===a?void 0:a[0])||void 0===n?void 0:n.toUpperCase())}),onChange:e=>{"undefined"!=typeof window&&(window.location.href=e)},style:{width:100},showSelected:!0,showIndicator:!1}):null},we=({locale:e,label:t,href:a})=>{var n,o,l;return i.createElement(ue,{href:a},i.createElement(p,{country:null===(o=null===(n=null==e?void 0:e.split("-"))||void 0===n?void 0:n[1])||void 0===o?void 0:o.toUpperCase(),width:16,height:16,rounded:!0,language:null===(l=null==e?void 0:e.split("-"))||void 0===l?void 0:l[0]}),i.createElement("span",null,t))},ke=({path:e,locale:t})=>{var i;return`/shop/${null===(i=ee[t||"vi-VN"])||void 0===i?void 0:i[e]}/`};var $e=O((()=>({root:{textDecoration:"none"},indicatorRoot:{marginRight:I(10)},iconText:{color:"#fff"}})));const Le=t=>{var{count:a,styles:n,className:o,classNames:l,locale:r}=t,s=e(t,["count","styles","className","classNames","locale"]);const{classes:d,cx:c}=$e(void 0,{name:"CartBadge",styles:n,classNames:l});return void 0!==a?i.createElement(Z,Object.assign({component:"a",href:ke({path:"CART",locale:r}),className:c(d.root,o)},s),i.createElement(G,{classNames:{root:d.indicatorRoot},withBorder:!0,color:"red",size:20,disabled:0===a,label:i.createElement(C,{className:d.iconText,size:"s5"},a>99?"99+":a)},i.createElement(f.Cart,{size:24}))):null},Be=u.div`
|
|
79
|
-
${e=>`\n ${0!==e.lowerBound?`@media (max-width: ${e.lowerBound-1}px) { display: none; }`:""}\n ${0!==e.upperBound?`@media (min-width: ${e.upperBound}px) { display: none; }`:""}\n `}
|
|
80
|
-
`,Me=({forceDisplay:e,mediaQueryKey:t,children:a,className:o,style:l})=>{const[r,s]=n((()=>q(t)),[t]);return i.createElement(Be,{lowerBound:e?0:r,upperBound:e?0:s,className:o,style:l},a)},Pe=e=>{const{allowBgScroll:t}=e||{},i=o();return{containerRef:i,onContainerFocus:()=>{t||(document.documentElement.style.overflow="hidden")},onContainerBlur:()=>{t||(document.documentElement.style.overflow="")},onButtonMouseDown:e=>{i.current&&(document.activeElement===i.current||i.current.contains(document.activeElement))&&(i.current.blur(),document.activeElement.blur(),e.preventDefault())},onClose:()=>{i.current&&(document.activeElement===i.current||i.current.contains(document.activeElement))&&(i.current.blur(),document.activeElement.blur())}}},_e="hhgcomp-navprofilebutton-popup",He=te(u.div`
|
|
81
|
-
position: absolute;
|
|
82
|
-
right: 0;
|
|
83
|
-
transition: all 0.5s ease-in-out;
|
|
84
|
-
overflow-y: auto;
|
|
85
|
-
padding-bottom: 70px;
|
|
86
|
-
|
|
87
|
-
&[data-open='true'] {
|
|
88
|
-
z-index: 200;
|
|
89
|
-
top: 120%;
|
|
90
|
-
opacity: 1;
|
|
91
|
-
visibility: visible;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
&[data-open='false'] {
|
|
95
|
-
display: none;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.popup-content {
|
|
99
|
-
z-index: 111;
|
|
100
|
-
height: 100%;
|
|
101
|
-
border: 1px solid #0000001a;
|
|
102
|
-
${Q.mbDown} {
|
|
103
|
-
> div {
|
|
104
|
-
border-top-left-radius: 0;
|
|
105
|
-
border-top-right-radius: 0;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
/* min-height: 415px; */
|
|
111
|
-
${Q.mbUp} {
|
|
112
|
-
width: 320px;
|
|
113
|
-
}
|
|
114
|
-
${Q.mbDown} {
|
|
115
|
-
position: fixed;
|
|
116
|
-
left: 0;
|
|
117
|
-
width: 100%;
|
|
118
|
-
}
|
|
119
|
-
`,_e),De="hhgcomp-navprofilebutton-popupwrapper";te(u.div`
|
|
120
|
-
position: fixed;
|
|
121
|
-
z-index: 150;
|
|
122
|
-
top: var(--header-bottom, 56px);
|
|
123
|
-
left: 0;
|
|
124
|
-
width: 100%;
|
|
125
|
-
height: 100%;
|
|
126
|
-
align-items: center;
|
|
127
|
-
|
|
128
|
-
${Q.mbUp} {
|
|
129
|
-
background-color: transparent;
|
|
130
|
-
&[data-type='welcome'] {
|
|
131
|
-
background: rgba(38, 38, 38, 0.3);
|
|
132
|
-
}
|
|
133
|
-
&[data-type='due-date'] {
|
|
134
|
-
background: rgba(38, 38, 38, 0.3);
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
${Q.mbDown} {
|
|
139
|
-
background: rgba(38, 38, 38, 0.3);
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
&[data-type='welcome'] {
|
|
143
|
-
top: 0;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
&[data-open='false'] {
|
|
147
|
-
display: none;
|
|
148
|
-
}
|
|
149
|
-
`,De);const Ne=u.div`
|
|
150
|
-
width: 40px;
|
|
151
|
-
height: 40px;
|
|
152
|
-
cursor: pointer;
|
|
153
|
-
|
|
154
|
-
img {
|
|
155
|
-
border-radius: 50%;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
.avatar {
|
|
159
|
-
width: 40px;
|
|
160
|
-
height: 40px;
|
|
161
|
-
object-fit: cover;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.avatar-default {
|
|
165
|
-
display: flex;
|
|
166
|
-
align-items: center;
|
|
167
|
-
justify-content: center;
|
|
168
|
-
background-color: ${e=>e.theme.colors.secondaryBase};
|
|
169
|
-
border-radius: 50%;
|
|
170
|
-
color: white;
|
|
171
|
-
font-size: 20px;
|
|
172
|
-
font-weight: bold;
|
|
173
|
-
}
|
|
174
|
-
`,Te=u.div`
|
|
175
|
-
display: inline-flex;
|
|
176
|
-
position: relative;
|
|
177
|
-
width: 40px;
|
|
178
|
-
height: 40px;
|
|
179
|
-
display: flex;
|
|
180
|
-
align-items: center;
|
|
181
|
-
justify-content: center;
|
|
182
|
-
text-decoration: none;
|
|
183
|
-
flex-shrink: 0;
|
|
184
|
-
cursor: pointer;
|
|
185
|
-
|
|
186
|
-
.user-close-icon {
|
|
187
|
-
display: none;
|
|
188
|
-
}
|
|
189
|
-
&:focus-within {
|
|
190
|
-
.user-close-icon {
|
|
191
|
-
display: block;
|
|
192
|
-
}
|
|
193
|
-
.user-avatar {
|
|
194
|
-
display: none;
|
|
195
|
-
}
|
|
196
|
-
.${_e} {
|
|
197
|
-
z-index: 200;
|
|
198
|
-
top: 120%;
|
|
199
|
-
opacity: 1;
|
|
200
|
-
visibility: visible;
|
|
201
|
-
display: initial;
|
|
202
|
-
${Q.mbDown} {
|
|
203
|
-
top: 100%;
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
.${De} {
|
|
207
|
-
display: initial;
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
`,je=u.a`
|
|
211
|
-
display: inline-flex;
|
|
212
|
-
.login-btn[data-color='tertiary'][data-size='md'] {
|
|
213
|
-
padding-left: 12px;
|
|
214
|
-
padding-right: 12px;
|
|
215
|
-
}
|
|
216
|
-
.mobile-only {
|
|
217
|
-
${Q.mbUp} {
|
|
218
|
-
display: none;
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
.login-btn {
|
|
222
|
-
display: none;
|
|
223
|
-
${Q.mbUp} {
|
|
224
|
-
display: block;
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
`,Ae=e=>i.createElement("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},e),i.createElement("path",{d:"M2.5 6.49069C2.5 4.72841 3.92861 3.2998 5.69088 3.2998H13.5948C15.3571 3.2998 16.7857 4.72841 16.7857 6.49069V11.22C16.7857 12.9823 15.3571 14.4109 13.5948 14.4109H5.69088C3.92861 14.4109 2.5 12.9823 2.5 11.22V6.49069Z",fill:"#E3F2FF"}),i.createElement("path",{d:"M2.5 5.68076C2.5 4.36579 3.56599 3.2998 4.88095 3.2998H14.4048C15.7197 3.2998 16.7857 4.36579 16.7857 5.68076H2.5Z",fill:"#2D87F3"}),i.createElement("path",{d:"M13.6014 2.5H13.5692C13.2108 2.5 12.9202 2.7906 12.9202 3.14907V4.20942C12.9202 4.56789 13.2108 4.85849 13.5692 4.85849H13.6014C13.9599 4.85849 14.2505 4.56789 14.2505 4.20942V3.14907C14.2505 2.7906 13.9599 2.5 13.6014 2.5Z",fill:"#2743AD"}),i.createElement("path",{d:"M5.26992 4.85849H5.30212C5.66059 4.85849 5.95119 4.56789 5.95119 4.20943V3.14907C5.95119 2.7906 5.66059 2.5 5.30212 2.5H5.26992C4.91145 2.5 4.62085 2.7906 4.62085 3.14907V4.20943C4.62085 4.56789 4.91145 4.85849 5.26992 4.85849Z",fill:"#2743AD"}),i.createElement("path",{d:"M5.55595 8.16992H5.06535C4.84103 8.16992 4.65918 8.35177 4.65918 8.57609V9.1553C4.65918 9.37962 4.84103 9.56146 5.06535 9.56146H5.55595C5.78027 9.56146 5.96212 9.37962 5.96212 9.1553V8.57609C5.96212 8.35177 5.78027 8.16992 5.55595 8.16992Z",fill:"#2D87F3"}),i.createElement("path",{d:"M8.25761 8.16992H7.76701C7.54269 8.16992 7.36084 8.35177 7.36084 8.57609V9.1553C7.36084 9.37962 7.54269 9.56146 7.76701 9.56146H8.25761C8.48193 9.56146 8.66378 9.37962 8.66378 9.1553V8.57609C8.66378 8.35177 8.48193 8.16992 8.25761 8.16992Z",fill:"#2D87F3"}),i.createElement("path",{d:"M10.9581 8.16992H10.4674C10.2431 8.16992 10.0613 8.35177 10.0613 8.57609V9.1553C10.0613 9.37962 10.2431 9.56146 10.4674 9.56146H10.9581C11.1824 9.56146 11.3642 9.37962 11.3642 9.1553V8.57609C11.3642 8.35177 11.1824 8.16992 10.9581 8.16992Z",fill:"#2D87F3"}),i.createElement("path",{d:"M13.8304 8.16992H13.3398C13.1154 8.16992 12.9336 8.35177 12.9336 8.57609V9.1553C12.9336 9.37962 13.1154 9.56146 13.3398 9.56146H13.8304C14.0547 9.56146 14.2365 9.37962 14.2365 9.1553V8.57609C14.2365 8.35177 14.0547 8.16992 13.8304 8.16992Z",fill:"#2D87F3"}),i.createElement("path",{d:"M5.52885 10.6855H5.03825C4.81393 10.6855 4.63208 10.8674 4.63208 11.0917V11.6709C4.63208 11.8952 4.81393 12.0771 5.03825 12.0771H5.52885C5.75317 12.0771 5.93502 11.8952 5.93502 11.6709V11.0917C5.93502 10.8674 5.75317 10.6855 5.52885 10.6855Z",fill:"#2D87F3"}),i.createElement("path",{d:"M8.22978 10.6855H7.73917C7.51485 10.6855 7.33301 10.8674 7.33301 11.0917V11.6709C7.33301 11.8952 7.51485 12.0771 7.73917 12.0771H8.22978C8.4541 12.0771 8.63595 11.8952 8.63595 11.6709V11.0917C8.63595 10.8674 8.4541 10.6855 8.22978 10.6855Z",fill:"#2D87F3"}),i.createElement("path",{d:"M10.931 10.6855H10.4403C10.216 10.6855 10.0342 10.8674 10.0342 11.0917V11.6709C10.0342 11.8952 10.216 12.0771 10.4403 12.0771H10.931C11.1553 12.0771 11.3371 11.8952 11.3371 11.6709V11.0917C11.3371 10.8674 11.1553 10.6855 10.931 10.6855Z",fill:"#2D87F3"}),i.createElement("path",{d:"M13.8035 10.6855H13.3129C13.0886 10.6855 12.9067 10.8674 12.9067 11.0917V11.6709C12.9067 11.8952 13.0886 12.0771 13.3129 12.0771H13.8035C14.0278 12.0771 14.2097 11.8952 14.2097 11.6709V11.0917C14.2097 10.8674 14.0278 10.6855 13.8035 10.6855Z",fill:"#2D87F3"}),i.createElement("path",{d:"M15.9922 16.7918C17.7455 16.7918 19.1668 15.3705 19.1668 13.6172C19.1668 11.8639 17.7455 10.4426 15.9922 10.4426C14.2389 10.4426 12.8176 11.8639 12.8176 13.6172C12.8176 15.3705 14.2389 16.7918 15.9922 16.7918Z",fill:"#FE921D"}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.7798 13.6164V12.261C15.7798 12.2051 15.802 12.1514 15.8416 12.1118C15.8811 12.0723 15.9348 12.05 15.9908 12.05C16.0467 12.05 16.1004 12.0723 16.1399 12.1118C16.1795 12.1514 16.2017 12.2051 16.2017 12.261V13.5169L16.68 13.9147C16.7134 13.9424 16.7374 13.9798 16.7487 14.0217C16.7601 14.0636 16.7583 14.108 16.7435 14.1488C16.7287 14.1896 16.7017 14.2249 16.6661 14.2498C16.6305 14.2747 16.5882 14.288 16.5448 14.2879V14.2885C16.4956 14.2885 16.448 14.2712 16.4102 14.2398L15.862 13.7839C15.8549 13.7784 15.848 13.7724 15.8416 13.766C15.802 13.7264 15.7798 13.6727 15.7798 13.6168V13.6165C15.7798 13.6165 15.7798 13.6164 15.7798 13.6164Z",fill:"white"})),ze=e=>i.createElement("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},e),i.createElement("path",{d:"M7.05523 4.96786C6.2868 4.96547 5.5206 4.96547 4.75217 4.96786C3.93259 4.97681 3.1495 5.30815 2.57238 5.89016C1.99527 6.47217 1.67056 7.25804 1.66854 8.07767C1.66615 8.21797 1.66615 8.35605 1.66854 8.49636C1.67069 9.31611 1.99539 10.1021 2.57242 10.6843C3.14946 11.2666 3.93248 11.5983 4.75217 11.6079H6.14872C6.14872 11.6079 7.62158 12.7118 7.64297 12.5661C7.67719 12.3472 7.41694 11.5834 7.41694 11.5834C8.16775 11.4856 8.85755 11.1186 9.35817 10.5506C9.85879 9.98258 10.1362 9.25214 10.1389 8.49499V8.07767C10.1368 7.25804 9.81213 6.47217 9.23502 5.89016C8.65791 5.30815 7.87481 4.97681 7.05523 4.96786ZM4.36634 8.52305C4.32052 8.52319 4.27569 8.50972 4.23753 8.48437C4.19937 8.45901 4.16959 8.42291 4.15197 8.38062C4.13434 8.33833 4.12966 8.29176 4.13851 8.24681C4.14737 8.20185 4.16936 8.16054 4.20171 8.12809C4.23406 8.09565 4.27531 8.07353 4.32023 8.06454C4.36516 8.05556 4.41174 8.0601 4.45408 8.0776C4.49643 8.0951 4.53262 8.12478 4.55809 8.16286C4.58356 8.20095 4.59715 8.24573 4.59715 8.29155C4.5972 8.35284 4.57292 8.41165 4.52964 8.45505C4.48636 8.49846 4.42763 8.52292 4.36634 8.52305ZM5.70522 8.91231C5.64048 8.91231 5.5772 8.89312 5.52337 8.85715C5.46954 8.82118 5.42759 8.77006 5.40282 8.71025C5.37804 8.65044 5.37156 8.58463 5.38419 8.52113C5.39682 8.45764 5.42799 8.39932 5.47377 8.35354C5.51955 8.30776 5.57787 8.27659 5.64136 8.26396C5.70486 8.25133 5.77067 8.25781 5.83048 8.28259C5.89029 8.30736 5.94141 8.34931 5.97738 8.40314C6.01334 8.45697 6.03254 8.52025 6.03254 8.58499C6.03254 8.6718 5.99806 8.75506 5.93667 8.81644C5.87529 8.87783 5.79203 8.91231 5.70522 8.91231ZM7.28262 8.86817C7.18687 8.8682 7.09326 8.83984 7.01364 8.78666C6.93401 8.73349 6.87194 8.65789 6.83528 8.56943C6.79862 8.48098 6.78902 8.38364 6.80769 8.28972C6.82637 8.19581 6.87247 8.10954 6.94018 8.04184C7.00788 7.97413 7.09415 7.92803 7.18806 7.90936C7.28197 7.89068 7.37932 7.90028 7.46777 7.93694C7.55623 7.9736 7.63182 8.03567 7.685 8.1153C7.73817 8.19493 7.76654 8.28854 7.76651 8.38429C7.76651 8.51247 7.71564 8.63542 7.62508 8.72614C7.53452 8.81686 7.41166 8.86794 7.28348 8.86817H7.28262Z",fill:"#2D87F3"}),i.createElement("path",{d:"M12.8821 9.52126C12.0648 9.52142 11.2729 9.80498 10.6414 10.3236C10.0098 10.8422 9.57759 11.5638 9.41845 12.3654C9.25931 13.167 9.38307 13.999 9.76864 14.7195C10.1542 15.4401 10.7777 16.0047 11.5329 16.317C11.5329 16.317 11.3045 17.3475 11.3379 17.566C11.3592 17.7111 12.8821 16.5834 12.8821 16.5834C13.8144 16.5769 14.7063 16.202 15.3632 15.5404C16.0202 14.8789 16.3889 13.9844 16.3889 13.0521C16.3889 12.1197 16.0202 11.2252 15.3632 10.5637C14.7063 9.90215 13.8144 9.52724 12.8821 9.52075V9.52126ZM11.5541 13.7559C11.4584 13.7559 11.3649 13.7275 11.2853 13.6744C11.2057 13.6212 11.1437 13.5456 11.1071 13.4572C11.0705 13.3688 11.0609 13.2715 11.0796 13.1776C11.0982 13.0838 11.1443 12.9975 11.212 12.9299C11.2797 12.8622 11.3659 12.8161 11.4597 12.7974C11.5536 12.7788 11.6509 12.7884 11.7393 12.825C11.8277 12.8616 11.9033 12.9236 11.9565 13.0032C12.0096 13.0828 12.038 13.1763 12.038 13.272C12.038 13.4003 11.987 13.5234 11.8962 13.6141C11.8055 13.7049 11.6825 13.7559 11.5541 13.7559ZM13.1314 13.8002C13.0666 13.8002 13.0033 13.781 12.9495 13.7451C12.8957 13.7091 12.8537 13.658 12.829 13.5982C12.8042 13.5384 12.7977 13.4725 12.8103 13.409C12.823 13.3456 12.8541 13.2872 12.8999 13.2415C12.9457 13.1957 13.004 13.1645 13.0675 13.1519C13.131 13.1392 13.1968 13.1457 13.2566 13.1705C13.3164 13.1953 13.3676 13.2372 13.4035 13.2911C13.4395 13.3449 13.4587 13.4082 13.4587 13.4729C13.4586 13.5597 13.4241 13.6429 13.3628 13.7043C13.3014 13.7657 13.2182 13.8002 13.1314 13.8002ZM14.4699 13.411C14.4241 13.411 14.3794 13.3974 14.3413 13.3719C14.3032 13.3465 14.2736 13.3104 14.256 13.2681C14.2385 13.2258 14.2339 13.1792 14.2429 13.1343C14.2518 13.0894 14.2738 13.0481 14.3062 13.0158C14.3386 12.9834 14.3798 12.9613 14.4247 12.9524C14.4697 12.9435 14.5162 12.9481 14.5585 12.9656C14.6008 12.9831 14.637 13.0128 14.6624 13.0508C14.6878 13.0889 14.7014 13.1337 14.7014 13.1795C14.7014 13.2099 14.6955 13.24 14.6838 13.2681C14.6722 13.2962 14.6552 13.3217 14.6337 13.3432C14.6122 13.3647 14.5866 13.3818 14.5585 13.3934C14.5304 13.405 14.5003 13.411 14.4699 13.411Z",fill:"#FFB521"}),i.createElement("path",{d:"M16.4503 1.66675H12.5777C12.3157 1.66682 12.0565 1.72159 11.8168 1.82757C11.577 1.93355 11.3621 2.0884 11.1857 2.28221C11.0092 2.47602 10.8752 2.70452 10.7921 2.9531C10.7091 3.20168 10.6788 3.46486 10.7033 3.72581L10.9158 6.01672C10.9574 6.45935 11.1542 6.87301 11.4714 7.18449C11.7886 7.49598 12.2058 7.68521 12.6491 7.71868C12.6491 7.71868 12.4758 8.65599 12.5091 8.875C12.5305 9.0201 14.1688 7.74572 14.1688 7.74572L16.0932 7.72382C16.5422 7.72407 16.9764 7.56384 17.3176 7.27204C17.6588 6.98024 17.8844 6.5761 17.9538 6.13255L18.3109 3.83976C18.3527 3.5712 18.3359 3.29677 18.2617 3.03532C18.1874 2.77386 18.0574 2.53159 17.8806 2.32513C17.7039 2.11867 17.4845 1.95292 17.2376 1.83927C16.9907 1.72563 16.7221 1.66677 16.4503 1.66675ZM13.0967 5.23238C13.001 5.23248 12.9074 5.20418 12.8277 5.15108C12.7481 5.09797 12.686 5.02243 12.6493 4.93402C12.6126 4.84562 12.6029 4.74831 12.6215 4.65441C12.6402 4.56051 12.6862 4.47424 12.7538 4.40652C12.8215 4.3388 12.9077 4.29266 13.0016 4.27395C13.0955 4.25524 13.1928 4.26479 13.2812 4.3014C13.3697 4.33801 13.4453 4.40003 13.4985 4.47961C13.5517 4.5592 13.5801 4.65277 13.5801 4.7485C13.5801 4.87683 13.5291 4.9999 13.4383 5.09065C13.3476 5.1814 13.2245 5.23238 13.0962 5.23238H13.0967ZM14.6741 5.27652C14.6093 5.27676 14.5459 5.25776 14.4919 5.22194C14.4379 5.18612 14.3958 5.13508 14.3708 5.07529C14.3459 5.0155 14.3392 4.94965 14.3517 4.88608C14.3642 4.82251 14.3953 4.76407 14.441 4.71817C14.4868 4.67228 14.5451 4.64099 14.6086 4.62826C14.6721 4.61553 14.738 4.62194 14.7979 4.64668C14.8578 4.67142 14.909 4.71337 14.945 4.76723C14.981 4.82108 15.0002 4.88441 15.0002 4.9492C15.0004 5.03598 14.966 5.11926 14.9048 5.18074C14.8435 5.24222 14.7604 5.27685 14.6736 5.27703L14.6741 5.27652ZM16.013 4.88726C15.9672 4.88729 15.9224 4.87374 15.8843 4.84833C15.8462 4.82291 15.8165 4.78677 15.799 4.74447C15.7814 4.70217 15.7768 4.65562 15.7857 4.6107C15.7947 4.56578 15.8167 4.52451 15.8491 4.49212C15.8814 4.45973 15.9227 4.43766 15.9676 4.42871C16.0125 4.41977 16.0591 4.42434 16.1014 4.44186C16.1437 4.45938 16.1798 4.48905 16.2053 4.52712C16.2307 4.5652 16.2443 4.60996 16.2443 4.65576C16.2443 4.68619 16.2384 4.71634 16.2267 4.74445C16.2151 4.77257 16.198 4.79812 16.1764 4.81963C16.1549 4.84113 16.1293 4.85818 16.1012 4.86978C16.0731 4.88139 16.0429 4.88733 16.0125 4.88726H16.013Z",fill:"#91CAFF"})),Fe=e=>i.createElement("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},e),i.createElement("rect",{x:"8.33337",y:"8.33325",width:"3.33333",height:"3.33333",rx:"1.66667",fill:"#2D87F3"})),Se=e=>i.createElement("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},e),i.createElement("path",{d:"M3.18408 7.06371L4.78033 8.66012L9.10721 3.97152C9.23166 3.83534 9.29879 3.6564 9.29463 3.47196C9.29047 3.28753 9.21533 3.1118 9.08486 2.98137L8.86268 2.75934C8.73229 2.62885 8.5566 2.55369 8.37219 2.5495C8.18778 2.54531 8.00885 2.61241 7.87267 2.73684L3.18408 7.06371Z",fill:"#2743AD"}),i.createElement("path",{d:"M16.8158 7.06371L15.2195 8.66012L10.8926 3.97152C10.7682 3.83532 10.7011 3.65639 10.7053 3.47197C10.7094 3.28754 10.7845 3.11182 10.915 2.98137L11.1372 2.75934C11.2675 2.62885 11.4432 2.55369 11.6276 2.5495C11.8121 2.54531 11.991 2.61241 12.1272 2.73684L16.8158 7.06371Z",fill:"#2743AD"}),i.createElement("path",{d:"M15.0393 16.6979H4.90056C4.70843 16.6978 4.52309 16.6268 4.38015 16.4984C4.23721 16.3701 4.14676 16.1934 4.12618 16.0024L3.42212 9.3252H16.5177L15.8138 16.0024C15.7933 16.1934 15.7028 16.3701 15.5598 16.4985C15.4168 16.6269 15.2315 16.6979 15.0393 16.6979Z",fill:"#2D87F3"}),i.createElement("path",{d:"M6.23182 15.7032C6.17228 15.7033 6.11491 15.6807 6.07138 15.6401C6.02785 15.5995 6.00142 15.5438 5.99745 15.4844L5.70463 11.0157C5.70211 10.9847 5.70576 10.9535 5.71538 10.924C5.72501 10.8944 5.74041 10.8671 5.76069 10.8436C5.78098 10.82 5.80573 10.8008 5.83353 10.7869C5.86133 10.773 5.89161 10.7648 5.92261 10.7627C5.95361 10.7607 5.98471 10.7648 6.0141 10.7748C6.0435 10.7849 6.0706 10.8007 6.09384 10.8213C6.11707 10.8419 6.13597 10.867 6.14944 10.895C6.16291 10.923 6.17068 10.9534 6.17229 10.9844L6.46588 15.4532C6.4679 15.4839 6.46384 15.5147 6.45393 15.5439C6.44403 15.573 6.42847 15.5999 6.40816 15.6231C6.38784 15.6462 6.36316 15.6652 6.33553 15.6788C6.30791 15.6924 6.27787 15.7004 6.24713 15.7024C6.24229 15.7032 6.23713 15.7032 6.23182 15.7032Z",fill:"#2743AD"}),i.createElement("path",{d:"M8.62036 15.703C8.55885 15.703 8.49979 15.6788 8.45595 15.6357C8.4121 15.5925 8.38697 15.5339 8.38599 15.4724L8.31302 11.0036C8.312 10.9415 8.33572 10.8814 8.37896 10.8368C8.4222 10.7921 8.48141 10.7664 8.54357 10.7654C8.60573 10.7644 8.66574 10.7881 8.71042 10.8314C8.75509 10.8746 8.78075 10.9338 8.78177 10.996L8.85474 15.4647C8.85578 15.5267 8.83219 15.5867 8.78914 15.6313C8.74608 15.676 8.68708 15.7018 8.62505 15.703H8.62036Z",fill:"#2743AD"}),i.createElement("path",{d:"M13.7683 15.7031C13.763 15.7031 13.7579 15.7031 13.7527 15.7031C13.722 15.7012 13.6919 15.6931 13.6643 15.6795C13.6367 15.6659 13.612 15.647 13.5917 15.6239C13.5714 15.6007 13.5558 15.5738 13.5459 15.5446C13.536 15.5155 13.5319 15.4847 13.5339 15.4539L13.8282 10.9844C13.8298 10.9534 13.8376 10.923 13.851 10.895C13.8645 10.867 13.8834 10.8419 13.9066 10.8213C13.9299 10.8007 13.957 10.7849 13.9864 10.7748C14.0158 10.7648 14.0469 10.7607 14.0779 10.7627C14.1089 10.7648 14.1391 10.773 14.1669 10.7869C14.1947 10.8008 14.2195 10.82 14.2398 10.8436C14.26 10.8671 14.2755 10.8944 14.2851 10.924C14.2947 10.9535 14.2984 10.9847 14.2958 11.0157L14.0019 15.4844C13.998 15.5437 13.9716 15.5992 13.9283 15.6398C13.8849 15.6805 13.8277 15.7031 13.7683 15.7031Z",fill:"#2743AD"}),i.createElement("path",{d:"M11.3801 15.7031H11.3762C11.3454 15.7026 11.315 15.6961 11.2868 15.6839C11.2585 15.6716 11.2329 15.6539 11.2115 15.6318C11.1901 15.6097 11.1733 15.5836 11.1619 15.555C11.1506 15.5264 11.145 15.4958 11.1455 15.465L11.2185 10.9962C11.2208 10.9345 11.2469 10.8761 11.2912 10.8331C11.3356 10.7901 11.3949 10.7659 11.4566 10.7656C11.4875 10.766 11.518 10.7725 11.5463 10.7847C11.5746 10.797 11.6003 10.8147 11.6218 10.8368C11.6433 10.859 11.6602 10.8851 11.6715 10.9138C11.6829 10.9425 11.6884 10.9732 11.6879 11.0041L11.6149 15.4728C11.6138 15.5343 11.5886 15.593 11.5447 15.6361C11.5007 15.6792 11.4416 15.7033 11.3801 15.7031Z",fill:"#2743AD"}),i.createElement("path",{d:"M16.0441 18.1157C17.1557 18.1157 18.0569 17.2145 18.0569 16.1029C18.0569 14.9913 17.1557 14.0901 16.0441 14.0901C14.9324 14.0901 14.0312 14.9913 14.0312 16.1029C14.0312 17.2145 14.9324 18.1157 16.0441 18.1157Z",fill:"#FE921D"}),i.createElement("path",{d:"M16.9689 15.8688H16.278V15.1777C16.278 15.1156 16.2533 15.056 16.2093 15.012C16.1654 14.9681 16.1057 14.9434 16.0436 14.9434C15.9814 14.9434 15.9218 14.9681 15.8779 15.012C15.8339 15.056 15.8092 15.1156 15.8092 15.1777V15.8688H15.1189C15.0567 15.8688 14.9971 15.8935 14.9532 15.9375C14.9092 15.9814 14.8845 16.041 14.8845 16.1032C14.8845 16.1654 14.9092 16.225 14.9532 16.2689C14.9971 16.3129 15.0567 16.3376 15.1189 16.3376H15.8098V17.0285C15.8098 17.0907 15.8345 17.1503 15.8785 17.1942C15.9224 17.2382 15.982 17.2629 16.0442 17.2629C16.1064 17.2629 16.166 17.2382 16.2099 17.1942C16.2539 17.1503 16.2786 17.0907 16.2786 17.0285V16.3376H16.9689C17.0311 16.3376 17.0907 16.3129 17.1346 16.2689C17.1786 16.225 17.2033 16.1654 17.2033 16.1032C17.2033 16.041 17.1786 15.9814 17.1346 15.9375C17.0907 15.8935 17.0311 15.8688 16.9689 15.8688Z",fill:"white"}),i.createElement("path",{d:"M16.5783 9.48126H3.42202C3.22801 9.48125 3.04075 9.41004 2.89577 9.28112C2.75078 9.15221 2.65815 8.97456 2.63546 8.78188L2.50546 7.68001C2.49235 7.56892 2.50292 7.45632 2.53647 7.34962C2.57003 7.24291 2.6258 7.14452 2.70012 7.06093C2.77445 6.97734 2.86563 6.91043 2.96768 6.86463C3.06973 6.81882 3.18032 6.79515 3.29218 6.79517H16.7081C16.82 6.79515 16.9306 6.81882 17.0326 6.86463C17.1347 6.91043 17.2258 6.97734 17.3002 7.06093C17.3745 7.14452 17.4303 7.24291 17.4638 7.34962C17.4974 7.45632 17.5079 7.56892 17.4948 7.68001L17.3648 8.78188C17.3421 8.97456 17.2495 9.15221 17.1045 9.28112C16.9595 9.41004 16.7723 9.48125 16.5783 9.48126Z",fill:"#BCDEFF"})),Ue=e=>i.createElement("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},e),i.createElement("path",{d:"M10.0001 1.66675C5.4049 1.66675 1.66675 5.4049 1.66675 10.0001C1.66675 14.5953 5.4049 18.3334 10.0001 18.3334C14.5953 18.3334 18.3334 14.5953 18.3334 10.0001C18.3334 5.4049 14.5953 1.66675 10.0001 1.66675ZM10.0001 14.8612C9.6167 14.8612 9.30568 14.5501 9.30568 14.1667C9.30568 13.7834 9.6167 13.4723 10.0001 13.4723C10.3835 13.4723 10.6945 13.7834 10.6945 14.1667C10.6945 14.5501 10.3835 14.8612 10.0001 14.8612ZM11.0994 10.4459C10.8536 10.5591 10.6945 10.807 10.6945 11.0772V11.389C10.6945 11.7723 10.3841 12.0834 10.0001 12.0834C9.61607 12.0834 9.30568 11.7723 9.30568 11.389V11.0772C9.30568 10.2667 9.78201 9.52375 10.5175 9.18412C11.2251 8.85847 11.7362 7.99381 11.7362 7.56948C11.7362 6.61263 10.9577 5.83342 10.0001 5.83342C9.04247 5.83342 8.26401 6.61263 8.26401 7.56948C8.26401 7.95286 7.9535 8.26401 7.56948 8.26401C7.18547 8.26401 6.87508 7.95286 6.87508 7.56948C6.87508 5.84664 8.27711 4.44448 10.0001 4.44448C11.7231 4.44448 13.1251 5.84664 13.1251 7.56948C13.1251 8.50777 12.3112 9.88691 11.0994 10.4459Z",fill:"#FF6F4D"})),Ve=e=>i.createElement("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},e),i.createElement("path",{d:"M11.1164 1.72012L5.48763 0.850741C5.22126 0.814325 4.9502 0.834925 4.6924 0.911176C4.4346 0.987428 4.19595 1.11759 3.99225 1.29304C3.78856 1.46849 3.62447 1.68522 3.51086 1.92888C3.39725 2.17253 3.33671 2.43755 3.33325 2.70637V17.2939C3.33684 17.563 3.3976 17.8283 3.5115 18.0721C3.6254 18.316 3.78984 18.5328 3.99391 18.7083C4.19799 18.8838 4.43704 19.0138 4.6952 19.0899C4.95337 19.166 5.22476 19.1863 5.49138 19.1495L11.1164 18.2801C11.5605 18.2142 11.966 17.9904 12.2584 17.6496C12.5508 17.3089 12.7106 16.8741 12.7083 16.4251V3.57512C12.7104 3.12615 12.5507 2.69144 12.2583 2.35073C11.9659 2.01001 11.5605 1.78612 11.1164 1.72012Z",fill:"#2D87F3"}),i.createElement("path",{d:"M17.6418 9.58432C17.642 9.67545 17.6212 9.7654 17.581 9.84717C17.5408 9.92895 17.4822 10.0003 17.4099 10.0558L15.4456 11.5737C15.3797 11.6247 15.3007 11.6561 15.2178 11.6645C15.1349 11.6729 15.0513 11.6578 14.9765 11.6211C14.9017 11.5843 14.8387 11.5273 14.7946 11.4566C14.7505 11.3858 14.7272 11.3042 14.7272 11.2208L14.7272 10.7109L12.6087 10.7004C12.5494 10.7 12.4926 10.6762 12.4508 10.6341C12.409 10.5921 12.3855 10.5352 12.3855 10.4759L12.3855 8.67526C12.3855 8.61571 12.4092 8.55861 12.4513 8.51651C12.4934 8.4744 12.5505 8.45074 12.61 8.45074L14.7299 8.45277L14.7263 7.94694C14.7261 7.86351 14.7493 7.78171 14.7933 7.71083C14.8373 7.63995 14.9003 7.58283 14.9752 7.54598C15.05 7.50912 15.1337 7.49399 15.2167 7.50232C15.2997 7.51065 15.3787 7.5421 15.4447 7.5931L17.4099 9.11284C17.4822 9.1683 17.5408 9.23969 17.581 9.32146C17.6212 9.40324 17.642 9.49319 17.6418 9.58432Z",fill:"#FF6F4D"}),i.createElement("path",{d:"M17.6418 9.58432C17.642 9.67545 17.6212 9.7654 17.581 9.84717C17.5408 9.92895 17.4822 10.0003 17.4099 10.0558L15.4456 11.5737C15.3797 11.6247 15.3007 11.6561 15.2178 11.6645C15.1349 11.6729 15.0513 11.6578 14.9765 11.6211C14.9017 11.5843 14.8387 11.5273 14.7946 11.4566C14.7505 11.3858 14.7272 11.3042 14.7272 11.2208L14.7272 10.7109L12.6087 10.7004C12.5494 10.7 12.4926 10.6762 12.4508 10.6341C12.409 10.5921 12.3855 10.5352 12.3855 10.4759L12.3855 8.67526C12.3855 8.61571 12.4092 8.55861 12.4513 8.51651C12.4934 8.4744 12.5505 8.45074 12.61 8.45074L14.7299 8.45277L14.7263 7.94694C14.7261 7.86351 14.7493 7.78171 14.7933 7.71083C14.8373 7.63995 14.9003 7.58283 14.9752 7.54598C15.05 7.50912 15.1337 7.49399 15.2167 7.50232C15.2997 7.51065 15.3787 7.5421 15.4447 7.5931L17.4099 9.11284C17.4822 9.1683 17.5408 9.23969 17.581 9.32146C17.6212 9.40324 17.642 9.49319 17.6418 9.58432Z",fill:"#FF6F4D"}),i.createElement("path",{d:"M10.0386 8.67639L10.0386 10.4781C10.0386 10.6021 10.1391 10.7026 10.2631 10.7026L11.5201 10.7026C11.6441 10.7026 11.7447 10.6021 11.7447 10.4781L11.7447 8.67639C11.7447 8.5524 11.6441 8.45188 11.5201 8.45188L10.2631 8.45188C10.1391 8.45188 10.0386 8.5524 10.0386 8.67639Z",fill:"#FF6F4D"}),i.createElement("path",{d:"M9.36589 10.4854C9.36589 10.545 9.34224 10.6021 9.30013 10.6442C9.25803 10.6863 9.20092 10.71 9.14138 10.71L8.73433 10.71C8.57284 10.7097 8.41802 10.6455 8.30381 10.5313C8.1896 10.4171 8.1253 10.2623 8.125 10.1009L8.125 9.06809C8.12518 8.90651 8.18943 8.75161 8.30365 8.63734C8.41788 8.52307 8.57276 8.45877 8.73433 8.45853L9.14138 8.45853C9.20092 8.45853 9.25803 8.48218 9.30013 8.52429C9.34224 8.56639 9.36589 8.6235 9.36589 8.68304L9.36589 10.4854Z",fill:"#FF6F4D"})),Re=e=>i.createElement("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},e),i.createElement("path",{d:"M6.11395 3.33325C6.7973 3.3379 7.47121 3.49338 8.08753 3.78859C8.70385 4.08379 9.24738 4.51145 9.67931 5.04101C9.71796 5.08886 9.76683 5.12746 9.82234 5.15397C9.87784 5.18049 9.93857 5.19425 10.0001 5.19425C10.0616 5.19425 10.1223 5.18049 10.1778 5.15397C10.2333 5.12746 10.2822 5.08886 10.3209 5.04101C10.7528 4.51146 11.2963 4.08381 11.9126 3.7886C12.529 3.4934 13.2029 3.33791 13.8862 3.33325C16.5317 3.33325 18.3334 5.63548 18.3334 8.47482C18.3334 10.1729 17.429 12.9212 15.6575 14.5772C13.1355 16.9349 10.993 17.5417 10.2656 17.6874C10.0907 17.7227 9.91052 17.7227 9.73563 17.6874C9.00817 17.5415 6.86464 16.9347 4.34267 14.5769C2.5714 12.9212 1.66675 10.1729 1.66675 8.47482C1.66675 5.63527 3.46844 3.33325 6.11395 3.33325Z",fill:"#FF6F4D"}),i.createElement("path",{d:"M13.2977 11.2259V10.397C13.2975 10.0781 13.1709 9.77232 12.9457 9.54662C12.7205 9.32092 12.4149 9.19372 12.0961 9.19291H11.8881C11.8192 9.19313 11.753 9.16602 11.7041 9.11753C11.6551 9.06904 11.6274 9.00312 11.627 8.93421V8.72648C11.6269 8.40762 11.5003 8.1018 11.2751 7.87607C11.0499 7.65033 10.7444 7.52308 10.4256 7.52222H9.59401C9.27474 7.52254 8.96864 7.64953 8.7429 7.87531C8.51716 8.10109 8.39023 8.4072 8.38996 8.72648V8.93114C8.39018 9.00001 8.3631 9.06616 8.31465 9.11511C8.2662 9.16406 8.20033 9.19181 8.13146 9.1923H7.92352C7.60494 9.19251 7.29947 9.31915 7.07418 9.5444C6.84889 9.76966 6.72219 10.0751 6.72192 10.3937V11.2277C6.72257 11.5462 6.84938 11.8514 7.07458 12.0766C7.29978 12.3019 7.60504 12.4287 7.92352 12.4293H8.13146C8.20047 12.4298 8.26647 12.4577 8.31494 12.5068C8.36341 12.5559 8.39039 12.6223 8.38996 12.6913V12.8959C8.39023 13.2152 8.51717 13.5213 8.74292 13.747C8.96866 13.9728 9.27476 14.0997 9.59401 14.1H10.4256C10.7444 14.0992 11.0499 13.972 11.2751 13.7463C11.5003 13.5206 11.6269 13.2148 11.627 12.8959V12.6884C11.6275 12.6195 11.6552 12.5537 11.7042 12.5052C11.7531 12.4568 11.8193 12.4297 11.8881 12.4299H12.0961C12.4149 12.4291 12.7205 12.3019 12.9457 12.0762C13.1709 11.8505 13.2975 11.5447 13.2977 11.2259Z",fill:"white"})),Oe=e=>i.createElement("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},e),i.createElement("path",{d:"M4.76682 17.2364C4.94535 17.3671 5.15296 17.4524 5.37177 17.485C5.59059 17.5177 5.81406 17.4967 6.02297 17.4239L10.1195 16.0271C10.1641 16.0085 10.2119 15.999 10.2602 15.999C10.3084 15.999 10.3562 16.0085 10.4008 16.0271L14.4973 17.4239C14.6427 17.4715 14.7944 17.4968 14.9473 17.4989C15.2374 17.5011 15.5203 17.409 15.7535 17.2364C15.94 17.1034 16.0919 16.9275 16.1963 16.7236C16.3007 16.5197 16.3546 16.2937 16.3534 16.0646V3.93427C16.3558 3.74763 16.3212 3.56236 16.2518 3.38912C16.1823 3.21588 16.0792 3.05808 15.9486 2.9248C15.8179 2.79151 15.6622 2.68537 15.4903 2.61247C15.3185 2.53957 15.134 2.50134 14.9473 2.5H5.57301C5.38635 2.50134 5.20181 2.53957 5.02998 2.61247C4.85815 2.68537 4.70242 2.79151 4.57175 2.9248C4.44108 3.05808 4.33804 3.21588 4.26855 3.38912C4.19907 3.56236 4.16451 3.74763 4.16686 3.93427V16.0646C4.16574 16.2937 4.21964 16.5197 4.32405 16.7236C4.42845 16.9275 4.5803 17.1034 4.76682 17.2364Z",fill:"#00CB8A"})),Ie=e=>i.createElement("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},e),i.createElement("path",{d:"M17.339 8.07543C17.0148 8.02835 16.7054 7.90873 16.4339 7.7255C16.1623 7.54227 15.9356 7.30015 15.7706 7.01715C15.6057 6.73416 15.5066 6.41759 15.4809 6.09102C15.4553 5.76445 15.5036 5.4363 15.6223 5.13099C15.6978 4.9314 15.7089 4.71319 15.6541 4.50695C15.5993 4.30072 15.4813 4.1168 15.3167 3.98099C14.5901 3.37081 13.763 2.89146 12.8723 2.56433C12.6695 2.48898 12.4481 2.47957 12.2396 2.53743C12.0311 2.59528 11.8462 2.71746 11.7112 2.88655C11.508 3.14636 11.2483 3.35649 10.9519 3.501C10.6554 3.64551 10.3299 3.72062 10.0001 3.72062C9.67027 3.72062 9.34478 3.64551 9.0483 3.501C8.75183 3.35649 8.49216 3.14636 8.28898 2.88655C8.15399 2.71746 7.96908 2.59528 7.7606 2.53743C7.55211 2.47957 7.33069 2.48898 7.12787 2.56433C6.30546 2.86635 5.53653 3.2977 4.85009 3.8421C4.67706 3.97908 4.55243 4.16786 4.49445 4.3808C4.43646 4.59373 4.44818 4.81964 4.52787 5.02544C4.65607 5.33882 4.70903 5.67789 4.68252 6.01544C4.65601 6.35299 4.55075 6.67962 4.3752 6.96915C4.19965 7.25867 3.95869 7.50303 3.67164 7.6826C3.3846 7.86218 3.05946 7.97199 2.72231 8.00321C2.50343 8.02662 2.29784 8.11968 2.13582 8.2687C1.9738 8.41772 1.8639 8.61482 1.82232 8.83099C1.71887 9.34305 1.66676 9.86414 1.66676 10.3865C1.666 10.8239 1.7013 11.2606 1.77232 11.6921C1.80766 11.9152 1.91551 12.1204 2.07919 12.2761C2.24288 12.4317 2.45328 12.5291 2.67787 12.5532C3.02242 12.5855 3.35422 12.6999 3.64548 12.8868C3.93675 13.0737 4.17901 13.3276 4.352 13.6274C4.52498 13.9271 4.62365 14.2639 4.63975 14.6096C4.65585 14.9553 4.58891 15.2998 4.44454 15.6143C4.35005 15.8189 4.32661 16.0492 4.37795 16.2686C4.42928 16.488 4.55244 16.684 4.72787 16.8254C5.45015 17.4245 6.2693 17.8961 7.15009 18.2199C7.26272 18.2589 7.3809 18.2795 7.50009 18.281C7.66352 18.2806 7.82448 18.2411 7.96947 18.1657C8.11447 18.0903 8.23927 17.9812 8.33342 17.8477C8.53143 17.5592 8.79686 17.3234 9.10666 17.1607C9.41647 16.9981 9.76129 16.9135 10.1112 16.9143C10.4502 16.9147 10.7845 16.9943 11.0873 17.1467C11.3902 17.2991 11.6533 17.5201 11.8556 17.7921C11.9903 17.973 12.1809 18.1044 12.398 18.1657C12.615 18.227 12.8463 18.2148 13.0556 18.131C13.861 17.8068 14.6108 17.3589 15.2779 16.8032C15.4454 16.6647 15.5647 16.4766 15.6186 16.2659C15.6726 16.0553 15.6583 15.833 15.5779 15.631C15.4472 15.3216 15.3902 14.9862 15.4114 14.651C15.4327 14.3159 15.5315 13.9903 15.7001 13.6999C15.8687 13.4095 16.1026 13.1622 16.3831 12.9777C16.6637 12.7932 16.9833 12.6764 17.3167 12.6365C17.533 12.6066 17.734 12.5087 17.8909 12.3569C18.0477 12.205 18.1521 12.0072 18.189 11.7921C18.2782 11.3287 18.3265 10.8584 18.3334 10.3865C18.3335 9.88885 18.287 9.39224 18.1945 8.90321C18.157 8.69282 18.0542 8.4996 17.9006 8.35101C17.747 8.20241 17.5505 8.10598 17.339 8.07543ZM12.7779 10.3865C12.7779 10.9359 12.6149 11.473 12.3097 11.9298C12.0045 12.3866 11.5707 12.7426 11.0631 12.9529C10.5555 13.1631 9.99701 13.2181 9.45817 13.1109C8.91933 13.0038 8.42438 12.7392 8.0359 12.3507C7.64742 11.9622 7.38287 11.4673 7.27569 10.9285C7.1685 10.3896 7.22351 9.83111 7.43376 9.32354C7.644 8.81596 8.00004 8.38213 8.45684 8.07691C8.91364 7.77168 9.4507 7.60877 10.0001 7.60877C10.7368 7.60877 11.4433 7.90143 11.9643 8.42236C12.4852 8.94329 12.7779 9.64983 12.7779 10.3865Z",fill:"#2D87F3"})),Ze=e=>i.createElement("svg",Object.assign({width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},e),i.createElement("path",{d:"M10 19.167A9.167 9.167 0 1 0 10 .833a9.167 9.167 0 0 0 0 18.334",fill:"#BCDEFF"}),i.createElement("path",{d:"M17.356 15.463a9.188 9.188 0 0 0-14.716-.005 9.155 9.155 0 0 0 14.716.005",fill:"#2D87F3"}),i.createElement("path",{d:"M10 10.591a3.548 3.548 0 1 0 0-7.096 3.548 3.548 0 0 0 0 7.096",fill:"#2D87F3"})),Ge=u.div`
|
|
228
|
-
padding: 16px;
|
|
229
|
-
border-radius: 16px;
|
|
230
|
-
background-color: white;
|
|
231
|
-
hr {
|
|
232
|
-
border-color: ${({theme:e})=>e.colors.neutral100};
|
|
233
|
-
border-bottom-width: 0px;
|
|
234
|
-
border-style: solid;
|
|
235
|
-
}
|
|
236
|
-
`,We=u.div`
|
|
237
|
-
display: block;
|
|
238
|
-
background-color: white;
|
|
239
|
-
border: 1px solid transparent;
|
|
240
|
-
transition: all 300ms linear;
|
|
241
|
-
cursor: pointer;
|
|
242
|
-
position: relative;
|
|
243
|
-
|
|
244
|
-
${e=>e.hasSubmenu&&v`
|
|
245
|
-
cursor: pointer;
|
|
246
|
-
`}
|
|
247
|
-
|
|
248
|
-
&[data-is-open='true'] {
|
|
249
|
-
& + div {
|
|
250
|
-
margin-top: 8px;
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
border-left-width: 0;
|
|
255
|
-
border-right-width: 0;
|
|
256
|
-
&[data-is-open='true'] {
|
|
257
|
-
& + div {
|
|
258
|
-
margin-top: 0;
|
|
259
|
-
}
|
|
260
|
-
.nav-menu-item:last-child {
|
|
261
|
-
border-bottom-color: ${({theme:e})=>e.colors.neutral100};
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
.nav-menu-item {
|
|
265
|
-
background-color: ${({theme:e})=>e.colors.neutral50};
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
.nav-menu-item {
|
|
269
|
-
padding-left: 38px;
|
|
270
|
-
}
|
|
271
|
-
`,Ye=u.div`
|
|
272
|
-
display: flex;
|
|
273
|
-
align-items: center;
|
|
274
|
-
height: 48px;
|
|
275
|
-
border: 1px solid transparent;
|
|
276
|
-
transition: all 300ms;
|
|
277
|
-
border-radius: 8px;
|
|
278
|
-
|
|
279
|
-
&:hover {
|
|
280
|
-
background-color: ${e=>e.theme.colors.neutral150};
|
|
281
|
-
}
|
|
282
|
-
&[data-active='true'] {
|
|
283
|
-
background-color: ${e=>e.theme.colors.blue50};
|
|
284
|
-
}
|
|
285
|
-
`,Ke=u.div`
|
|
286
|
-
margin-left: auto;
|
|
287
|
-
|
|
288
|
-
svg {
|
|
289
|
-
fill: ${e=>e.theme.colors.gray600};
|
|
290
|
-
transition: transform 300ms;
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
&[data-is-open='true'] svg {
|
|
294
|
-
transform: rotate(180deg);
|
|
295
|
-
}
|
|
296
|
-
`,qe=u.div`
|
|
297
|
-
overflow: hidden;
|
|
298
|
-
max-height: 0;
|
|
299
|
-
transition: max-height 0.3s ease-out;
|
|
300
|
-
|
|
301
|
-
[data-is-open='true'] & {
|
|
302
|
-
max-height: 500px;
|
|
303
|
-
transition-timing-function: ease-in;
|
|
304
|
-
}
|
|
305
|
-
`,Qe={helloSites:{member:()=>x.getAssetPath("userProfileNav/helloSites/icon-rank-member.svg"),ambassador:()=>x.getAssetPath("userProfileNav/helloSites/icon-rank-ambassador.svg"),doctor:()=>x.getAssetPath("userProfileNav/helloSites/icon-rank-doctor.svg"),expert:()=>x.getAssetPath("userProfileNav/helloSites/icon-rank-expert.svg"),influencer:()=>x.getAssetPath("userProfileNav/helloSites/icon-rank-influencer.svg")},marryBaby:{member:()=>x.getAssetPath("userProfileNav/marryBaby/icon-rank-member.svg"),ambassador:()=>x.getAssetPath("userProfileNav/marryBaby/icon-rank-ambassador.svg"),doctor:()=>x.getAssetPath("userProfileNav/marryBaby/icon-rank-doctor.svg"),expert:()=>x.getAssetPath("userProfileNav/marryBaby/icon-rank-expert.svg"),influencer:()=>x.getAssetPath("userProfileNav/marryBaby/icon-rank-influencer.svg")}},Je=({rank:e,siteType:t="helloSites"})=>{const a=n((()=>{var i,a;return(null===(a=null===(i=Qe[t])||void 0===i?void 0:i[e])||void 0===a?void 0:a.call(i))||""}),[e,t]),{t:o}=U();return i.createElement("div",{style:{display:"inline-flex",height:"fit-content",alignItems:"center",padding:"5px 12px",gap:"4px",borderRadius:16,border:`1px solid ${"helloSites"===t?J.colors.blue100:J.colors.mb100}`}},i.createElement("img",{src:a,alt:e,style:{height:16,width:16}}),i.createElement(C,{size:"s5",color:"gray.8",weight:"semiBold"},o(`userProfile.userRank.${e}`)))},Xe=({siteType:e="helloSites",userInfo:t})=>(null==t?void 0:t.id)?i.createElement(i.Fragment,null,i.createElement("div",{style:{display:"flex",width:"100%",justifyContent:"space-between"}},i.createElement(g,{src:t.avatar,alt:t.name,size:48,style:{marginBottom:8}}),i.createElement(Je,{rank:"member",siteType:e})),i.createElement(C,{size:"s3",weight:"semiBold",color:"gray.8",style:{marginBottom:4}},t.name),i.createElement(C,{size:"n1",weight:"regular",color:"helloSites"===e?"hb.6":"mb.6"},"@",t.username),i.createElement("hr",null)):null,et=({className:e,activeItem:t,navMenuItems:n,style:o,onLogout:r,siteType:s="helloSites",userInfo:d})=>{const{locale:c}=U(),[m,p]=a(),g="string"==typeof t?t:m,h=M(_(c,"marryBaby"===s)+"/"),u=M(H(c,"marryBaby"===s)+"/"),v=n||[[{key:"userProfile.nav.header.viewProfile",icon:i.createElement(Ze,{width:"24",height:"24"}),value:"profile",tracking:{action:"Profile Click"},link:`${h}user/profile/`},{key:"userProfile.nav.card.myHealth",icon:i.createElement(Re,{width:"24",height:"24"}),value:"myHealth",tracking:{action:"My Health Click"},link:`${h}user/health/`},{key:"userProfile.nav.card.mySaved",icon:i.createElement(Oe,{width:"24",height:"24"}),iconColor:"green_300",value:"saved",tracking:{action:"Bookmarks Click"},link:`${h}user/saved/`},{key:"userProfile.nav.card.myBooking",icon:i.createElement(Ae,{width:"24",height:"24"}),value:"booking",disabled:!y.includes(c),tracking:{action:"Manage Booking Click"},link:`${h}user/booking/`},{key:"userProfile.nav.card.myCommunity",icon:i.createElement(ze,{width:"24",height:"24"}),value:"myCommunities",disabled:!E.includes(c),tracking:{action:"Community Click"},link:`${h}user/my-communities/`}],...w.includes(c)?[[{key:"userProfile.nav.card.eCom",icon:i.createElement(Se,{width:"24",height:"24"}),value:"eCom",disabled:!w.includes(c),subMenu:[{key:"userProfile.nav.card.ecom.manageOrders",value:"eCom-manageOrders",icon:i.createElement(Fe,{width:"24",height:"24"}),link:`${u}shop/ho-so/quan-li-don-hang/`,tracking:{action:"Order Management Click"}},{key:"userProfile.nav.card.ecom.DeliveryAddress",value:"eCom-manageAddress",icon:i.createElement(Fe,{width:"24",height:"24"}),link:`${u}shop/ho-so/dia-chi-giao-hang/`,tracking:{action:"Address Management Click"}},{key:"userProfile.nav.card.ecom.voucher",value:"eCom-voucher",icon:i.createElement(Fe,{width:"24",height:"24"}),link:`${u}shop/ho-so/khuyen-mai/`,tracking:{action:"Voucher Click"}}]}]]:[],[{key:"userProfile.nav.menu.accountSettings",icon:i.createElement(Ie,{width:"24",height:"24"}),subMenu:[{key:"common.profileNavigator.newsletterSubscription",value:"subscription",icon:i.createElement(Fe,{width:"24",height:"24"}),tracking:{action:"Subscription Click"},link:`${h}user/subscriptions/`,disabled:"vi-VN"!==c},{key:"userProfile.nav.menu.password",value:"password",icon:i.createElement(Fe,{width:"24",height:"24"}),tracking:{action:"Set Password Click"},link:`${h}user/password/`},{key:"userProfile.nav.menu.disableAccount",value:"disable-account",icon:i.createElement(Fe,{width:"24",height:"24"}),tracking:{action:"Disable Account Click"},link:`${h}user/disable-account/`}]}],[{key:"userProfile.nav.menu.help",icon:i.createElement(Ue,{width:"24",height:"24"}),value:"help",link:`${h}user/help`,tracking:{action:"Support Click"}},{key:"userProfile.nav.menu.logout",icon:i.createElement(Ve,{width:"24",height:"24"}),value:"logout",tracking:{action:"Sign Out Click"}}]];return i.createElement(Ge,{className:e,style:o},i.createElement(Xe,{userInfo:d,siteType:s}),v.map(((e,t)=>i.createElement(l,{key:t},e.map((e=>i.createElement(tt,{key:e.key,item:e,activeKey:g||"",onLogout:r,onClick:()=>p((t=>t===e.key?void 0:e.key)),siteType:s}))),t!==v.length-1&&i.createElement("hr",null)))))},tt=({item:e,activeKey:t,forceOpen:o,onLogout:l,onClick:r,siteType:s})=>{var d;const[c,m]=a(!1),p=n((()=>"undefined"!=typeof window?window.location.href:""),[]);if(e.disabled)return null;const{t:g}=U(),h="boolean"==typeof o?o:c,u=t===e.key;return i.createElement(We,{as:e.subMenu?void 0:"a","data-is-open":h,key:e.key,hasSubmenu:!!e.subMenu,onClick:()=>{null==r||r(),e.subMenu&&!o?m((e=>!e)):"logout"===e.value?null==l||l():e.link&&(window.location.href=e.link)},"data-event-category":"Ecommerce","data-event-action":(null===(d=null==e?void 0:e.tracking)||void 0===d?void 0:d.action)||"","data-event-label":p},i.createElement(Ye,{"data-active":u},e.icon,i.createElement(C,{size:"p3",style:{marginLeft:e.icon?24:48,transition:"color 300ms"},color:u?"helloSites"===s?"hb.6":"mb.6":"gray.8"},g(e.key)),e.subMenu&&i.createElement(Ke,{"data-is-open":h},i.createElement(le,{width:14}))),e.subMenu&&i.createElement(qe,null,e.subMenu.map((e=>i.createElement(tt,{key:e.key,item:e,activeKey:t,onLogout:l})))))},it=({isOpen:e,userInfo:t,closePopup:a,siteType:n="helloSites",dispatchLogout:o})=>i.createElement(He,{"data-open":e},i.createElement("div",{className:"popup-content"},i.createElement(et,{siteType:n,onLogout:()=>{o&&(o(),a())},userInfo:t}))),at=u.div`
|
|
306
|
-
background-color: white;
|
|
307
|
-
text-align: center;
|
|
308
|
-
.cancle-img {
|
|
309
|
-
margin-top: 24px;
|
|
310
|
-
${Q.mbDown} {
|
|
311
|
-
width: 80px;
|
|
312
|
-
height: 80px;
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
${Q.mbUp} {
|
|
316
|
-
width: 100px;
|
|
317
|
-
height: 100px;
|
|
318
|
-
}
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
h2 {
|
|
322
|
-
margin-top: 32px;
|
|
323
|
-
color: ${e=>e.theme.colors.gray800};
|
|
324
|
-
font-style: normal;
|
|
325
|
-
font-weight: bold;
|
|
326
|
-
${Q.mbDown} {
|
|
327
|
-
font-size: 24px;
|
|
328
|
-
line-height: 32px;
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
${Q.mbUp} {
|
|
332
|
-
font-size: 32px;
|
|
333
|
-
line-height: 42px;
|
|
334
|
-
}
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
p {
|
|
338
|
-
margin-top: 8px;
|
|
339
|
-
color: ${e=>e.theme.colors.gray600};
|
|
340
|
-
font-style: normal;
|
|
341
|
-
font-weight: normal;
|
|
342
|
-
${Q.mbDown} {
|
|
343
|
-
font-size: 16px;
|
|
344
|
-
line-height: 24px;
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
${Q.mbUp} {
|
|
348
|
-
font-size: 16px;
|
|
349
|
-
line-height: 24px;
|
|
350
|
-
}
|
|
351
|
-
}
|
|
352
|
-
`,nt=u.div`
|
|
353
|
-
display: flex;
|
|
354
|
-
|
|
355
|
-
${Q.mbDown} {
|
|
356
|
-
margin-top: 24px;
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
${Q.mbUp} {
|
|
360
|
-
margin-top: 32px;
|
|
361
|
-
}
|
|
362
|
-
justify-content: space-around;
|
|
363
|
-
button {
|
|
364
|
-
flex: 1;
|
|
365
|
-
margin: 4px;
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
${e=>"marryBaby"===e.siteType?"\n .cancel-button {\n background-color: #E55C8A;\n }\n .cancel-button:hover {\n background-color: #E55C8A !important;\n }\n .logout-button {\n border-color: #E55C8A;\n color: #E55C8A;\n }\n ":""}
|
|
369
|
-
`,ot=({openLogoutPopup:e,onCloseHandler:t,onLogoutHandler:a,siteType:n="helloSites"})=>{const{t:o}=U();return r((()=>{document.body.classList.toggle("noscroll",e)}),[e]),i.createElement(W,null,i.createElement(j,{type:"confirm",isOpen:e,closeIcon:i.createElement("img",{src:x.getAssetPath("closeLight.svg"),style:{width:24,height:24},alt:"close-icon",loading:"lazy"}),onClose:t},i.createElement(at,null,"helloSites"===n&&i.createElement("img",{src:x.getAssetPath("arrowDoor.svg"),className:"cancle-img",alt:"close-account",loading:"lazy"}),i.createElement("h2",null,o("helloSites"===n?"logout.popup.ask1":"logout.popup.ask.mb")),i.createElement("p",null,o("logout.popup.ask2")),i.createElement(nt,{siteType:n},i.createElement(re,{className:"logout-button",color:"tertiary",size:"lg",onClick:a},o("logout.popup.button.logout")),i.createElement(re,{className:"cancel-button",color:"primary",size:"lg",onClick:t},o("logout.popup.button.cancel"))))))},lt=({userInfo:e,siteType:n,onLoginClick:o,SSO_URL:l,currentUrl:s,isMinifyLogin:d,onLogout:c,style:m,isLoading:p,locale:u})=>{const{t:v}=U(),[f,y]=a(!1),E=(null==e?void 0:e.name)||(null==e?void 0:e.username),[w,k]=a(!1);r((()=>{k(!0)}),[]);const{containerRef:$,onContainerFocus:L,onContainerBlur:B,onButtonMouseDown:P,onClose:_}=Pe();return p?i.createElement(h,{size:"sm",color:"transparent",loading:!0}):(null==e?void 0:e.id)?i.createElement(i.Fragment,null,i.createElement(Te,{ref:$,style:m,tabIndex:0,onBlur:B,onFocus:()=>{var e;L();const t=null===(e=$.current)||void 0===e?void 0:e.querySelector("#desktop-sticky-header .hhgcomp-navprofilebutton-popup");if(t){const e=`calc(100vh - ${t.getBoundingClientRect().top}px)`;t.setAttribute("style",`max-height: ${e};`)}}},i.createElement("div",{onMouseDown:P},i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",className:"user-close-icon"},i.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})),i.createElement(g,{size:40,className:"user-avatar",src:null==e?void 0:e.avatar,color:"marryBaby"===n?J.mbColors.pink:J.colors.secondaryBase,placeholderText:E&&E.length?E[0].toUpperCase():"A"})),i.createElement(it,{dispatchLogout:()=>{_(),y(!0)},isOpen:!1,closePopup:_,siteType:n,userInfo:e})),i.createElement(ot,{openLogoutPopup:f,onCloseHandler:()=>{document.body.classList.toggle("noscroll",!1),y(!1)},siteType:n,onLogoutHandler:()=>t(void 0,void 0,void 0,(function*(){y(!1),document.body.classList.toggle("noscroll",!1),yield c()}))})):i.createElement(je,{style:Object.assign({textDecoration:"none"},m),"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":s,href:w?void 0:M(`${l}?returnUrl=${s}`),"data-site-type":n},d?i.createElement(Ne,{onClick:o},i.createElement("img",{src:x.getAssetPath("lock.png"),className:"avatar",loading:"lazy",alt:"avatar"})):i.createElement(i.Fragment,null,"helloSites"===n&&(u===Y.Indonesia||u===Y.PhilippinesTagalog||u===Y.PhilippinesEnglish?i.createElement("img",{className:"mobile-only",src:x.getAssetPath("login.svg"),style:{cursor:"pointer",height:24,width:24},onClick:o}):i.createElement(h,{className:"mobile-only",size:"sm",onClick:o,leftIcon:i.createElement(b,{useCurrentColor:!0,isSolid:!0,size:22}),sx:{paddingLeft:"8px",paddingRight:"12px"}},v("navigation.loginJoin"))),"marryBaby"===n&&i.createElement("div",{className:"mobile-only",onClick:o,style:{paddingLeft:16}},i.createElement(C,{size:"p3",color:J.mbColors.pink},v("navigation.loginJoin"))),i.createElement(h,{className:"login-btn",size:"md",onClick:o,leftIcon:i.createElement(b,{useCurrentColor:!0,isSolid:!0,size:22})},v("navigation.loginJoin"))))};var rt="spdlGfq",st="vgS16jX";const dt=({onCareHeaderClick:e,currentUrl:t,careUrlFe:a,btnName:n})=>e?i.createElement(re,{className:rt,size:"md",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:t,onClick:t=>e(t),style:{paddingLeft:10,paddingRight:10}},n):i.createElement("a",{href:a,className:`${st} care-button no-replace-click`},i.createElement(re,{className:rt,size:"md",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:t},n));var ct="y5VJdvw",mt="oVhOSCy",pt="pX8OXTM";const gt=i.createContext({}),ht=t=>{var{children:a}=t,o=e(t,["children"]);const[l,s]=i.useState((()=>o.currentUrl||`https://${"marryBaby"===o.siteType?ie[o.locale||"en-PH"]:$[o.locale||"en-PH"]}${"together"===o.projectType?"/community":"ecom"===o.projectType?"/ecom":"care"===o.projectType?"/care":""}/`));r((()=>{const e=()=>{s(window.location.href)};return window.addEventListener("popstate",e),e(),()=>{window.removeEventListener("popstate",e)}}),[]);const d=(({locale:e,projectType:t,isMobile:i,siteType:a,enableBookingBtn:o})=>n((()=>{const n=!(!i&&"profile"===t),l="discover"===t||"marryBaby"===t||"profile"===t&&"marryBaby"===a,r="marryBaby"!==a&&"marryBaby"!==t&&y.includes(e),s=o&&"marryBaby"!==t&&"discover"===t&&"marryBaby"!==a&&k.includes(e),d="marryBaby"===t||E.includes(e),c="marryBaby"!==a&&w.includes(e),m="marryBaby"!==a&&w.includes(e);let p=H(e,"marryBaby"===a);"undefined"!=typeof window&&(p.includes("//id.")&&(p=p.replace("id.","")),p.includes("//staging-id.")&&(p=p.replace("staging-id.","discover.")));return{enableProfileNavigatorMenu:n,enableSearchBar:l,enableNavCare:r,enableNavCareBooking:s,enableNavTogether:d,enableNavEcom:c,enableProfileEcom:m,enableProfileMyHealth:!0,enableNavDiscover:!0,enableNavHealthTools:!0,enableProfileMySaved:!0,statics:{HOME_PAGE_URL:p,CARE_URL_FE:`${p}/care`,TOGETHER_URL_FE:`${p}/community`,SSO_URL:_(e,"marryBaby"===a),TOGETHER_API:D(),DISCOVER_API:N(e)}}}),[e,t,i]))({locale:o.locale,projectType:o.projectType,isMobile:o.isMobile,siteType:o.siteType,enableBookingBtn:o.enableBookingBtn});return i.createElement(gt.Provider,{value:Object.assign(Object.assign({},o),{configs:Object.assign(Object.assign({},d),o.configs),currentUrl:o.currentUrl||l})},a)};function ut({className:e}){return i.createElement("div",null,i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",className:e},i.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))}function vt({siteType:e,enableSearch:t,className:a}){return"helloSites"===e?i.createElement("div",null,i.createElement("img",{"data-list-type":"Header","data-content-type":"Navigation","data-content-topic":"Hamburger",src:t?x.getAssetPath("hamburgerMenuNewWithSearch.svg"):x.getAssetPath("hamburgerMenuNew.svg"),style:{width:"24px",height:"24px"},alt:"home",className:a,loading:"lazy"})):i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",className:a},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.34961 15C3.34961 14.641 3.64062 14.35 3.99961 14.35L13.9996 14.35C14.3586 14.35 14.6496 14.641 14.6496 15C14.6496 15.359 14.3586 15.65 13.9996 15.65L3.99961 15.65C3.64062 15.65 3.34961 15.359 3.34961 15ZM3.34961 8.99999C3.34961 8.64101 3.64062 8.34999 3.99961 8.34999L19.9992 8.34999C20.3582 8.34999 20.6492 8.64101 20.6492 8.99999C20.6492 9.35898 20.3582 9.64999 19.9992 9.64999L3.99961 9.64999C3.64062 9.64999 3.34961 9.35898 3.34961 8.99999Z",fill:"#3E3F58"}))}const Ct="profile/posts?website_url={websiteUrl}",ft=99,bt=210,xt=u.div`
|
|
370
|
-
position: fixed;
|
|
371
|
-
z-index: 201;
|
|
372
|
-
top: calc(100% + 1px); // border 1px
|
|
373
|
-
width: 100%;
|
|
374
|
-
height: calc(100vh - var(--header-bottom));
|
|
375
|
-
overflow-x: hidden;
|
|
376
|
-
overflow-y: auto;
|
|
377
|
-
background: white;
|
|
378
|
-
display: flex;
|
|
379
|
-
flex-direction: column;
|
|
380
|
-
padding-bottom: 0;
|
|
381
|
-
left: 0;
|
|
382
|
-
.hhgcomp-navigation-popupwrapper-menuwrapper {
|
|
383
|
-
position: unset;
|
|
384
|
-
}
|
|
385
|
-
`;u.div`
|
|
386
|
-
position: fixed;
|
|
387
|
-
bottom: 0;
|
|
388
|
-
left: 0;
|
|
389
|
-
display: flex;
|
|
390
|
-
width: 100%;
|
|
391
|
-
height: 72px;
|
|
392
|
-
align-items: flex-start;
|
|
393
|
-
justify-content: center;
|
|
394
|
-
|
|
395
|
-
background: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
|
|
396
|
-
|
|
397
|
-
.button-image {
|
|
398
|
-
stroke-color: blue;
|
|
399
|
-
}
|
|
400
|
-
|
|
401
|
-
&[data-site-type='marryBaby'] {
|
|
402
|
-
padding: 0 16px;
|
|
403
|
-
.category-button {
|
|
404
|
-
width: 100%;
|
|
405
|
-
height: 48px;
|
|
406
|
-
}
|
|
407
|
-
}
|
|
408
|
-
`,u.div`
|
|
409
|
-
display: flex;
|
|
410
|
-
|
|
411
|
-
&[data-card-array-no-margin-style='true'] {
|
|
412
|
-
margin: 8px 0;
|
|
413
|
-
|
|
414
|
-
& > div {
|
|
415
|
-
width: 0;
|
|
416
|
-
flex: 1;
|
|
417
|
-
margin: 0 -1px;
|
|
418
|
-
}
|
|
419
|
-
}
|
|
420
|
-
|
|
421
|
-
&[data-card-array-no-margin-style='false'] {
|
|
422
|
-
margin: 8px -4px;
|
|
423
|
-
|
|
424
|
-
& > div {
|
|
425
|
-
flex: 1;
|
|
426
|
-
margin: 0 4px;
|
|
427
|
-
}
|
|
428
|
-
}
|
|
429
|
-
`,u.div`
|
|
430
|
-
margin-top: 64px;
|
|
431
|
-
`,u.div`
|
|
432
|
-
padding: 24px 0;
|
|
433
|
-
`,u.div`
|
|
434
|
-
display: flex;
|
|
435
|
-
width: 100%;
|
|
436
|
-
align-items: center;
|
|
437
|
-
justify-content: center;
|
|
438
|
-
|
|
439
|
-
& > div:first-child {
|
|
440
|
-
margin-right: 8px;
|
|
441
|
-
}
|
|
442
|
-
`,u.div`
|
|
443
|
-
z-index: ${bt};
|
|
444
|
-
align-items: center;
|
|
445
|
-
|
|
446
|
-
border: 1px solid ${e=>e.theme.colors.neutral50};
|
|
447
|
-
background-color: ${e=>e.theme.colors.white};
|
|
448
|
-
box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),
|
|
449
|
-
0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),
|
|
450
|
-
0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
451
|
-
`,u.div`
|
|
452
|
-
position: relative;
|
|
453
|
-
display: flex;
|
|
454
|
-
flex-wrap: wrap;
|
|
455
|
-
align-items: flex-start;
|
|
456
|
-
justify-content: flex-start;
|
|
457
|
-
padding: 48px 0;
|
|
458
|
-
`,u.div`
|
|
459
|
-
position: relative;
|
|
460
|
-
display: flex;
|
|
461
|
-
flex-wrap: wrap;
|
|
462
|
-
align-items: flex-start;
|
|
463
|
-
justify-content: flex-start;
|
|
464
|
-
&[data-disabled-divider='false'] {
|
|
465
|
-
border-right: 1px solid #e4e8ec;
|
|
466
|
-
}
|
|
467
|
-
`,u.div`
|
|
468
|
-
width: 20%;
|
|
469
|
-
padding-right: 16px;
|
|
470
|
-
margin-bottom: 12px;
|
|
471
|
-
|
|
472
|
-
& > a {
|
|
473
|
-
color: ${e=>e.theme.colors.gray800};
|
|
474
|
-
font-size: ${e=>e.theme.sizes.fsParagraph4};
|
|
475
|
-
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
476
|
-
line-height: 22px;
|
|
477
|
-
}
|
|
478
|
-
|
|
479
|
-
& > a:hover {
|
|
480
|
-
color: ${e=>e.theme.colors.primaryBase};
|
|
481
|
-
}
|
|
482
|
-
|
|
483
|
-
.iconMenu {
|
|
484
|
-
display: flex;
|
|
485
|
-
align-items: center;
|
|
486
|
-
|
|
487
|
-
> .imageContainer {
|
|
488
|
-
display: flex;
|
|
489
|
-
width: 32px;
|
|
490
|
-
min-width: 32px;
|
|
491
|
-
align-items: center;
|
|
492
|
-
margin-right: 16px;
|
|
493
|
-
}
|
|
494
|
-
}
|
|
495
|
-
`,u.div`
|
|
496
|
-
display: none;
|
|
497
|
-
`,u.div`
|
|
498
|
-
width: 33%;
|
|
499
|
-
height: 48px;
|
|
500
|
-
padding-right: 16px;
|
|
501
|
-
margin-bottom: 12px;
|
|
502
|
-
|
|
503
|
-
& > a {
|
|
504
|
-
display: flex;
|
|
505
|
-
align-items: center;
|
|
506
|
-
color: ${e=>e.theme.colors.gray800};
|
|
507
|
-
font-size: ${e=>e.theme.sizes.fsParagraph4};
|
|
508
|
-
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
509
|
-
line-height: 22px;
|
|
510
|
-
|
|
511
|
-
& > :first-child {
|
|
512
|
-
margin-right: 16px;
|
|
513
|
-
}
|
|
514
|
-
}
|
|
515
|
-
|
|
516
|
-
& > a > p:hover {
|
|
517
|
-
color: ${e=>e.theme.colors.primaryBase};
|
|
518
|
-
}
|
|
519
|
-
`,u.div`
|
|
520
|
-
display: flex;
|
|
521
|
-
align-items: center;
|
|
522
|
-
|
|
523
|
-
padding-right: 16px;
|
|
524
|
-
margin-bottom: 12px;
|
|
525
|
-
color: ${e=>e.theme.colors.primaryBase};
|
|
526
|
-
font-size: ${e=>e.theme.sizes.fsParagraph4};
|
|
527
|
-
font-weight: ${e=>e.theme.sizes.fwBold};
|
|
528
|
-
line-height: 24px;
|
|
529
|
-
|
|
530
|
-
&[data-theme='marryBaby'] {
|
|
531
|
-
color: ${e=>e.theme.mbColors.pink};
|
|
532
|
-
}
|
|
533
|
-
`,u.div`
|
|
534
|
-
display: flex;
|
|
535
|
-
align-items: center;
|
|
536
|
-
|
|
537
|
-
margin-left: 10px;
|
|
538
|
-
`,u.div`
|
|
539
|
-
position: absolute;
|
|
540
|
-
top: 16px;
|
|
541
|
-
right: 0;
|
|
542
|
-
display: flex;
|
|
543
|
-
align-items: center;
|
|
544
|
-
cursor: pointer;
|
|
545
|
-
`,u.div`
|
|
546
|
-
display: block;
|
|
547
|
-
`,u.div`
|
|
548
|
-
.categories__spotlight {
|
|
549
|
-
display: grid;
|
|
550
|
-
margin: 16px;
|
|
551
|
-
margin-bottom: 32px;
|
|
552
|
-
grid-gap: 8px;
|
|
553
|
-
grid-template-columns: 1fr 1fr;
|
|
554
|
-
|
|
555
|
-
a {
|
|
556
|
-
text-decoration: none;
|
|
557
|
-
}
|
|
558
|
-
}
|
|
559
|
-
|
|
560
|
-
.categoryCard {
|
|
561
|
-
display: flex;
|
|
562
|
-
width: 100%;
|
|
563
|
-
flex-direction: column;
|
|
564
|
-
align-items: center;
|
|
565
|
-
padding: 16px;
|
|
566
|
-
border-radius: ${e=>e.theme.borderRadius};
|
|
567
|
-
color: ${e=>e.theme.colors.primaryBase};
|
|
568
|
-
|
|
569
|
-
svg {
|
|
570
|
-
margin-bottom: 4px;
|
|
571
|
-
}
|
|
572
|
-
|
|
573
|
-
&.active {
|
|
574
|
-
background: ${e=>e.theme.colors.primaryBase};
|
|
575
|
-
box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),
|
|
576
|
-
0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
577
|
-
color: white;
|
|
578
|
-
}
|
|
579
|
-
|
|
580
|
-
&:not(.active) {
|
|
581
|
-
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04),
|
|
582
|
-
0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
583
|
-
}
|
|
584
|
-
}
|
|
585
|
-
|
|
586
|
-
.amp__menu-header {
|
|
587
|
-
display: grid;
|
|
588
|
-
grid-template-columns: 1fr 1fr 1fr;
|
|
589
|
-
|
|
590
|
-
svg {
|
|
591
|
-
margin-left: 16px;
|
|
592
|
-
}
|
|
593
|
-
|
|
594
|
-
> div {
|
|
595
|
-
align-self: center;
|
|
596
|
-
|
|
597
|
-
&:nth-child(2) {
|
|
598
|
-
justify-self: center;
|
|
599
|
-
}
|
|
600
|
-
}
|
|
601
|
-
}
|
|
602
|
-
|
|
603
|
-
.logo {
|
|
604
|
-
margin: 22px 0;
|
|
605
|
-
}
|
|
606
|
-
|
|
607
|
-
.categories {
|
|
608
|
-
margin: 0 16px;
|
|
609
|
-
|
|
610
|
-
li {
|
|
611
|
-
display: block;
|
|
612
|
-
width: 100%;
|
|
613
|
-
|
|
614
|
-
+ li {
|
|
615
|
-
border-top: 1px solid
|
|
616
|
-
${e=>e.theme.colors.neutral100};
|
|
617
|
-
}
|
|
618
|
-
|
|
619
|
-
a {
|
|
620
|
-
display: block;
|
|
621
|
-
margin: 12px 0;
|
|
622
|
-
color: ${e=>e.theme.colors.gray800};
|
|
623
|
-
text-decoration: none;
|
|
624
|
-
}
|
|
625
|
-
}
|
|
626
|
-
}
|
|
627
|
-
`,u.div`
|
|
628
|
-
width: 20%;
|
|
629
|
-
height: 2px;
|
|
630
|
-
|
|
631
|
-
background-color: ${e=>e.theme.mbColors.pink};
|
|
632
|
-
border-radius: 2px;
|
|
633
|
-
`;const yt=u.div`
|
|
634
|
-
padding: 16px;
|
|
635
|
-
padding-bottom: 12px;
|
|
636
|
-
.fake-search-input {
|
|
637
|
-
pointer-events: none;
|
|
638
|
-
input {
|
|
639
|
-
line-height: 20px;
|
|
640
|
-
padding-top: 10px;
|
|
641
|
-
padding-bottom: 10px;
|
|
642
|
-
}
|
|
643
|
-
}
|
|
644
|
-
&[data-theme='marryBaby'] {
|
|
645
|
-
input {
|
|
646
|
-
background: ${e=>e.theme.mbColors.lightGray};
|
|
647
|
-
border-radius: 16px;
|
|
648
|
-
border: none;
|
|
649
|
-
}
|
|
650
|
-
}
|
|
651
|
-
`,Et=u.div`
|
|
652
|
-
display: block;
|
|
653
|
-
overflow-y: auto;
|
|
654
|
-
flex: 1;
|
|
655
|
-
padding-bottom: 16px;
|
|
656
|
-
&::-webkit-scrollbar {
|
|
657
|
-
width: 0;
|
|
658
|
-
display: none;
|
|
659
|
-
}
|
|
660
|
-
`,wt=s((()=>i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.97183 10.8732C3.97183 7.0617 7.0617 3.97183 10.8732 3.97183C14.6848 3.97183 17.7746 7.0617 17.7746 10.8732C17.7746 14.6848 14.6848 17.7746 10.8732 17.7746C7.0617 17.7746 3.97183 14.6848 3.97183 10.8732ZM10.8732 2C5.97268 2 2 5.97268 2 10.8732C2 15.7738 5.97268 19.7465 10.8732 19.7465C12.9683 19.7465 14.8938 19.0204 16.4118 17.8061L20.3169 21.7112C20.702 22.0963 21.3262 22.0963 21.7112 21.7112C22.0963 21.3262 22.0963 20.702 21.7112 20.3169L17.8061 16.4118C19.0204 14.8938 19.7465 12.9683 19.7465 10.8732C19.7465 5.97268 15.7738 2 10.8732 2Z",fill:"#8C8C8C"})))),kt=()=>{const{locale:e,configs:{statics:t},siteType:a}=d(gt),n=V(),{t:o}=U();return i.createElement(ae,{className:"fake-search-input",name:"search-input-menu-service"+n,size:"md",placeholder:"marryBaby"===a?o("navigation.search.input.placeholder"):o("home.search",{site:L[e||"en-PH"]?L[e||"en-PH"].SITE_NAME:""}),onChange:()=>{},onKeyDown:e=>"Enter"===e.key&&(window.location.href=`${t.HOME_PAGE_URL}/search/?s=${e.target.value}`),type:"search",onFocus:e=>{e.preventDefault()},displayIcon:i.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click"},i.createElement(wt,null))})},$t=u.div`
|
|
661
|
-
padding-right: 1rem;
|
|
662
|
-
margin-top: 10px;
|
|
663
|
-
background: #ffffff;
|
|
664
|
-
padding: 5px 15px;
|
|
665
|
-
${Q.mbUp} {
|
|
666
|
-
border-right: 1px solid #e4e8ec;
|
|
667
|
-
}
|
|
668
|
-
`,Lt=u.a`
|
|
669
|
-
padding: 10px 0;
|
|
670
|
-
position: relative;
|
|
671
|
-
|
|
672
|
-
display: flex;
|
|
673
|
-
align-items: center;
|
|
674
|
-
text-decoration: none;
|
|
675
|
-
color: ${e=>e.theme.colors.gray800};
|
|
676
|
-
* {
|
|
677
|
-
pointer-events: none;
|
|
678
|
-
}
|
|
679
|
-
p {
|
|
680
|
-
font-size: 16px;
|
|
681
|
-
font-weight: 400;
|
|
682
|
-
padding: 0 0.4rem;
|
|
683
|
-
}
|
|
684
|
-
|
|
685
|
-
&[data-theme='marryBaby']:hover,
|
|
686
|
-
&[data-theme='marryBaby'][data-active='true'] {
|
|
687
|
-
p {
|
|
688
|
-
color: ${e=>e.theme.mbColors.pink};
|
|
689
|
-
}
|
|
690
|
-
.icon {
|
|
691
|
-
background-color: ${e=>e.theme.mbColors.lightPink};
|
|
692
|
-
}
|
|
693
|
-
}
|
|
694
|
-
&[data-theme='helloSites']:hover,
|
|
695
|
-
&[data-theme='helloSites'][data-active='true'] {
|
|
696
|
-
p {
|
|
697
|
-
color: ${e=>e.theme.colors.primaryActive};
|
|
698
|
-
}
|
|
699
|
-
}
|
|
700
|
-
a {
|
|
701
|
-
}
|
|
702
|
-
|
|
703
|
-
&[data-theme='marryBaby'] {
|
|
704
|
-
.icon {
|
|
705
|
-
display: flex;
|
|
706
|
-
align-items: center;
|
|
707
|
-
justify-content: center;
|
|
708
|
-
max-width: 40px;
|
|
709
|
-
width: 100%;
|
|
710
|
-
height: 40px;
|
|
711
|
-
border-radius: 50%;
|
|
712
|
-
background-color: ${e=>e.theme.mbColors.lightGray};
|
|
713
|
-
img {
|
|
714
|
-
border-radius: 50%;
|
|
715
|
-
}
|
|
716
|
-
}
|
|
717
|
-
}
|
|
718
|
-
`,Bt=u.div`
|
|
719
|
-
margin: 15px 0;
|
|
720
|
-
${Q.mbDown} {
|
|
721
|
-
display: none;
|
|
722
|
-
}
|
|
723
|
-
`,Mt=u.div`
|
|
724
|
-
display: flex;
|
|
725
|
-
position: absolute;
|
|
726
|
-
right: 0;
|
|
727
|
-
${Q.mbUp} {
|
|
728
|
-
display: none;
|
|
729
|
-
}
|
|
730
|
-
`,Pt=u.div`
|
|
731
|
-
display: flex;
|
|
732
|
-
align-items: center;
|
|
733
|
-
color: ${e=>e.theme.colors.primaryBase};
|
|
734
|
-
font-size: ${e=>e.theme.sizes.fsParagraph4};
|
|
735
|
-
font-weight: ${e=>e.theme.sizes.fwBold};
|
|
736
|
-
line-height: 24px;
|
|
737
|
-
font-size: 14px;
|
|
738
|
-
font-weight: 600;
|
|
739
|
-
&[data-event-category] * {
|
|
740
|
-
pointer-events: none;
|
|
741
|
-
}
|
|
742
|
-
&[data-theme='marryBaby'] {
|
|
743
|
-
color: ${e=>e.theme.mbColors.pink};
|
|
744
|
-
}
|
|
745
|
-
`,_t=u.div`
|
|
746
|
-
display: flex;
|
|
747
|
-
align-items: center;
|
|
748
|
-
margin-left: 10px;
|
|
749
|
-
`,Ht=u.a`
|
|
750
|
-
border: 1px solid ${e=>e.theme.colors.primaryBase};
|
|
751
|
-
&[data-theme='marryBaby'] {
|
|
752
|
-
border: 1px solid ${e=>e.theme.mbColors.pink};
|
|
753
|
-
|
|
754
|
-
svg path {
|
|
755
|
-
stroke: ${e=>e.theme.mbColors.pink};
|
|
756
|
-
}
|
|
757
|
-
}
|
|
758
|
-
position: relative;
|
|
759
|
-
display: flex;
|
|
760
|
-
align-items: center;
|
|
761
|
-
justify-content: center;
|
|
762
|
-
padding: 6px;
|
|
763
|
-
border-radius: 5px;
|
|
764
|
-
margin-top: 20px;
|
|
765
|
-
${Q.mbDown} {
|
|
766
|
-
display: none;
|
|
767
|
-
}
|
|
768
|
-
`;var Dt="wnUb-dV",Nt="cjbOxWe",Tt="gB4rp89";const jt=({item:e,menu:t})=>{const{containerRef:a,onContainerFocus:n,onContainerBlur:o,onButtonMouseDown:l,onClose:r}=Pe({allowBgScroll:!0}),s=ce();return!e.popupType&&e.link?i.createElement(At,{isNew:e.isNew},i.createElement("a",{className:`hhgcomp-navigation-itemnav-headeritem ${s?"":`menu-handler-${e.id}`} ${"care"===e.id?"force-focus":""}`,tabIndex:0,href:e.link,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link},i.createElement("div",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link,className:Nt},"care"===e.id&&i.createElement("div",{className:Tt},i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},i.createElement("path",{d:"M13.4751 21.5C11.8084 21.5 10.3918 20.9167 9.2251 19.75C8.05843 18.5833 7.4751 17.1667 7.4751 15.5V14.95C6.1251 14.7833 4.9961 14.1833 4.0881 13.15C3.17943 12.1167 2.7251 10.9 2.7251 9.5V4.65C2.7251 4.4 2.81243 4.18733 2.9871 4.012C3.16243 3.83733 3.3751 3.75 3.6251 3.75H5.7251V3.5C5.7251 3.28333 5.7961 3.104 5.9381 2.962C6.07943 2.82067 6.25843 2.75 6.4751 2.75C6.69176 2.75 6.8711 2.82067 7.0131 2.962C7.15443 3.104 7.2251 3.28333 7.2251 3.5V5.5C7.2251 5.71667 7.15443 5.89567 7.0131 6.037C6.8711 6.179 6.69176 6.25 6.4751 6.25C6.25843 6.25 6.07943 6.179 5.9381 6.037C5.7961 5.89567 5.7251 5.71667 5.7251 5.5V5.25H4.2251V9.5C4.2251 10.6 4.61676 11.5417 5.4001 12.325C6.18343 13.1083 7.1251 13.5 8.2251 13.5C9.3251 13.5 10.2668 13.1083 11.0501 12.325C11.8334 11.5417 12.2251 10.6 12.2251 9.5V5.25H10.7251V5.5C10.7251 5.71667 10.6544 5.89567 10.5131 6.037C10.3711 6.179 10.1918 6.25 9.9751 6.25C9.75843 6.25 9.57943 6.179 9.4381 6.037C9.2961 5.89567 9.2251 5.71667 9.2251 5.5V3.5C9.2251 3.28333 9.2961 3.104 9.4381 2.962C9.57943 2.82067 9.75843 2.75 9.9751 2.75C10.1918 2.75 10.3711 2.82067 10.5131 2.962C10.6544 3.104 10.7251 3.28333 10.7251 3.5V3.75H12.8251C13.0751 3.75 13.2878 3.83733 13.4631 4.012C13.6378 4.18733 13.7251 4.4 13.7251 4.65V9.5C13.7251 10.9 13.2711 12.1167 12.3631 13.15C11.4544 14.1833 10.3251 14.7833 8.9751 14.95V15.5C8.9751 16.75 9.41276 17.8127 10.2881 18.688C11.1628 19.5627 12.2251 20 13.4751 20C14.7251 20 15.7878 19.5627 16.6631 18.688C17.5378 17.8127 17.9751 16.75 17.9751 15.5V13.875C17.4584 13.7083 17.0294 13.404 16.6881 12.962C16.3461 12.5207 16.1751 12.0167 16.1751 11.45C16.1751 10.7333 16.4251 10.125 16.9251 9.625C17.4251 9.125 18.0251 8.875 18.7251 8.875C19.4418 8.875 20.0501 9.125 20.5501 9.625C21.0501 10.125 21.3001 10.7333 21.3001 11.45C21.3001 12.0167 21.1294 12.5207 20.7881 12.962C20.4461 13.404 20.0084 13.7083 19.4751 13.875V15.5C19.4751 17.1667 18.8918 18.5833 17.7251 19.75C16.5584 20.9167 15.1418 21.5 13.4751 21.5Z",fill:"#2D87F3",strokeWidth:0}))),e.name))):i.createElement(At,{isNew:e.isNew},i.createElement("div",{ref:a,className:`hhgcomp-navigation-itemnav-headeritem ${s?"":`menu-handler-${e.id}`} ${"care"===e.id?"force-focus":""}`,tabIndex:0,key:e.id,onBlur:o,onFocus:n,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link},i.createElement("div",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link,onMouseDown:l,className:Nt},"care"===e.id&&i.createElement("a",{className:Tt,href:M(e.link+"/")},i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},i.createElement("path",{d:"M13.4751 21.5C11.8084 21.5 10.3918 20.9167 9.2251 19.75C8.05843 18.5833 7.4751 17.1667 7.4751 15.5V14.95C6.1251 14.7833 4.9961 14.1833 4.0881 13.15C3.17943 12.1167 2.7251 10.9 2.7251 9.5V4.65C2.7251 4.4 2.81243 4.18733 2.9871 4.012C3.16243 3.83733 3.3751 3.75 3.6251 3.75H5.7251V3.5C5.7251 3.28333 5.7961 3.104 5.9381 2.962C6.07943 2.82067 6.25843 2.75 6.4751 2.75C6.69176 2.75 6.8711 2.82067 7.0131 2.962C7.15443 3.104 7.2251 3.28333 7.2251 3.5V5.5C7.2251 5.71667 7.15443 5.89567 7.0131 6.037C6.8711 6.179 6.69176 6.25 6.4751 6.25C6.25843 6.25 6.07943 6.179 5.9381 6.037C5.7961 5.89567 5.7251 5.71667 5.7251 5.5V5.25H4.2251V9.5C4.2251 10.6 4.61676 11.5417 5.4001 12.325C6.18343 13.1083 7.1251 13.5 8.2251 13.5C9.3251 13.5 10.2668 13.1083 11.0501 12.325C11.8334 11.5417 12.2251 10.6 12.2251 9.5V5.25H10.7251V5.5C10.7251 5.71667 10.6544 5.89567 10.5131 6.037C10.3711 6.179 10.1918 6.25 9.9751 6.25C9.75843 6.25 9.57943 6.179 9.4381 6.037C9.2961 5.89567 9.2251 5.71667 9.2251 5.5V3.5C9.2251 3.28333 9.2961 3.104 9.4381 2.962C9.57943 2.82067 9.75843 2.75 9.9751 2.75C10.1918 2.75 10.3711 2.82067 10.5131 2.962C10.6544 3.104 10.7251 3.28333 10.7251 3.5V3.75H12.8251C13.0751 3.75 13.2878 3.83733 13.4631 4.012C13.6378 4.18733 13.7251 4.4 13.7251 4.65V9.5C13.7251 10.9 13.2711 12.1167 12.3631 13.15C11.4544 14.1833 10.3251 14.7833 8.9751 14.95V15.5C8.9751 16.75 9.41276 17.8127 10.2881 18.688C11.1628 19.5627 12.2251 20 13.4751 20C14.7251 20 15.7878 19.5627 16.6631 18.688C17.5378 17.8127 17.9751 16.75 17.9751 15.5V13.875C17.4584 13.7083 17.0294 13.404 16.6881 12.962C16.3461 12.5207 16.1751 12.0167 16.1751 11.45C16.1751 10.7333 16.4251 10.125 16.9251 9.625C17.4251 9.125 18.0251 8.875 18.7251 8.875C19.4418 8.875 20.0501 9.125 20.5501 9.625C21.0501 10.125 21.3001 10.7333 21.3001 11.45C21.3001 12.0167 21.1294 12.5207 20.7881 12.962C20.4461 13.404 20.0084 13.7083 19.4751 13.875V15.5C19.4751 17.1667 18.8918 18.5833 17.7251 19.75C16.5584 20.9167 15.1418 21.5 13.4751 21.5Z",fill:"#2D87F3",strokeWidth:0}))),e.name,e.popupType&&i.createElement("div",{className:Dt},i.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},i.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),i.isValidElement(t)?i.cloneElement(t,{onClose:r}):null))},At=({isNew:e,children:t})=>{const{t:a}=U();return e?i.createElement(de,{color:"green",label:a("home.navigator.menuItem.new"),size:20,styles:{root:{paddingRight:10}}},t):i.createElement(i.Fragment,null,t)},zt=({hrefViewMore:e,titleBtnViewMore:t,UrlFE:a,onClosePopup:n,menuItems:o,headingTitle:l,activeItem:r})=>{const{siteType:s}=d(gt);return i.createElement($t,null,i.createElement(Bt,null,i.createElement(ne,{tag:"marryBaby"===s?"h5":"h6",as:"p",fontWeight:"semibold"},l)),null==o?void 0:o.slice(0,6).map(((e,t)=>{const o=(null==e?void 0:e.link)?(null==e?void 0:e.link.startsWith("http"))?null==e?void 0:e.link:`${a}/${null==e?void 0:e.link.split("/").filter(Boolean).join("/")}/`:"/";return i.createElement(Lt,Object.assign({className:"iconMenu","data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":o,"data-is-heading-category":!1,"data-active":e.id===r,href:o},!he(o)&&{target:"_blank"},{"data-theme":s,key:t,onClick:n}),i.createElement("div",{className:"icon"},i.createElement("img",{loading:"lazy",alt:e.name,src:e.thumbnail||"/images/avatar.jpg",style:{width:32,height:32,maxWidth:32,maxHeight:32,overflow:"hidden"}})),i.createElement(At,{isNew:e.isNew},i.createElement("p",{style:{paddingRight:e.isNew?10:0}},e.name)),i.createElement(Mt,null,i.createElement("img",{src:x.getAssetPath("chevronRight.svg"),style:{width:"16px",height:"16px"},loading:"lazy"})))})),t&&i.createElement(Ht,{"data-theme":s,style:{textDecoration:"none"},href:e,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e},i.createElement(Pt,{onClick:n,"data-theme":s,"data-is-heading-category":!1},t,i.createElement(_t,null,i.createElement("img",{className:"svg",src:"marryBaby"===s?x.getAssetPath("chevronRightPink.svg"):x.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px"},loading:"lazy"})))))};u.div`
|
|
769
|
-
& > a:not(:last-child) > div {
|
|
770
|
-
border-bottom: 1px solid
|
|
771
|
-
${e=>e.theme.colors.neutral100};
|
|
772
|
-
}
|
|
773
|
-
|
|
774
|
-
&[data-category-list-type='sub'] {
|
|
775
|
-
padding-bottom: 72px;
|
|
776
|
-
}
|
|
777
|
-
|
|
778
|
-
&[data-is-displayed='false'] {
|
|
779
|
-
display: none;
|
|
780
|
-
}
|
|
781
|
-
`;const Ft=u.div`
|
|
782
|
-
display: grid;
|
|
783
|
-
|
|
784
|
-
grid-template-columns: repeat(3, 1fr);
|
|
785
|
-
gap: 24px;
|
|
786
|
-
margin-bottom: 3.5rem;
|
|
787
|
-
${Q.tdDown} {
|
|
788
|
-
grid-template-columns: repeat(1, 1fr);
|
|
789
|
-
}
|
|
790
|
-
`,St=u.div`
|
|
791
|
-
height: 152px; // 120 + 16 * 2
|
|
792
|
-
position: absolute;
|
|
793
|
-
top: 0;
|
|
794
|
-
left: 0;
|
|
795
|
-
z-index: 3;
|
|
796
|
-
overflow: hidden;
|
|
797
|
-
border-radius: 4px;
|
|
798
|
-
padding: 16px;
|
|
799
|
-
width: 100%;
|
|
800
|
-
|
|
801
|
-
.img-container {
|
|
802
|
-
width: 100%;
|
|
803
|
-
height: 100%;
|
|
804
|
-
}
|
|
805
|
-
img {
|
|
806
|
-
width: 100%;
|
|
807
|
-
height: 100%;
|
|
808
|
-
display: block;
|
|
809
|
-
object-fit: contain;
|
|
810
|
-
}
|
|
811
|
-
${Q.tdDown} {
|
|
812
|
-
margin-bottom: 0;
|
|
813
|
-
padding: 0;
|
|
814
|
-
height: 100%;
|
|
815
|
-
position: unset;
|
|
816
|
-
width: 150px;
|
|
817
|
-
}
|
|
818
|
-
${Q.mbDown} {
|
|
819
|
-
width: 80px;
|
|
820
|
-
}
|
|
821
|
-
`,Ut=u.div`
|
|
822
|
-
background-color: #ffffff;
|
|
823
|
-
border-radius: 4px;
|
|
824
|
-
width: 100%;
|
|
825
|
-
height: 100%;
|
|
826
|
-
`,Vt=u.div`
|
|
827
|
-
display: flex;
|
|
828
|
-
margin-top: 1rem;
|
|
829
|
-
align-items: center;
|
|
830
|
-
color: ${e=>e.theme.colors.primaryBase};
|
|
831
|
-
font-weight: 400;
|
|
832
|
-
font-size: 14px;
|
|
833
|
-
text-decoration: none;
|
|
834
|
-
${Q.tdDown} {
|
|
835
|
-
display: none;
|
|
836
|
-
}
|
|
837
|
-
`,Rt=u.p`
|
|
838
|
-
font-size: 16px;
|
|
839
|
-
font-weight: 600;
|
|
840
|
-
line-height: 1.6;
|
|
841
|
-
color: ${e=>e.theme.colors.gray800};
|
|
842
|
-
${Q.tdDown} {
|
|
843
|
-
padding: 0;
|
|
844
|
-
}
|
|
845
|
-
`,Ot=u.p`
|
|
846
|
-
font-size: 14px;
|
|
847
|
-
line-height: 1.6;
|
|
848
|
-
font-weight: 400;
|
|
849
|
-
color: ${e=>e.theme.colors.gray600};
|
|
850
|
-
height: 40px;
|
|
851
|
-
text-overflow: ellipsis;
|
|
852
|
-
overflow: hidden;
|
|
853
|
-
display: -webkit-box;
|
|
854
|
-
-webkit-line-clamp: 2;
|
|
855
|
-
-webkit-box-orient: vertical;
|
|
856
|
-
margin-bottom: auto;
|
|
857
|
-
${Q.tdDown} {
|
|
858
|
-
height: unset;
|
|
859
|
-
padding: 0;
|
|
860
|
-
}
|
|
861
|
-
`,It="hhgcomp-navigation-menucareitem-contentwrapper",Zt=te(u.div`
|
|
862
|
-
display: flex;
|
|
863
|
-
flex-direction: column;
|
|
864
|
-
gap: 8px;
|
|
865
|
-
flex: 1;
|
|
866
|
-
z-index: 1;
|
|
867
|
-
${Q.tdDown} {
|
|
868
|
-
gap: 4px;
|
|
869
|
-
}
|
|
870
|
-
`,It),Gt=u.a`
|
|
871
|
-
text-decoration: none;
|
|
872
|
-
border-radius: 4px;
|
|
873
|
-
background: ${J.colors.white};
|
|
874
|
-
position: relative;
|
|
875
|
-
overflow: hidden;
|
|
876
|
-
padding: 16px;
|
|
877
|
-
display: flex;
|
|
878
|
-
padding-top: 166px;
|
|
879
|
-
* {
|
|
880
|
-
pointer-events: none;
|
|
881
|
-
}
|
|
882
|
-
${Q.tdUp} {
|
|
883
|
-
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06),
|
|
884
|
-
0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
885
|
-
gap: 30px;
|
|
886
|
-
flex-direction: column;
|
|
887
|
-
a {
|
|
888
|
-
display: flex;
|
|
889
|
-
width: 100%;
|
|
890
|
-
}
|
|
891
|
-
}
|
|
892
|
-
${Q.tdDown} {
|
|
893
|
-
padding-top: 16px;
|
|
894
|
-
a {
|
|
895
|
-
display: none;
|
|
896
|
-
}
|
|
897
|
-
grid-template-columns: 2fr 1fr;
|
|
898
|
-
gap: 10px;
|
|
899
|
-
display: grid;
|
|
900
|
-
max-height: 110px;
|
|
901
|
-
display: flex;
|
|
902
|
-
flex-direction: row-reverse;
|
|
903
|
-
> .${It} {
|
|
904
|
-
flex: 1;
|
|
905
|
-
}
|
|
906
|
-
img {
|
|
907
|
-
width: 150px;
|
|
908
|
-
}
|
|
909
|
-
}
|
|
910
|
-
${Q.mbDown} {
|
|
911
|
-
box-shadow: 0px 10px 16px rgba(0, 0, 0, 0.04),
|
|
912
|
-
0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
913
|
-
display: flex;
|
|
914
|
-
flex-direction: row-reverse;
|
|
915
|
-
img {
|
|
916
|
-
width: 80px;
|
|
917
|
-
height: 80px;
|
|
918
|
-
}
|
|
919
|
-
}
|
|
920
|
-
${Q.tdOnly} {
|
|
921
|
-
border: 1px solid ${J.colors.neutral100};
|
|
922
|
-
}
|
|
923
|
-
.bg-svg {
|
|
924
|
-
width: 100%;
|
|
925
|
-
max-width: 245px;
|
|
926
|
-
height: 100%;
|
|
927
|
-
top: 0;
|
|
928
|
-
right: -40px;
|
|
929
|
-
position: absolute;
|
|
930
|
-
display: inline-block;
|
|
931
|
-
}
|
|
932
|
-
`,Wt=({item:e,index:t=0})=>{var a;const{t:n}=U(),{locale:o,configs:{statics:l}}=d(gt);if(!e)return null;const r=`${l.CARE_URL_FE}/${null===(a=se[o])||void 0===a?void 0:a.HOSPITAL}/${e.slug}-${e.id}`;return i.createElement(Gt,{key:e.id,href:r,"data-event-category":"Hamburger Navigation","data-event-action":`Care Click ${t+1}`,"data-event-label":r},i.createElement("img",{src:x.getAssetPath("navCareCardBg.svg"),alt:"",className:"bg-svg",loading:"lazy"}),i.createElement(St,null,i.createElement(Ut,null,i.createElement("img",{loading:"lazy",alt:e.name,src:e.logo||"/images/avatar.jpg"}))),i.createElement(Zt,null,i.createElement(Rt,null,e.name),i.createElement(Ot,null,e.description),i.createElement(Vt,null,n("home.seeMore"),i.createElement("img",{src:x.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px",marginTop:"3px",marginLeft:"5px"},loading:"lazy"}))))},Yt=u.div`
|
|
933
|
-
padding: 16px;
|
|
934
|
-
border-radius: 8px;
|
|
935
|
-
position: relative;
|
|
936
|
-
z-index: 1;
|
|
937
|
-
overflow: hidden;
|
|
938
|
-
a {
|
|
939
|
-
text-decoration: none;
|
|
940
|
-
}
|
|
941
|
-
|
|
942
|
-
.bg-svg {
|
|
943
|
-
height: 100%;
|
|
944
|
-
position: absolute;
|
|
945
|
-
top: 0;
|
|
946
|
-
left: 0;
|
|
947
|
-
z-index: -1;
|
|
948
|
-
}
|
|
949
|
-
${Q.mbDown} {
|
|
950
|
-
display: block;
|
|
951
|
-
.bg-svg {
|
|
952
|
-
right: -24px;
|
|
953
|
-
left: unset;
|
|
954
|
-
top: 0;
|
|
955
|
-
transform: rotateY(180deg);
|
|
956
|
-
}
|
|
957
|
-
}
|
|
958
|
-
|
|
959
|
-
${Q.mbUp} {
|
|
960
|
-
display: grid;
|
|
961
|
-
grid-gap: 10px;
|
|
962
|
-
grid-template-columns: 1fr 3fr;
|
|
963
|
-
}
|
|
964
|
-
`,Kt=u.div`
|
|
965
|
-
font-weight: 400;
|
|
966
|
-
font-size: 14px;
|
|
967
|
-
line-height: 24px;
|
|
968
|
-
color: ${e=>e.theme.colors.gray600};
|
|
969
|
-
margin-bottom: 15px;
|
|
970
|
-
`,qt=u.div`
|
|
971
|
-
font-weight: 600;
|
|
972
|
-
font-size: 16px;
|
|
973
|
-
line-height: 26px;
|
|
974
|
-
color: #000000;
|
|
975
|
-
margin-bottom: 4px;
|
|
976
|
-
`,Qt=u.div`
|
|
977
|
-
background: #fff;
|
|
978
|
-
padding: 5px;
|
|
979
|
-
display: flex;
|
|
980
|
-
align-items: center;
|
|
981
|
-
justify-content: center;
|
|
982
|
-
border-radius: 50px;
|
|
983
|
-
`,Jt=u.div`
|
|
984
|
-
display: flex;
|
|
985
|
-
justify-content: center;
|
|
986
|
-
align-items: center;
|
|
987
|
-
position: relative;
|
|
988
|
-
${Q.mbDown} {
|
|
989
|
-
justify-content: end;
|
|
990
|
-
min-height: 100px;
|
|
991
|
-
}
|
|
992
|
-
`,Xt=({title:e,link:t,description:a,cta:n,icon:o})=>{const{siteType:l}=d(gt);return i.createElement(Yt,{"data-theme":l},i.createElement(Jt,null,i.createElement("img",{src:"marryBaby"===l?x.getAssetPath("navMBSpotlightBgNoData.svg"):x.getAssetPath("navSpotlightBgNoData.svg"),alt:"",loading:"lazy",className:"bg-svg"}),i.createElement(Qt,null,o&&i.createElement("img",{src:o,width:64,height:64,loading:"lazy"}))),i.createElement("div",null,e&&i.createElement(qt,null,e),a&&i.createElement(Kt,null,a),n&&i.createElement("div",null,i.createElement("a",{href:t},i.createElement(re,{theme:l,className:"survey-contact-submit",size:"md"},n)))))},ei=u.div`
|
|
993
|
-
margin-top: 10px;
|
|
994
|
-
background: #ffffff;
|
|
995
|
-
padding: 5px 15px;
|
|
996
|
-
position: relative;
|
|
997
|
-
${Q.mbDown} {
|
|
998
|
-
&:after {
|
|
999
|
-
position: absolute;
|
|
1000
|
-
top: 0;
|
|
1001
|
-
left: 0;
|
|
1002
|
-
width: 100%;
|
|
1003
|
-
height: 4px;
|
|
1004
|
-
background-color: ${e=>e.theme.colors.neutral100};
|
|
1005
|
-
content: '';
|
|
1006
|
-
}
|
|
1007
|
-
}
|
|
1008
|
-
`,ti=u.div`
|
|
1009
|
-
margin: 15px 0;
|
|
1010
|
-
display: flex;
|
|
1011
|
-
`,ii=u.a`
|
|
1012
|
-
padding-left: 10px;
|
|
1013
|
-
display: flex;
|
|
1014
|
-
align-items: center;
|
|
1015
|
-
text-decoration: none;
|
|
1016
|
-
font-weight: 400;
|
|
1017
|
-
font-size: 14px;
|
|
1018
|
-
color: ${e=>e.theme.colors.primaryBase};
|
|
1019
|
-
&[data-theme='marryBaby'] {
|
|
1020
|
-
color: ${e=>e.theme.mbColors.pink};
|
|
1021
|
-
}
|
|
1022
|
-
img {
|
|
1023
|
-
padding-left: 5px;
|
|
1024
|
-
}
|
|
1025
|
-
${Q.mbDown} {
|
|
1026
|
-
margin-left: auto;
|
|
1027
|
-
}
|
|
1028
|
-
`,ai=({title:e,viewMore:t,children:a,link:n,dataEventAction:o=""})=>{const{siteType:l}=d(gt);return i.createElement(ei,null,i.createElement(ti,null,i.createElement(ne,{tag:"marryBaby"===l?"h5":"h6",as:"p",fontWeight:"semibold"},e),t&&i.createElement(ii,{"data-event-category":"Hamburger Navigation","data-event-action":o,"data-event-label":n,href:n,"data-theme":l},t,i.createElement("img",{src:"marryBaby"===l?x.getAssetPath("chevronRightPink.svg"):x.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px"},loading:"lazy"}))),a)},ni=({spotlights:e=[],hrefViewMore:t})=>{const{t:a}=U(),{siteType:n}=d(gt);return i.createElement(ai,{title:a("home.navigator.menu.spotlightHospitals")},0!==e.length?i.createElement(i.Fragment,null,i.createElement(Ft,null,null==e?void 0:e.slice(0,3).map(((e,t)=>i.createElement(Wt,{key:t,index:t,item:e})))),i.createElement("div",{style:{position:"absolute",bottom:"6px",right:"1rem"}},i.createElement("a",{href:t},i.createElement(re,{theme:n,className:"survey-contact-submit",size:"md"},a("home.navigator.menu.care.homeButton"))))):i.createElement(Xt,{title:a("home.navigator.menu.care.noDatas.title"),description:a("home.navigator.menu.care.noDatas.description"),link:t,cta:a("home.navigator.menu.care.homeButton"),icon:x.getAssetPath("community.svg")}))};u.div`
|
|
1029
|
-
&[data-category-list-type='sub'] {
|
|
1030
|
-
padding-bottom: 72px;
|
|
1031
|
-
}
|
|
1032
|
-
|
|
1033
|
-
&[data-is-displayed='false'] {
|
|
1034
|
-
display: none;
|
|
1035
|
-
}
|
|
1036
|
-
`,u.div`
|
|
1037
|
-
& > div {
|
|
1038
|
-
width: 100%;
|
|
1039
|
-
margin-bottom: 8px;
|
|
1040
|
-
}
|
|
1041
|
-
`;const oi=u.div`
|
|
1042
|
-
display: grid;
|
|
1043
|
-
|
|
1044
|
-
grid-template-columns: repeat(4, 1fr);
|
|
1045
|
-
gap: 24px;
|
|
1046
|
-
${Q.tdDown} {
|
|
1047
|
-
gap: 12px;
|
|
1048
|
-
grid-template-columns: 1fr;
|
|
1049
|
-
}
|
|
1050
|
-
`,li=u.a`
|
|
1051
|
-
width: 100%;
|
|
1052
|
-
display: flex;
|
|
1053
|
-
align-items: center;
|
|
1054
|
-
text-decoration: none;
|
|
1055
|
-
* {
|
|
1056
|
-
pointer-events: none;
|
|
1057
|
-
}
|
|
1058
|
-
`,ri=u.div`
|
|
1059
|
-
border-radius: 5px;
|
|
1060
|
-
display: block;
|
|
1061
|
-
overflow: hidden;
|
|
1062
|
-
padding-top: 140%;
|
|
1063
|
-
width: 100%;
|
|
1064
|
-
position: relative;
|
|
1065
|
-
height: 0;
|
|
1066
|
-
img {
|
|
1067
|
-
position: absolute;
|
|
1068
|
-
width: 100%;
|
|
1069
|
-
height: 100%;
|
|
1070
|
-
display: block;
|
|
1071
|
-
object-fit: cover;
|
|
1072
|
-
top: 0;
|
|
1073
|
-
left: 0;
|
|
1074
|
-
}
|
|
1075
|
-
${Q.tdDown} {
|
|
1076
|
-
width: 72px;
|
|
1077
|
-
padding-top: 100px;
|
|
1078
|
-
}
|
|
1079
|
-
`,si=u.p`
|
|
1080
|
-
font-size: 16px;
|
|
1081
|
-
font-weight: 400;
|
|
1082
|
-
padding: 4px 15px;
|
|
1083
|
-
line-height: 1.4;
|
|
1084
|
-
color: ${e=>e.theme.colors.gray800};
|
|
1085
|
-
flex: 1;
|
|
1086
|
-
${Q.tdUp} {
|
|
1087
|
-
display: none;
|
|
1088
|
-
}
|
|
1089
|
-
`,di=({item:e,index:t=0})=>e?i.createElement(li,{key:e.id,href:e.link,"data-event-category":"Hamburger Navigation","data-event-action":`Spotlight Click ${t+1}`,"data-event-label":e.link},i.createElement(ri,null,i.createElement("img",{loading:"lazy",alt:e.title,src:e.banner||"/images/notFound-min-small.jpg"})),i.createElement(si,null,e.title)):null,ci=({spotlightsList:e=[],hrefViewMore:t})=>{const{t:a}=U(),{configs:{statics:n}}=d(gt);return i.createElement(ai,{title:a("home.navigator.menu.spotlights"),viewMore:a("home.navigator.menu.spotlights.seeAll"),link:t,dataEventAction:"Spotlight See More Click"},0!==e.length?i.createElement(oi,null,null==e?void 0:e.slice(0,4).map(((e,t)=>i.createElement(di,{key:t,index:t,item:{id:e.id,link:n.HOME_PAGE_URL+e.permalink,title:e.name,banner:e.image}})))):i.createElement(Xt,{title:a("home.navigator.menu.category.noDatas.title"),description:a("home.navigator.menu.category.noDatas.description"),link:t,cta:a("home.navigator.menu.category.noDatas.cta"),icon:x.getAssetPath("Spotlight.svg")}))};u.div`
|
|
1090
|
-
& > :not(:last-child) {
|
|
1091
|
-
border-bottom: 1px solid
|
|
1092
|
-
${e=>e.theme.colors.neutral100};
|
|
1093
|
-
}
|
|
1094
|
-
|
|
1095
|
-
& > div > :not(:last-child) {
|
|
1096
|
-
border-bottom: 1px solid
|
|
1097
|
-
${e=>e.theme.colors.neutral100};
|
|
1098
|
-
}
|
|
1099
|
-
|
|
1100
|
-
&[data-category-list-type='sub'] {
|
|
1101
|
-
padding-bottom: 72px;
|
|
1102
|
-
}
|
|
1103
|
-
|
|
1104
|
-
&[data-is-displayed='false'] {
|
|
1105
|
-
display: none;
|
|
1106
|
-
}
|
|
1107
|
-
`,u.div`
|
|
1108
|
-
& > div {
|
|
1109
|
-
width: 100%;
|
|
1110
|
-
margin-bottom: 8px;
|
|
1111
|
-
}
|
|
1112
|
-
`;const mi=u.div`
|
|
1113
|
-
display: grid;
|
|
1114
|
-
grid-template-columns: repeat(2, 1fr);
|
|
1115
|
-
grid-gap: 48px;
|
|
1116
|
-
${Q.tdDown} {
|
|
1117
|
-
grid-template-columns: 1fr;
|
|
1118
|
-
grid-gap: 32px;
|
|
1119
|
-
}
|
|
1120
|
-
${Q.mbDown} {
|
|
1121
|
-
grid-gap: 24px;
|
|
1122
|
-
}
|
|
1123
|
-
`,pi=u.div`
|
|
1124
|
-
padding: 5px;
|
|
1125
|
-
flex: 1;
|
|
1126
|
-
`,gi=u.img`
|
|
1127
|
-
width: 88px;
|
|
1128
|
-
height: 88px;
|
|
1129
|
-
border-radius: 4px;
|
|
1130
|
-
object-fit: cover;
|
|
1131
|
-
`,hi=u.div`
|
|
1132
|
-
font-size: 12px;
|
|
1133
|
-
font-weight: 600;
|
|
1134
|
-
color: ${e=>e.theme.colors.gray800};
|
|
1135
|
-
text-decoration: none;
|
|
1136
|
-
&[data-theme='marryBaby'] {
|
|
1137
|
-
font-weight: 400;
|
|
1138
|
-
letter-spacing: -0.2px;
|
|
1139
|
-
}
|
|
1140
|
-
`,ui=u.div`
|
|
1141
|
-
text-decoration: none;
|
|
1142
|
-
font-size: 12px;
|
|
1143
|
-
font-weight: 400;
|
|
1144
|
-
color: ${e=>e.theme.colors.primaryBase};
|
|
1145
|
-
&[data-theme='marryBaby'] {
|
|
1146
|
-
font-weight: 400;
|
|
1147
|
-
letter-spacing: -0.2px;
|
|
1148
|
-
}
|
|
1149
|
-
`,vi=u.div`
|
|
1150
|
-
font-size: 12px;
|
|
1151
|
-
font-weight: 400;
|
|
1152
|
-
color: ${e=>e.theme.colors.gray600};
|
|
1153
|
-
`,Ci=u.div`
|
|
1154
|
-
font-size: 12px;
|
|
1155
|
-
font-weight: 400;
|
|
1156
|
-
color: ${e=>e.theme.colors.gray600};
|
|
1157
|
-
`,fi=u.a`
|
|
1158
|
-
display: flex;
|
|
1159
|
-
gap: 10px;
|
|
1160
|
-
text-decoration: none;
|
|
1161
|
-
position: relative;
|
|
1162
|
-
&::after {
|
|
1163
|
-
content: '';
|
|
1164
|
-
display: block;
|
|
1165
|
-
width: 100%;
|
|
1166
|
-
height: 1px;
|
|
1167
|
-
border-top: 1px dashed
|
|
1168
|
-
${e=>e.theme.colors.neutral100};
|
|
1169
|
-
position: absolute;
|
|
1170
|
-
bottom: -24px;
|
|
1171
|
-
${Q.tdOnly} {
|
|
1172
|
-
bottom: -16px;
|
|
1173
|
-
}
|
|
1174
|
-
${Q.mbDown} {
|
|
1175
|
-
bottom: -12px;
|
|
1176
|
-
}
|
|
1177
|
-
}
|
|
1178
|
-
&:last-child {
|
|
1179
|
-
&::after {
|
|
1180
|
-
display: none;
|
|
1181
|
-
}
|
|
1182
|
-
}
|
|
1183
|
-
${Q.tdUp} {
|
|
1184
|
-
&:nth-last-child(2) {
|
|
1185
|
-
&::after {
|
|
1186
|
-
display: none;
|
|
1187
|
-
}
|
|
1188
|
-
}
|
|
1189
|
-
}
|
|
1190
|
-
`,bi=u.div`
|
|
1191
|
-
display: flex;
|
|
1192
|
-
gap: 10px;
|
|
1193
|
-
vertical-align: middle;
|
|
1194
|
-
align-items: center;
|
|
1195
|
-
`,xi=u.div`
|
|
1196
|
-
margin-top: 8px;
|
|
1197
|
-
font-size: 16px;
|
|
1198
|
-
font-weight: 600;
|
|
1199
|
-
color: ${e=>e.theme.colors.gray800};
|
|
1200
|
-
&[data-theme='marryBaby'] {
|
|
1201
|
-
margin-top: 12px;
|
|
1202
|
-
font-weight: 400;
|
|
1203
|
-
font-size: 14px;
|
|
1204
|
-
line-height: 24px;
|
|
1205
|
-
letter-spacing: -0.2px;
|
|
1206
|
-
}
|
|
1207
|
-
`,yi=u.div`
|
|
1208
|
-
display: flex;
|
|
1209
|
-
flex-wrap: wrap;
|
|
1210
|
-
align-items: center;
|
|
1211
|
-
column-gap: 5px;
|
|
1212
|
-
`,Ei=u.div`
|
|
1213
|
-
display: flex;
|
|
1214
|
-
gap: 4px;
|
|
1215
|
-
flex-direction: column;
|
|
1216
|
-
`;K.extend(me);const wi=({post:e,index:t=0})=>{var a,n,o,l,r,s,c;const{siteType:m,configs:{statics:p}}=d(gt);if(!e)return null;const g=[p.TOGETHER_URL_FE,null===(a=e.community)||void 0===a?void 0:a.slug].join("/"),h=[g,e.slug].join("/"),u=e.createdAt,v=u?isNaN(new Date(u).getTime())?null:new Date(u):null,C=v?K(v).toNow(!0):u;return i.createElement(fi,{href:h,"data-event-category":"Hamburger Navigation","data-event-action":`Together Click ${t+1}`,"data-event-label":h},i.createElement(pi,null,i.createElement(bi,null,i.createElement(A,{avatar:null===(n=e.author)||void 0===n?void 0:n.avatar,username:(null===(o=e.author)||void 0===o?void 0:o.name)||(null===(l=e.author)||void 0===l?void 0:l.username)}),i.createElement(Ei,null,i.createElement(hi,{"data-theme":m},null===(r=e.author)||void 0===r?void 0:r.name),i.createElement(yi,null,i.createElement(ui,{"data-event-category":"Hamburger Navigation","data-event-action":`Topic Click ${t+1}`,"data-event-label":g,onClick:e=>{e.preventDefault(),location.href=g},"data-theme":m},null===(s=e.community)||void 0===s?void 0:s.name),i.createElement(Ci,null,"•"),i.createElement(vi,{"data-theme":m},C)))),i.createElement(xi,null,e.title)),!!(null===(c=e.photos)||void 0===c?void 0:c.length)&&i.createElement(gi,{loading:"lazy",src:e.photos[0]}))},ki=({spotlights:e=[]})=>{const{configs:{statics:t}}=d(gt),{t:a}=U();return i.createElement(ai,{title:a("home.navigator.menu.trendingPosts"),viewMore:a("home.navigator.menu.trendingPosts.seeMore"),link:P(t.TOGETHER_URL_FE),dataEventAction:"Together See More Click"},0!==e.length?i.createElement(mi,null,null==e?void 0:e.slice(0,4).map(((e,t)=>i.createElement(wi,{index:t,post:e,key:e.id})))):i.createElement(Xt,{title:a("home.navigator.menu.together.noPosts.title"),description:a("home.navigator.menu.together.noPosts.description"),link:`${t.HOME_PAGE_URL}/community/`,cta:a("home.navigator.menu.together.noPosts.cta"),icon:x.getAssetPath("community.svg")}))};u.div`
|
|
1217
|
-
& > a:not(:last-child) > div {
|
|
1218
|
-
border-bottom: 1px solid
|
|
1219
|
-
${e=>e.theme.colors.neutral100};
|
|
1220
|
-
}
|
|
1221
|
-
|
|
1222
|
-
&[data-category-list-type='sub'] {
|
|
1223
|
-
padding-bottom: 72px;
|
|
1224
|
-
}
|
|
1225
|
-
|
|
1226
|
-
&[data-is-displayed='false'] {
|
|
1227
|
-
display: none;
|
|
1228
|
-
}
|
|
1229
|
-
`;const $i=u.div`
|
|
1230
|
-
display: grid;
|
|
1231
|
-
|
|
1232
|
-
grid-template-columns: repeat(3, 1fr);
|
|
1233
|
-
gap: 24px;
|
|
1234
|
-
margin-bottom: 3.5rem;
|
|
1235
|
-
${Q.tdDown} {
|
|
1236
|
-
grid-template-columns: repeat(1, 1fr);
|
|
1237
|
-
}
|
|
1238
|
-
`,Li=u.a`
|
|
1239
|
-
text-decoration: none;
|
|
1240
|
-
display: flex;
|
|
1241
|
-
align-items: center;
|
|
1242
|
-
`,Bi=({item:e,index:t=0})=>e?i.createElement(Li,{href:e.url,"data-event-category":"Hamburger Navigation","data-event-action":`Care Click ${t+1}`,"data-event-label":e.url},i.createElement("img",{loading:"lazy",alt:e.name,src:e.featuredImage||"/images/avatar.jpg",style:{width:"40px",height:"40px"}}),i.createElement(C,{size:"p2",weight:"regular",style:{marginLeft:16}},e.name),i.createElement("img",{src:x.getAssetPath("chevronRightActive.svg"),style:{width:"20px",height:"20px",marginLeft:"auto"},loading:"lazy"})):null,Mi=({helpfulUrls:e=[]})=>{const{t:t}=U();return e.length?i.createElement(ai,{title:t("home.navigator.menu.spotlightEcom")},0!==e.length?i.createElement($i,null,null==e?void 0:e.slice(0,5).map(((e,t)=>i.createElement(Bi,{key:t,index:t,item:e})))):i.createElement(i.Fragment,null)):null};u.div`
|
|
1243
|
-
&[data-is-display='false'] {
|
|
1244
|
-
display: none;
|
|
1245
|
-
}
|
|
1246
|
-
`;const Pi=u.div`
|
|
1247
|
-
display: grid;
|
|
1248
|
-
|
|
1249
|
-
grid-template-columns: repeat(3, 1fr);
|
|
1250
|
-
gap: 24px;
|
|
1251
|
-
${Q.tdDown} {
|
|
1252
|
-
grid-template-columns: 1fr;
|
|
1253
|
-
gap: 12px;
|
|
1254
|
-
}
|
|
1255
|
-
`,_i=u.a`
|
|
1256
|
-
text-decoration: none;
|
|
1257
|
-
border-radius: 4px;
|
|
1258
|
-
background: ${e=>e.theme.colors.primary50};
|
|
1259
|
-
position: relative;
|
|
1260
|
-
overflow: hidden;
|
|
1261
|
-
display: flex;
|
|
1262
|
-
* {
|
|
1263
|
-
pointer-events: none;
|
|
1264
|
-
}
|
|
1265
|
-
.bg-svg {
|
|
1266
|
-
width: 245px;
|
|
1267
|
-
top: 0;
|
|
1268
|
-
right: 0;
|
|
1269
|
-
height: 100%;
|
|
1270
|
-
position: absolute;
|
|
1271
|
-
${Q.tdDown} {
|
|
1272
|
-
top: calc(51% - 68px);
|
|
1273
|
-
right: -8px;
|
|
1274
|
-
}
|
|
1275
|
-
}
|
|
1276
|
-
padding: 180px 24px 16px;
|
|
1277
|
-
a {
|
|
1278
|
-
display: flex;
|
|
1279
|
-
width: 100%;
|
|
1280
|
-
}
|
|
1281
|
-
${Q.tdDown} {
|
|
1282
|
-
padding-top: 16px;
|
|
1283
|
-
display: flex;
|
|
1284
|
-
align-items: center;
|
|
1285
|
-
}
|
|
1286
|
-
`,Hi=u.div`
|
|
1287
|
-
width: 64px;
|
|
1288
|
-
height: 64px;
|
|
1289
|
-
background: white;
|
|
1290
|
-
position: absolute;
|
|
1291
|
-
right: 25px;
|
|
1292
|
-
top: 35px;
|
|
1293
|
-
z-index: 3;
|
|
1294
|
-
border-radius: 50%;
|
|
1295
|
-
img {
|
|
1296
|
-
position: absolute;
|
|
1297
|
-
width: 64px;
|
|
1298
|
-
height: 64px;
|
|
1299
|
-
top: 50%;
|
|
1300
|
-
left: 50%;
|
|
1301
|
-
display: block;
|
|
1302
|
-
transform: translate(-50%, -50%);
|
|
1303
|
-
}
|
|
1304
|
-
${Q.tdDown} {
|
|
1305
|
-
position: relative;
|
|
1306
|
-
top: unset;
|
|
1307
|
-
right: unset;
|
|
1308
|
-
}
|
|
1309
|
-
`,Di=u.div`
|
|
1310
|
-
display: flex;
|
|
1311
|
-
align-items: center;
|
|
1312
|
-
color: ${e=>e.theme.colors.primaryBase};
|
|
1313
|
-
font-weight: 400;
|
|
1314
|
-
font-size: 14px;
|
|
1315
|
-
text-decoration: none;
|
|
1316
|
-
`,Ni=u.p`
|
|
1317
|
-
font-size: 16px;
|
|
1318
|
-
font-weight: 600;
|
|
1319
|
-
line-height: 1.4;
|
|
1320
|
-
color: ${e=>e.theme.colors.gray800};
|
|
1321
|
-
`,Ti=u.p`
|
|
1322
|
-
font-size: 14px;
|
|
1323
|
-
line-height: 1.4;
|
|
1324
|
-
font-weight: 400;
|
|
1325
|
-
color: ${e=>e.theme.colors.gray600};
|
|
1326
|
-
height: 40px;
|
|
1327
|
-
text-overflow: ellipsis;
|
|
1328
|
-
overflow: hidden;
|
|
1329
|
-
display: -webkit-box;
|
|
1330
|
-
-webkit-line-clamp: 2;
|
|
1331
|
-
-webkit-box-orient: vertical;
|
|
1332
|
-
margin-bottom: auto;
|
|
1333
|
-
${Q.tdDown} {
|
|
1334
|
-
display: none;
|
|
1335
|
-
}
|
|
1336
|
-
`,ji=u.div`
|
|
1337
|
-
display: flex;
|
|
1338
|
-
flex-direction: column;
|
|
1339
|
-
flex: 1;
|
|
1340
|
-
z-index: 1;
|
|
1341
|
-
${Q.tdUp} {
|
|
1342
|
-
gap: 8px;
|
|
1343
|
-
}
|
|
1344
|
-
${Q.tdDown} {
|
|
1345
|
-
gap: 4px;
|
|
1346
|
-
flex: 1;
|
|
1347
|
-
}
|
|
1348
|
-
`,Ai=({item:e,index:t=0})=>{const{t:a}=U(),{configs:{statics:n}}=d(gt);if(!e)return null;const o=e.link?e.link.startsWith("http")?e.link:`${n.HOME_PAGE_URL}${e.link}`:void 0;return i.createElement(_i,{href:o,"data-event-category":"Hamburger Navigation","data-event-action":`Engage Click ${t+1}`,"data-event-label":o},i.createElement("img",{src:x.getAssetPath("navToolCardBg.svg"),alt:"",loading:"lazy",className:"bg-svg"}),i.createElement(ji,null,i.createElement(Ni,null,e.title),i.createElement(Ti,null,e.subtitle),i.createElement(Di,null,a("home.seeMore"),i.createElement("img",{src:x.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px",marginTop:"3px",marginLeft:"5px"},loading:"lazy"}))),i.createElement(Hi,null,i.createElement("img",{loading:"lazy",alt:e.title,src:e.icon||"/images/avatar.jpg"})))},zi=u.a`
|
|
1349
|
-
text-decoration: none;
|
|
1350
|
-
border-radius: 12px;
|
|
1351
|
-
|
|
1352
|
-
position: relative;
|
|
1353
|
-
overflow: hidden;
|
|
1354
|
-
display: flex;
|
|
1355
|
-
* {
|
|
1356
|
-
pointer-events: none;
|
|
1357
|
-
}
|
|
1358
|
-
.bg-svg {
|
|
1359
|
-
top: 0;
|
|
1360
|
-
left: 0;
|
|
1361
|
-
position: absolute;
|
|
1362
|
-
}
|
|
1363
|
-
|
|
1364
|
-
.dot-svg {
|
|
1365
|
-
width: 40px;
|
|
1366
|
-
height: 30px;
|
|
1367
|
-
top: 36px;
|
|
1368
|
-
left: 16px;
|
|
1369
|
-
position: absolute;
|
|
1370
|
-
stroke-width: 0;
|
|
1371
|
-
}
|
|
1372
|
-
|
|
1373
|
-
&[data-color='pink'] {
|
|
1374
|
-
background: ${e=>e.theme.mbColors.tonePink};
|
|
1375
|
-
.bg-svg {
|
|
1376
|
-
fill: ${e=>e.theme.mbColors.peach};
|
|
1377
|
-
}
|
|
1378
|
-
}
|
|
1379
|
-
&[data-color='orange'] {
|
|
1380
|
-
background: ${e=>e.theme.mbColors.toneYellow};
|
|
1381
|
-
.bg-svg {
|
|
1382
|
-
fill: ${e=>e.theme.mbColors.orange};
|
|
1383
|
-
}
|
|
1384
|
-
}
|
|
1385
|
-
&[data-color='green'] {
|
|
1386
|
-
background: ${e=>e.theme.mbColors.toneGreen};
|
|
1387
|
-
.bg-svg {
|
|
1388
|
-
fill: ${e=>e.theme.mbColors.mint};
|
|
1389
|
-
}
|
|
1390
|
-
}
|
|
1391
|
-
|
|
1392
|
-
padding: 180px 24px 16px;
|
|
1393
|
-
a {
|
|
1394
|
-
display: flex;
|
|
1395
|
-
width: 100%;
|
|
1396
|
-
}
|
|
1397
|
-
${Q.tdDown} {
|
|
1398
|
-
padding-top: 16px;
|
|
1399
|
-
display: flex;
|
|
1400
|
-
align-items: flex-start;
|
|
1401
|
-
justify-content: flex-start;
|
|
1402
|
-
}
|
|
1403
|
-
${Q.mbDown} {
|
|
1404
|
-
padding-top: 0;
|
|
1405
|
-
padding-left: 80px;
|
|
1406
|
-
height: 96px;
|
|
1407
|
-
align-items: flex-start;
|
|
1408
|
-
justify-content: center;
|
|
1409
|
-
flex-direction: column;
|
|
1410
|
-
.dot-svg {
|
|
1411
|
-
top: 22px;
|
|
1412
|
-
left: 16px;
|
|
1413
|
-
}
|
|
1414
|
-
}
|
|
1415
|
-
${Q.tdUp} {
|
|
1416
|
-
min-height: 296px;
|
|
1417
|
-
}
|
|
1418
|
-
.mobile-only {
|
|
1419
|
-
${Q.tdUp} {
|
|
1420
|
-
display: none;
|
|
1421
|
-
}
|
|
1422
|
-
}
|
|
1423
|
-
.desktop-only {
|
|
1424
|
-
${Q.tdDown} {
|
|
1425
|
-
display: none;
|
|
1426
|
-
}
|
|
1427
|
-
}
|
|
1428
|
-
`,Fi=u.div`
|
|
1429
|
-
width: 48px;
|
|
1430
|
-
height: 48px;
|
|
1431
|
-
background: white;
|
|
1432
|
-
position: absolute;
|
|
1433
|
-
right: 25px;
|
|
1434
|
-
top: 35px;
|
|
1435
|
-
z-index: 3;
|
|
1436
|
-
border-radius: 50%;
|
|
1437
|
-
img {
|
|
1438
|
-
position: absolute;
|
|
1439
|
-
width: 36px;
|
|
1440
|
-
height: 36px;
|
|
1441
|
-
top: 50%;
|
|
1442
|
-
left: 50%;
|
|
1443
|
-
display: block;
|
|
1444
|
-
transform: translate(-50%, -50%);
|
|
1445
|
-
}
|
|
1446
|
-
${Q.tdDown} {
|
|
1447
|
-
position: relative;
|
|
1448
|
-
top: unset;
|
|
1449
|
-
right: unset;
|
|
1450
|
-
}
|
|
1451
|
-
${Q.mbDown} {
|
|
1452
|
-
position: absolute;
|
|
1453
|
-
left: 32px;
|
|
1454
|
-
top: 28px;
|
|
1455
|
-
}
|
|
1456
|
-
`,Si=u.div`
|
|
1457
|
-
display: flex;
|
|
1458
|
-
align-items: center;
|
|
1459
|
-
background: white;
|
|
1460
|
-
font-weight: 400;
|
|
1461
|
-
font-size: 14px;
|
|
1462
|
-
text-decoration: none;
|
|
1463
|
-
border-radius: 50%;
|
|
1464
|
-
width: 20px;
|
|
1465
|
-
height: 20px;
|
|
1466
|
-
|
|
1467
|
-
svg path {
|
|
1468
|
-
fill: ${e=>e.theme.mbColors.gray};
|
|
1469
|
-
}
|
|
1470
|
-
|
|
1471
|
-
${Q.tdDown} {
|
|
1472
|
-
background: none;
|
|
1473
|
-
width: 100%;
|
|
1474
|
-
font-weight: 400;
|
|
1475
|
-
font-size: 12px;
|
|
1476
|
-
line-height: 18px;
|
|
1477
|
-
color: ${e=>e.theme.mbColors.pink};
|
|
1478
|
-
padding-left: 16px;
|
|
1479
|
-
}
|
|
1480
|
-
`,Ui=u.p`
|
|
1481
|
-
font-weight: 600;
|
|
1482
|
-
font-size: 14px;
|
|
1483
|
-
line-height: 24px;
|
|
1484
|
-
letter-spacing: -0.2px;
|
|
1485
|
-
color: ${e=>e.theme.colors.gray800};
|
|
1486
|
-
`,Vi=u.p`
|
|
1487
|
-
font-weight: 400;
|
|
1488
|
-
font-size: 12px;
|
|
1489
|
-
line-height: 18px;
|
|
1490
|
-
letter-spacing: -0.2px;
|
|
1491
|
-
color: ${e=>e.theme.colors.gray600};
|
|
1492
|
-
height: 54px;
|
|
1493
|
-
text-overflow: ellipsis;
|
|
1494
|
-
overflow: hidden;
|
|
1495
|
-
display: -webkit-box;
|
|
1496
|
-
-webkit-line-clamp: 3;
|
|
1497
|
-
-webkit-box-orient: vertical;
|
|
1498
|
-
margin-bottom: auto;
|
|
1499
|
-
${Q.tdDown} {
|
|
1500
|
-
display: none;
|
|
1501
|
-
}
|
|
1502
|
-
`,Ri=u.div`
|
|
1503
|
-
display: flex;
|
|
1504
|
-
flex: 1;
|
|
1505
|
-
z-index: 1;
|
|
1506
|
-
align-items: flex-end;
|
|
1507
|
-
justify-content: flex-end;
|
|
1508
|
-
${Q.tdUp} {
|
|
1509
|
-
gap: 8px;
|
|
1510
|
-
flex-direction: row;
|
|
1511
|
-
}
|
|
1512
|
-
|
|
1513
|
-
${Q.tdDown} {
|
|
1514
|
-
align-items: flex-start;
|
|
1515
|
-
justify-content: flex-start;
|
|
1516
|
-
gap: 4px;
|
|
1517
|
-
}
|
|
1518
|
-
`,Oi=u.div`
|
|
1519
|
-
display: flex;
|
|
1520
|
-
flex-direction: column;
|
|
1521
|
-
flex: 1;
|
|
1522
|
-
z-index: 1;
|
|
1523
|
-
${Q.tdUp} {
|
|
1524
|
-
gap: 8px;
|
|
1525
|
-
}
|
|
1526
|
-
${Q.tdDown} {
|
|
1527
|
-
gap: 4px;
|
|
1528
|
-
flex: 1;
|
|
1529
|
-
padding-left: 16px;
|
|
1530
|
-
}
|
|
1531
|
-
`,Ii=u.div`
|
|
1532
|
-
display: flex;
|
|
1533
|
-
flex-direction: row;
|
|
1534
|
-
flex: 1;
|
|
1535
|
-
z-index: 1;
|
|
1536
|
-
${Q.tdUp} {
|
|
1537
|
-
gap: 8px;
|
|
1538
|
-
justify-content: flex-end;
|
|
1539
|
-
align-items: flex-end;
|
|
1540
|
-
}
|
|
1541
|
-
${Q.tdDown} {
|
|
1542
|
-
flex-direction: column;
|
|
1543
|
-
justify-content: flex-start;
|
|
1544
|
-
align-items: flex-start;
|
|
1545
|
-
}
|
|
1546
|
-
`,Zi=({item:e,index:t=0,color:a})=>{const{t:n}=U(),{configs:{statics:o}}=d(gt);if(!e)return null;const l=e.link?e.link.startsWith("http")?e.link:`${o.HOME_PAGE_URL}${e.link}`:void 0,r=()=>i.createElement(Fi,null,i.createElement("img",{loading:"lazy",alt:e.title,src:e.icon||"/images/avatar.jpg"})),s=()=>i.createElement(Ii,null,i.createElement(Oi,null,i.createElement(Ui,null,e.title),i.createElement(Vi,null,e.subtitle)),i.createElement(Si,null,i.createElement("div",{className:"mobile-only"},n("home.seeMore")),i.createElement("img",{src:x.getAssetPath("arrowRightGray.svg"),style:{width:"12px",height:"12px",marginTop:"2px",marginLeft:"5px"},loading:"lazy"})));return i.createElement(zi,{href:l,"data-event-category":"Hamburger Navigation","data-event-action":`Engage Click ${t+1}`,"data-event-label":l,"data-color":a},i.createElement("svg",{className:"bg-svg",width:"74",height:"121",viewBox:"0 0 74 121",fill:"none"},i.createElement("path",{d:"M58.5713 53.428C40.6466 70.0213 12.9929 71.0875 -7.00506 84.9856C-24.9277 97.4005 -38.3893 120.472 -60.213 120.346C-73.3615 120.271 -84.9289 110.925 -91.9303 99.8138C-101.443 84.7327 -103.994 64.0482 -93.916 49.3276C-81.8133 31.6505 -56.6933 28.1101 -41.7246 12.7895C-35.4351 6.35117 -31.2212 -1.90115 -24.8564 -8.25051C-7.17639 -25.9054 34.9604 -29.7543 56.852 -16.9562C80.9056 -2.89888 77.046 36.3304 58.5713 53.428Z",strokeWidth:"0"})),i.createElement("img",{src:x.getAssetPath("navMBCardDotBg.svg"),className:"dot-svg",loading:"lazy",alt:""}),i.createElement(Ri,null,i.createElement("div",{className:"mobile-only"},r()),i.createElement("div",{className:"desktop-only"},s())),i.createElement("div",{className:"mobile-only"},s()),i.createElement("div",{className:"desktop-only"},r()))},Gi=({hrefViewMore:e,spotlightHealthTools:t=[]})=>{const{t:a}=U(),n=["pink","orange","green"],{siteType:o}=d(gt);return i.createElement(ai,{title:a("home.navigator.menu.spotlightTools")},0!==t.length&&i.createElement(Pi,null,null==t?void 0:t.slice(0,3).map(((e,t)=>"marryBaby"===o?i.createElement(Zi,{key:t,index:t,item:e,color:n[t]}):i.createElement(Ai,{key:t,index:t,item:e})))),0===t.length&&i.createElement(Xt,{title:a("home.navigator.menu.healthTools.noDatas.title"),description:a("home.navigator.menu.healthTools.noDatas.description"),link:e,cta:a("home.navigator.menu.healthTools.noDatas.cta"),icon:x.getAssetPath("community.svg")}))},Wi=({closePopup:e,menuItems:t=[]})=>{var a,n;const{siteType:o,ssrMenuContent:{categories:l,healthTools:r,care:s,together:c,ecom:m},activeMenuService:p,configs:{statics:g,enableSearchBar:h},locale:u}=d(gt),{t:v}=U();return i.createElement(xt,{id:"categories-menu"},h?i.createElement(yt,{"data-theme":o,onClick:()=>{window.location.href=`${g.HOME_PAGE_URL}/search`}},i.createElement(kt,null)):null,i.createElement(Et,null,i.createElement(zt,{UrlFE:g.HOME_PAGE_URL,titleBtnViewMore:v("home.navigator.menuItem.allCategories"),menuItems:t,headingTitle:v("home.navigator.menuItem.healthCategories"),onClosePopup:e,activeItem:p}),"categories"===p&&i.createElement(ci,{spotlightsList:(null==l?void 0:l.spotlights)||[],hrefViewMore:`${g.HOME_PAGE_URL}${"tl-PH"===u?"/fil":""}/spotlight/`}),"tools"===p&&i.createElement(Gi,{spotlightHealthTools:null==r?void 0:r.spotlights,hrefViewMore:`${g.HOME_PAGE_URL}${"tl-PH"===u?"/fil":""}${(null===(a=B[u])||void 0===a?void 0:a.HEALTH_TOOLS)||""}`}),"care"===p&&i.createElement(ni,{spotlights:null==s?void 0:s.spotlights,hrefViewMore:`${g.CARE_URL_FE}/${null===(n=se[u])||void 0===n?void 0:n.SPECIALTIES}`}),"together"===p&&i.createElement(ki,{spotlights:null==c?void 0:c.spotlights}),"ecom"===p&&i.createElement(Mi,{helpfulUrls:null==m?void 0:m.helpfulUrls})))},Yi=({menuItems:e})=>{const{siteType:t,configs:{enableSearchBar:a}}=d(gt),{containerRef:n,onContainerFocus:o,onContainerBlur:l,onButtonMouseDown:r,onClose:s}=Pe();return i.createElement(Me,{mediaQueryKey:"mbDown"},i.createElement("header",{className:ct},i.createElement("div",{className:mt,ref:n,role:"button",tabIndex:0,onBlur:l,onFocus:o},i.createElement("div",{className:pt,onMouseDown:r,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"Hamburger Navigation URL"},i.createElement(ut,{className:"mobile-close-icon"}),i.createElement(vt,{siteType:t,enableSearch:a,className:"mobile-hamburger-icon"})),i.createElement(Wi,{menuItems:e,closePopup:s}))))},Ki=u.div`
|
|
1547
|
-
z-index: 201;
|
|
1548
|
-
width: 100%;
|
|
1549
|
-
align-items: center;
|
|
1550
|
-
|
|
1551
|
-
background-color: ${e=>e.theme.colors.white};
|
|
1552
|
-
|
|
1553
|
-
transition: height 0.3s, transform 0.3s;
|
|
1554
|
-
|
|
1555
|
-
&[data-site-type='helloSites'] {
|
|
1556
|
-
border-bottom: 1px solid
|
|
1557
|
-
${e=>e.theme.colors.neutral100};
|
|
1558
|
-
}
|
|
1559
|
-
&[data-sponsored='true'] {
|
|
1560
|
-
border-bottom: none;
|
|
1561
|
-
}
|
|
1562
|
-
&[data-marry-baby-tone='pink'] {
|
|
1563
|
-
background-color: ${e=>e.theme.mbColors.lightPink};
|
|
1564
|
-
}
|
|
1565
|
-
|
|
1566
|
-
${Q.mbUp} {
|
|
1567
|
-
&[data-sitewide-banner-shown='true'][data-collapsed='true'] {
|
|
1568
|
-
transform: translateY(-64px);
|
|
1569
|
-
}
|
|
1570
|
-
}
|
|
1571
|
-
${Q.mbDown} {
|
|
1572
|
-
&[data-site-type='marryBaby'] {
|
|
1573
|
-
border-bottom: none;
|
|
1574
|
-
}
|
|
1575
|
-
|
|
1576
|
-
&[data-fixed-bar='true'] {
|
|
1577
|
-
position: fixed;
|
|
1578
|
-
transform: translateY(0);
|
|
1579
|
-
}
|
|
1580
|
-
|
|
1581
|
-
&[data-fixed-bar='false'] {
|
|
1582
|
-
position: absolute;
|
|
1583
|
-
}
|
|
1584
|
-
|
|
1585
|
-
&[data-collapsed='true'] {
|
|
1586
|
-
transform: translateY(-100%);
|
|
1587
|
-
transition: transform 0.5s;
|
|
1588
|
-
}
|
|
1589
|
-
&[data-collapsed='false'] {
|
|
1590
|
-
transform: translateY(0);
|
|
1591
|
-
transition: transform 0.5s;
|
|
1592
|
-
}
|
|
1593
|
-
|
|
1594
|
-
.top-bar-header {
|
|
1595
|
-
line-height: normal;
|
|
1596
|
-
}
|
|
1597
|
-
|
|
1598
|
-
&[data-header-type='home'] {
|
|
1599
|
-
z-index: ${ft};
|
|
1600
|
-
}
|
|
1601
|
-
|
|
1602
|
-
&[data-is-displayed='false'] {
|
|
1603
|
-
//display: none;
|
|
1604
|
-
visibility: hidden;
|
|
1605
|
-
}
|
|
1606
|
-
}
|
|
1607
|
-
|
|
1608
|
-
.marry-baby {
|
|
1609
|
-
input {
|
|
1610
|
-
background: ${e=>e.theme.mbColors.lightGray};
|
|
1611
|
-
border-radius: 16px;
|
|
1612
|
-
border: none;
|
|
1613
|
-
}
|
|
1614
|
-
max-width: 172px;
|
|
1615
|
-
}
|
|
1616
|
-
&[data-site-type='marryBaby'] {
|
|
1617
|
-
.close-btn {
|
|
1618
|
-
top: 16px;
|
|
1619
|
-
right: 16px;
|
|
1620
|
-
}
|
|
1621
|
-
}
|
|
1622
|
-
`,qi=u.div`
|
|
1623
|
-
display: flex;
|
|
1624
|
-
height: 100%;
|
|
1625
|
-
align-items: center;
|
|
1626
|
-
|
|
1627
|
-
justify-content: space-between;
|
|
1628
|
-
padding: 0 2rem;
|
|
1629
|
-
height: 56px;
|
|
1630
|
-
${Q.pcDown} {
|
|
1631
|
-
padding: 0 1rem;
|
|
1632
|
-
}
|
|
1633
|
-
|
|
1634
|
-
${Q.mbDown} {
|
|
1635
|
-
position: relative;
|
|
1636
|
-
height: 56px;
|
|
1637
|
-
background: white;
|
|
1638
|
-
gap: 2px;
|
|
1639
|
-
}
|
|
1640
|
-
|
|
1641
|
-
&[data-site-type='marryBaby'] {
|
|
1642
|
-
width: 100%;
|
|
1643
|
-
margin: 0 auto;
|
|
1644
|
-
padding: 0 16px;
|
|
1645
|
-
${Q.tdUp} {
|
|
1646
|
-
max-width: 1064px;
|
|
1647
|
-
}
|
|
1648
|
-
}
|
|
1649
|
-
`,Qi=u.div`
|
|
1650
|
-
display: flex;
|
|
1651
|
-
align-items: center;
|
|
1652
|
-
height: 100%;
|
|
1653
|
-
gap: 24px;
|
|
1654
|
-
${Q.pcDown} {
|
|
1655
|
-
flex-shrink: 0;
|
|
1656
|
-
gap: 16px;
|
|
1657
|
-
}
|
|
1658
|
-
${Q.pcDown} {
|
|
1659
|
-
gap: 12px;
|
|
1660
|
-
}
|
|
1661
|
-
&[data-site-type='marryBaby'] {
|
|
1662
|
-
gap: 26px;
|
|
1663
|
-
}
|
|
1664
|
-
`,Ji=u.div``,Xi=u.div`
|
|
1665
|
-
display: flex;
|
|
1666
|
-
align-items: center;
|
|
1667
|
-
height: 100%;
|
|
1668
|
-
flex-shrink: 0;
|
|
1669
|
-
/* gap: 16px; */
|
|
1670
|
-
${Q.tdDown} {
|
|
1671
|
-
flex-shrink: 0.6;
|
|
1672
|
-
}
|
|
1673
|
-
.hhgcomp-navigation-itemnav-headeritem {
|
|
1674
|
-
gap: 2px;
|
|
1675
|
-
${Q.pcUp} {
|
|
1676
|
-
padding: 0 10px;
|
|
1677
|
-
}
|
|
1678
|
-
${Q.pcDown} {
|
|
1679
|
-
padding: 0 6px;
|
|
1680
|
-
}
|
|
1681
|
-
${Q.mbDown} {
|
|
1682
|
-
display: none;
|
|
1683
|
-
}
|
|
1684
|
-
a {
|
|
1685
|
-
text-decoration: none;
|
|
1686
|
-
}
|
|
1687
|
-
}
|
|
1688
|
-
`;u.div`
|
|
1689
|
-
.fake-search-input {
|
|
1690
|
-
pointer-events: none;
|
|
1691
|
-
input {
|
|
1692
|
-
line-height: 20px;
|
|
1693
|
-
padding-top: 10px;
|
|
1694
|
-
padding-bottom: 10px;
|
|
1695
|
-
}
|
|
1696
|
-
}
|
|
1697
|
-
`;const ea=u.div`
|
|
1698
|
-
margin-left: 16px;
|
|
1699
|
-
display: flex;
|
|
1700
|
-
gap: 12px;
|
|
1701
|
-
align-items: center;
|
|
1702
|
-
flex-shrink: 0;
|
|
1703
|
-
${Q.pcDown} {
|
|
1704
|
-
margin-left: 8px;
|
|
1705
|
-
gap: 8px;
|
|
1706
|
-
}
|
|
1707
|
-
${Q.mbDown} {
|
|
1708
|
-
margin-left: 0;
|
|
1709
|
-
gap: 10px;
|
|
1710
|
-
}
|
|
1711
|
-
`,ta=u.div`
|
|
1712
|
-
display: flex;
|
|
1713
|
-
align-items: center;
|
|
1714
|
-
height: 100%;
|
|
1715
|
-
&[data-site-type='marryBaby'] {
|
|
1716
|
-
gap: 26px;
|
|
1717
|
-
}
|
|
1718
|
-
`,ia=e=>{var t,i,a,n;return e?{termId:e.term_id||null,sponsor:e.sponsor?(n=e.sponsor,n?{title:n.title,logo:n.logo,link:n.link}:{}):null,isSponsored:e.is_sponsored||null,categoryName:e.cat_name||e.name||null,name:e.name||null,iconUrl:e.icon||"",slugName:e.category_nicename||null,description:e.description||null,featureImage:e.thumbnail||e.image||null,displayName:e.name||null,parent:e.parent||null,permalink:e.permalink||null,slug:e.slug||null,childCates:(null===(t=e.child_cates)||void 0===t?void 0:t.map((e=>ia(e))))||[],thumnailColor:e.thumnail_color||["#FFEAF1","#E0E9FB","#FFF9EB","#F2FCF7","#F3F3F3"][5*Math.random()|0],colorFeatureImage:e.color_feature_image||null,imageColor:e.image_color||null,textColor:e.text_color||null,catParent:(null===(i=e.cat_parent)||void 0===i?void 0:i.name)?{name:e.cat_parent.name,permalink:e.cat_parent.permalink}:{},metaTag:e.meta_tag||"",reviewedBy:e.reviewed_by?(a=e.reviewed_by,{postTitle:a.post_title,permalink:a.permalink}):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map((e=>(e=>({title:e.title,content:e.content}))(e))):null,customizedUrl:e.customized_url||null}:{}},aa=e=>{var t,i;if(!e)return{};const a=null===(t=e.link)||void 0===t?void 0:t.includes("/bot/"),n=null===(i=e.link)||void 0===i?void 0:i.startsWith("/fil/"),o=e.link?e.link.startsWith("http")||a?e.link:n?e.link.replace("/health-tools/","/").replace("/fil/","/fil/health-tools/"):`/health-tools${e.link.replace("/health-tools/","/")}`:void 0;return{icon:e.icon,link:o,subtitle:e.subtitle,title:e.title}},na=e=>{var t,i,a,n,o;return e&&(null==e?void 0:e.object_id)?{thumbnail:(null===(t=null==e?void 0:e.object_id)||void 0===t?void 0:t.logo)||"",link:(null===(i=null==e?void 0:e.object_id)||void 0===i?void 0:i.slug)||"",subtitle:(null===(a=e.object_id)||void 0===a?void 0:a.name)||"",name:(null===(n=e.object_id)||void 0===n?void 0:n.name)||"",slug:(null===(o=e.object_id)||void 0===o?void 0:o.slug)||""}:{}},oa=e=>{var t,i,a,n,o;return e&&(null==e?void 0:e.object_id)?{id:null===(t=e.object_id)||void 0===t?void 0:t.id,name:(null===(i=e.object_id)||void 0===i?void 0:i.name)||"",logo:(null===(a=null==e?void 0:e.object_id)||void 0===a?void 0:a.logo)||"",description:(null===(n=e.object_id)||void 0===n?void 0:n.description)||"",slug:(null===(o=e.object_id)||void 0===o?void 0:o.slug)||""}:{}},la=(e,t,i,a)=>(i||"https://together.hellohealthgroup.com/")+"api/v1/"+X(Ct,Object.assign(Object.assign({},a),{websiteUrl:t?"https://marrybaby.vn":`https://${$[e]}`})),ra=({type:e,specialtySlug:t,locale:i})=>{var a,n;return`${null===(a=se[i])||void 0===a?void 0:a.ALL}/${(null===(n=se[i])||void 0===n?void 0:n[e])||"doctor"}/${null!=t?t:""}`},sa=e=>e?{id:e.ID,name:e.name,permalink:e.permalink,image:(null==e?void 0:e.small_banner)||(null==e?void 0:e.image)||"",imageMedium:(null==e?void 0:e.image_medium)||null,imageThumbnail:(null==e?void 0:e.image_thumbnail)||null,startDate:null==e?void 0:e.start_date,endDate:null==e?void 0:e.end_date}:{},da=e=>{const t=new Date;if(null==e?void 0:e.startDate){const i=new Date(e.startDate);if(t.getTime()<i.getTime())return!1}if(null==e?void 0:e.endDate){const i=new Date(e.endDate);if(t.getTime()>i.getTime())return!1}return!0};var ca="q3nL5cp",ma="_2DNf80G",pa="Q-glX-n";const ga=({onClosePopup:e})=>i.createElement("div",{className:`${pa} close-btn`,onClick:e},i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},i.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"}))),ha=({onClosePopup:e,isDisplay:t,children:a,isNavMenu:n,hideCloseBtn:o})=>i.createElement("div",{className:"hhgcomp-navigation-popupwrapper-menuwrapper top-menu-health-tools","data-is-display":!!t,"data-is-nav-menu":!!n},i.createElement(pe,null,!o&&i.createElement("div",{className:ma},i.createElement(ga,{onClosePopup:e})),i.createElement(pe,{className:ca},a))),ua=({careSpecialties:e=[],isOpen:t,onClose:a,spotlights:n=[]})=>{var o;const{t:l}=U(),{locale:r,configs:{statics:s}}=d(gt);return i.createElement(ha,{onClosePopup:a,isDisplay:t,isNavMenu:!0},i.createElement(zt,{headingTitle:l("home.navigator.menuItem.specialties"),hrefViewMore:`${s.CARE_URL_FE}/`,UrlFE:s.CARE_URL_FE,onClosePopup:a,titleBtnViewMore:l("home.navigator.menuItem.allSpecialties"),menuItems:(null==e?void 0:e.map((e=>e?{name:String(e.name)||"",link:ra({type:"DOCTOR",specialtySlug:e.slug,locale:r}),thumbnail:(null==e?void 0:e.thumbnail)||""}:{})))||[]}),i.createElement(ni,{spotlights:n,hrefViewMore:`${s.CARE_URL_FE}/${null===(o=se[r])||void 0===o?void 0:o.SPECIALTIES}/`}))},va=({categories:e=[],spotlightsList:t=[],onClose:a,isOpen:n})=>{const{t:o}=U(),{locale:l,configs:{statics:r}}=d(gt);return i.createElement(ha,{onClosePopup:a,isDisplay:n,isNavMenu:!0},i.createElement(zt,{hrefViewMore:`${r.HOME_PAGE_URL}${"tl-PH"===l?"/fil":""}/categories/`,UrlFE:r.HOME_PAGE_URL,onClosePopup:a,titleBtnViewMore:o("home.navigator.menuItem.allCategories"),menuItems:(null==e?void 0:e.map((e=>e?{name:e.displayName||null,link:(null==e?void 0:e.customizedUrl)||(null==e?void 0:e.permalink)||"/",thumbnail:e.iconUrl||null}:{})))||[],headingTitle:o("home.navigator.menuItem.healthCategories")}),i.createElement(ci,{spotlightsList:t,hrefViewMore:`${r.HOME_PAGE_URL}${"tl-PH"===l?"/fil":""}/spotlight/`}))},Ca=({communities:e=[],onClose:t,isOpen:a,spotlights:n=[]})=>{const{t:o}=U(),{configs:{statics:l}}=d(gt);return i.createElement(ha,{onClosePopup:t,isDisplay:a,isNavMenu:!0},i.createElement(zt,{hrefViewMore:P(l.TOGETHER_URL_FE),UrlFE:M(l.TOGETHER_URL_FE),onClosePopup:t,titleBtnViewMore:o("home.navigator.menuItem.allCommunities"),menuItems:(null==e?void 0:e.map((e=>e?{name:e.name||"",link:e.slug||"/",thumbnail:e.thumbnail||""}:{})))||[],headingTitle:o("home.navigator.menuItem.allCommunitiesheadingTitle")}),i.createElement(ki,{spotlights:n}))},fa=({locale:e,onClose:t,isOpen:a,spotlightHealthTools:n=[],healthTools:o=[]})=>{var l;const{t:r}=U(),{configs:{statics:s}}=d(gt),c=`${s.HOME_PAGE_URL}${"tl-PH"===e?"/fil":""}${(null===(l=B[e])||void 0===l?void 0:l.HEALTH_TOOLS)||""}`;return i.createElement(ha,{onClosePopup:t,isDisplay:a,isNavMenu:!0},i.createElement(zt,{hrefViewMore:c,UrlFE:s.HOME_PAGE_URL,onClosePopup:t,headingTitle:r("home.navigator.menuItem.healthToolsList"),titleBtnViewMore:r("home.navigator.menuItem.allHealthTools"),menuItems:o.map((e=>({name:e.title,link:e.link?e.link.startsWith("http")?e.link:`${s.HOME_PAGE_URL}${e.link}`:void 0,thumbnail:e.icon})))}),i.createElement(Gi,{spotlightHealthTools:n,hrefViewMore:c}))},ba=({onTopBarAppears:e,languageMenu:t,menuItems:n,logoComponent:l})=>{var s;const{siteType:m,isMobile:p=!1,locale:g,sitewideBanner:h,sitewideBannerShown:u=!0,sponsorComponent:v,onBookingClick:C,currentUrl:f,onLoginClick:b,cartNumber:y,configs:{statics:E,enableNavCareBooking:w,enableSearchBar:k},userState:{userInfo:$},onLogout:B,isUserLoading:_}=d(gt),{t:H}=U(),{SSO_URL:D,HOME_PAGE_URL:N}=E,T=!!v,[j,A]=a(!1),z=o(47),F=o(null),V=o(!1),O="helloSites"===m?null===(s=L[g])||void 0===s?void 0:s.LOGO_TYPE:m,I="undefined"!=typeof window,Z=c(R((()=>{if(I){if(!F.current)return;const e=F.current.getBoundingClientRect();e.top<=0&&window.scrollY>z.current&&window.scrollY>e.height+20&&!V.current&&(V.current=!0,A(!0)),window.scrollY<z.current&&V.current&&(V.current=!1,A(!1)),window.scrollY>=0&&(z.current=window.scrollY)}}),200),[]);r((()=>{null==e||e(!j)}),[j]),r((()=>(window.addEventListener("scroll",Z,{passive:!0}),()=>{window.removeEventListener("scroll",Z)})),[]),r((()=>{p&&Z()}),[p]);const G=u&&!!h;return i.createElement(Ki,{"data-site-type":m,"data-sponsored":T,"data-sitewide-banner-shown":G,"data-header-type":"home","data-collapsed":j,"data-is-displayed":!0,id:"site-header",ref:F},h,i.createElement(qi,{"data-site-type":m},i.createElement(Qi,{"data-site-type":m},i.createElement(Yi,{menuItems:n}),l||i.createElement("a",{style:{flexShrink:0},href:N},i.createElement(Ji,null,i.createElement(S,{style:{display:"flex"},type:O,badge:"id-ID"===g&&i.createElement("img",{src:x.getAssetPath("sehat-badge.png"),width:"56",height:"23",loading:"lazy"}),dateForSeasonal:new Date,locale:g,key:"undefined"!=typeof window?"client":"server"}))),"marryBaby"===m?i.createElement(ya,{menuItems:n}):k&&i.createElement(xa,{siteType:m})),i.createElement(Xi,{"data-site-type":m},"marryBaby"===m?k&&i.createElement(xa,{siteType:m}):i.createElement(ya,{menuItems:n}),i.createElement(ea,null,i.createElement(Le,{count:y,locale:g}),w&&i.createElement(Me,{mediaQueryKey:"mbUp"},i.createElement(dt,{careUrlFe:E.CARE_URL_FE,currentUrl:f,btnName:H("login.booking"),onCareHeaderClick:C})),t,i.createElement(lt,{userInfo:$,siteType:m,onLoginClick:b||(()=>{const e=window.location.href;window.location.href=D?M(`${D}?returnUrl=${e}`):e}),SSO_URL:P(E.SSO_URL),currentUrl:f,onLogout:B,isLoading:_,locale:g})))),v?i.isValidElement(v)?i.cloneElement(v,{isCollapsed:j,locale:g,isMobile:p}):v:null)},xa=({siteType:e})=>i.createElement(Me,{mediaQueryKey:"mbUp",className:"marryBaby"===e?"marry-baby":""},i.createElement(kt,null)),ya=({menuItems:e})=>{const{siteType:t,locale:a,ssrMenuContent:{categories:n,healthTools:o,care:l,together:r}}=d(gt);return i.createElement(Me,{mediaQueryKey:"mbUp",style:{height:"100%"}},i.createElement(ta,{"data-site-type":t},null==e?void 0:e.map(((e,t)=>i.createElement(jt,{key:t,item:e,menu:"categories"===e.popupType?i.createElement(va,{categories:null==n?void 0:n.items,spotlightsList:null==n?void 0:n.spotlights}):"tools"===e.popupType?i.createElement(fa,{locale:a,healthTools:null==o?void 0:o.items,spotlightHealthTools:null==o?void 0:o.spotlights}):"together"===e.popupType?i.createElement(Ca,{communities:null==r?void 0:r.items,spotlights:null==r?void 0:r.spotlights}):"care"===e.popupType?i.createElement(ua,{careSpecialties:null==l?void 0:l.items,spotlights:null==l?void 0:l.spotlights}):null})))))},Ea=u.div`
|
|
1719
|
-
--header-z-index: 305;
|
|
1720
|
-
top: 0;
|
|
1721
|
-
z-index: var(--header-z-index);
|
|
1722
|
-
|
|
1723
|
-
${Q.mbDown} {
|
|
1724
|
-
width: 100vw;
|
|
1725
|
-
max-width: 100%;
|
|
1726
|
-
}
|
|
1727
|
-
--amp-site-wide-closed: 2px;
|
|
1728
|
-
|
|
1729
|
-
-webkit-transform: translateZ(0);
|
|
1730
|
-
position: sticky;
|
|
1731
|
-
|
|
1732
|
-
&.nav-open {
|
|
1733
|
-
margin-top: 64px;
|
|
1734
|
-
}
|
|
1735
|
-
|
|
1736
|
-
&:not(.nav-open) {
|
|
1737
|
-
--amp-site-wide-closed: 66px;
|
|
1738
|
-
}
|
|
1739
|
-
pointer-events: none;
|
|
1740
|
-
> section * {
|
|
1741
|
-
pointer-events: auto;
|
|
1742
|
-
}
|
|
1743
|
-
`;u.div`
|
|
1744
|
-
display: flex;
|
|
1745
|
-
align-items: center;
|
|
1746
|
-
gap: 8px;
|
|
1747
|
-
`,u.a`
|
|
1748
|
-
&[data-is-active='true'] {
|
|
1749
|
-
color: unset;
|
|
1750
|
-
}
|
|
1751
|
-
font-size: 14px;
|
|
1752
|
-
font-weight: 700;
|
|
1753
|
-
line-height: 22px;
|
|
1754
|
-
text-decoration: none;
|
|
1755
|
-
`;const wa=e=>{var t,l;const{isMobile:s,locale:m,onTopBarAppears:p,languageOptions:g,sponsorComponent:h,sitewideBanner:u,sitewideBannerShown:v,className:C,logoComponent:f}=e,b=(()=>{const{t:e}=U(),{siteType:t,locale:i,configs:{enableNavDiscover:a,enableNavHealthTools:o,enableNavCare:l,enableNavTogether:r,enableNavEcom:s,statics:c}}=d(gt),m="marryBaby"===t;return n((()=>{var t;const n=[];return a&&n.push({name:e("home.navigator.menuItem.discover"),id:"categories",link:`${c.HOME_PAGE_URL}${"tl-PH"===i?"/fil":""}/categories`,niceName:"",thumbnail:m?x.getAssetPath("categories-mb.svg"):x.getAssetPath("nav-icons/discover.svg"),popupType:"categories"}),o&&n.push({name:e("home.navigator.menuItem.healthTools"),id:"tools",link:`${c.HOME_PAGE_URL}${"tl-PH"===i?"/fil":""}${(null===(t=B[i])||void 0===t?void 0:t.HEALTH_TOOLS)||""}`,thumbnail:m?x.getAssetPath("healthtools-mb.svg"):x.getAssetPath("nav-icons/health-tools.svg"),popupType:"tools"}),r&&n.push({name:e("home.navigator.menuItem.helloTogether"),id:"together",link:M(c.TOGETHER_URL_FE+"/"),thumbnail:m?x.getAssetPath("community-mb.svg"):x.getAssetPath("nav-icons/community.svg"),popupType:"together"}),s&&n.push({name:e("home.navigator.menuItem.helloEcom"),id:"ecom",link:M(c.HOME_PAGE_URL+"/shop"),thumbnail:x.getAssetPath("nav-icons/shop.svg"),popupType:null}),l&&n.push({name:e("home.navigator.menuItem.helloCare"),id:"care",link:M("ms-MY"===i?c.HOME_PAGE_URL+"/care/current-location/hospital/":c.HOME_PAGE_URL+"/care"),thumbnail:x.getAssetPath("nav-icons/care.svg"),popupType:"id-ID"===i?"care":null}),n}),[i,l,r,s])})();(()=>{const{isFirstLogin:e,userState:t}=d(gt),{userInfo:i}=t;r((()=>{(null==i?void 0:i.id)&&(e?(null==i?void 0:i.email)&&""!==(null==i?void 0:i.email)?window.insider_object={user:Object.assign({uuid:null==i?void 0:i.id,email:null==i?void 0:i.email,gdpr_optin:!0,email_optin:!0,sign_up:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})}:window.insider_object={user:Object.assign({uuid:null==i?void 0:i.id,sign_up:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})}:(null==i?void 0:i.email)&&""!==(null==i?void 0:i.email)?window.insider_object={user:Object.assign({uuid:null==i?void 0:i.id,email:null==i?void 0:i.email,gdpr_optin:!0,email_optin:!0,log_in:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})}:window.insider_object={user:Object.assign({uuid:null==i?void 0:i.id,log_in:!0},(null==i?void 0:i.name)?{name:null==i?void 0:i.name}:{})})}),[])})();const y=v&&!!u,E=!!h,w=!!(null===(l=null===(t=null==h?void 0:h.props)||void 0===t?void 0:t.sponsoredBy)||void 0===l?void 0:l.length),{headerRef:k,defaultHeaderHeight:$,headerHeight:L,headerBottom:P}=(({hasSponsoredBanners:e,isSponsored:t,isShowingSiteWideBanner:i,isMobile:l})=>{const s=o(null),[d,m]=a(0),[p,g]=a(64),h=c(oe((()=>{var e,t,i,a;const n=(null===(e=s.current)||void 0===e?void 0:e.clientHeight)||(null===(i=null===(t=s.current)||void 0===t?void 0:t.children[0])||void 0===i?void 0:i.clientHeight)||0;window.scrollY<=n+200&&(m(n),g((null===(a=s.current)||void 0===a?void 0:a.getBoundingClientRect().bottom)||d))}),200),[]);r((()=>(window.addEventListener("resize",h,{passive:!0}),window.addEventListener("scroll",h,{passive:!0}),h(),()=>{window.removeEventListener("resize",h),window.removeEventListener("scroll",h)})),[]),r((()=>{h()}),[l,i,t,e,s.current]);const u=n((()=>{let a=56;return i&&(a+=64),t&&(a+=40,e&&(a+=57)),a}),[l,i,e,t]);return{defaultHeaderHeight:u,headerHeight:d||u,headerBottom:p,headerRef:s}})({isShowingSiteWideBanner:y,isSponsored:E,hasSponsoredBanners:w,isMobile:s});return i.createElement(Ea,{id:"navigation-v2",style:{"--default-header-height":$+"px","--header-height":`calc(${L}px - var(--amp-site-wide-closed), 64px)`,"--header-bottom":P+"px"},className:C},i.createElement("section",{ref:k},i.createElement(ba,{menuItems:b,onTopBarAppears:p,logoComponent:f,languageMenu:i.createElement(Ee,{languageOptions:g,locale:m})})))},ka=e=>{const t=Object.assign({siteType:"helloSites",projectType:"discover",locale:"vi-VN",activeMenuService:"categories",ssrMenuContent:{}},e);return i.createElement(ht,Object.assign({},t),i.createElement(wa,Object.assign({},t)))},$a=e=>t(void 0,void 0,void 0,(function*(){var t,i,a,n,o,l,r,s,d,c,m,p,g,h,u,v,C,f,b,x,w,k,L;const B={},P="vi-VN_MB"===e;try{const _="tl-PH"===e?"lang=fil":"";try{const[m,p,g,h]=yield Promise.all([fetch(M(`${N(e)}/wp-json/api/categories${_?"?"+_:""}`)).then((e=>e.json())),fetch(M(`${N(e)}/wp-json/api/spotlights?per_page=10&order_by=start_date${_?"&"+_:""}`)).then((e=>e.json())),fetch(M(`${N(e)}/wp-json/api/${P?"health-tools":"healthtools"}${_?"?"+_:""}`)).then((e=>e.json())),fetch(M(`${N(e)}/wp-json/api/${P?"health-tools":"healthtools"}/favorites${_?"?"+_:""}`)).then((e=>e.json()))]);B.categories={items:(null===(i=null===(t=null==m?void 0:m.data)||void 0===t?void 0:t.map)||void 0===i?void 0:i.call(t,ia))||[],spotlights:(null===(l=null===(o=null===(n=null===(a=null==p?void 0:p.data)||void 0===a?void 0:a.articles)||void 0===n?void 0:n.map)||void 0===o?void 0:o.call(n,sa))||void 0===l?void 0:l.filter(da))||[]},B.healthTools={items:(null===(s=null===(r=null==g?void 0:g.data)||void 0===r?void 0:r.map)||void 0===s?void 0:s.call(r,aa))||[],spotlights:(null===(c=null===(d=null==h?void 0:h.data)||void 0===d?void 0:d.map)||void 0===c?void 0:c.call(d,aa))||[]}}catch(e){}if(P||E.includes(e))try{const[t,i]=yield Promise.all([fetch(M(`${D()}/api/v1/community?website_url=https://${$[e]}`)).then((e=>e.json())),fetch(M(`${D()}/api/v1/options?website_url=https://${$[e]}&meta_key=popular_post`)).then((e=>e.json()))]);B.together={items:(null===(g=null===(p=null===(m=null==t?void 0:t.data)||void 0===m?void 0:m.communities)||void 0===p?void 0:p.map)||void 0===g?void 0:g.call(p,z))||[],spotlights:(null===(v=null===(u=null===(h=null==i?void 0:i.data)||void 0===h?void 0:h.posts)||void 0===u?void 0:u.map)||void 0===v?void 0:v.call(u,F))||[]}}catch(e){}if(y.includes(e))try{const[t,i]=yield Promise.all([fetch(M(T()+`/api/options/setting_menu?site=${$[e]}&type=0`)).then((e=>e.json())),fetch(M(T()+`/api/options/setting_menu?site=${$[e]}&type=1`)).then((e=>e.json()))]);B.care={items:(null===(x=null===(b=null===(f=null===(C=null==t?void 0:t._data)||void 0===C?void 0:C.setting_menu)||void 0===f?void 0:f.menu_specialty)||void 0===b?void 0:b.map)||void 0===x?void 0:x.call(b,na))||[],spotlights:(null===(L=null===(k=null===(w=null==i?void 0:i._data.setting_menu)||void 0===w?void 0:w.menu_hospital)||void 0===k?void 0:k.map)||void 0===L?void 0:L.call(k,oa))||[]}}catch(e){}}catch(e){console.error(e)}return B})),La=e=>t(void 0,void 0,void 0,(function*(){return(yield m("nav-menu-content",(()=>$a(e||"en-PH")),(e=>{var t,i;return!!(null===(i=null===(t=null==e?void 0:e.categories)||void 0===t?void 0:t.items)||void 0===i?void 0:i.length)})))||{}}));export{Ee as L,ka as N,et as P,La as a,ot as b,lt as c,la as d,$a as g,he as i};
|