@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,4 +1,4 @@
|
|
|
1
|
-
"use strict";var e=require("styled-components"),t=require("./theme-
|
|
1
|
+
"use strict";var e=require("styled-components"),t=require("./theme-3f0985a0.js"),o=require("./screenSizeContext-a6dd41f9.js"),r=require("./tslib.es6-5f2b74ff.js"),a=require("react"),i=require("@mantine/core"),l=require("./constants-40e42f36.js"),n=require("react-keyed-flatten-children"),s=require("./cookieHelper-ffb4fd8b.js"),d=require("slugify");require("./index-85ea987c.js");var c=require("string-format"),p=require("./isProduction-51951576.js");function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var h=u(e),m=u(a),g=u(n),b=u(d),_=u(c);const x=h.default.div`
|
|
2
2
|
background-color: var(--background-color, transparent);
|
|
3
3
|
color: white;
|
|
4
4
|
cursor: pointer;
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
justify-content: center;
|
|
69
69
|
align-items: center;
|
|
70
70
|
|
|
71
|
-
${e=>((e,r,
|
|
71
|
+
${e=>((e,o,r,a)=>{let i="";if("numeric"===e)switch(o){case"medium":i="\n height: 16px;\n font-size: 11px;\n padding: 1px 6px;\n ";case"large":i="\n height: 24px;\n font-size: 13px;\n padding: 1px 10px;\n "}let l,n="";r&&(n="\n position: absolute;\n top: 0;\n left: 75%;\n "),r&&(l=`\n left: 70%;\n\n ${"large"===o?"\n top: -7px;\n ":"medium"===o?"\n top: -2px;\n width: 16px;\n height: 16px;\n ":""}\n `);let s="";switch(a){case"primary":s=`\n background: ${t.theme.colors.primary50};\n color: ${t.theme.colors.primary600}; \n `;break;case"error":s=`\n background: ${t.theme.colors.error};\n color: white;\n `}switch(e){case"dot":return`\n ${n}\n width: 8px;\n height: 8px;\n font-size: 0px;\n border-radius: 50%;\n ${s}\n `;case"numeric":return`\n ${n}\n width: max-content;\n border-radius: 32px;\n ${i}\n ${l}\n ${s}\n `}})(e.notificationType,e.notificationSize,e.hasIcon,e.notificationColor)}
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
${e=>e.hasIcon&&"\n svg {\n width: 40px;\n height: 40px;\n }\n "}
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
text-transform: uppercase;
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
${
|
|
115
|
+
${o.MediaQueries.mbDown} {
|
|
116
116
|
&[data-size='lg'] {
|
|
117
117
|
font-size: 16px;
|
|
118
118
|
}
|
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
box-shadow: 0 0 2px 2px
|
|
173
173
|
${e=>e.theme.colors.primary200};
|
|
174
174
|
}
|
|
175
|
-
`,
|
|
175
|
+
`,T=h.default.div`
|
|
176
176
|
padding: 12px 18px 12px 16px;
|
|
177
177
|
cursor: pointer;
|
|
178
178
|
&[data-dropdown-open] {
|
|
@@ -187,7 +187,7 @@
|
|
|
187
187
|
height: 16px;
|
|
188
188
|
width: 16px;
|
|
189
189
|
}
|
|
190
|
-
`,
|
|
190
|
+
`,y=h.default.ul`
|
|
191
191
|
position: absolute;
|
|
192
192
|
top: 100%;
|
|
193
193
|
right: 0;
|
|
@@ -243,7 +243,7 @@
|
|
|
243
243
|
grid-gap: var(--grid-gap);
|
|
244
244
|
align-items: var(--align-items);
|
|
245
245
|
|
|
246
|
-
${
|
|
246
|
+
${o.MediaQueries.tdUp} {
|
|
247
247
|
grid-template-columns: var(--columns-desktop);
|
|
248
248
|
}
|
|
249
249
|
|
|
@@ -366,12 +366,12 @@
|
|
|
366
366
|
input {
|
|
367
367
|
font-size: 16px;
|
|
368
368
|
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
369
|
-
${
|
|
369
|
+
${o.MediaQueries.mbDown} {
|
|
370
370
|
font-size: 22px;
|
|
371
371
|
line-height: 1.2;
|
|
372
372
|
}
|
|
373
373
|
|
|
374
|
-
${
|
|
374
|
+
${o.MediaQueries.mbUp} {
|
|
375
375
|
font-size: 26px;
|
|
376
376
|
line-height: 1.2;
|
|
377
377
|
}
|
|
@@ -380,12 +380,12 @@
|
|
|
380
380
|
&[data-size='md'] {
|
|
381
381
|
input {
|
|
382
382
|
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
383
|
-
${
|
|
383
|
+
${o.MediaQueries.mbDown} {
|
|
384
384
|
font-size: 14px;
|
|
385
385
|
line-height: 1.2;
|
|
386
386
|
}
|
|
387
387
|
|
|
388
|
-
${
|
|
388
|
+
${o.MediaQueries.mbUp} {
|
|
389
389
|
font-size: 16px;
|
|
390
390
|
line-height: 1.2;
|
|
391
391
|
}
|
|
@@ -394,12 +394,12 @@
|
|
|
394
394
|
&[data-size='sm'] {
|
|
395
395
|
input {
|
|
396
396
|
font-weight: ${e=>e.theme.sizes.fwRegular};
|
|
397
|
-
${
|
|
397
|
+
${o.MediaQueries.mbDown} {
|
|
398
398
|
font-size: 13px;
|
|
399
399
|
line-height: 1.5;
|
|
400
400
|
}
|
|
401
401
|
|
|
402
|
-
${
|
|
402
|
+
${o.MediaQueries.mbUp} {
|
|
403
403
|
font-size: 13px;
|
|
404
404
|
line-height: 1.5;
|
|
405
405
|
}
|
|
@@ -427,7 +427,7 @@
|
|
|
427
427
|
display: inline-flex;
|
|
428
428
|
cursor: default;
|
|
429
429
|
transform: translateY(-50%);
|
|
430
|
-
`,N=m.default.forwardRef(((e,t)=>{var{name:
|
|
430
|
+
`,N=m.default.forwardRef(((e,t)=>{var{name:o,errorMessage:i,autoComplete:n="off",defaultValue:s,actionIcon:d,displayIcon:c,isDeleteAction:p,onActionClick:u,label:h,placeholder:g,className:b,onChange:_,onKeyPress:x,isDisabled:f,CustomInput:E,size:v,style:w,autoFocus:T,type:y="text",isNumerousKeyboard:O=!1,onFocus:A,enterKeyHint:I,nativeOnChange:S}=e,L=r.__rest(e,["name","errorMessage","autoComplete","defaultValue","actionIcon","displayIcon","isDeleteAction","onActionClick","label","placeholder","className","onChange","onKeyPress","isDisabled","CustomInput","size","style","autoFocus","type","isNumerousKeyboard","onFocus","enterKeyHint","nativeOnChange"]);const[R,k]=a.useState(s);return m.default.createElement(D,{"data-size":v,className:b,"data-has-action-icon":!!d||void 0,"data-has-display-icon":!!c||void 0,"data-has-error":i&&i.length>0||void 0,style:w},h&&m.default.createElement(l.Label,{size:"label2",htmlFor:o,className:"inputLabel"},h),m.default.createElement("div",{style:{position:"relative"}},E||m.default.createElement("input",Object.assign({id:o,name:o,placeholder:g,onChange:null!=S?S:e=>{return t=e.target.value,k(t),void _(t);var t},onKeyPress:x,type:y,"aria-label":y,disabled:f,value:R,autoComplete:n,ref:t,autoFocus:T,inputMode:O||"number"===y?"numeric":y,pattern:O?"[0-9]*":".*",onFocus:A,enterKeyHint:I},L)),c&&m.default.createElement(G,{className:"displayIcon"},c),d&&m.default.createElement(P,{className:"actionIcon",onClick:()=>{var e;p&&(k(""),null===(e=t.current)||void 0===e||e.focus()),u&&u()}},d)),i&&i.length>0&&m.default.createElement(C,{className:"errorLabel"},i))}));N.displayName="PureInput";const M=h.default.div`
|
|
431
431
|
--padding-horizontal: 8px;
|
|
432
432
|
--pading-vertical: 2px;
|
|
433
433
|
display: flex;
|
|
@@ -446,7 +446,7 @@
|
|
|
446
446
|
${e=>e.tagIsLight?"\n color: var(--text-props-color, #000);\n ":`\n color: var(--text-props-color, ${t.theme.colors.white});\n `}
|
|
447
447
|
}
|
|
448
448
|
|
|
449
|
-
${e=>((e,
|
|
449
|
+
${e=>((e,o)=>{switch(e){case"yellow":return`\n background: ${o?t.theme.colors.yellow50:t.theme.colors.yellow600};\n p {\n color: var(\n --text-props-color,\n ${t.theme.colors.gray800}\n );\n }\n `;case"standard":return`\n background: ${t.theme.colors.white};\n border: 1px solid ${t.theme.colors.gray200};\n \n p {\n color: var(\n --text-props-color,\n ${t.theme.colors.gray800}\n );\n }\n \n &:hover {\n background: ${t.theme.colors.gray100};\n }\n `;case"red":return`\n background: ${o?t.theme.colors.red50:t.theme.colors.red500};\n `;case"green":return`\n background: ${o?t.theme.colors.green50:t.theme.colors.green500};\n `;case"blue":return`\n background: ${o?t.theme.colors.primary50:t.theme.colors.primaryBase};\n `;case"teal":return`\n background: ${o?t.theme.colors.teal100:t.theme.colors.teal600};\n `;case"pink":return`\n background: ${o?t.theme.colors.pink200:t.theme.colors.pink800};\n `;case"violet":return`\n background: ${o?t.theme.colors.violet100:t.theme.colors.violet500};\n `;case"grey":return`\n background: ${o?t.theme.colors.gray100:t.theme.colors.gray600};\n `}})(e.tagType,e.tagIsLight)}
|
|
450
450
|
|
|
451
451
|
${e=>e.tagIsSquared&&"sponsored"!==e.tagType&&"\n border-radius: 4px;\n "}
|
|
452
452
|
|
|
@@ -456,7 +456,7 @@
|
|
|
456
456
|
&:active {
|
|
457
457
|
background: ${e=>e.theme.colors.primary50};
|
|
458
458
|
}
|
|
459
|
-
`,U=(e,t)=>a.forwardRef(((
|
|
459
|
+
`,U=(e,t)=>a.forwardRef(((o,a)=>{var{className:i}=o,l=r.__rest(o,["className"]);return m.default.createElement(e,Object.assign({ref:a,className:`${t} ${i||""}`},l))})),B="24px",H="hhgcomp-toggle-icon",z=U(h.default.span`
|
|
460
460
|
position: relative;
|
|
461
461
|
display: block;
|
|
462
462
|
width: 40px;
|
|
@@ -524,7 +524,7 @@
|
|
|
524
524
|
cursor: not-allowed;
|
|
525
525
|
}
|
|
526
526
|
}
|
|
527
|
-
`,V=m.default.forwardRef((({height:e,placeholder:t,labelText:
|
|
527
|
+
`,V=m.default.forwardRef((({height:e,placeholder:t,labelText:o,labelColor:r,id:a,name:i,onChange:n,value:s,className:d,onKeyPress:c,disabled:p=!1},u)=>m.default.createElement(K,{className:d,style:{"--textarea-height":e||"116px"}},o&&m.default.createElement(l.Label,{size:"label2",style:{color:r||"#595959"},htmlFor:a},o),m.default.createElement("textarea",{name:i,ref:u,placeholder:t,id:a,onChange:e=>n&&n(e.target.value),onKeyPress:e=>c&&c(e),value:s,disabled:p})))),Y=h.default.div`
|
|
528
528
|
display: flex;
|
|
529
529
|
cursor: pointer;
|
|
530
530
|
|
|
@@ -605,12 +605,12 @@
|
|
|
605
605
|
width: calc(100% - 24px);
|
|
606
606
|
cursor: inherit;
|
|
607
607
|
|
|
608
|
-
${
|
|
608
|
+
${o.MediaQueries.mbDown} {
|
|
609
609
|
font-size: 14px;
|
|
610
610
|
line-height: 24px;
|
|
611
611
|
}
|
|
612
612
|
|
|
613
|
-
${
|
|
613
|
+
${o.MediaQueries.mbUp} {
|
|
614
614
|
font-size: 16px;
|
|
615
615
|
line-height: 22px;
|
|
616
616
|
}
|
|
@@ -683,7 +683,7 @@
|
|
|
683
683
|
align-items: center;
|
|
684
684
|
justify-content: space-between;
|
|
685
685
|
padding: 16px;
|
|
686
|
-
${
|
|
686
|
+
${o=>o.hasTitle?e.css`
|
|
687
687
|
border-bottom: 1px solid ${t.theme.colors.neutral100};
|
|
688
688
|
`:null}
|
|
689
689
|
}
|
|
@@ -692,16 +692,16 @@
|
|
|
692
692
|
margin-left: auto;
|
|
693
693
|
}
|
|
694
694
|
|
|
695
|
-
${t=>((t,
|
|
695
|
+
${t=>((t,r)=>{switch(t){case"top":return e.css`
|
|
696
696
|
top: 0;
|
|
697
697
|
width: 100%;
|
|
698
698
|
border-radius: 0px 0px 6px 6px;
|
|
699
|
-
${
|
|
700
|
-
animation: ${
|
|
699
|
+
${r?e.css`
|
|
700
|
+
animation: ${o.slideInDown} ${q} ease-in-out forwards;
|
|
701
701
|
`:null}
|
|
702
702
|
|
|
703
703
|
&.slideOut {
|
|
704
|
-
animation: ${
|
|
704
|
+
animation: ${o.slideOutUp} ${q} ease-in-out forwards;
|
|
705
705
|
}
|
|
706
706
|
`;case"right":return e.css`
|
|
707
707
|
right: 0;
|
|
@@ -709,23 +709,23 @@
|
|
|
709
709
|
min-width: 300px;
|
|
710
710
|
border-radius: 6px 0px 0px 6px;
|
|
711
711
|
|
|
712
|
-
${
|
|
713
|
-
animation: ${
|
|
712
|
+
${r?e.css`
|
|
713
|
+
animation: ${o.slideInRight} ${q} ease-in-out forwards;
|
|
714
714
|
`:null}
|
|
715
715
|
|
|
716
716
|
&.slideOut {
|
|
717
|
-
animation: ${
|
|
717
|
+
animation: ${o.slideOutRight} ${q} ease-in-out forwards;
|
|
718
718
|
}
|
|
719
719
|
`;case"bottom":return e.css`
|
|
720
720
|
bottom: 0;
|
|
721
721
|
width: 100%;
|
|
722
722
|
border-radius: 6px 6px 0px 0px;
|
|
723
|
-
${
|
|
724
|
-
animation: ${
|
|
723
|
+
${r?e.css`
|
|
724
|
+
animation: ${o.slideInUp} ${q} ease-in-out forwards;
|
|
725
725
|
`:null}
|
|
726
726
|
|
|
727
727
|
&.slideOut {
|
|
728
|
-
animation: ${
|
|
728
|
+
animation: ${o.slideOutDown} ${q} ease-in-out forwards;
|
|
729
729
|
}
|
|
730
730
|
`;case"left":return e.css`
|
|
731
731
|
left: 0;
|
|
@@ -733,12 +733,12 @@
|
|
|
733
733
|
min-width: 300px;
|
|
734
734
|
border-radius: 0px 6px 6px 0px;
|
|
735
735
|
|
|
736
|
-
${
|
|
737
|
-
animation: ${
|
|
736
|
+
${r?e.css`
|
|
737
|
+
animation: ${o.slideInLeft} ${q} ease-in-out forwards;
|
|
738
738
|
`:null}
|
|
739
739
|
|
|
740
740
|
&.slideOut {
|
|
741
|
-
animation: ${
|
|
741
|
+
animation: ${o.slideOutLeft} ${q} ease-in-out forwards;
|
|
742
742
|
}
|
|
743
743
|
`;default:return e.css`
|
|
744
744
|
left: 0;
|
|
@@ -746,12 +746,12 @@
|
|
|
746
746
|
min-width: 300px;
|
|
747
747
|
border-radius: 0px 6px 6px 0px;
|
|
748
748
|
|
|
749
|
-
${
|
|
750
|
-
animation: ${
|
|
749
|
+
${r?e.css`
|
|
750
|
+
animation: ${o.slideInUp} ${q} ease-in-out forwards;
|
|
751
751
|
`:null}
|
|
752
752
|
|
|
753
753
|
&.slideOut {
|
|
754
|
-
animation: ${
|
|
754
|
+
animation: ${o.slideOutDown} ${q} ease-in-out forwards;
|
|
755
755
|
}
|
|
756
756
|
`}})(t.placement,t.open)}
|
|
757
757
|
`,Z=h.default.div`
|
|
@@ -850,11 +850,11 @@
|
|
|
850
850
|
height: 40px;
|
|
851
851
|
}
|
|
852
852
|
}
|
|
853
|
-
`;var
|
|
853
|
+
`;var oe=i.createStyles((e=>({root:{display:"inline-block",flexShrink:0,padding:"2px 0.5rem",marginLeft:"4px",borderRadius:e.radius.xs,fontSize:"12px",fontWeight:400,lineHeight:"18px",'&[data-label-type="admin"]':{background:e.primaryColor[0],color:e.primaryColor[9]},'&[data-label-type="local admin"]':{background:e.primaryColor[8]},'&[data-label-type="ambassador"]':{background:e.colors.green[4]},'&[data-label-type="expert"]':{background:e.colors.yellow[6]},'&[data-label-type="moderator"]':{background:e.colors.red[0],color:e.colors.red[8]},'&[data-label-type="sponsor"]':{background:e.colors.teal[4]},'&[data-label-type="guide"]':{background:e.colors.teal[4]},'&[data-label-type="influencer"]':{background:e.colors.teal[4]}}})));const re=a.createContext({currentStep:0,setCurrentStep:()=>!1,setMaxStep:()=>!1,nextStep:()=>!1,prevStep:()=>!1});
|
|
854
854
|
/*!
|
|
855
855
|
* cookie
|
|
856
856
|
* Copyright(c) 2012-2014 Roman Shtylman
|
|
857
857
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
858
858
|
* MIT Licensed
|
|
859
859
|
*/
|
|
860
|
-
var ae=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");var r={},o=(t||{}).decode||se,a=0;for(;a<e.length;){var i=e.indexOf("=",a);if(-1===i)break;var n=e.indexOf(";",a);if(-1===n)n=e.length;else if(n<i){a=e.lastIndexOf(";",i-1)+1;continue}var l=e.slice(a,i).trim();if(void 0===r[l]){var s=e.slice(i+1,n).trim();34===s.charCodeAt(0)&&(s=s.slice(1,-1)),r[l]=ce(s,o)}a=n+1}return r},ie=function(e,t,r){var o=r||{},a=o.encode||de;if("function"!=typeof a)throw new TypeError("option encode is invalid");if(!le.test(e))throw new TypeError("argument name is invalid");var i=a(t);if(i&&!le.test(i))throw new TypeError("argument val is invalid");var n=e+"="+i;if(null!=o.maxAge){var l=o.maxAge-0;if(isNaN(l)||!isFinite(l))throw new TypeError("option maxAge is invalid");n+="; Max-Age="+Math.floor(l)}if(o.domain){if(!le.test(o.domain))throw new TypeError("option domain is invalid");n+="; Domain="+o.domain}if(o.path){if(!le.test(o.path))throw new TypeError("option path is invalid");n+="; Path="+o.path}if(o.expires){var s=o.expires;if(!function(e){return"[object Date]"===ne.call(e)||e instanceof Date}(s)||isNaN(s.valueOf()))throw new TypeError("option expires is invalid");n+="; Expires="+s.toUTCString()}o.httpOnly&&(n+="; HttpOnly");o.secure&&(n+="; Secure");if(o.priority){switch("string"==typeof o.priority?o.priority.toLowerCase():o.priority){case"low":n+="; Priority=Low";break;case"medium":n+="; Priority=Medium";break;case"high":n+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(o.sameSite){switch("string"==typeof o.sameSite?o.sameSite.toLowerCase():o.sameSite){case!0:n+="; SameSite=Strict";break;case"lax":n+="; SameSite=Lax";break;case"strict":n+="; SameSite=Strict";break;case"none":n+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return n},ne=Object.prototype.toString,le=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function se(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function de(e){return encodeURIComponent(e)}function ce(e,t){try{return t(e)}catch(t){return e}}var pe={parse:ae,serialize:ie};const ue={BASE_API_PATH:"/",PROFILE:"profile?website_url={website_url}",SEARCH_USER:"profile/search?website_url={website_url}&name={name}",FETCH_PREVIEW:"fetch/preview?website_url={website_url}",FETCH_POST_OR_TOPIC:"fetch/{slug}?website_url={website_url}&community_slug={communitySlug}",POST:{LIST:"post?website_url={website_url}&slug={slug}&pin={pin}&page={page}&community_id={communityId}&topic_id={topicId}&sort_by={sort}&id={id}",DETAIL_BY_ID_OR_SLUG:"post/{idSlug}?website_url={website_url}",CREATE:"post/create?website_url={website_url}",LIKE:"post/{id}/like?website_url={website_url}",DELETE:"post/{id}/delete?website_url={website_url}",REPORT:"post/{id}/report?website_url={website_url}",UPDATE:"post/{id}/update?website_url={website_url}",FOLLOW:"post/{id}/follow?website_url={website_url}",CREATE_ARTICLE_COMMENT:"article-comment/create?website_url={website_url}"},COMMENT:{LIST:"comment?website_url={website_url}&post_id={postId}&page={page}&sort_by={sort}&items_per_page={perPage}&_without_reply={withoutReply}",CREATE:"comment/create?website_url={website_url}",REPLY:"comment/reply?website_url={website_url}",DELETE:"comment/{id}/delete?website_url={website_url}",LIKE:"comment/{id}/like?website_url={website_url}",UNLIKE:"comment/{id}/unlike?website_url={website_url}",IMAGE_UPLOAD:"comment/image/upload?website_url={website_url}"},COMMUNITY:{LIST:"community?website_url={website_url}&page={page}",DETAIL_BY_ID_OR_SLUG:"community/{idSlug}?website_url={website_url}",JOIN:"community/join?website_url={website_url}",LEAVE:"community/leave?website_url={website_url}"},TOPIC:{LIST:"topic?website_url={website_url}&community_slug={communitySlug}&community_id={communityId}&page={page}",DETAIL_BY_ID_OR_SLUG:"topic/{idSlug}?website_url={website_url}&community_slug={communitySlug}&community_id={communityId}",HEALTH_TOOLS:"tools?topic_id={topicId}&website_url={website_url}",SUBOTS:"subots?topic_id={topicId}&website_url={website_url}",SUGGESTED_POSTS:"suggested-posts?topic_id={topicId}&website_url={website_url}&page={page}",JOIN:"topic/join?website_url={website_url}",LEAVE:"topic/leave?website_url={website_url}"},BOOKMARK:{LIST:"bookmark?user_id={userId}&website_url={website_url}",CREATE:"bookmark/create?website_url={website_url}",DELETE:"bookmark/delete?website_url={website_url}"},UPLOAD_IMAGE:"auth/comment/image/upload?website_url={website_url}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info",USER:{DETAIL:"profile/user/detail?website_url={website_url}&user_id={id}",COUNT_TABS:"profile/user/counting?website_url={website_url}&user_id={id}&total_post={post}&total_comment={comment}&total_community={community}&total_reply={reply}&total_question={question}",LIST_POST:"profile/user/posts?website_url={website_url}&user_id={id}&is_anonymous={isAnonymous}&paging=none",LIST_QUESTION_NEED_REPLY:"questions/no-reply?website_url={website_url}",LIST_QUESTION:"question/{id}?website_url={website_url}&is_reply={isReply}&is_question={isQuestion}&is_ignore={isIgnore}&group_by={groupBy}",SKIP_QUESTION:"questions/ignore?website_url={website_url}&question_id={id}",LIST_ANSWERS:"replied/{id}?website_url={website_url}&paging=1&items_per_page={pageSize}"},HEALTH_TOOL:{CREATE:"health-profile/{type}/create?website_url={website_url}",GET_STATUS:"health-profile/get-status-for-user?website_url={website_url}"}},he={locale:"vi-VN",env:{isMarryBaby:!1,togetherBasePath:"/community"},router:{basePath:"",asPath:"/"}},me=a.createContext({data:he,action:{pushNotifications:e=>e,sanitizeFunction:e=>e}});exports.GlobalData=he;const ge="DD/MM/YYYY",be="/images/avatar.jpg",_e="/images/default-image.jpg",xe={DUE_DATE:"DUE_DATE",BMI:"BMI",BMR:"BMR",OVULATION:"OVULATION",IFRAME:"IFRAME",PWG:"PWG",THR:"THR",BGC:"BGC"},fe={"id-ID":{"kalkulator-bmi":xe.BMI,"kebutuhan-kalori":xe.BMR,"kalkulator-hari-perkiraan-lahir":xe.DUE_DATE,"kalkulator-masa-subur-2":xe.OVULATION,"kalkulator-kenaikan-berat-badan-ibu-hamil":xe.PWG,"kalkulator-detak-jantung-saat-olahraga":xe.THR},"ms-MY":{"kalkulator-bmi":xe.BMI,"kalkulator-bmr":xe.BMR,"kalkulator-tarikh-bersalin":xe.DUE_DATE,"kalkulator-kesuburan":xe.OVULATION,"kalkulator-tambah-berat-badan-hamil":xe.PWG,"target-heart-rate-calculator":xe.THR},"vi-VN":{"cach-tinh-chi-so-bmi":xe.BMI,"tinh-chi-so-bmr":xe.BMR,"cong-cu-tinh-ngay-du-sinh":xe.DUE_DATE,"tinh-ngay-rung-trung":xe.OVULATION,"cong-cu-tinh-can-nang-khi-mang-thai":xe.PWG,"cong-cu-do-nhip-tim":xe.THR},"zh-TW":{"bmi-calculator":xe.BMI,"bmr-calculator":xe.BMR,"due-date-calculator":xe.DUE_DATE,"ovulation-calculator":xe.OVULATION,"pregnancy-weight-gain-calculator":xe.PWG,"target-heart-rate-calculator":xe.THR},"en-PH":{"bmi-calculator":xe.BMI,"bmr-calculator":xe.BMR,"due-date-calculator":xe.DUE_DATE,"ovulation-calculator":xe.OVULATION,"pregnancy-weight-gain-calculator":xe.PWG,"target-heart-rate-calculator":xe.THR},"th-TH":{"เครื่องคำนวณหา-ค่าดัชนี":xe.BMI,"เครื่องคำนวณอัตราการเผาผลาญพลังงาน-bmr":xe.BMR,"เครื่องมือคำนวณกำหนดคลอด":xe.DUE_DATE,"เครื่องคำนวณการตกไข่-ovulation-calculat":xe.OVULATION,"เครื่องคำนวณน้ำหนักตัว":xe.PWG,"เครื่องวัดอัตราการเต้น":xe.THR},"hi-IN":{"bmi-calculator-en":xe.BMI,"bmi-calculator":xe.BMI,"bmr-calculator":xe.BMR,"delivery-date-calculator":xe.DUE_DATE,"ovulation-calculator":xe.OVULATION,"pregnancy-weight-gain-calculator":xe.PWG,"target-heart-rate-calculator":xe.THR},"km-KH":{"គណនា-bmi":xe.BMI,"គណនា-bmr":xe.BMR,"គណនាថ្ងៃសម្រាលកូន":xe.DUE_DATE,"គណនាថ្ងៃមេជីវិតញីទុំធ្លាក់":xe.OVULATION,"គណនាទម្ងន់ស្ត្រីពពោះ":xe.PWG,"គណនារកចង្វាក់បេះដូងល្អ":xe.THR},"my-MM":{"bmi-calculator":xe.BMI,"bmr-calculator":xe.BMR,"due-date-calendar":xe.DUE_DATE,"ovulation-calculator":xe.OVULATION,"pregnaancy-weight-calculator":xe.PWG,"target-heartrate":xe.THR,"pregnancy-weight-calculator":xe.PWG,"target-heart-rate":xe.THR}},Ee="hhg_user_token",ve="together_admin_token",we={adBlock:48,articleAdContainer:47,headerContainerHome:99,headerContainerPopup:200,headerContainerPopupSUbLevel:300,menuSearchInputPopup:5,menuSearchInputDisplayIcon:6,menuSearchPopup:200},ye={report_scam:{label:"morePopover.report.scam",reportReasonText:"morePopover.report.scam"},report_sex:{label:"morePopover.report.sex",reportReasonText:"morePopover.report.sex"},report_offensive:{label:"morePopover.report.offensive",reportReasonText:"morePopover.report.offensive"},report_violence:{label:"morePopover.report.violence",reportReasonText:"morePopover.report.violence"},report_prohibited:{label:"morePopover.report.prohibited",reportReasonText:"morePopover.report.prohibited"},report_spam:{label:"morePopover.report.spam",reportReasonText:"morePopover.report.spam"},report_falseNews:{label:"morePopover.report.falseNews",reportReasonText:"morePopover.report.falseNews"},report_other:{label:"morePopover.report.other",reportReasonText:"morePopover.report.other"}},Te={"en-PH":{ALL:"all",HOSPITAL:"hospital",SERVICE:"service",DOCTOR:"doctor",SEARCH:"search",SPECIALTIES:"specialties",CURRENT:"current-location"},"vi-VN":{ALL:"tat-ca",HOSPITAL:"benh-vien",SERVICE:"dich-vu",DOCTOR:"bac-si",SEARCH:"tim-kiem",SPECIALTIES:"chuyen-khoa",CURRENT:"vi-tri-hien-tai"},"id-ID":{ALL:"semua",HOSPITAL:"rumah-sakit",SERVICE:"layanan",DOCTOR:"dokter",SEARCH:"cari",SPECIALTIES:"spesialisasi",CURRENT:"posisi-saya-saat-ini"}};var Oe=Object.freeze({__proto__:null,POST_DATE_FORMAT:"dd/MM/yyyy",NORMAL_DATE_FORMAT:"YYYY-MM-DD",DUE_DATE_FORMAT:ge,DEFAULT_AVATAR_IMG:be,DEFAULT_RESULT_IMG:"/images/default.png",DEFAULT_IMG:_e,BMI_LEVELS:["underweight","healthy","overweight","obese_level_1","obese_level_2"],BMR_LEVELS:["low","normal","high"],CORAL_TOKEN_COOKE:"coral_together_user_token",HEALTH_TOOL_TYPE:xe,LOCALE_HEALTH_TOOLS:fe,BEARER_TOKEN_COOKIE:Ee,TOGETHER_DISCLAIMER_COOKIE:"hhg_together_disclaimer",BEARER_ADMIN_TOKEN_COOKIE:ve,Z_INDEX:we,BmrActiveLevels:[{value:"sedentary",icon:"bmr-sedentary",name:"bmr.activeLevel.sedentary",description:"bmr.activeLevel.sedentary.description"},{value:"lightly-active",icon:"bmr-light",name:"bmr.activeLevel.lightlyActive",description:"bmr.activeLevel.lightlyActive.description"},{value:"moderately-active",icon:"bmr-moderately",name:"bmr.activeLevel.moderatelyActive",description:"bmr.activeLevel.moderatelyActive.description"},{value:"intensely-active",icon:"bmr-intensively",name:"bmr.activeLevel.intenselyActive",description:"bmr.activeLevel.intenselyActive.description"},{value:"extremely-active",icon:"bmr-extremely",name:"bmr.activeLevel.extremelyActive",description:"bmr.activeLevel.extremelyActive.description"}],LEAD_CAMPAIGN_CODE:"lmoct7xfr5sv4fv",LEAD_TOKEN_COOKIE:"hhg-id",GA_TOKEN_COOKIE:"_ga",GOOGLE_CALENDAR_AUTH_CLIENT_ID:"1038242799566-esoq4ij201ve5qfp266nbca44scpo3c6.apps.googleusercontent.com",FIND_CARE_IFRAME_URL:"https://www.appsheet.com/start/4ba34ebe-3cb6-4c16-8dd4-d074025a5bb6#appName=DependentDropdowns-2711103&group=%5B%5D&page=card&sort=%5B%5D&table=Menu&view=Menu",REPORT_REASON_MAP:ye,MB_SOCIAL_LINKS:{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/marry.baby.vn",INSTAGRAM:"https://www.instagram.com/marrybaby.vn/",TWITTER:"",YOUTUBE:"https://www.youtube.com/channel/UCeZybTkY1VzJ3N7LvPGdKbg",ZALO:"http://zalo.me/806483414530291942"},INTERNAL_ROLES:["admin","moderator","local-admin"],EXTERNAL_ROLES:["ambassador","expert","sponsor","guide","influencer"],INTERNAL_PROFILE_ROLES:["moderator","local-admin"],EXTERNAL_PROFILE_ROLES:["expert","ambassador","sponsor"],RoleDataMap:{moderator:{text:"Moderator",fid:"cardAuthor.moderator",background:"#fe921d"},admin:{text:"Admin",fid:"cardAuthor.admin",background:"#2b62cd"},"local-admin":{text:"Local admin",fid:"cardAuthor.localAdmin",background:"#2b62cd"},expert:{text:"Expert",fid:"cardAuthor.expert",background:"#ff6f4d"},sponsor:{text:"Sponsor",fid:"cardAuthor.sponsor",background:"#00c7e6"},ambassador:{text:"Ambassador",fid:"cardAuthor.ambassador",background:"#00CB8A"}},MAX_IMAGE_UPLOADS:20,LOCALISED_SLUGS:Te});const Ae={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com"},Ie={"vi-VN":"marrybaby.vn"},Se=process.env.NEXT_PUBLIC_DEPLOY_LOCALE||"vi-VN",Le=e=>{const{env:{isMarryBaby:t}}=exports.GlobalData;return`https://${t?Ie[e]:Ae[e]}`},Re=e=>{const t=e.indexOf("?");return t>=0?e.slice(0,t+1)+e.slice(t+1).replace(/[^=&]+=(&|$)/g,"").replace(/&$/,""):e},ke=(e,t,r,o)=>{let a="";r&&(a=Object.keys(r).map((e=>e+"="+r[e])).join("&"));const{togetherBaseApiUrl:i=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};let n=_.default(e,Object.assign(Object.assign({},(null==t?void 0:t._locale)?{website_url:Le(String(t._locale))}:{}),t));n+=`${n.includes("?")?"&":"?"}${a}`;return(o||i)+"api/v1/"+Re(n)},$e=e=>((null==e?void 0:e.data)&&(e.data instanceof FormData?e.body=e.data:"object"==typeof e.data&&(e.body=JSON.stringify(e.data)),delete e.data),e),De=(e,t,r,a=!1)=>o.__awaiter(void 0,void 0,void 0,(function*(){var o,i,n,l;try{const o=yield fetch(a?e:(l=e,encodeURI(l).replace(/%5B/g,"[").replace(/%5D/g,"]")),Object.assign(Object.assign({method:t},$e(r)),{headers:Object.assign({},null==r?void 0:r.headers)})).then((e=>e.json()));if(o)return o}catch(t){return console.log(t),console.log({url:e,status:null===(o=null==t?void 0:t.response)||void 0===o?void 0:o.status,statusText:null===(i=null==t?void 0:t.response)||void 0===i?void 0:i.statusText}),(null===(n=null==t?void 0:t.response)||void 0===n?void 0:n.data)||null}return null})),Ce=(e,t,r,a)=>o.__awaiter(void 0,void 0,void 0,(function*(){try{const o=pe.parse(a||""),i=o[Ee]||s.getCookie(Ee);if(i&&i.length){const o=yield fetch(e,Object.assign(Object.assign({method:t},$e(r)),{headers:Object.assign({Authorization:"Bearer "+i},null==r?void 0:r.headers)})).then((e=>e.json()));if(o)return o}}catch(e){return null}return null}));function Pe(e,t,r){const o=new RegExp("([?&])"+t+"=.*?(&|$)","i"),a=-1!==e.indexOf("?")?"&":"?";return e.match(o)?e.replace(o,"$1"+t+"="+r+"$2"):e+a+t+"="+r}const Ge=(e,t,r,o)=>r&&t?`${r}-${t}`:`${b.default(e||"",{lower:!0,locale:o||Se})}-${t}`;var Ne=i.createStyles((e=>({root:{},wrapper:{gap:i.rem(8)},groupErr:{fontSize:i.rem(14)},itemRoot:{flexGrow:1,width:"50%",'&[data-checked="true"]':{".mantine-Radio-label":{borderColor:e.fn.primaryColor()}}},itemLabelWrapper:{padding:0,width:"100%"},itemLabel:{position:"relative",padding:`${i.rem(6)} ${i.rem(16)}`,border:`1px solid ${e.colors.gray[2]}`,borderRadius:i.rem(4),cursor:"pointer",'&[data-disabled="true"]':{background:e.colors.gray[1],color:`${e.colors.gray[4]} !important`,img:{opacity:.5}},img:{height:i.rem(26)}},itemInner:{display:"none"}})));exports.ADMIN_PATHS={SEARCH_USER:"admin/profile/search?website_url={website_url}&name={name}",COMMENT:{IMAGE_UPLOAD:"admin/comment/image/upload?website_url={website_url}"}},exports.BEARER_TOKEN_COOKIE=Ee,exports.CARE_PATHS={GET_DOCTOR_INFO:"api/doctors/{doctorId}?site={website_url}",GET_HOSPITAL_INFO:"api/hospital/branch/{hospital_branch_id}?site={website_url}"},exports.DEFAULT_AVATAR_IMG=be,exports.DEFAULT_IMG=_e,exports.DISCOVER_PATHS={BASE_API_PATH:"/",GET_SEARCH_ARTICLES:"search?s={keyword}&page={page}",GET_ALL_CATEGORIES:"categories?type=all",GET_HOMEPAGE_POSTS:"home/trending-post?type={type}",GET_HOMEPAGE_LATEST_POSTS:"articles?page=1&_islatest=1",GET_ARTICLE_DETAIL:"article/{slug}?skip_ids={skipIds}&_isrelated={isRelated}",GET_CATEGORY_DETAIL:"category/{slug}",GET_CATEGORY_OR_ARTICLE_DETAIL:"fetch/{fullSlug}",GET_PREVIEW_ARTICLE:"fetch/{fullSlug}?preview_nonce={nonce}&preview=true",GET_ARTICLE_OF_CATEGORY:"articles?category_id={categoryId}&page={currentPage}",GET_PAGE_STATIC:"page/{slug}",GET_ALL_HEALTH_TOOLS:"healthtools",GET_ALL_MARRYBABY_HEALTH_TOOLS:"health-tools",GET_HEALTH_TOOLS_BY_CATEGORY:"healthtools?_hasgroup=1",GET_AUTHOR:"author/{slug}",GET_ALL_EXPERTS:"experts",GET_ALL_EXPERTS_PAGING:"experts?page={page}",GET_EXPERT:"expert/{slug}",GET_EXPERT_POST:"expert/article?page={page}",POST_ARTICLE_FEEDBACK:"article/feedback/{id}",GET_AZ_DRUGS:"category/a-z/{category}",GET_HOMEPAGE_MEDICAL_REVIEWED:"home/medical-reviewed",GET_ARTICLES_BY_IDS:"articles?ids={ids}",GET_ARTICLE_OF_CATEGORY_NO_EXPLAINERS:"articles?category_id={categoryId}&page={currentPage}&skip_ids={ids}",GET_EXPERT_OF_CATEGORY:"category/expert/?id={id}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info",GET_DUE_DATE_ALL_WEEKS:"health-tools/due-date-calculator/all",GET_DUE_DATE_SUGGESTED_ARTICLES:"health-tools/due-date-calculator/result?from_week={from}&to_week={to}",GET_PROFILE:"user/profile",GET_ADMIN_PROFILE:"GET_ADMIN_PROFILE",GET_FEATURE:"feature",POST_NEW_FEATURE:"feature/update",CREATE_BOOKMARK:"bookmark/create",DELETE_BOOKMARK:"bookmark/delete",DELETE_ALL_BOOKMARK:"bookmark/delete-all",GET_ALL_BOOKMARK:"bookmark",SSO_USER_PROFILE:"user",SSO_USER_BOOKMARKS:"user/bookmarks",SSO_USER_PASSWORD:"user/settings/password",SSO_USER_EMAIL:"user/settings/update-email",SSO_CLOSE_ACCOUNT:"user/settings/close-account",SSO_HELP:"user/settings/help",GET_HEALTH_TOOL_OVULATION_INFO:"health-tools/ovulation-calculator/info",GET_HEALTH_TOOL_OVULATION_SUGGESTED_ARTICLES:"health-tools/ovulation-calculator/result?method={method}",GET_HEALTH_TOOL_BMI_INFO:"health-tools/bmi-calculator/info",GET_HEALTH_TOOL_BMI_RESULT:"health-tools/bmi-calculator/result?gender={gender}&bmi={bmi}&age={age}",GET_HEALTH_TOOL_BMR_INFO:"health-tools/bmr-calculator/info",GET_HEALTH_TOOL_BMR_RESULT:"health-tools/bmr-calculator/result?kcals={kcals}&gender={gender}&age={age}",GET_HEALTH_TOOL_PWG_INFO:"health-tools/preweight-gain-calculator/info",GET_HEALTH_TOOL_THR_INFO:"health-tools/target-heart-rate/info",GET_HEALTH_TOOL_BABY_GROWTH_INFO:"health-tools/baby-growth-tracking/info",POST_UPDATE_LOCATION:"tracking/geo/",GET_SIDIS_DUE_DATE:"frontend/tools/due_date",GET_SIDIS_OVULATION:"frontend/tools/ovulation",GET_SIDIS_BMI:"frontend/tools/bmi",GET_SIDIS_BMR:"frontend/tools/bmr",POST_LOGOUT:"user/logout",OVULATION_CREATE_EVENT:"ovulation/event?method={method}&day={day}&cycle={cycle}&period={period}&token={token}&user_id={user_id}",GET_ALL_SPOTLIGHT:"spotlights?per_page={perPage}&order_by={orderBy}",SSO_UPDATE_FIRST_TIME_BOOKMARK:"bookmark/update-first-time",POST_COMMENT_NOTIFICATION:"comment/notification",GET_ABOUT_US_DATA:"about",POST_LEAD_IMPRESSION:"campaign/{campaignCode}/impression",POST_LEAD_POPUP_EXIT:"campaign/{campaignCode}/popup_exit",POST_LEAD_LEAD:"campaign/{campaignCode}/lead",POST_SSO_VERIFY_TOKEN:"verify-id-token",GET_LANDING_PAGE_FIRST_NODE:"landing_page/bot",GET_LANDING_PAGE_NEXT_NODE:"landing_page/messages",POST_LANDING_PAGE_IMPRESSION:"landing_page/impressions",POST_LANDING_PAGE_CLICK:"landing_page/clicks",FETCH_URL_DATA:"preview",GET_SPOTLIGHT_LANDING:"spotlight/{slug}",GET_FOOTER_INFO:"footer",CHECK_SSO_EMAIL:"member/check-email",GET_HOMEPAGE_SITEWIDE_BANNER:"home/sitewide-banner",GET_DYNAMIC_FOOTER:"menu/footer",GET_EXPERTS:"experts?page={page}&number={perPage}&s={search}",GET_EXPERT_BY_ID:"expert/{id}"},exports.DUE_DATE_FORMAT=ge,exports.DefaultComponentGlobalContextData=he,exports.HEALTH_TOOL_TYPE=xe,exports.Heading=e=>{var t,{as:r,tag:a,className:i,children:n,title:l,color:s,style:d,fontWeight:c,dataEventCategory:p,dataEventAction:u,dataEventLabel:h}=e,g=o.__rest(e,["as","tag","className","children","title","color","style","fontWeight","dataEventCategory","dataEventAction","dataEventLabel"]);const b=r||a,{theme:_}=L(void 0,{name:"Heading"});return m.default.createElement(b,Object.assign({title:l,style:Object.assign({"--custom-heading-color":s||("mb"===(null===(t=null==_?void 0:_.other)||void 0===t?void 0:t.template)?_.colors.gray[9]:_.colors.gray[8])},d),"data-tag":a,"data-font-weight":c||void 0,"data-event-category":p,"data-event-action":u,"data-event-label":h,className:`${S} ${i||""}`},g),n)},exports.MAX_IMAGE_UPLOADS=20,exports.PATHS=ue,exports.PureInput=N,exports.REPORT_REASON_MAP=ye,exports.StepRenderer=({children:e,onStepChange:t})=>{const[r,o]=a.useState(0),[i,n]=a.useState(0),l=m.default.Children.count(e);a.useEffect((()=>{n(l-1)}),[l]),a.useEffect((()=>{null==t||t(r)}),[r]);return m.default.createElement(oe.Provider,{value:{currentStep:r,setCurrentStep:o,setMaxStep:n,nextStep:()=>r+1<=i&&o(r+1),prevStep:()=>r-1>=0&&o(r-1)}},g.default(e).map(((e,t)=>{const o=t===r;return m.default.createElement(a.Fragment,{key:t},m.default.isValidElement(e)?e.props.alwaysRender||o?m.default.cloneElement(e,{isActive:t===r,stepIndex:t}):null:o?e:null)})))},exports.StepRendererContext=oe,exports.StyledAvatar=x,exports.StyledBackdrop=J,exports.StyledBadge=f,exports.StyledBorderHeading=E,exports.StyledCheckbox=Y,exports.StyledDivider=v,exports.StyledDrawer=X,exports.StyledDrawerContent=Z,exports.StyledDrawerPanel=Q,exports.StyledDropdown=w,exports.StyledDropdownList=T,exports.StyledDropdownName=y,exports.StyledDropdownOption=O,exports.StyledGrid=I,exports.StyledIcon=A,exports.StyledPageBlock=k,exports.StyledPagination=R,exports.StyledPaginationBlock=$,exports.StyledRadioImageGroup=ee,exports.StyledRadioImageItem=te,exports.StyledRateStars=W,exports.StyledTag=M,exports.StyledToggle=F,exports.StyledToggleIcon=z,exports.StyledToggleLabel=j,exports.TextArea=V,exports.TogetherComponentGlobalContext=me,exports.TogetherComponentGlobalContextProvider=({locale:e="vi-VN",children:t,userInfo:r,router:o,env:i={isMarryBaby:!1,togetherBasePath:"/community"},sanitizeFunction:n=(e=>e),pushNotifications:l=(()=>!1)})=>{const[s,d]=a.useState();return exports.GlobalData={userInfo:r,locale:e,togetherUserId:s,router:o,env:i},a.useEffect((()=>{(null==r?void 0:r.id)&&Ce(ke(ue.PROFILE,{_locale:e}),"GET").then((e=>{var t;d(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.id)}))}),[null==r?void 0:r.id]),m.default.createElement(me.Provider,{value:{data:{userInfo:r,locale:e,togetherUserId:s,router:o,env:i},action:{pushNotifications:l,sanitizeFunction:n}}},t)},exports.Z_INDEX=we,exports.callApi=De,exports.callApiWithAdminAuth=(e,t,r,a)=>o.__awaiter(void 0,void 0,void 0,(function*(){try{const o=pe.parse(a||""),i=o[ve]||s.getCookie(ve);if(i&&i.length){const o=yield fetch(e,Object.assign(Object.assign({method:t},$e(r)),{headers:Object.assign({Authorization:"Bearer "+i},null==r?void 0:r.headers)})).then((e=>e.json()));if(o)return o}}catch(e){return null}return null})),exports.callApiWithAuth=Ce,exports.callApiWithOptionalAuth=(e,t="GET",r,a)=>o.__awaiter(void 0,void 0,void 0,(function*(){var o,i,n,l,d,c;try{const l="string"==typeof e?e:e.url,d="string"==typeof e?e:e.backupUrl,c=pe.parse(a||""),p=c[Ee]||s.getCookie(Ee);if(!p||!p.length)return De(d||l,t,r);try{const e=yield fetch(l,Object.assign(Object.assign({method:t},$e(r)),{headers:Object.assign({Authorization:"Bearer "+p},null==r?void 0:r.headers)})).then((e=>e.json()));if(null===(o=null==e?void 0:e.messages)||void 0===o?void 0:o.find((e=>"Unauthenticated"===(null==e?void 0:e.toLowerCase()))))return De(d||l,t,r);if(e)return e}catch(e){return console.log({status:null===(i=null==e?void 0:e.response)||void 0===i?void 0:i.status,statusText:null===(n=null==e?void 0:e.response)||void 0===n?void 0:n.statusText}),De(d||l,t,r)}}catch(e){return console.log({status:null===(l=null==e?void 0:e.response)||void 0===l?void 0:l.status,statusText:null===(d=null==e?void 0:e.response)||void 0===d?void 0:d.statusText}),(null===(c=null==e?void 0:e.response)||void 0===c?void 0:c.data)||null}return null})),exports.constants=Oe,exports.domainLocales=Ae,exports.domainLocalesMarryBaby=Ie,exports.getApiPath=ke,exports.getCareDoctorUrl=({name:e,id:t,locale:r})=>{var o;return`/care/${null===(o=Te[r||"vi-VN"])||void 0===o?void 0:o.DOCTOR}/${Ge(e,t)}`},exports.getCareHospitalUrl=({name:e,id:t,slug:r,locale:o})=>{var a;return`/care/${null===(a=Te[o||"vi-VN"])||void 0===a?void 0:a.HOSPITAL}/${Ge(e,t,r)}`},exports.getCarePath=(e,t)=>{const{careBaseApiUrl:r=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};return(r||"https://service-health-care.hellohealthgroup.com/")+Re(_.default(e,Object.assign({},t)))},exports.getCurrentBaseUrl=e=>{const{env:{isMarryBaby:t}}=exports.GlobalData;if("undefined"!=typeof window)return window.location.origin;const r="staging"===process.env.NEXT_PUBLIC_DEPLOY_ENV;return"development"===process.env.NEXT_PUBLIC_DEPLOY_ENV?"http://localhost:3000":`https://${r?t?"fe.":"discover.":t?"www.":""}${Ae[e]}`},exports.getDefaultClassWrapper=U,exports.getDiscoverApiPath=(e,t,r)=>{const{discoverBaseApiUrl:o="",discoverBaseProdApiUrl:a=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};return(!p.isProduction&&r?a:o)+"wp-json/api/"+Re(_.default(e,Object.assign({},t)))},exports.getMarryBabyApiPath=(e,t,r)=>{const{marryBabyApiUrl:o="",marryBabyProdApiUrl:a=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};return(r&&!p.isProduction?a:o)+"wp-json/api/"+Re(_.default(e,Object.assign({},t)))},exports.getPremiumApiPath=(e,t)=>{const{premiumBaseApiUrl:r=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};return(r||"https://premium-content-stag.hellohealthgroup.com/")+Re(_.default(e,Object.assign({},t)))},exports.getSsoApiPath=(e,t)=>{const{publicSSO:r=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};return(r||"https://staging-id.hellobacsi.com/")+"api/"+Re(_.default(e,Object.assign({},t)))},exports.getUrlToSignUp=(e,t,r="/community")=>{const o=e||("undefined"!=typeof window?window.location.href:"/");let a="undefined"!=typeof window?window.location.origin:"";a||e&&(e.startsWith("http://")||e.startsWith("https://"))&&(a=e.split("/").slice(0,3).join("/"));return((e,t)=>{const{publicSSO:r}=exports.GlobalData.env,o=e||window.location.href;return t&&Object.keys(t).map((e=>{Pe(o,e,t[e])})),Pe(o,"source","communities"),r?`${r}?returnUrl=${encodeURIComponent(o.toString())}`:o})(`${a}${r}/on-boarding?return=${encodeURIComponent(o)}`,t)},exports.getWebsiteUrlApi=Le,exports.useStyles=Ne,exports.useStyles$1=re;
|
|
860
|
+
var ae=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");var o={},r=(t||{}).decode||se,a=0;for(;a<e.length;){var i=e.indexOf("=",a);if(-1===i)break;var l=e.indexOf(";",a);if(-1===l)l=e.length;else if(l<i){a=e.lastIndexOf(";",i-1)+1;continue}var n=e.slice(a,i).trim();if(void 0===o[n]){var s=e.slice(i+1,l).trim();34===s.charCodeAt(0)&&(s=s.slice(1,-1)),o[n]=ce(s,r)}a=l+1}return o},ie=function(e,t,o){var r=o||{},a=r.encode||de;if("function"!=typeof a)throw new TypeError("option encode is invalid");if(!ne.test(e))throw new TypeError("argument name is invalid");var i=a(t);if(i&&!ne.test(i))throw new TypeError("argument val is invalid");var l=e+"="+i;if(null!=r.maxAge){var n=r.maxAge-0;if(isNaN(n)||!isFinite(n))throw new TypeError("option maxAge is invalid");l+="; Max-Age="+Math.floor(n)}if(r.domain){if(!ne.test(r.domain))throw new TypeError("option domain is invalid");l+="; Domain="+r.domain}if(r.path){if(!ne.test(r.path))throw new TypeError("option path is invalid");l+="; Path="+r.path}if(r.expires){var s=r.expires;if(!function(e){return"[object Date]"===le.call(e)||e instanceof Date}(s)||isNaN(s.valueOf()))throw new TypeError("option expires is invalid");l+="; Expires="+s.toUTCString()}r.httpOnly&&(l+="; HttpOnly");r.secure&&(l+="; Secure");if(r.priority){switch("string"==typeof r.priority?r.priority.toLowerCase():r.priority){case"low":l+="; Priority=Low";break;case"medium":l+="; Priority=Medium";break;case"high":l+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(r.sameSite){switch("string"==typeof r.sameSite?r.sameSite.toLowerCase():r.sameSite){case!0:l+="; SameSite=Strict";break;case"lax":l+="; SameSite=Lax";break;case"strict":l+="; SameSite=Strict";break;case"none":l+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return l},le=Object.prototype.toString,ne=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function se(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function de(e){return encodeURIComponent(e)}function ce(e,t){try{return t(e)}catch(t){return e}}var pe={parse:ae,serialize:ie};const ue={BASE_API_PATH:"/",PROFILE:"profile?website_url={website_url}",SEARCH_USER:"profile/search?website_url={website_url}&name={name}",FETCH_PREVIEW:"fetch/preview?website_url={website_url}",FETCH_POST_OR_TOPIC:"fetch/{slug}?website_url={website_url}&community_slug={communitySlug}",POST:{LIST:"post?website_url={website_url}&slug={slug}&pin={pin}&page={page}&community_id={communityId}&topic_id={topicId}&sort_by={sort}&id={id}",DETAIL_BY_ID_OR_SLUG:"post/{idSlug}?website_url={website_url}",CREATE:"post/create?website_url={website_url}",LIKE:"post/{id}/like?website_url={website_url}",DELETE:"post/{id}/delete?website_url={website_url}",REPORT:"post/{id}/report?website_url={website_url}",UPDATE:"post/{id}/update?website_url={website_url}",FOLLOW:"post/{id}/follow?website_url={website_url}",CREATE_ARTICLE_COMMENT:"article-comment/create?website_url={website_url}"},COMMENT:{LIST:"comment?website_url={website_url}&post_id={postId}&page={page}&sort_by={sort}&items_per_page={perPage}&_without_reply={withoutReply}",CREATE:"comment/create?website_url={website_url}",REPLY:"comment/reply?website_url={website_url}",DELETE:"comment/{id}/delete?website_url={website_url}",LIKE:"comment/{id}/like?website_url={website_url}",UNLIKE:"comment/{id}/unlike?website_url={website_url}",IMAGE_UPLOAD:"comment/image/upload?website_url={website_url}"},COMMUNITY:{LIST:"community?website_url={website_url}&page={page}",DETAIL_BY_ID_OR_SLUG:"community/{idSlug}?website_url={website_url}",JOIN:"community/join?website_url={website_url}",LEAVE:"community/leave?website_url={website_url}"},TOPIC:{LIST:"topic?website_url={website_url}&community_slug={communitySlug}&community_id={communityId}&page={page}",DETAIL_BY_ID_OR_SLUG:"topic/{idSlug}?website_url={website_url}&community_slug={communitySlug}&community_id={communityId}",HEALTH_TOOLS:"tools?topic_id={topicId}&website_url={website_url}",SUBOTS:"subots?topic_id={topicId}&website_url={website_url}",SUGGESTED_POSTS:"suggested-posts?topic_id={topicId}&website_url={website_url}&page={page}",JOIN:"topic/join?website_url={website_url}",LEAVE:"topic/leave?website_url={website_url}"},BOOKMARK:{LIST:"bookmark?user_id={userId}&website_url={website_url}",CREATE:"bookmark/create?website_url={website_url}",DELETE:"bookmark/delete?website_url={website_url}"},UPLOAD_IMAGE:"auth/comment/image/upload?website_url={website_url}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info",USER:{DETAIL:"profile/user/detail?website_url={website_url}&user_id={id}",COUNT_TABS:"profile/user/counting?website_url={website_url}&user_id={id}&total_post={post}&total_comment={comment}&total_community={community}&total_reply={reply}&total_question={question}",LIST_POST:"profile/user/posts?website_url={website_url}&user_id={id}&is_anonymous={isAnonymous}&paging=none",LIST_QUESTION_NEED_REPLY:"questions/no-reply?website_url={website_url}",LIST_QUESTION:"question/{id}?website_url={website_url}&is_reply={isReply}&is_question={isQuestion}&is_ignore={isIgnore}&group_by={groupBy}",SKIP_QUESTION:"questions/ignore?website_url={website_url}&question_id={id}",LIST_ANSWERS:"replied/{id}?website_url={website_url}&paging=1&items_per_page={pageSize}"},HEALTH_TOOL:{CREATE:"health-profile/{type}/create?website_url={website_url}",GET_STATUS:"health-profile/get-status-for-user?website_url={website_url}"}},he={locale:"vi-VN",env:{isMarryBaby:!1,togetherBasePath:"/community"},router:{basePath:"",asPath:"/"}},me=a.createContext({data:he,action:{pushNotifications:e=>e,sanitizeFunction:e=>e},formatMessage:()=>null});exports.GlobalData=he;const ge="DD/MM/YYYY",be="/images/avatar.jpg",_e="/images/default-image.jpg",xe={DUE_DATE:"DUE_DATE",BMI:"BMI",BMR:"BMR",OVULATION:"OVULATION",IFRAME:"IFRAME",PWG:"PWG",THR:"THR",BGC:"BGC"},fe={"id-ID":{"kalkulator-bmi":xe.BMI,"kebutuhan-kalori":xe.BMR,"kalkulator-hari-perkiraan-lahir":xe.DUE_DATE,"kalkulator-masa-subur-2":xe.OVULATION,"kalkulator-kenaikan-berat-badan-ibu-hamil":xe.PWG,"kalkulator-detak-jantung-saat-olahraga":xe.THR},"ms-MY":{"kalkulator-bmi":xe.BMI,"kalkulator-bmr":xe.BMR,"kalkulator-tarikh-bersalin":xe.DUE_DATE,"kalkulator-kesuburan":xe.OVULATION,"kalkulator-tambah-berat-badan-hamil":xe.PWG,"target-heart-rate-calculator":xe.THR},"vi-VN":{"cach-tinh-chi-so-bmi":xe.BMI,"tinh-chi-so-bmr":xe.BMR,"cong-cu-tinh-ngay-du-sinh":xe.DUE_DATE,"tinh-ngay-rung-trung":xe.OVULATION,"cong-cu-tinh-can-nang-khi-mang-thai":xe.PWG,"cong-cu-do-nhip-tim":xe.THR},"zh-TW":{"bmi-calculator":xe.BMI,"bmr-calculator":xe.BMR,"due-date-calculator":xe.DUE_DATE,"ovulation-calculator":xe.OVULATION,"pregnancy-weight-gain-calculator":xe.PWG,"target-heart-rate-calculator":xe.THR},"en-PH":{"bmi-calculator":xe.BMI,"bmr-calculator":xe.BMR,"due-date-calculator":xe.DUE_DATE,"ovulation-calculator":xe.OVULATION,"pregnancy-weight-gain-calculator":xe.PWG,"target-heart-rate-calculator":xe.THR},"th-TH":{"เครื่องคำนวณหา-ค่าดัชนี":xe.BMI,"เครื่องคำนวณอัตราการเผาผลาญพลังงาน-bmr":xe.BMR,"เครื่องมือคำนวณกำหนดคลอด":xe.DUE_DATE,"เครื่องคำนวณการตกไข่-ovulation-calculat":xe.OVULATION,"เครื่องคำนวณน้ำหนักตัว":xe.PWG,"เครื่องวัดอัตราการเต้น":xe.THR},"hi-IN":{"bmi-calculator-en":xe.BMI,"bmi-calculator":xe.BMI,"bmr-calculator":xe.BMR,"delivery-date-calculator":xe.DUE_DATE,"ovulation-calculator":xe.OVULATION,"pregnancy-weight-gain-calculator":xe.PWG,"target-heart-rate-calculator":xe.THR},"km-KH":{"គណនា-bmi":xe.BMI,"គណនា-bmr":xe.BMR,"គណនាថ្ងៃសម្រាលកូន":xe.DUE_DATE,"គណនាថ្ងៃមេជីវិតញីទុំធ្លាក់":xe.OVULATION,"គណនាទម្ងន់ស្ត្រីពពោះ":xe.PWG,"គណនារកចង្វាក់បេះដូងល្អ":xe.THR},"my-MM":{"bmi-calculator":xe.BMI,"bmr-calculator":xe.BMR,"due-date-calendar":xe.DUE_DATE,"ovulation-calculator":xe.OVULATION,"pregnaancy-weight-calculator":xe.PWG,"target-heartrate":xe.THR,"pregnancy-weight-calculator":xe.PWG,"target-heart-rate":xe.THR}},Ee="hhg_user_token",ve="together_admin_token",we={adBlock:48,articleAdContainer:47,headerContainerHome:99,headerContainerPopup:200,headerContainerPopupSUbLevel:300,menuSearchInputPopup:5,menuSearchInputDisplayIcon:6,menuSearchPopup:200},Te="hhg-id",ye={report_scam:{label:"morePopover.report.scam",reportReasonText:"morePopover.report.scam"},report_sex:{label:"morePopover.report.sex",reportReasonText:"morePopover.report.sex"},report_offensive:{label:"morePopover.report.offensive",reportReasonText:"morePopover.report.offensive"},report_violence:{label:"morePopover.report.violence",reportReasonText:"morePopover.report.violence"},report_prohibited:{label:"morePopover.report.prohibited",reportReasonText:"morePopover.report.prohibited"},report_spam:{label:"morePopover.report.spam",reportReasonText:"morePopover.report.spam"},report_falseNews:{label:"morePopover.report.falseNews",reportReasonText:"morePopover.report.falseNews"},report_other:{label:"morePopover.report.other",reportReasonText:"morePopover.report.other"}},Oe={"en-PH":{ALL:"all",HOSPITAL:"hospital",SERVICE:"service",DOCTOR:"doctor",SEARCH:"search",SPECIALTIES:"specialties",CURRENT:"current-location"},"vi-VN":{ALL:"tat-ca",HOSPITAL:"benh-vien",SERVICE:"dich-vu",DOCTOR:"bac-si",SEARCH:"tim-kiem",SPECIALTIES:"chuyen-khoa",CURRENT:"vi-tri-hien-tai"},"id-ID":{ALL:"semua",HOSPITAL:"rumah-sakit",SERVICE:"layanan",DOCTOR:"dokter",SEARCH:"cari",SPECIALTIES:"spesialisasi",CURRENT:"posisi-saya-saat-ini"}};var Ae=Object.freeze({__proto__:null,POST_DATE_FORMAT:"dd/MM/yyyy",NORMAL_DATE_FORMAT:"YYYY-MM-DD",DUE_DATE_FORMAT:ge,DEFAULT_AVATAR_IMG:be,DEFAULT_RESULT_IMG:"/images/default.png",DEFAULT_IMG:_e,BMI_LEVELS:["underweight","healthy","overweight","obese_level_1","obese_level_2"],BMR_LEVELS:["low","normal","high"],CORAL_TOKEN_COOKE:"coral_together_user_token",HEALTH_TOOL_TYPE:xe,LOCALE_HEALTH_TOOLS:fe,BEARER_TOKEN_COOKIE:Ee,TOGETHER_DISCLAIMER_COOKIE:"hhg_together_disclaimer",BEARER_ADMIN_TOKEN_COOKIE:ve,Z_INDEX:we,BmrActiveLevels:[{value:"sedentary",icon:"bmr-sedentary",name:"bmr.activeLevel.sedentary",description:"bmr.activeLevel.sedentary.description"},{value:"lightly-active",icon:"bmr-light",name:"bmr.activeLevel.lightlyActive",description:"bmr.activeLevel.lightlyActive.description"},{value:"moderately-active",icon:"bmr-moderately",name:"bmr.activeLevel.moderatelyActive",description:"bmr.activeLevel.moderatelyActive.description"},{value:"intensely-active",icon:"bmr-intensively",name:"bmr.activeLevel.intenselyActive",description:"bmr.activeLevel.intenselyActive.description"},{value:"extremely-active",icon:"bmr-extremely",name:"bmr.activeLevel.extremelyActive",description:"bmr.activeLevel.extremelyActive.description"}],LEAD_CAMPAIGN_CODE:"lmoct7xfr5sv4fv",LEAD_TOKEN_COOKIE:Te,GA_TOKEN_COOKIE:"_ga",GOOGLE_CALENDAR_AUTH_CLIENT_ID:"1038242799566-esoq4ij201ve5qfp266nbca44scpo3c6.apps.googleusercontent.com",FIND_CARE_IFRAME_URL:"https://www.appsheet.com/start/4ba34ebe-3cb6-4c16-8dd4-d074025a5bb6#appName=DependentDropdowns-2711103&group=%5B%5D&page=card&sort=%5B%5D&table=Menu&view=Menu",REPORT_REASON_MAP:ye,MB_SOCIAL_LINKS:{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/marry.baby.vn",INSTAGRAM:"https://www.instagram.com/marrybaby.vn/",TWITTER:"",YOUTUBE:"https://www.youtube.com/channel/UCeZybTkY1VzJ3N7LvPGdKbg",ZALO:"http://zalo.me/806483414530291942"},INTERNAL_ROLES:["admin","moderator","local-admin"],EXTERNAL_ROLES:["ambassador","expert","sponsor","guide","influencer"],INTERNAL_PROFILE_ROLES:["moderator","local-admin"],EXTERNAL_PROFILE_ROLES:["expert","ambassador","sponsor"],RoleDataMap:{moderator:{text:"Moderator",fid:"cardAuthor.moderator",background:"#fe921d"},admin:{text:"Admin",fid:"cardAuthor.admin",background:"#2b62cd"},"local-admin":{text:"Local admin",fid:"cardAuthor.localAdmin",background:"#2b62cd"},expert:{text:"Expert",fid:"cardAuthor.expert",background:"#ff6f4d"},sponsor:{text:"Sponsor",fid:"cardAuthor.sponsor",background:"#00c7e6"},ambassador:{text:"Ambassador",fid:"cardAuthor.ambassador",background:"#00CB8A"}},MAX_IMAGE_UPLOADS:20,LOCALISED_SLUGS:Oe});const Ie={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com"},Se={"vi-VN":"marrybaby.vn"},Le=process.env.NEXT_PUBLIC_DEPLOY_LOCALE||"vi-VN",Re=e=>{const{env:{isMarryBaby:t}}=exports.GlobalData;return`https://${t?Se[e]:Ie[e]}`},ke=e=>{const t=e.indexOf("?");return t>=0?e.slice(0,t+1)+e.slice(t+1).replace(/[^=&]+=(&|$)/g,"").replace(/&$/,""):e},$e=(e,t,o,r)=>{let a="";o&&(a=Object.keys(o).map((e=>e+"="+o[e])).join("&"));const{togetherBaseApiUrl:i=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};let l=_.default(e,Object.assign(Object.assign({},(null==t?void 0:t._locale)?{website_url:Re(String(t._locale))}:{}),t));l+=`${l.includes("?")?"&":"?"}${a}`;return(r||i)+"api/v1/"+ke(l)},De=e=>((null==e?void 0:e.data)&&(e.data instanceof FormData?e.body=e.data:"object"==typeof e.data&&(e.body=JSON.stringify(e.data)),delete e.data),e),Ce=(e,t,o,a=!1)=>r.__awaiter(void 0,void 0,void 0,(function*(){var r,i,l,n;try{const r=yield fetch(a?e:(n=e,encodeURI(n).replace(/%5B/g,"[").replace(/%5D/g,"]")),Object.assign(Object.assign({method:t},De(o)),{headers:Object.assign({},null==o?void 0:o.headers)})).then((e=>e.json()));if(r)return r}catch(t){return console.log(t),console.log({url:e,status:null===(r=null==t?void 0:t.response)||void 0===r?void 0:r.status,statusText:null===(i=null==t?void 0:t.response)||void 0===i?void 0:i.statusText}),(null===(l=null==t?void 0:t.response)||void 0===l?void 0:l.data)||null}return null})),Pe=(e,t,o,a)=>r.__awaiter(void 0,void 0,void 0,(function*(){try{const r=pe.parse(a||""),i=r[Ee]||s.getCookie(Ee);if(i&&i.length){const r=yield fetch(e,Object.assign(Object.assign({method:t},De(o)),{headers:Object.assign({Authorization:"Bearer "+i},null==o?void 0:o.headers)})).then((e=>e.json()));if(r)return r}}catch(e){return null}return null}));function Ge(e,t,o){const r=new RegExp("([?&])"+t+"=.*?(&|$)","i"),a=-1!==e.indexOf("?")?"&":"?";return e.match(r)?e.replace(r,"$1"+t+"="+o+"$2"):e+a+t+"="+o}const Ne=(e,t,o,r)=>o&&t?`${o}-${t}`:`${b.default(e||"",{lower:!0,locale:r||Le})}-${t}`;var Me=i.createStyles((e=>({root:{},wrapper:{gap:i.rem(8)},groupErr:{fontSize:i.rem(14)},itemRoot:{flexGrow:1,width:"50%",'&[data-checked="true"]':{".mantine-Radio-label":{borderColor:e.fn.primaryColor()}}},itemLabelWrapper:{padding:0,width:"100%"},itemLabel:{position:"relative",padding:`${i.rem(6)} ${i.rem(16)}`,border:`1px solid ${e.colors.gray[2]}`,borderRadius:i.rem(4),cursor:"pointer",'&[data-disabled="true"]':{background:e.colors.gray[1],color:`${e.colors.gray[4]} !important`,img:{opacity:.5}},img:{height:i.rem(26)}},itemInner:{display:"none"}})));exports.ADMIN_PATHS={SEARCH_USER:"admin/profile/search?website_url={website_url}&name={name}",COMMENT:{IMAGE_UPLOAD:"admin/comment/image/upload?website_url={website_url}"}},exports.BEARER_TOKEN_COOKIE=Ee,exports.CARE_PATHS={GET_DOCTOR_INFO:"api/doctors/{doctorId}?site={website_url}",GET_HOSPITAL_INFO:"api/hospital/branch/{hospital_branch_id}?site={website_url}"},exports.DEFAULT_AVATAR_IMG=be,exports.DEFAULT_IMG=_e,exports.DISCOVER_PATHS={BASE_API_PATH:"/",GET_SEARCH_ARTICLES:"search?s={keyword}&page={page}",GET_ALL_CATEGORIES:"categories?type=all",GET_HOMEPAGE_POSTS:"home/trending-post?type={type}",GET_HOMEPAGE_LATEST_POSTS:"articles?page=1&_islatest=1",GET_ARTICLE_DETAIL:"article/{slug}?skip_ids={skipIds}&_isrelated={isRelated}",GET_CATEGORY_DETAIL:"category/{slug}",GET_CATEGORY_OR_ARTICLE_DETAIL:"fetch/{fullSlug}",GET_PREVIEW_ARTICLE:"fetch/{fullSlug}?preview_nonce={nonce}&preview=true",GET_ARTICLE_OF_CATEGORY:"articles?category_id={categoryId}&page={currentPage}",GET_PAGE_STATIC:"page/{slug}",GET_ALL_HEALTH_TOOLS:"healthtools",GET_ALL_MARRYBABY_HEALTH_TOOLS:"health-tools",GET_HEALTH_TOOLS_BY_CATEGORY:"healthtools?_hasgroup=1",GET_AUTHOR:"author/{slug}",GET_ALL_EXPERTS:"experts",GET_ALL_EXPERTS_PAGING:"experts?page={page}",GET_EXPERT:"expert/{slug}",GET_EXPERT_POST:"expert/article?page={page}",POST_ARTICLE_FEEDBACK:"article/feedback/{id}",GET_AZ_DRUGS:"category/a-z/{category}",GET_HOMEPAGE_MEDICAL_REVIEWED:"home/medical-reviewed",GET_ARTICLES_BY_IDS:"articles?ids={ids}",GET_ARTICLE_OF_CATEGORY_NO_EXPLAINERS:"articles?category_id={categoryId}&page={currentPage}&skip_ids={ids}",GET_EXPERT_OF_CATEGORY:"category/expert/?id={id}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info",GET_DUE_DATE_ALL_WEEKS:"health-tools/due-date-calculator/all",GET_DUE_DATE_SUGGESTED_ARTICLES:"health-tools/due-date-calculator/result?from_week={from}&to_week={to}",GET_PROFILE:"user/profile",GET_ADMIN_PROFILE:"GET_ADMIN_PROFILE",GET_FEATURE:"feature",POST_NEW_FEATURE:"feature/update",CREATE_BOOKMARK:"bookmark/create",DELETE_BOOKMARK:"bookmark/delete",DELETE_ALL_BOOKMARK:"bookmark/delete-all",GET_ALL_BOOKMARK:"bookmark",SSO_USER_PROFILE:"user",SSO_USER_BOOKMARKS:"user/bookmarks",SSO_USER_PASSWORD:"user/settings/password",SSO_USER_EMAIL:"user/settings/update-email",SSO_CLOSE_ACCOUNT:"user/settings/close-account",SSO_HELP:"user/settings/help",GET_HEALTH_TOOL_OVULATION_INFO:"health-tools/ovulation-calculator/info",GET_HEALTH_TOOL_OVULATION_SUGGESTED_ARTICLES:"health-tools/ovulation-calculator/result?method={method}",GET_HEALTH_TOOL_BMI_INFO:"health-tools/bmi-calculator/info",GET_HEALTH_TOOL_BMI_RESULT:"health-tools/bmi-calculator/result?gender={gender}&bmi={bmi}&age={age}",GET_HEALTH_TOOL_BMR_INFO:"health-tools/bmr-calculator/info",GET_HEALTH_TOOL_BMR_RESULT:"health-tools/bmr-calculator/result?kcals={kcals}&gender={gender}&age={age}",GET_HEALTH_TOOL_PWG_INFO:"health-tools/preweight-gain-calculator/info",GET_HEALTH_TOOL_THR_INFO:"health-tools/target-heart-rate/info",GET_HEALTH_TOOL_BABY_GROWTH_INFO:"health-tools/baby-growth-tracking/info",POST_UPDATE_LOCATION:"tracking/geo/",GET_SIDIS_DUE_DATE:"frontend/tools/due_date",GET_SIDIS_OVULATION:"frontend/tools/ovulation",GET_SIDIS_BMI:"frontend/tools/bmi",GET_SIDIS_BMR:"frontend/tools/bmr",POST_LOGOUT:"user/logout",OVULATION_CREATE_EVENT:"ovulation/event?method={method}&day={day}&cycle={cycle}&period={period}&token={token}&user_id={user_id}",GET_ALL_SPOTLIGHT:"spotlights?per_page={perPage}&order_by={orderBy}",SSO_UPDATE_FIRST_TIME_BOOKMARK:"bookmark/update-first-time",POST_COMMENT_NOTIFICATION:"comment/notification",GET_ABOUT_US_DATA:"about",POST_LEAD_IMPRESSION:"campaign/{campaignCode}/impression",POST_LEAD_POPUP_EXIT:"campaign/{campaignCode}/popup_exit",POST_LEAD_LEAD:"campaign/{campaignCode}/lead",POST_SSO_VERIFY_TOKEN:"verify-id-token",GET_LANDING_PAGE_FIRST_NODE:"landing_page/bot",GET_LANDING_PAGE_NEXT_NODE:"landing_page/messages",POST_LANDING_PAGE_IMPRESSION:"landing_page/impressions",POST_LANDING_PAGE_CLICK:"landing_page/clicks",FETCH_URL_DATA:"preview",GET_SPOTLIGHT_LANDING:"spotlight/{slug}",GET_FOOTER_INFO:"footer",CHECK_SSO_EMAIL:"member/check-email",GET_HOMEPAGE_SITEWIDE_BANNER:"home/sitewide-banner",GET_DYNAMIC_FOOTER:"menu/footer",GET_EXPERTS:"experts?page={page}&number={perPage}&s={search}",GET_EXPERT_BY_ID:"expert/{id}"},exports.DUE_DATE_FORMAT=ge,exports.DefaultComponentGlobalContextData=he,exports.HEALTH_TOOL_TYPE=xe,exports.Heading=e=>{var t,{as:o,tag:a,className:i,children:l,title:n,color:s,style:d,fontWeight:c,dataEventCategory:p,dataEventAction:u,dataEventLabel:h}=e,g=r.__rest(e,["as","tag","className","children","title","color","style","fontWeight","dataEventCategory","dataEventAction","dataEventLabel"]);const b=o||a,{theme:_}=L(void 0,{name:"Heading"});return m.default.createElement(b,Object.assign({title:n,style:Object.assign({"--custom-heading-color":s||("mb"===(null===(t=null==_?void 0:_.other)||void 0===t?void 0:t.template)?_.colors.gray[9]:_.colors.gray[8])},d),"data-tag":a,"data-font-weight":c||void 0,"data-event-category":p,"data-event-action":u,"data-event-label":h,className:`${S} ${i||""}`},g),l)},exports.LEAD_TOKEN_COOKIE=Te,exports.MAX_IMAGE_UPLOADS=20,exports.PATHS=ue,exports.PureInput=N,exports.REPORT_REASON_MAP=ye,exports.StepRenderer=({children:e,onStepChange:t})=>{const[o,r]=a.useState(0),[i,l]=a.useState(0),n=m.default.Children.count(e);a.useEffect((()=>{l(n-1)}),[n]),a.useEffect((()=>{null==t||t(o)}),[o]);return m.default.createElement(re.Provider,{value:{currentStep:o,setCurrentStep:r,setMaxStep:l,nextStep:()=>o+1<=i&&r(o+1),prevStep:()=>o-1>=0&&r(o-1)}},g.default(e).map(((e,t)=>{const r=t===o;return m.default.createElement(a.Fragment,{key:t},m.default.isValidElement(e)?e.props.alwaysRender||r?m.default.cloneElement(e,{isActive:t===o,stepIndex:t}):null:r?e:null)})))},exports.StepRendererContext=re,exports.StyledAvatar=x,exports.StyledBackdrop=J,exports.StyledBadge=f,exports.StyledBorderHeading=E,exports.StyledCheckbox=Y,exports.StyledDivider=v,exports.StyledDrawer=X,exports.StyledDrawerContent=Z,exports.StyledDrawerPanel=Q,exports.StyledDropdown=w,exports.StyledDropdownList=y,exports.StyledDropdownName=T,exports.StyledDropdownOption=O,exports.StyledGrid=I,exports.StyledIcon=A,exports.StyledPageBlock=k,exports.StyledPagination=R,exports.StyledPaginationBlock=$,exports.StyledRadioImageGroup=ee,exports.StyledRadioImageItem=te,exports.StyledRateStars=W,exports.StyledTag=M,exports.StyledToggle=F,exports.StyledToggleIcon=z,exports.StyledToggleLabel=j,exports.TextArea=V,exports.TogetherComponentGlobalContext=me,exports.TogetherComponentGlobalContextProvider=({locale:e="vi-VN",children:t,userInfo:o,router:r,env:i={isMarryBaby:!1,togetherBasePath:"/community"},sanitizeFunction:l=(e=>e),pushNotifications:n=(()=>!1),formatMessage:s})=>{const[d,c]=a.useState();return exports.GlobalData={userInfo:o,locale:e,togetherUserId:d,router:r,env:i},a.useEffect((()=>{(null==o?void 0:o.id)&&Pe($e(ue.PROFILE,{_locale:e}),"GET").then((e=>{var t;c(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.id)}))}),[null==o?void 0:o.id]),m.default.createElement(me.Provider,{value:{data:{userInfo:o,locale:e,togetherUserId:d,router:r,env:i},action:{pushNotifications:n,sanitizeFunction:l},formatMessage:s}},t)},exports.Z_INDEX=we,exports.callApi=Ce,exports.callApiWithAdminAuth=(e,t,o,a)=>r.__awaiter(void 0,void 0,void 0,(function*(){try{const r=pe.parse(a||""),i=r[ve]||s.getCookie(ve);if(i&&i.length){const r=yield fetch(e,Object.assign(Object.assign({method:t},De(o)),{headers:Object.assign({Authorization:"Bearer "+i},null==o?void 0:o.headers)})).then((e=>e.json()));if(r)return r}}catch(e){return null}return null})),exports.callApiWithAuth=Pe,exports.callApiWithOptionalAuth=(e,t="GET",o,a)=>r.__awaiter(void 0,void 0,void 0,(function*(){var r,i,l,n,d,c;try{const n="string"==typeof e?e:e.url,d="string"==typeof e?e:e.backupUrl,c=pe.parse(a||""),p=c[Ee]||s.getCookie(Ee);if(!p||!p.length)return Ce(d||n,t,o);try{const e=yield fetch(n,Object.assign(Object.assign({method:t},De(o)),{headers:Object.assign({Authorization:"Bearer "+p},null==o?void 0:o.headers)})).then((e=>e.json()));if(null===(r=null==e?void 0:e.messages)||void 0===r?void 0:r.find((e=>"Unauthenticated"===(null==e?void 0:e.toLowerCase()))))return Ce(d||n,t,o);if(e)return e}catch(e){return console.log({status:null===(i=null==e?void 0:e.response)||void 0===i?void 0:i.status,statusText:null===(l=null==e?void 0:e.response)||void 0===l?void 0:l.statusText}),Ce(d||n,t,o)}}catch(e){return console.log({status:null===(n=null==e?void 0:e.response)||void 0===n?void 0:n.status,statusText:null===(d=null==e?void 0:e.response)||void 0===d?void 0:d.statusText}),(null===(c=null==e?void 0:e.response)||void 0===c?void 0:c.data)||null}return null})),exports.constants=Ae,exports.cookie=pe,exports.domainLocales=Ie,exports.domainLocalesMarryBaby=Se,exports.getApiPath=$e,exports.getCareDoctorUrl=({name:e,id:t,locale:o})=>{var r;return`/care/${null===(r=Oe[o||"vi-VN"])||void 0===r?void 0:r.DOCTOR}/${Ne(e,t)}`},exports.getCareHospitalUrl=({name:e,id:t,slug:o,locale:r})=>{var a;return`/care/${null===(a=Oe[r||"vi-VN"])||void 0===a?void 0:a.HOSPITAL}/${Ne(e,t,o)}`},exports.getCarePath=(e,t)=>{const{careBaseApiUrl:o=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};return(o||"https://service-health-care.hellohealthgroup.com/")+ke(_.default(e,Object.assign({},t)))},exports.getCurrentBaseUrl=e=>{const{env:{isMarryBaby:t}}=exports.GlobalData;if("undefined"!=typeof window)return window.location.origin;const o="staging"===process.env.NEXT_PUBLIC_DEPLOY_ENV;return"development"===process.env.NEXT_PUBLIC_DEPLOY_ENV?"http://localhost:3000":`https://${o?t?"fe.":"discover.":t?"www.":""}${Ie[e]}`},exports.getDefaultClassWrapper=U,exports.getDiscoverApiPath=(e,t,o)=>{const{discoverBaseApiUrl:r="",discoverBaseProdApiUrl:a=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};return(!p.isProduction&&o?a:r)+"wp-json/api/"+ke(_.default(e,Object.assign({},t)))},exports.getMarryBabyApiPath=(e,t,o)=>{const{marryBabyApiUrl:r="",marryBabyProdApiUrl:a=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};return(o&&!p.isProduction?a:r)+"wp-json/api/"+ke(_.default(e,Object.assign({},t)))},exports.getPremiumApiPath=(e,t)=>{const{premiumBaseApiUrl:o=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};return(o||"https://premium-content-stag.hellohealthgroup.com/")+ke(_.default(e,Object.assign({},t)))},exports.getSsoApiPath=(e,t)=>{const{publicSSO:o=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};return(o||"https://staging-id.hellobacsi.com/")+"api/"+ke(_.default(e,Object.assign({},t)))},exports.getUrlToSignUp=(e,t,o="/community")=>{const r=e||("undefined"!=typeof window?window.location.href:"/");let a="undefined"!=typeof window?window.location.origin:"";a||e&&(e.startsWith("http://")||e.startsWith("https://"))&&(a=e.split("/").slice(0,3).join("/"));return((e,t)=>{const{publicSSO:o}=exports.GlobalData.env,r=e||window.location.href;return t&&Object.keys(t).map((e=>{Ge(r,e,t[e])})),Ge(r,"source","communities"),o?`${o}?returnUrl=${encodeURIComponent(r.toString())}`:r})(`${a}${o}/on-boarding?return=${encodeURIComponent(r)}`,t)},exports.getWebsiteUrlApi=Re,exports.locale=Le,exports.useStyles=Me,exports.useStyles$1=oe;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { LOCALE, LocaleType } from "../types";
|
|
2
|
+
export declare const basePath: string;
|
|
3
|
+
export declare const SSO_URL: string;
|
|
2
4
|
export declare const USER_GEOLOCATION_COORDINATES_COOKIE = "userGeoLocationCoordinates";
|
|
3
5
|
export declare const domainLocales: {
|
|
4
6
|
'vi-VN': string;
|
|
@@ -13,6 +15,18 @@ export declare const domainLocales: {
|
|
|
13
15
|
'tl-PH': string;
|
|
14
16
|
'vi-VN_MB': string;
|
|
15
17
|
};
|
|
18
|
+
export declare const MAP_DOMAIN_BY_LOCALE: {
|
|
19
|
+
"vi-VN": string;
|
|
20
|
+
"id-ID": string;
|
|
21
|
+
"ms-MY": string;
|
|
22
|
+
"km-KH": string;
|
|
23
|
+
"en-PH": string;
|
|
24
|
+
"tl-PH": string;
|
|
25
|
+
"th-TH": string;
|
|
26
|
+
"my-MM": string;
|
|
27
|
+
"zh-TW": string;
|
|
28
|
+
"hi-IN": string;
|
|
29
|
+
};
|
|
16
30
|
export type CategoriesLayout = 'short' | 'long';
|
|
17
31
|
export type LogoType = 'hellobacsi' | 'hellosehat' | 'hellohealth' | 'hellotogether' | 'hellocare' | 'logomark' | 'hellodoctor' | 'hellokrupet' | 'helloswasthya' | 'hellosayarwon' | 'helloyishi' | 'hellokhunmor' | 'hellodoktor' | 'marryBaby';
|
|
18
32
|
export declare const LOCALE_SPECS: {
|
|
@@ -85,3 +99,5 @@ export declare const DATE_FNS_LOCALE: {
|
|
|
85
99
|
};
|
|
86
100
|
export declare const CDN_ADDRESS = "https://cdn.hellohealthgroup.com/countries";
|
|
87
101
|
export declare const GA_TOKEN_COOKIE = "_ga";
|
|
102
|
+
export declare const API_DATE_FORMAT = "YYYY-MM-DD";
|
|
103
|
+
export declare const DATE_FNS_DATE_FORMAT = "dd-MM-yyyy";
|