@hhgtech/hhg-components 1.28.25 → 1.28.27
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-32f549c2.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-8af12980.js → constants-14381f42.js} +1 -1
- package/build/{constants-eb373bf5.js → constants-366d8cc3.js} +1 -1
- package/build/constants.js +1 -1
- package/build/{core-5978cdd4.js → core-7b6d9373.js} +1 -1
- package/build/ecom.js +1 -1
- package/build/esm/Subot-90eeb6b3.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-bca8e7af.js → constants-a2326fe5.js} +2 -2
- package/build/esm/{constants-fc5771dc.js → constants-f36eb4e2.js} +1 -1
- package/build/esm/constants.js +1 -1
- package/build/esm/{core-3c6e483d.js → core-2f2dda7e.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-41d50b69.js +1 -0
- package/build/esm/getSocialList-060992d0.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-0069b300.js +1 -0
- package/build/esm/{index-306fbf41.js → index-0da50440.js} +1 -1
- package/build/esm/index-18db64a2.js +1 -0
- package/build/esm/{index-c63fb626.js → index-21499b02.js} +1 -1
- package/build/esm/{index-9c867337.js → index-2f775881.js} +1 -1
- package/build/esm/index-48c55bdf.js +1 -0
- package/build/esm/index-4ab7a8ff.js +1 -0
- package/build/esm/index-4e2b3392.js +3533 -0
- package/build/esm/{index-3ac431a8.js → index-5d265d4a.js} +5 -5
- package/build/esm/index-7764ffef.js +1 -0
- package/build/esm/index-7eaffe1d.js +1 -0
- package/build/esm/{index-4174f289.js → index-8076b5e7.js} +1 -1
- package/build/esm/index-8f7e0932.js +1 -0
- package/build/esm/index-abd079a6.js +1 -0
- package/build/esm/{index-e8aaf5df.js → index-ad37bd51.js} +1 -1
- package/build/esm/index-bb52270a.js +1 -0
- package/build/esm/index-be029805.js +177 -0
- package/build/esm/index-bf0691ed.js +1 -0
- package/build/esm/index-c97cb127.js +1 -0
- package/build/esm/index-cef99cec.js +1 -0
- package/build/esm/index-d45b63f5.js +1 -0
- package/build/esm/index-d79a7b50.js +1 -0
- package/build/esm/index.js +1 -1
- package/build/esm/index.styled-0dcbc92f.js +50 -0
- package/build/esm/{index.styled-3020e8c4.js → index.styled-818887fe.js} +135 -135
- package/build/esm/{index.styled-11c36629.js → index.styled-ead6e56f.js} +1 -1
- package/build/esm/index.styled-fbb9b538.js +1755 -0
- package/build/esm/{index.styles-f629b750.js → index.styles-f64f8d92.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 +1 -1
- package/build/esm/pwg.js +3 -3
- package/build/esm/{routing-0aec38d3.js → routing-2ba10dbb.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 +3 -3
- package/build/esm/together/components/molecules/socialLinkPreview/index.d.ts +2 -1
- 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-c9f0199d.js → types-0fecac8b.js} +1 -1
- package/build/esm/types-48cbc013.js +1 -0
- package/build/esm/types.js +1 -1
- package/build/esm/useCategory-b8bdf992.js +1 -0
- package/build/esm/{useHealthToolCache-95ff51a6.js → useHealthToolCache-f00411f5.js} +1 -1
- package/build/esm/usePlacesAutocomplete-65a79be3.js +1 -0
- package/build/esm/{useRafState-6698a0f5.js → useRafState-3be3d0f1.js} +1 -1
- package/build/esm/{useTranslations-18faf79a.js → useTranslations-86073e0f.js} +1 -1
- package/build/esm/{utils-dc9fb887.js → utils-d6d6970c.js} +1 -1
- package/build/esm/utils-d8b31ded.js +1 -0
- package/build/esm/vaccination.js +5 -5
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/getDynamicHealthTool-333e03a9.js +1 -0
- package/build/getSocialList-7ecf1347.js +1 -0
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/index-0141e4a6.js +1 -0
- package/build/{index-9fd91b07.js → index-07d53d13.js} +1 -1
- package/build/{index-95417452.js → index-0ab457b1.js} +1 -1
- package/build/{esm/index-836c956c.js → index-114d7387.js} +1 -1
- package/build/index-1c5db8eb.js +177 -0
- package/build/index-24cc82a8.js +1 -0
- package/build/index-3d3ba5a5.js +1 -0
- package/build/{index-928fd58f.js → index-423f1457.js} +1 -1
- package/build/index-50466223.js +1 -0
- package/build/{index-240fca13.js → index-7deb2119.js} +1 -1
- package/build/index-86f98021.js +1 -0
- package/build/index-95c522c4.js +3533 -0
- package/build/index-9b13300a.js +1 -0
- package/build/index-a5a8d5b2.js +1 -0
- package/build/index-aa8dabc6.js +1 -0
- package/build/index-ac0f6385.js +1 -0
- package/build/index-b7126d99.js +1 -0
- package/build/{index-1c682ea0.js → index-b9bb33ab.js} +1 -1
- package/build/index-c140ea63.js +1 -0
- package/build/{index-b83d2770.js → index-c8b6e55e.js} +1 -1
- package/build/{index-8673ffc2.js → index-d23ceba7.js} +1 -1
- package/build/index-f3be380d.js +1 -0
- package/build/index.js +1 -1
- package/build/{index.styled-c178082e.js → index.styled-41210848.js} +1 -1
- package/build/index.styled-49b96aab.js +1755 -0
- package/build/index.styled-8018ceba.js +50 -0
- package/build/{index.styled-a7549b47.js → index.styled-8dfefbeb.js} +126 -126
- package/build/{index.styles-f4aff724.js → index.styles-512df4ca.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 +1 -1
- package/build/pwg.js +3 -3
- package/build/{routing-b67a278f.js → routing-f680f947.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 +3 -3
- package/build/together/components/molecules/socialLinkPreview/index.d.ts +2 -1
- 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-3f2b8af5.js +1 -0
- package/build/{types-7c122b9c.js → types-b0e9dd8a.js} +1 -1
- package/build/types.js +1 -1
- package/build/useCategory-be3f9396.js +1 -0
- package/build/{useHealthToolCache-caf47ec9.js → useHealthToolCache-bd4c5d0c.js} +1 -1
- package/build/usePlacesAutocomplete-98b87115.js +1 -0
- package/build/{useRafState-81abb010.js → useRafState-7ffa2d5a.js} +1 -1
- package/build/{useTranslations-96b012cf.js → useTranslations-ee5c0b48.js} +1 -1
- package/build/utils-bd531f10.js +1 -0
- package/build/{utils-e8a0f10a.js → utils-c7f33c02.js} +1 -1
- package/build/vaccination.js +1 -1
- package/package.json +6 -1
- package/build/Onboarding-f5b4434c.js +0 -1
- package/build/esm/Onboarding-f538c632.js +0 -1
- package/build/esm/getDynamicHealthTool-ed690f75.js +0 -1
- package/build/esm/getSocialList-9ed2061e.js +0 -1
- package/build/esm/index-1c55143a.js +0 -50
- package/build/esm/index-6338ed1b.js +0 -1
- package/build/esm/index-66cbe237.js +0 -1
- package/build/esm/index-69a4a005.js +0 -1755
- package/build/esm/index-6faee03f.js +0 -1
- package/build/esm/index-880d2a8f.js +0 -1
- package/build/esm/index-8927cb0f.js +0 -1
- package/build/esm/index-a6e8c71e.js +0 -1
- package/build/esm/index-a82319dd.js +0 -1
- package/build/esm/index-b340c88e.js +0 -177
- package/build/esm/index-bd53a722.js +0 -1
- package/build/esm/index-ddb32dc6.js +0 -3533
- package/build/esm/types-6351eb61.js +0 -1
- package/build/esm/useCategory-cbb912b5.js +0 -1
- package/build/esm/utils-434d3391.js +0 -1
- package/build/getDynamicHealthTool-2a8e5e1b.js +0 -1
- package/build/getSocialList-b291d0bd.js +0 -1
- package/build/index-0d263401.js +0 -1755
- package/build/index-2a6287f6.js +0 -50
- package/build/index-5909a7ec.js +0 -1
- package/build/index-6a6dcb68.js +0 -1
- package/build/index-758f38da.js +0 -1
- package/build/index-8373a77d.js +0 -1
- package/build/index-8938097e.js +0 -1
- package/build/index-ae5f9f02.js +0 -177
- package/build/index-b3e4136f.js +0 -1
- package/build/index-b45db661.js +0 -1
- package/build/index-c838819c.js +0 -1
- package/build/index-d546f88a.js +0 -3533
- package/build/types-bb29c964.js +0 -1
- package/build/useCategory-cfd11905.js +0 -1
- package/build/utils-f9e93016.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-218f0308.js → BMI_BOYS.percentile.monthly-361346e6.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-f903e937.js → BMI_BOYS.percentile.weekly-45ac48c1.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-ea53587d.js → BMI_BOYS.percentile.yearly-5c0939d0.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-936d706e.js → BMI_BOYS.zscore.monthly-4f2403fc.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-b438f646.js → BMI_BOYS.zscore.weekly-5af7989f.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-60a4ace7.js → BMI_BOYS.zscore.yearly-dffb1a51.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-7e1aa1db.js → BMI_GIRLS.percentile.monthly-0563b375.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-35f9cd60.js → BMI_GIRLS.percentile.weekly-3e5d9dc6.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-e94e765f.js → BMI_GIRLS.percentile.yearly-b477720e.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-e5a9ae4f.js → BMI_GIRLS.zscore.monthly-a40829a3.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-9ac26fd9.js → BMI_GIRLS.zscore.weekly-f46c55c7.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-4b2deeb6.js → BMI_GIRLS.zscore.yearly-fb6e8eca.js} +0 -0
- /package/build/{ChevronDown-4382f734.js → ChevronDown-706fb94d.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-3ea985a6.js → HEAD CIRCUM_BOYS.percentile.monthly-6abbcf47.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-3ace3bc8.js → HEAD CIRCUM_BOYS.percentile.weekly-73f63264.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-52f6f772.js → HEAD CIRCUM_BOYS.percentile.yearly-33ee7e00.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-05fed8e9.js → HEAD CIRCUM_BOYS.zscore.monthly-41bc55c7.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-8077b479.js → HEAD CIRCUM_BOYS.zscore.weekly-2cc779ec.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-3c3ff74e.js → HEAD CIRCUM_BOYS.zscore.yearly-55db15a7.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-88a58be8.js → HEAD CIRCUM_GIRLS.percentile.monthly-72a3bdba.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-22c2a712.js → HEAD CIRCUM_GIRLS.percentile.weekly-a4e5a1e5.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-2daf3ff1.js → HEAD CIRCUM_GIRLS.percentile.yearly-6ca29c9a.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-1f3e0b93.js → HEAD CIRCUM_GIRLS.zscore.monthly-1bf1fced.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-8a8fd74c.js → HEAD CIRCUM_GIRLS.zscore.weekly-6a455b87.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-d66b4ee6.js → HEAD CIRCUM_GIRLS.zscore.yearly-2f19120c.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-dab81c96.js → HEIGHT_BOYS.percentile.monthly-72ebf746.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-dd1d7401.js → HEIGHT_BOYS.percentile.weekly-f7249660.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-e2c22eb2.js → HEIGHT_BOYS.percentile.yearly-fff6fe4f.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-49e9becc.js → HEIGHT_BOYS.zscore.monthly-863198f6.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-fc714d39.js → HEIGHT_BOYS.zscore.weekly-12443587.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-bdd2dd80.js → HEIGHT_BOYS.zscore.yearly-c9f0fc9c.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-c3829545.js → HEIGHT_GIRLS.percentile.monthly-214471bf.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-52c1b624.js → HEIGHT_GIRLS.percentile.weekly-3498771d.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-4865a9e1.js → HEIGHT_GIRLS.percentile.yearly-ed22f447.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-74debfe8.js → HEIGHT_GIRLS.zscore.monthly-ffcd1583.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-a90875d3.js → HEIGHT_GIRLS.zscore.weekly-89eebef9.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-0e560772.js → HEIGHT_GIRLS.zscore.yearly-e9d20d40.js} +0 -0
- /package/build/{Visible-7d93de62.js → Visible-e3ad0c25.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-1c4ea131.js → WEIGHT_BOYS.percentile.monthly-6db6cf22.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-808746c8.js → WEIGHT_BOYS.percentile.weekly-10d39e3a.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-8f65ba15.js → WEIGHT_BOYS.percentile.yearly-0dd1515b.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-13efc6d1.js → WEIGHT_BOYS.zscore.monthly-5f3bbccb.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-d430ec92.js → WEIGHT_BOYS.zscore.weekly-e9d339a8.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-87942e91.js → WEIGHT_BOYS.zscore.yearly-37daf2df.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-d18aa1b7.js → WEIGHT_GIRLS.percentile.monthly-990cd19d.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-97e6cc9e.js → WEIGHT_GIRLS.percentile.weekly-172e0379.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-ea43b3e3.js → WEIGHT_GIRLS.percentile.yearly-cbc6e831.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-7d53e17c.js → WEIGHT_GIRLS.zscore.monthly-78043109.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-67f173d3.js → WEIGHT_GIRLS.zscore.weekly-19d9a433.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-39e28850.js → WEIGHT_GIRLS.zscore.yearly-761f1424.js} +0 -0
- /package/build/{cookieHelper-1783b725.js → cookieHelper-a2566341.js} +0 -0
- /package/build/{dataTransform-a8a79524.js → dataTransform-907b2930.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-95a74310.js → BMI_BOYS.percentile.monthly-9e38458e.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-0e4e63a2.js → BMI_BOYS.percentile.weekly-603a2d9f.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-853ffee1.js → BMI_BOYS.percentile.yearly-42a916cb.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-5496d93b.js → BMI_BOYS.zscore.monthly-f2adabc8.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-bd4e0edd.js → BMI_BOYS.zscore.weekly-b5cccd08.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-2983511d.js → BMI_BOYS.zscore.yearly-d479c131.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-40a88871.js → BMI_GIRLS.percentile.monthly-e407232f.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-527c02ad.js → BMI_GIRLS.percentile.weekly-0430e817.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-805b7ad2.js → BMI_GIRLS.percentile.yearly-dd974740.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-8f23f4c9.js → BMI_GIRLS.zscore.monthly-a366f596.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-11b1c77e.js → BMI_GIRLS.zscore.weekly-4cdc8cc2.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-b6400101.js → BMI_GIRLS.zscore.yearly-3fe9b80a.js} +0 -0
- /package/build/esm/{ChevronDown-ce280375.js → ChevronDown-1f2379d1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-9662021b.js → HEAD CIRCUM_BOYS.percentile.monthly-98c97da0.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-ed12efaf.js → HEAD CIRCUM_BOYS.percentile.weekly-5a1700cf.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-dd901e38.js → HEAD CIRCUM_BOYS.percentile.yearly-e8d8abcc.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-9511507c.js → HEAD CIRCUM_BOYS.zscore.monthly-a80e58cc.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-636f6754.js → HEAD CIRCUM_BOYS.zscore.weekly-31129921.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-895b69f9.js → HEAD CIRCUM_BOYS.zscore.yearly-e4c6407b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-88e35ff0.js → HEAD CIRCUM_GIRLS.percentile.monthly-dc5e084b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-5c38c8a9.js → HEAD CIRCUM_GIRLS.percentile.weekly-2c5917ae.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-0d5f2c25.js → HEAD CIRCUM_GIRLS.percentile.yearly-9e650d5f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-c979810d.js → HEAD CIRCUM_GIRLS.zscore.monthly-8b3fd7c4.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-46f235a2.js → HEAD CIRCUM_GIRLS.zscore.weekly-5ba99827.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-b1659c98.js → HEAD CIRCUM_GIRLS.zscore.yearly-b0256871.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-6c5af9fa.js → HEIGHT_BOYS.percentile.monthly-e7c89b9d.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-0a5ed1d5.js → HEIGHT_BOYS.percentile.weekly-aba8106d.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-b88eebdf.js → HEIGHT_BOYS.percentile.yearly-7a73167c.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-e30f12c2.js → HEIGHT_BOYS.zscore.monthly-95db18e9.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-3811f440.js → HEIGHT_BOYS.zscore.weekly-aff72330.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-02a3ad59.js → HEIGHT_BOYS.zscore.yearly-69482de4.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-12989867.js → HEIGHT_GIRLS.percentile.monthly-a447fbcb.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-ffd2fd60.js → HEIGHT_GIRLS.percentile.weekly-f7f87b6a.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-d87163d9.js → HEIGHT_GIRLS.percentile.yearly-2214187a.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-35e8a9e2.js → HEIGHT_GIRLS.zscore.monthly-40832d83.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-a63b5b22.js → HEIGHT_GIRLS.zscore.weekly-c7d64e54.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-436400b0.js → HEIGHT_GIRLS.zscore.yearly-f086888a.js} +0 -0
- /package/build/esm/{Visible-a9de7388.js → Visible-2f53b79b.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-5c205bc4.js → WEIGHT_BOYS.percentile.monthly-b17b8ff9.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-6b2234ad.js → WEIGHT_BOYS.percentile.weekly-3af7ebf3.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-cfa64b7b.js → WEIGHT_BOYS.percentile.yearly-f782303b.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-7a952e01.js → WEIGHT_BOYS.zscore.monthly-c9ed64af.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-88043d5b.js → WEIGHT_BOYS.zscore.weekly-4540cabb.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-97865923.js → WEIGHT_BOYS.zscore.yearly-2f1f9c58.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-bf43f67c.js → WEIGHT_GIRLS.percentile.monthly-86dce0cb.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-a7916366.js → WEIGHT_GIRLS.percentile.weekly-69578cf9.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-0f4f4835.js → WEIGHT_GIRLS.percentile.yearly-0a7ad86a.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-720c9d68.js → WEIGHT_GIRLS.zscore.monthly-c38d04c1.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-0fe876f7.js → WEIGHT_GIRLS.zscore.weekly-054a7793.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-6e69aa6f.js → WEIGHT_GIRLS.zscore.yearly-9cae2489.js} +0 -0
- /package/build/esm/{cookieHelper-66019d7c.js → cookieHelper-0c7b12e7.js} +0 -0
- /package/build/esm/{dataTransform-7cbe2b75.js → dataTransform-5d371539.js} +0 -0
- /package/build/esm/{index-1dbd770d.js → index-1e929af7.js} +0 -0
- /package/build/esm/{index-d71717bf.js → index-8532d46b.js} +0 -0
- /package/build/esm/{index-44be6dee.js → index-d2815002.js} +0 -0
- /package/build/esm/{isProduction-f5099945.js → isProduction-9316ccb5.js} +0 -0
- /package/build/esm/{localizeNumberFormat-760ac0c3.js → localizeNumberFormat-d1127967.js} +0 -0
- /package/build/esm/{normalizeLink-f4e87ebe.js → normalizeLink-6d5c758b.js} +0 -0
- /package/build/esm/{number-150cab79.js → number-4ce2a65c.js} +0 -0
- /package/build/esm/{paths-b8ff5553.js → paths-85cabf93.js} +0 -0
- /package/build/esm/{screenSizeContext-25c92de6.js → screenSizeContext-705a313a.js} +0 -0
- /package/build/esm/{theme-de71eed3.js → theme-4d46eb99.js} +0 -0
- /package/build/esm/{translationsContext-85ba1228.js → translationsContext-267d2c2b.js} +0 -0
- /package/build/esm/{tslib.es6-f1757470.js → tslib.es6-0016fb2e.js} +0 -0
- /package/build/esm/{types-6a9ff247.js → types-60cfe8b3.js} +0 -0
- /package/build/esm/{useIsInit-04c9dc57.js → useIsInit-755f04c3.js} +0 -0
- /package/build/esm/{useOutsideClick-f4512be5.js → useOutsideClick-a454f054.js} +0 -0
- /package/build/esm/{useScrollbarSize-8ef8c6e8.js → useScrollbarSize-8fe9a9d3.js} +0 -0
- /package/build/{index-757ab0e0.js → index-214222a0.js} +0 -0
- /package/build/{index-feba14a5.js → index-519982d6.js} +0 -0
- /package/build/{index-4e9cf4f0.js → index-6460bb54.js} +0 -0
- /package/build/{isProduction-2c9e592d.js → isProduction-69925a51.js} +0 -0
- /package/build/{localizeNumberFormat-dfc09584.js → localizeNumberFormat-a302e355.js} +0 -0
- /package/build/{normalizeLink-a4c74a93.js → normalizeLink-be8f13d1.js} +0 -0
- /package/build/{number-31761a03.js → number-ec54adad.js} +0 -0
- /package/build/{paths-b5498508.js → paths-7baf53b7.js} +0 -0
- /package/build/{screenSizeContext-633e2500.js → screenSizeContext-111c12b7.js} +0 -0
- /package/build/{theme-202c84dc.js → theme-4b109976.js} +0 -0
- /package/build/{translationsContext-b7d75f11.js → translationsContext-5b78f642.js} +0 -0
- /package/build/{tslib.es6-22ed8255.js → tslib.es6-209b302e.js} +0 -0
- /package/build/{types-eb4862f1.js → types-1b46d6d3.js} +0 -0
- /package/build/{useIsInit-a4040fcf.js → useIsInit-c4d76526.js} +0 -0
- /package/build/{useOutsideClick-81fc0751.js → useOutsideClick-5bcace03.js} +0 -0
- /package/build/{useScrollbarSize-7efdc277.js → useScrollbarSize-30b0c701.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-4b109976.js"),o=require("./screenSizeContext-111c12b7.js"),r=require("./tslib.es6-209b302e.js"),a=require("react"),i=require("@mantine/core"),l=require("./constants-366d8cc3.js"),n=require("react-keyed-flatten-children"),s=require("./cookieHelper-a2566341.js"),d=require("slugify");require("./index-114d7387.js");var c=require("string-format"),p=require("./isProduction-69925a51.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:E,CustomInput:f,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"}},f||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:E,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"},Ee={"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}},fe="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:Ee,BEARER_TOKEN_COOKIE:fe,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)=>{let o="";r&&(o=Object.keys(r).map((e=>e+"="+r[e])).join("&"));const{togetherBaseApiUrl:a=""}=(null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{};let i=_.default(e,Object.assign(Object.assign({},(null==t?void 0:t._locale)?{website_url:Le(String(t._locale))}:{}),t));return i+=`${i.includes("?")?"&":"?"}${o}`,a+"api/v1/"+Re(i)},$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[fe]||s.getCookie(fe);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=fe,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=E,exports.StyledBorderHeading=f,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[fe]||s.getCookie(fe);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"},Ee={"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}},fe="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:Ee,BEARER_TOKEN_COOKIE:fe,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[fe]||s.getCookie(fe);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=fe,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=E,exports.StyledBorderHeading=f,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[fe]||s.getCookie(fe);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";
|