@hhgtech/hhg-components 1.29.349 → 1.29.351-beta-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/{LastPeriod-3540a6b9.js → LastPeriod-0c87f604.js} +1 -1
- package/build/{MobileBottomNavigationIcon-2425b88d.js → MobileBottomNavigationIcon-dacda9b5.js} +3 -3
- package/build/{Spinner-29efc69e.js → Spinner-b1260331.js} +1 -1
- package/build/{WhatsApp-11a5928c.js → WhatsApp-e36fa113.js} +1 -1
- package/build/adapters.js +19 -19
- package/build/atoms.js +47 -47
- package/build/babyGrowth.js +83 -83
- package/build/cache.js +2 -2
- package/build/care.js +17 -17
- package/build/careBookingSearchBar.js +14 -14
- package/build/careBookingSearchBarV2.js +15 -15
- package/build/components/atoms/drawerComponent/index.d.ts +1 -0
- package/build/components/atoms/icons/Play.d.ts +4 -0
- package/build/components/molecules/index.d.ts +2 -0
- package/build/components/molecules/videoItem/index.d.ts +4 -0
- package/build/components/molecules/videoItem/index.styles.d.ts +14 -0
- package/build/components/molecules/videoItem/shorts/index.d.ts +4 -0
- package/build/components/molecules/videoItem/shorts/index.styles.d.ts +21 -0
- package/build/components/molecules/videoItem/types.d.ts +13 -0
- package/build/components/molecules/videoItem/utils.d.ts +1 -0
- package/build/components/molecules/videoItem/video/index.d.ts +4 -0
- package/build/components/molecules/videoItem/video/index.styles.d.ts +22 -0
- package/build/components/molecules/videoPlayerModal/index.d.ts +9 -0
- package/build/components/navigationV2/components/molecules/menuVideoList/Item/index.d.ts +15 -0
- package/build/components/navigationV2/components/molecules/menuVideoList/Item/index.styled.d.ts +13 -0
- package/build/components/navigationV2/components/molecules/menuVideoList/index.d.ts +9 -0
- package/build/components/navigationV2/components/molecules/menuVideoList/index.styled.d.ts +5 -0
- package/build/components/navigationV2/components/molecules/menuVideoList/videoSpotlights.d.ts +8 -0
- package/build/components/navigationV2/components/molecules/navigationBar/index.styled.d.ts +2 -0
- package/build/components/navigationV2/hooks/useNavConfig.d.ts +3 -0
- package/build/components/navigationV2/index.d.ts +9 -0
- package/build/components/navigationV2/types.d.ts +2 -2
- package/build/components/navigationV2/utils.d.ts +2 -0
- package/build/components.js +97 -91
- package/build/{constants-dcf07a2b.js → constants-ca169c5a.js} +1 -1
- package/build/constants.js +5 -3
- package/build/constantsDomainLocales.js +1 -1
- package/build/constantsRiskScreener.js +2 -2
- package/build/constantsSite.js +2 -2
- package/build/{core-bf635a4c.js → core-cf6e2af8.js} +1 -1
- package/build/dataTransform-2b78acf3.js +13 -0
- package/build/{dataTransform-e1b2da85.js → dataTransform-69f7d427.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-40cb6590.js → editor-18b9a893.js} +11 -11
- package/build/embeddedHeathToolCards_babyGrowth.js +23 -23
- package/build/embeddedHeathToolCards_babyPoop.js +19 -19
- package/build/embeddedHeathToolCards_babyVaccine.js +22 -22
- package/build/embeddedHeathToolCards_bmi_bmi.js +25 -25
- package/build/embeddedHeathToolCards_bmrBmr.js +25 -25
- package/build/embeddedHeathToolCards_dueDate_dueDate.js +22 -22
- package/build/embeddedHeathToolCards_ovulation_ovulation.js +22 -22
- package/build/embeddedHeathToolCards_pwg_pwg.js +26 -26
- package/build/embeddedHeathToolCards_targetHeartRate.js +27 -27
- package/build/esm/{LastPeriod-135ef0dc.js → LastPeriod-2875ffc2.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-c448e8fe.js → MobileBottomNavigationIcon-3b168be7.js} +3 -3
- package/build/esm/{Spinner-518e5c82.js → Spinner-c771ed5f.js} +1 -1
- package/build/esm/{WhatsApp-a50d4537.js → WhatsApp-82f6685c.js} +1 -1
- package/build/esm/adapters.js +19 -19
- package/build/esm/atoms.js +47 -47
- package/build/esm/babyGrowth.js +83 -83
- package/build/esm/cache.js +2 -2
- package/build/esm/care.js +17 -17
- package/build/esm/careBookingSearchBar.js +14 -14
- package/build/esm/careBookingSearchBarV2.js +15 -15
- package/build/esm/components/atoms/drawerComponent/index.d.ts +1 -0
- package/build/esm/components/atoms/icons/Play.d.ts +4 -0
- package/build/esm/components/molecules/index.d.ts +2 -0
- package/build/esm/components/molecules/videoItem/index.d.ts +4 -0
- package/build/esm/components/molecules/videoItem/index.styles.d.ts +14 -0
- package/build/esm/components/molecules/videoItem/shorts/index.d.ts +4 -0
- package/build/esm/components/molecules/videoItem/shorts/index.styles.d.ts +21 -0
- package/build/esm/components/molecules/videoItem/types.d.ts +13 -0
- package/build/esm/components/molecules/videoItem/utils.d.ts +1 -0
- package/build/esm/components/molecules/videoItem/video/index.d.ts +4 -0
- package/build/esm/components/molecules/videoItem/video/index.styles.d.ts +22 -0
- package/build/esm/components/molecules/videoPlayerModal/index.d.ts +9 -0
- package/build/esm/components/navigationV2/components/molecules/menuVideoList/Item/index.d.ts +15 -0
- package/build/esm/components/navigationV2/components/molecules/menuVideoList/Item/index.styled.d.ts +13 -0
- package/build/esm/components/navigationV2/components/molecules/menuVideoList/index.d.ts +9 -0
- package/build/esm/components/navigationV2/components/molecules/menuVideoList/index.styled.d.ts +5 -0
- package/build/esm/components/navigationV2/components/molecules/menuVideoList/videoSpotlights.d.ts +8 -0
- package/build/esm/components/navigationV2/components/molecules/navigationBar/index.styled.d.ts +2 -0
- package/build/esm/components/navigationV2/hooks/useNavConfig.d.ts +3 -0
- package/build/esm/components/navigationV2/index.d.ts +9 -0
- package/build/esm/components/navigationV2/types.d.ts +2 -2
- package/build/esm/components/navigationV2/utils.d.ts +2 -0
- package/build/esm/components.js +95 -91
- package/build/esm/{constants-71f01179.js → constants-25ae899e.js} +1 -1
- package/build/esm/constants.js +3 -3
- package/build/esm/constantsDomainLocales.js +1 -1
- package/build/esm/constantsRiskScreener.js +2 -2
- package/build/esm/constantsSite.js +2 -2
- package/build/esm/{core-af11d20d.js → core-9a48dabc.js} +1 -1
- package/build/esm/{dataTransform-f2b1a7aa.js → dataTransform-23043966.js} +1 -1
- package/build/esm/dataTransform-f555c9cc.js +11 -0
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-f4ccfcb0.js → editor-de6642e2.js} +11 -11
- package/build/esm/embeddedHeathToolCards_babyGrowth.js +23 -23
- package/build/esm/embeddedHeathToolCards_babyPoop.js +19 -19
- package/build/esm/embeddedHeathToolCards_babyVaccine.js +22 -22
- package/build/esm/embeddedHeathToolCards_bmi_bmi.js +25 -25
- package/build/esm/embeddedHeathToolCards_bmrBmr.js +25 -25
- package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +22 -22
- package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +22 -22
- package/build/esm/embeddedHeathToolCards_pwg_pwg.js +26 -26
- package/build/esm/embeddedHeathToolCards_targetHeartRate.js +27 -27
- package/build/esm/footer.js +21 -21
- package/build/esm/gAssets.js +2 -2
- package/build/esm/healthToolsCardWrapper.js +18 -18
- package/build/esm/healthToolsForm.js +33 -33
- package/build/esm/hooks/useCSSFocusPopupHelper.d.ts +1 -0
- package/build/esm/hooks.js +13 -13
- package/build/esm/i18n/translationKeys.d.ts +1 -1
- package/build/esm/i18n-values/en-PH.js +9 -0
- package/build/esm/i18n-values/hi-IN.js +9 -0
- package/build/esm/i18n-values/id-ID.js +9 -0
- package/build/esm/i18n-values/km-KH.js +9 -0
- package/build/esm/i18n-values/ms-MY.js +9 -0
- package/build/esm/i18n-values/my-MM.js +9 -0
- package/build/esm/i18n-values/th-TH.js +9 -0
- package/build/esm/i18n-values/tl-PH.js +9 -0
- package/build/esm/i18n-values/vi-VN.js +9 -0
- package/build/esm/i18n-values/vi-VN_MB.js +9 -0
- package/build/esm/i18n-values/zh-TW.js +9 -0
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-906ac212.js → index-0215aa3a.js} +7 -7
- package/build/esm/{index-e50eaf7c.js → index-0538915a.js} +5 -5
- package/build/esm/{index-8239162c.js → index-075ba1e1.js} +15 -15
- package/build/esm/{index-2d654a1a.js → index-08a1606a.js} +1 -1
- package/build/esm/{index-9f9e3aff.js → index-1142e3d3.js} +16 -16
- package/build/esm/{index-75b6adf7.js → index-18cf18ca.js} +11 -11
- package/build/esm/{index-11cf1fd0.js → index-2355bf06.js} +210 -98
- package/build/esm/{index-76a7bd9d.js → index-351f9a0c.js} +2 -2
- package/build/esm/{index-b14478e8.js → index-45d270af.js} +3 -3
- package/build/esm/{index-ff8fa730.js → index-4b466fad.js} +1 -1
- package/build/esm/{index-b605d917.js → index-4d85e9fa.js} +2 -2
- package/build/esm/{index-7598d2cd.js → index-5688184e.js} +2 -2
- package/build/esm/{index-c15ae10d.js → index-56a0dca0.js} +3 -3
- package/build/esm/{index-e4721d93.js → index-57119a2f.js} +6 -6
- package/build/esm/{index-29e95d32.js → index-63abdccd.js} +2 -2
- package/build/esm/{index-da2f59f2.js → index-63b7926a.js} +2 -2
- package/build/esm/{index-1adcbf88.js → index-6a0c99ff.js} +13 -13
- package/build/esm/{index-def423d4.js → index-6d7f28dd.js} +11 -3
- package/build/esm/index-70726722.js +54 -0
- package/build/esm/{index-314b0752.js → index-7085c360.js} +19 -233
- package/build/esm/{index-0d344f9f.js → index-72287a1e.js} +24 -24
- package/build/esm/{index-092feefb.js → index-72416d52.js} +5 -5
- package/build/esm/index-724296c1.js +225 -0
- package/build/esm/{index-8ff5843f.js → index-78ac23bf.js} +24 -24
- package/build/esm/{index-e8ec05bc.js → index-7e9f7887.js} +2 -2
- package/build/esm/{index-2f334402.js → index-80af9731.js} +32 -31
- package/build/esm/{index-16098f47.js → index-81804294.js} +17 -17
- package/build/esm/{index-20d45dcd.js → index-8630e312.js} +18 -11
- package/build/esm/{index-5de36917.js → index-8767c2da.js} +16 -16
- package/build/esm/{index-2321b154.js → index-8c90d872.js} +16 -16
- package/build/esm/{index-2a66607f.js → index-93dfd4e1.js} +8 -4
- package/build/esm/{index-85f75df4.js → index-96b168c1.js} +3 -3
- package/build/esm/{index-4201a481.js → index-977a3ce3.js} +18 -18
- package/build/esm/{index-41130e9f.js → index-99c76287.js} +3 -3
- package/build/esm/{index-4189a962.js → index-9df48d36.js} +1 -1
- package/build/esm/{index-74ad19ab.js → index-a3f242de.js} +18 -18
- package/build/esm/{index-21b4d3a4.js → index-a4a09e75.js} +2 -2
- package/build/esm/{index-50f9b41e.js → index-a7dcdbd0.js} +1 -1
- package/build/esm/{index-93fa5a80.js → index-a8a96beb.js} +6 -6
- package/build/esm/{index-d1b29da0.js → index-ae6bf889.js} +19 -7
- package/build/esm/{index-fafcf523.js → index-b699bc6a.js} +1 -1
- package/build/esm/{index-99ca43c8.js → index-b7a759a5.js} +3 -3
- package/build/esm/{index-45165697.js → index-ba1c001e.js} +21 -21
- package/build/esm/{index-30eaf96e.js → index-be48c27e.js} +13 -13
- package/build/esm/index-c34b3b5c.js +494 -0
- package/build/esm/{index-92e61bb7.js → index-c3938494.js} +17 -63
- package/build/esm/{index-c5febaaf.js → index-c61a5d08.js} +1 -1
- package/build/esm/{index-750e1404.js → index-cd8d5fb2.js} +16 -16
- package/build/esm/{index-3e24192c.js → index-d021d300.js} +6 -6
- package/build/esm/{index-59101a4f.js → index-d433c3d7.js} +3 -3
- package/build/esm/{index-14e17784.js → index-d4c65e28.js} +1 -1
- package/build/esm/{index-1bdfad00.js → index-d51287ef.js} +17 -17
- package/build/esm/{index-4517b607.js → index-d5401d04.js} +2 -2
- package/build/esm/{index-613417dd.js → index-d6e68b7a.js} +6 -6
- package/build/esm/{index-cf0e1b27.js → index-ddd68f2b.js} +13 -13
- package/build/esm/{index-4b4050f3.js → index-e2bfb2cb.js} +2 -2
- package/build/esm/{index-0ed85b02.js → index-e4fea84c.js} +2 -2
- package/build/esm/{index-5e8cc822.js → index-ea222e0d.js} +4 -4
- package/build/esm/{index-153780cf.js → index-f0bf6c7a.js} +13 -13
- package/build/esm/{index-f6b333fa.js → index-f3538c90.js} +22 -20
- package/build/esm/{index-3f770afe.js → index-f7236114.js} +2 -2
- package/build/esm/{index-f5c3297f.js → index-f8313571.js} +7 -7
- package/build/esm/{index-eb34e967.js → index-fd5c91de.js} +1 -1
- package/build/esm/{index-8601b6b7.js → index-ffbb311f.js} +31 -30
- package/build/esm/index.js +116 -113
- package/build/esm/interfaces/constants/index.d.ts +2 -0
- package/build/esm/interfaces/healthTools.d.ts +1 -0
- package/build/esm/interfaces/types/Video.d.ts +36 -0
- package/build/esm/interfaces/types/index.d.ts +1 -0
- package/build/esm/{labelSorting-03a44199.js → labelSorting-3ac74bd0.js} +4 -4
- package/build/esm/lead/helpers.d.ts +31 -0
- package/build/esm/lead/layouts/lightbox/emptyComponent.d.ts +6 -0
- package/build/esm/lead/layouts/lightbox/fields/googleLocationBlock.d.ts +7 -0
- package/build/esm/lead/layouts/lightbox/formContainer.d.ts +17 -0
- package/build/esm/lead/layouts/lightbox/headerImage.d.ts +11 -0
- package/build/esm/lead.css +1 -1
- package/build/esm/lead.js +290 -183
- package/build/esm/{logoIcon-16e71ac4.js → logoIcon-da9c0bc9.js} +2 -2
- package/build/esm/mantine.js +25 -25
- package/build/esm/misc.js +17 -16
- package/build/esm/miscGetDynamicHealthTool.js +4 -4
- package/build/esm/miscGetSocialList.js +8 -8
- package/build/esm/miscScreenSizeContext.js +1 -1
- package/build/esm/mobileBottomNavigation.js +5 -5
- package/build/esm/mobileBottomNavigationIcon.js +5 -5
- package/build/esm/molecules.js +73 -69
- package/build/esm/moleculesArticleCard.js +6 -6
- package/build/esm/moleculesArticleCardV2.js +16 -16
- package/build/esm/navigation.js +50 -45
- package/build/esm/navigationLogoutPopup.js +9 -9
- package/build/esm/navigationProfileButton.js +23 -23
- package/build/esm/{dataTransform-61c78351.js → number-b1a85de9.js} +1 -11
- package/build/esm/onboardingV2.js +29 -29
- package/build/esm/organisms.js +53 -48
- package/build/esm/{post-ff05f592.js → post-86875f57.js} +2 -2
- package/build/esm/profileNavigation.js +19 -19
- package/build/esm/progressBar.js +1 -1
- package/build/esm/pwg.js +22 -22
- package/build/esm/ssoV2/api/featureFlag.d.ts +2 -1
- package/build/esm/ssoV2/index.d.ts +1 -0
- package/build/esm/ssoV2/utils.d.ts +6 -0
- package/build/esm/ssoV2.js +50 -56
- package/build/esm/{store-961adaba.js → store-208e5bec.js} +4 -4
- package/build/esm/subot.js +43 -42
- package/build/esm/surveyOrPremiumBanner.js +31 -31
- package/build/esm/surveyQuestionCard.js +10 -10
- package/build/esm/{surveyThankyouCard-92be9b0d.js → surveyThankyouCard-f7880df0.js} +5 -5
- package/build/esm/together.js +55 -53
- package/build/esm/togetherApiUtils.js +4 -4
- package/build/esm/togetherAtoms.js +30 -30
- package/build/esm/togetherComponentGlobalContext.js +4 -4
- package/build/esm/togetherMolecules.js +50 -48
- package/build/esm/togetherMoleculesCardAuthor.js +28 -27
- package/build/esm/togetherMoleculesPostImagePreview.js +11 -11
- package/build/esm/togetherMoleculesProfileDetail.js +38 -37
- package/build/esm/togetherOrganisms.js +56 -54
- package/build/esm/togetherRichTextEditor.js +17 -17
- package/build/esm/togetherShareBox.js +10 -10
- package/build/esm/{treePopoverMenu-64320e72.js → treePopoverMenu-fbfdb43e.js} +19 -19
- package/build/esm/{types-053f17e0.js → types-4d4636f1.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-a1beffd9.js → useCategory-7bbc646e.js} +5 -5
- package/build/esm/{useHealthToolCache-f2578df3.js → useHealthToolCache-91bfc4c2.js} +1 -1
- package/build/esm/{useMantineLocale-b482abdd.js → useMantineLocale-2f880379.js} +6 -6
- package/build/esm/{usePlacesAutocomplete-5b5c15ac.js → usePlacesAutocomplete-79c27577.js} +1 -1
- package/build/esm/{useScreenSize-a0bc6826.js → useScreenSize-b689324f.js} +2 -2
- package/build/esm/useTogetherAuthRequiredAction.js +9 -9
- package/build/esm/{utils-206705f4.js → utils-1ef10b87.js} +3 -3
- package/build/esm/{utils-5f158694.js → utils-7cf2e241.js} +2 -2
- package/build/esm/{utils-ea2d2be6.js → utils-c616d3df.js} +2 -2
- package/build/esm/utils-fcc22029.js +55 -0
- package/build/esm/vaccination.js +21 -21
- package/build/footer.js +21 -21
- package/build/gAssets.js +2 -2
- package/build/healthToolsCardWrapper.js +18 -18
- package/build/healthToolsForm.js +33 -33
- package/build/hooks/useCSSFocusPopupHelper.d.ts +1 -0
- package/build/hooks.js +13 -13
- package/build/i18n/translationKeys.d.ts +1 -1
- package/build/i18n-values/en-PH.js +9 -0
- package/build/i18n-values/hi-IN.js +9 -0
- package/build/i18n-values/id-ID.js +9 -0
- package/build/i18n-values/km-KH.js +9 -0
- package/build/i18n-values/ms-MY.js +9 -0
- package/build/i18n-values/my-MM.js +9 -0
- package/build/i18n-values/th-TH.js +9 -0
- package/build/i18n-values/tl-PH.js +9 -0
- package/build/i18n-values/vi-VN.js +9 -0
- package/build/i18n-values/vi-VN_MB.js +9 -0
- package/build/i18n-values/zh-TW.js +9 -0
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-801f831e.js → index-00e31dc7.js} +1 -1
- package/build/{index-2b8d5922.js → index-01199c59.js} +6 -6
- package/build/{index-7d74a494.js → index-046685a6.js} +2 -2
- package/build/{index-e1a39c0f.js → index-05e6202a.js} +10 -2
- package/build/{index-f4073ef9.js → index-084e0df1.js} +18 -18
- package/build/{index-d586f960.js → index-0a07827e.js} +19 -234
- package/build/{index-bacfdf72.js → index-133ec2f8.js} +17 -17
- package/build/{index-de872eb4.js → index-136c16c8.js} +31 -78
- package/build/{index-e5b187b5.js → index-2048156a.js} +16 -16
- package/build/{index-239a44cd.js → index-3c1ebd51.js} +4 -4
- package/build/{index-30e77221.js → index-3c7dbe4d.js} +13 -13
- package/build/{index-7831797f.js → index-3ddb12d3.js} +3 -3
- package/build/{index-5597150a.js → index-3f8f553c.js} +13 -13
- package/build/{index-4d2dd5d2.js → index-422e1365.js} +2 -2
- package/build/{index-7334c021.js → index-431fa632.js} +3 -3
- package/build/{index-0c666eec.js → index-56485788.js} +2 -2
- package/build/{index-9eac0534.js → index-5c2d9a9b.js} +31 -30
- package/build/{index-abe62ca7.js → index-5cbb04b0.js} +6 -6
- package/build/{index-4d72db3c.js → index-5d43260b.js} +2 -2
- package/build/{index-293b14b4.js → index-5e7965b6.js} +13 -13
- package/build/{index-c1280c9e.js → index-611b7c83.js} +3 -3
- package/build/{index-c246a805.js → index-6156831d.js} +2 -2
- package/build/{index-e79b74ad.js → index-62548512.js} +17 -17
- package/build/{index-86fb82cb.js → index-69e6de3a.js} +3 -3
- package/build/{index-d3eee893.js → index-70de7321.js} +13 -13
- package/build/{index-e785998a.js → index-71148417.js} +1 -1
- package/build/{index-10563d2d.js → index-72671071.js} +2 -2
- package/build/{index-ede81ff3.js → index-761f2bbb.js} +34 -32
- package/build/{index-f0964133.js → index-79d2fc4e.js} +21 -21
- package/build/{index-c2b6c6df.js → index-7a3a5929.js} +1 -1
- package/build/{index-2ec2e22f.js → index-7d793ec4.js} +1 -1
- package/build/{index-24f74a6c.js → index-82baad1d.js} +1 -1
- package/build/{index-684d0882.js → index-8e0ed6f2.js} +2 -2
- package/build/index-8e28098d.js +232 -0
- package/build/{index-923ca659.js → index-9022ed3c.js} +5 -5
- package/build/{index-ed9cdb03.js → index-92c94b94.js} +18 -18
- package/build/{index-4c3d9fab.js → index-9462f653.js} +6 -6
- package/build/{index-251bc19b.js → index-9e4e4f3c.js} +7 -7
- package/build/{index-818e3329.js → index-9e7d1f56.js} +18 -11
- package/build/{index-d679f0b1.js → index-9f602174.js} +24 -24
- package/build/{index-4840213b.js → index-9f669237.js} +3 -3
- package/build/{index-6c7afdca.js → index-a3c67dcf.js} +2 -2
- package/build/index-a6f688f6.js +504 -0
- package/build/{index-c44ce30e.js → index-b4f6f804.js} +7 -7
- package/build/{index-66035c29.js → index-bdbf0a5a.js} +1 -1
- package/build/{index-082c1f5c.js → index-be4367ae.js} +15 -15
- package/build/{index-92c78315.js → index-bf4b5ae2.js} +1 -1
- package/build/index-cd7f4e33.js +61 -0
- package/build/{index-293892eb.js → index-ce7e00ca.js} +5 -5
- package/build/{index-d5bd7852.js → index-ce7f45bf.js} +217 -105
- package/build/{index-7c731bb3.js → index-cff968db.js} +6 -6
- package/build/{index-da6b25ba.js → index-d71f7cfc.js} +1 -1
- package/build/{index-5ffb9c80.js → index-dab1cb47.js} +2 -2
- package/build/{index-bd8d3d98.js → index-df980c7e.js} +16 -16
- package/build/{index-2643e607.js → index-e3f36531.js} +16 -16
- package/build/{index-6624dc27.js → index-e4b4f6e4.js} +37 -36
- package/build/{index-f30ece98.js → index-e6c26fc2.js} +19 -7
- package/build/{index-d1a1f50a.js → index-eab1da9a.js} +3 -3
- package/build/{index-91f78d81.js → index-ec7f237b.js} +24 -24
- package/build/{index-69e5e1b3.js → index-f01067ba.js} +2 -2
- package/build/{index-ca0aaa30.js → index-f5477e08.js} +2 -2
- package/build/{index-6dcbaf78.js → index-f6064fa3.js} +16 -16
- package/build/{index-78c6c6cf.js → index-f91d4f9b.js} +11 -11
- package/build/{index-54096852.js → index-faf96499.js} +9 -3
- package/build/index.js +128 -123
- package/build/interfaces/constants/index.d.ts +2 -0
- package/build/interfaces/healthTools.d.ts +1 -0
- package/build/interfaces/types/Video.d.ts +36 -0
- package/build/interfaces/types/index.d.ts +1 -0
- package/build/{labelSorting-d221a981.js → labelSorting-481c7f81.js} +4 -4
- package/build/lead/helpers.d.ts +31 -0
- package/build/lead/layouts/lightbox/emptyComponent.d.ts +6 -0
- package/build/lead/layouts/lightbox/fields/googleLocationBlock.d.ts +7 -0
- package/build/lead/layouts/lightbox/formContainer.d.ts +17 -0
- package/build/lead/layouts/lightbox/headerImage.d.ts +11 -0
- package/build/lead.css +1 -1
- package/build/lead.js +290 -183
- package/build/{logoIcon-f344c366.js → logoIcon-1dded2a1.js} +2 -2
- package/build/mantine.js +22 -22
- package/build/misc.js +19 -18
- package/build/miscGetDynamicHealthTool.js +4 -4
- package/build/miscGetSocialList.js +8 -8
- package/build/miscScreenSizeContext.js +1 -1
- package/build/mobileBottomNavigation.js +5 -5
- package/build/mobileBottomNavigationIcon.js +5 -5
- package/build/molecules.js +75 -69
- package/build/moleculesArticleCard.js +6 -6
- package/build/moleculesArticleCardV2.js +16 -16
- package/build/navigation.js +50 -45
- package/build/navigationLogoutPopup.js +9 -9
- package/build/navigationProfileButton.js +23 -23
- package/build/{dataTransform-cd43633f.js → number-9759d3f3.js} +0 -11
- package/build/onboardingV2.js +28 -28
- package/build/organisms.js +53 -48
- package/build/{post-68372a5c.js → post-55130c86.js} +2 -2
- package/build/profileNavigation.js +19 -19
- package/build/progressBar.js +1 -1
- package/build/pwg.js +22 -22
- package/build/ssoV2/api/featureFlag.d.ts +2 -1
- package/build/ssoV2/index.d.ts +1 -0
- package/build/ssoV2/utils.d.ts +6 -0
- package/build/ssoV2.js +65 -71
- package/build/{store-90450103.js → store-2b136a1f.js} +4 -4
- package/build/subot.js +42 -41
- package/build/surveyOrPremiumBanner.js +31 -31
- package/build/surveyQuestionCard.js +10 -10
- package/build/{surveyThankyouCard-b17d0ead.js → surveyThankyouCard-1197c929.js} +5 -5
- package/build/together.js +63 -61
- package/build/togetherApiUtils.js +4 -4
- package/build/togetherAtoms.js +30 -30
- package/build/togetherComponentGlobalContext.js +4 -4
- package/build/togetherMolecules.js +51 -49
- package/build/togetherMoleculesCardAuthor.js +28 -27
- package/build/togetherMoleculesPostImagePreview.js +11 -11
- package/build/togetherMoleculesProfileDetail.js +38 -37
- package/build/togetherOrganisms.js +56 -54
- package/build/togetherRichTextEditor.js +17 -17
- package/build/togetherShareBox.js +10 -10
- package/build/{treePopoverMenu-6493d54c.js → treePopoverMenu-e057488c.js} +19 -19
- package/build/{types-9a594994.js → types-c4ab840e.js} +2 -2
- package/build/types.js +6 -2
- package/build/{useCategory-d6102fc5.js → useCategory-044304b6.js} +5 -5
- package/build/{useHealthToolCache-6c22500d.js → useHealthToolCache-68e6225b.js} +1 -1
- package/build/{useMantineLocale-5e25dbd7.js → useMantineLocale-681887a6.js} +6 -6
- package/build/{usePlacesAutocomplete-2c39ed87.js → usePlacesAutocomplete-61107b84.js} +1 -1
- package/build/{useScreenSize-23da1322.js → useScreenSize-e44ff92b.js} +2 -2
- package/build/useTogetherAuthRequiredAction.js +9 -9
- package/build/{utils-cfd7bb44.js → utils-0ad9aa89.js} +3 -3
- package/build/utils-0ccea534.js +61 -0
- package/build/{utils-f03f5aa2.js → utils-429eb4e6.js} +2 -2
- package/build/{utils-36e81afa.js → utils-d60203c1.js} +2 -2
- package/build/vaccination.js +21 -21
- package/package.json +1 -1
- package/build/components/atoms/googleLocation/index.d.ts +0 -7
- package/build/esm/components/atoms/googleLocation/index.d.ts +0 -7
- package/build/esm/index-bd2495ce.js +0 -148
- package/build/index-74841ceb.js +0 -156
- /package/build/{BMI_BOYS.percentile.monthly-4b4ead7c.js → BMI_BOYS.percentile.monthly-38fdfcf3.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-275b5075.js → BMI_BOYS.percentile.weekly-11e5b68b.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-f45e4de7.js → BMI_BOYS.percentile.yearly-9f3013f8.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-34c01826.js → BMI_BOYS.zscore.monthly-ab152b5e.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-ff058983.js → BMI_BOYS.zscore.weekly-755750c3.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-e83db155.js → BMI_BOYS.zscore.yearly-3a7f13b4.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-5952a5f6.js → BMI_GIRLS.percentile.monthly-a263f531.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-cabf64c6.js → BMI_GIRLS.percentile.weekly-8ad3a67c.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-f7ed2115.js → BMI_GIRLS.percentile.yearly-647a8db0.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-2ddfbad7.js → BMI_GIRLS.zscore.monthly-1db27e68.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-77fbbbb2.js → BMI_GIRLS.zscore.weekly-726a04b2.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-b0778e65.js → BMI_GIRLS.zscore.yearly-83c5fe25.js} +0 -0
- /package/build/{ChevronDown-de1ece98.js → ChevronDown-15899ea8.js} +0 -0
- /package/build/{Close-f7a2dac0.js → Close-5609ab8d.js} +0 -0
- /package/build/{Google-09fa7368.js → Google-f28db01e.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-cdd4c1aa.js → HEAD CIRCUM_BOYS.percentile.monthly-93f792e5.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-0a8fb80b.js → HEAD CIRCUM_BOYS.percentile.weekly-6888ab2d.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-15ef21eb.js → HEAD CIRCUM_BOYS.percentile.yearly-29acef81.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-1780ca18.js → HEAD CIRCUM_BOYS.zscore.monthly-857fb5a2.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-d81d27c5.js → HEAD CIRCUM_BOYS.zscore.weekly-1e0f470f.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-78c7764f.js → HEAD CIRCUM_BOYS.zscore.yearly-524a0d7d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-cd5e7f71.js → HEAD CIRCUM_GIRLS.percentile.monthly-db176836.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-8ac9bd16.js → HEAD CIRCUM_GIRLS.percentile.weekly-9c96f8bd.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-10ab0a12.js → HEAD CIRCUM_GIRLS.percentile.yearly-11cd49b0.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-cb18cd53.js → HEAD CIRCUM_GIRLS.zscore.monthly-01829ce8.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-7511854b.js → HEAD CIRCUM_GIRLS.zscore.weekly-5ea492b9.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-7038e2d6.js → HEAD CIRCUM_GIRLS.zscore.yearly-d6664abb.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-8c085b60.js → HEIGHT_BOYS.percentile.monthly-611d3286.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-d307bc3f.js → HEIGHT_BOYS.percentile.weekly-0da208c0.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-aa29790b.js → HEIGHT_BOYS.percentile.yearly-f39eb767.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-6a550368.js → HEIGHT_BOYS.zscore.monthly-b2bb8b3d.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-dd015b01.js → HEIGHT_BOYS.zscore.weekly-c1259604.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-fa30f5c4.js → HEIGHT_BOYS.zscore.yearly-737046d7.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-364a4a1c.js → HEIGHT_GIRLS.percentile.monthly-e40770c9.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-b47df52c.js → HEIGHT_GIRLS.percentile.weekly-32e35024.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-fd47ff74.js → HEIGHT_GIRLS.percentile.yearly-bd45d6f8.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-92b8e61f.js → HEIGHT_GIRLS.zscore.monthly-1ea3be55.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-5f9bcf63.js → HEIGHT_GIRLS.zscore.weekly-fcafae18.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-0c498c6a.js → HEIGHT_GIRLS.zscore.yearly-51953ecf.js} +0 -0
- /package/build/{Locale-fe94e6b7.js → Locale-9a9c25ba.js} +0 -0
- /package/build/{Visible-ba7b3d53.js → Visible-3e6362ef.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-b1d92929.js → WEIGHT_BOYS.percentile.monthly-77a4ac1a.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-aaf578c7.js → WEIGHT_BOYS.percentile.weekly-05a3f734.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-2239ddd4.js → WEIGHT_BOYS.percentile.yearly-b9a64616.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-9e3d43f3.js → WEIGHT_BOYS.zscore.monthly-50cf0d34.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-a70c3f37.js → WEIGHT_BOYS.zscore.weekly-b70b5b4f.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-e4dc963c.js → WEIGHT_BOYS.zscore.yearly-6715be4d.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-8546d75a.js → WEIGHT_GIRLS.percentile.monthly-d2755260.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-0d8abcfc.js → WEIGHT_GIRLS.percentile.weekly-91f3d597.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-a252fa57.js → WEIGHT_GIRLS.percentile.yearly-eb8d0f7c.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-d8098121.js → WEIGHT_GIRLS.zscore.monthly-d6a9ea18.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-eb2ca773.js → WEIGHT_GIRLS.zscore.weekly-8c06163c.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-a7aa6f56.js → WEIGHT_GIRLS.zscore.yearly-0d274875.js} +0 -0
- /package/build/{animation-8e372e43.js → animation-2965d3fe.js} +0 -0
- /package/build/{constants-a0dcf322.js → constants-62df9928.js} +0 -0
- /package/build/{constants-adcd504a.js → constants-85011c6d.js} +0 -0
- /package/build/{constants-3dd494fd.js → constants-ad9c3894.js} +0 -0
- /package/build/{doctor-7f97e5bb.js → doctor-9c2cc449.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-daed3839.js → BMI_BOYS.percentile.monthly-2b8f295a.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-bb492b2f.js → BMI_BOYS.percentile.weekly-e5bf2e65.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-5078dcab.js → BMI_BOYS.percentile.yearly-ce87ffbd.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-b2722ac5.js → BMI_BOYS.zscore.monthly-4fd82101.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-4bc30b6b.js → BMI_BOYS.zscore.weekly-8c153610.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-a579a72b.js → BMI_BOYS.zscore.yearly-11279be6.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-f0cf5f80.js → BMI_GIRLS.percentile.monthly-2f570a7b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-d977dd24.js → BMI_GIRLS.percentile.weekly-565cc5df.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-9ad34a6a.js → BMI_GIRLS.percentile.yearly-eeff7908.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-e6677292.js → BMI_GIRLS.zscore.monthly-99cdd814.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-0aa4f907.js → BMI_GIRLS.zscore.weekly-4f73229e.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-d156197f.js → BMI_GIRLS.zscore.yearly-76d5210e.js} +0 -0
- /package/build/esm/{ChevronDown-d9b90ee4.js → ChevronDown-c3b7acfc.js} +0 -0
- /package/build/esm/{Close-82dea850.js → Close-763d013a.js} +0 -0
- /package/build/esm/{Google-5bdd036c.js → Google-c19a0256.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-ca3afd0b.js → HEAD CIRCUM_BOYS.percentile.monthly-1a5ba1df.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-b5983e55.js → HEAD CIRCUM_BOYS.percentile.weekly-ceb5e0e8.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-3bc06058.js → HEAD CIRCUM_BOYS.percentile.yearly-f85040db.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-2a3fb151.js → HEAD CIRCUM_BOYS.zscore.monthly-41dd67a5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-8093a754.js → HEAD CIRCUM_BOYS.zscore.weekly-a13e3426.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-86ff100b.js → HEAD CIRCUM_BOYS.zscore.yearly-7689391d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-4acde5cd.js → HEAD CIRCUM_GIRLS.percentile.monthly-2ece417e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-6388c74b.js → HEAD CIRCUM_GIRLS.percentile.weekly-74480197.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-2e907753.js → HEAD CIRCUM_GIRLS.percentile.yearly-a53c0242.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-da2e586c.js → HEAD CIRCUM_GIRLS.zscore.monthly-42d4ddca.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-aa5062af.js → HEAD CIRCUM_GIRLS.zscore.weekly-f56a4ced.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-d4aed2d0.js → HEAD CIRCUM_GIRLS.zscore.yearly-3b671928.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-4dfe4746.js → HEIGHT_BOYS.percentile.monthly-217e3f58.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-a6baa956.js → HEIGHT_BOYS.percentile.weekly-c7040460.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-d2011cb1.js → HEIGHT_BOYS.percentile.yearly-7f11e114.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-cdfabdff.js → HEIGHT_BOYS.zscore.monthly-3ecbf3af.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-ce164c2b.js → HEIGHT_BOYS.zscore.weekly-656f6afd.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-19bf9cf0.js → HEIGHT_BOYS.zscore.yearly-e7e70ba5.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-98b79637.js → HEIGHT_GIRLS.percentile.monthly-00021b65.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-55b39359.js → HEIGHT_GIRLS.percentile.weekly-fed985d0.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-f23da78d.js → HEIGHT_GIRLS.percentile.yearly-f69f7c5a.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-0a270c80.js → HEIGHT_GIRLS.zscore.monthly-c155ed03.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-25265133.js → HEIGHT_GIRLS.zscore.weekly-cb626fc4.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-be1f88fd.js → HEIGHT_GIRLS.zscore.yearly-ab488e2d.js} +0 -0
- /package/build/esm/{Locale-9dea4d4a.js → Locale-9b494286.js} +0 -0
- /package/build/esm/{Visible-bd26f31d.js → Visible-e5349501.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-d4fdfcb7.js → WEIGHT_BOYS.percentile.monthly-c8cb4ccb.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-f994d5b3.js → WEIGHT_BOYS.percentile.weekly-93944aaa.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-7209f636.js → WEIGHT_BOYS.percentile.yearly-1ae9d26e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-91d2ac15.js → WEIGHT_BOYS.zscore.monthly-d800d1f3.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-376e3f12.js → WEIGHT_BOYS.zscore.weekly-37eaa6fd.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-25df070f.js → WEIGHT_BOYS.zscore.yearly-69644237.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-1f2b86e4.js → WEIGHT_GIRLS.percentile.monthly-a5671b63.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-26ae073a.js → WEIGHT_GIRLS.percentile.weekly-f2207a78.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-e29254ad.js → WEIGHT_GIRLS.percentile.yearly-d929d29f.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-f855ae42.js → WEIGHT_GIRLS.zscore.monthly-1f54c6a1.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-9485b099.js → WEIGHT_GIRLS.zscore.weekly-2b45b152.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-59a78415.js → WEIGHT_GIRLS.zscore.yearly-c43a4f43.js} +0 -0
- /package/build/esm/{animation-d6ce9d00.js → animation-f91edf91.js} +0 -0
- /package/build/esm/{constants-3113c3f3.js → constants-84344d5e.js} +0 -0
- /package/build/esm/{constants-0dd52e3f.js → constants-9deb1413.js} +0 -0
- /package/build/esm/{constants-44428c3b.js → constants-aeae9501.js} +0 -0
- /package/build/esm/{doctor-79695d47.js → doctor-d288792c.js} +0 -0
- /package/build/esm/{index-9429fef2.js → index-0c911426.js} +0 -0
- /package/build/esm/{index-d60257ab.js → index-0e99d20e.js} +0 -0
- /package/build/esm/{index-e578acff.js → index-29a3b52a.js} +0 -0
- /package/build/esm/{index-9b4eb370.js → index-3b2e5262.js} +0 -0
- /package/build/esm/{index-e3dd4816.js → index-75bfe19f.js} +0 -0
- /package/build/esm/{index-68a622bd.js → index-80a9c9eb.js} +0 -0
- /package/build/esm/{index-e0c9065b.js → index-8d0259ad.js} +0 -0
- /package/build/esm/{index-ef1e92aa.js → index-c484ee95.js} +0 -0
- /package/build/esm/{index-fc4ff0c1.js → index-f07c00bd.js} +0 -0
- /package/build/esm/{index.styles-f1d20f0b.js → index.styles-4f9afc01.js} +0 -0
- /package/build/esm/{localizeNumberFormat-b58b0709.js → localizeNumberFormat-ebaff9fc.js} +0 -0
- /package/build/esm/{normalizeLink-0bbb9f2e.js → normalizeLink-356a4e59.js} +0 -0
- /package/build/esm/{other-5df2ee98.js → other-9a23db32.js} +0 -0
- /package/build/esm/{paths-79c2a942.js → paths-60eca75f.js} +0 -0
- /package/build/esm/{translationsContext-4a161a5e.js → translationsContext-6915a82a.js} +0 -0
- /package/build/esm/{tslib.es6-bea6774f.js → tslib.es6-cfddefe9.js} +0 -0
- /package/build/esm/{types-d6b560f0.js → types-f38dc69f.js} +0 -0
- /package/build/esm/{useIsInit-5cac74db.js → useIsInit-7e51de55.js} +0 -0
- /package/build/esm/{useOutsideClick-01227e67.js → useOutsideClick-557246e7.js} +0 -0
- /package/build/esm/{useScrollbarSize-94dd12a9.js → useScrollbarSize-d3cb6879.js} +0 -0
- /package/build/esm/{useUniqueId-ab3eacc1.js → useUniqueId-edcccf6c.js} +0 -0
- /package/build/esm/{utils-5a720548.js → utils-339046f6.js} +0 -0
- /package/build/{index-9b9a13c0.js → index-2f7efba5.js} +0 -0
- /package/build/{index-08dbe4bb.js → index-6b665cd9.js} +0 -0
- /package/build/{index-70053705.js → index-9eb89a78.js} +0 -0
- /package/build/{index-e5cda5ef.js → index-a63d22cb.js} +0 -0
- /package/build/{index-2340bde2.js → index-caea59ad.js} +0 -0
- /package/build/{index-2ac16096.js → index-dcbac626.js} +0 -0
- /package/build/{index-d49e78ee.js → index-e596adb8.js} +0 -0
- /package/build/{index-a9517b32.js → index-f9edb43e.js} +0 -0
- /package/build/{index-affa5696.js → index-fee7b6c8.js} +0 -0
- /package/build/{index.styles-f3cba150.js → index.styles-8510d50e.js} +0 -0
- /package/build/{localizeNumberFormat-7ba78458.js → localizeNumberFormat-92b7aec0.js} +0 -0
- /package/build/{normalizeLink-7ccd3c22.js → normalizeLink-11adaff0.js} +0 -0
- /package/build/{other-55a9988c.js → other-2bd39cad.js} +0 -0
- /package/build/{paths-1762008b.js → paths-2ed17c3a.js} +0 -0
- /package/build/{translationsContext-f04b6541.js → translationsContext-239790ff.js} +0 -0
- /package/build/{tslib.es6-400729ae.js → tslib.es6-ba92c8a7.js} +0 -0
- /package/build/{types-78001fd6.js → types-fa3f2caf.js} +0 -0
- /package/build/{useIsInit-32887485.js → useIsInit-9255576d.js} +0 -0
- /package/build/{useOutsideClick-5f93addc.js → useOutsideClick-bbd76b55.js} +0 -0
- /package/build/{useScrollbarSize-4ff147e9.js → useScrollbarSize-8af8a20d.js} +0 -0
- /package/build/{useUniqueId-31a8ced9.js → useUniqueId-11c1fa8a.js} +0 -0
- /package/build/{utils-0b96a051.js → utils-b20c27f3.js} +0 -0
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
import { a as __awaiter } from './tslib.es6-cfddefe9.js';
|
|
2
|
+
import React__default, { useState, useEffect, useRef, useContext, useMemo } from 'react';
|
|
3
|
+
import { Box, useMantineTheme } from '@mantine/core';
|
|
4
|
+
import { I as ImageWrap } from './useScreenSize-b689324f.js';
|
|
5
|
+
import { T as TogetherComponentGlobalContext, c as callApi, d as getApiPath } from './utils-1ef10b87.js';
|
|
6
|
+
import styled from '@emotion/styled';
|
|
7
|
+
import { PATHS } from './togetherApiPaths.js';
|
|
8
|
+
import { D as DEFAULT_IMG } from './constants-aeae9501.js';
|
|
9
|
+
import { y as youtubeVidIdGetter } from './post-86875f57.js';
|
|
10
|
+
import { L as Loading } from './index-70726722.js';
|
|
11
|
+
|
|
12
|
+
const StyledSocialLinkPreview = styled.div `
|
|
13
|
+
.link-info-container {
|
|
14
|
+
padding: 0.5rem 1rem;
|
|
15
|
+
background: ${(props) => props.color || '#f4faff'};
|
|
16
|
+
}
|
|
17
|
+
.link-image-wrapper {
|
|
18
|
+
position: relative;
|
|
19
|
+
overflow: hidden;
|
|
20
|
+
width: 100%;
|
|
21
|
+
padding-top: 56.25%;
|
|
22
|
+
&.fetching {
|
|
23
|
+
background: lightgray;
|
|
24
|
+
}
|
|
25
|
+
.loading-spinner {
|
|
26
|
+
position: absolute;
|
|
27
|
+
top: 50%;
|
|
28
|
+
left: 50%;
|
|
29
|
+
transform: translate(-50%, -50%);
|
|
30
|
+
}
|
|
31
|
+
.link-image {
|
|
32
|
+
position: absolute;
|
|
33
|
+
top: 0;
|
|
34
|
+
left: 0;
|
|
35
|
+
width: 100%;
|
|
36
|
+
height: 100%;
|
|
37
|
+
object-fit: cover;
|
|
38
|
+
object-position: center;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
a {
|
|
42
|
+
text-decoration: none;
|
|
43
|
+
}
|
|
44
|
+
&[data-is-marrybaby='true'] {
|
|
45
|
+
overflow: hidden;
|
|
46
|
+
border-radius: 1rem;
|
|
47
|
+
}
|
|
48
|
+
`;
|
|
49
|
+
|
|
50
|
+
const useExternalScript = ({ url, onLoad, onError }) => {
|
|
51
|
+
const [state, setState] = useState(url ? 'loading' : 'idle');
|
|
52
|
+
useEffect(() => {
|
|
53
|
+
if (!url) {
|
|
54
|
+
setState('idle');
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
57
|
+
let script = document.querySelector(`script[src="${url}"]`);
|
|
58
|
+
const handleLoadScript = () => {
|
|
59
|
+
setState('ready');
|
|
60
|
+
onLoad === null || onLoad === void 0 ? void 0 : onLoad();
|
|
61
|
+
};
|
|
62
|
+
const handleErrorScript = () => {
|
|
63
|
+
setState('error');
|
|
64
|
+
onError === null || onError === void 0 ? void 0 : onError();
|
|
65
|
+
};
|
|
66
|
+
if (!script) {
|
|
67
|
+
script = document.createElement('script');
|
|
68
|
+
script.type = 'application/javascript';
|
|
69
|
+
script.src = url;
|
|
70
|
+
script.async = true;
|
|
71
|
+
document.body.appendChild(script);
|
|
72
|
+
script.addEventListener('load', handleLoadScript);
|
|
73
|
+
script.addEventListener('error', handleErrorScript);
|
|
74
|
+
}
|
|
75
|
+
script.addEventListener('load', handleLoadScript);
|
|
76
|
+
script.addEventListener('error', handleErrorScript);
|
|
77
|
+
return () => {
|
|
78
|
+
script.removeEventListener('load', handleLoadScript);
|
|
79
|
+
script.removeEventListener('error', handleErrorScript);
|
|
80
|
+
};
|
|
81
|
+
}, [url]);
|
|
82
|
+
return state;
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
const YoutubePlyr = ({ id, autoplay }) => {
|
|
86
|
+
const ref = useRef(null);
|
|
87
|
+
const state = useExternalScript({ url: 'https://cdn.plyr.io/3.7.8/plyr.js' });
|
|
88
|
+
useEffect(() => {
|
|
89
|
+
if (!document.getElementById('hhg-plyr-player')) {
|
|
90
|
+
const link = document.createElement('link');
|
|
91
|
+
link.rel = 'stylesheet';
|
|
92
|
+
link.type = 'text/css';
|
|
93
|
+
link.href = 'https://cdn.plyr.io/3.7.8/plyr.css';
|
|
94
|
+
link.id = 'hhg-plyr-player';
|
|
95
|
+
document.head.appendChild(link);
|
|
96
|
+
}
|
|
97
|
+
if (state === 'ready' || typeof Plyr !== 'undefined') {
|
|
98
|
+
new Plyr(ref.current.querySelector('[data-id="player"]'), {
|
|
99
|
+
autoplay,
|
|
100
|
+
muted: true,
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
}, [state]);
|
|
104
|
+
return (React__default.createElement(React__default.Fragment, null,
|
|
105
|
+
React__default.createElement(Box, { ref: ref, sx: {
|
|
106
|
+
position: 'absolute',
|
|
107
|
+
top: 0,
|
|
108
|
+
left: 0,
|
|
109
|
+
right: 0,
|
|
110
|
+
bottom: 0,
|
|
111
|
+
backgroundColor: '#000',
|
|
112
|
+
'&, > div': {
|
|
113
|
+
width: '100%',
|
|
114
|
+
height: '100%',
|
|
115
|
+
},
|
|
116
|
+
} },
|
|
117
|
+
React__default.createElement("div", { "data-id": "player" },
|
|
118
|
+
React__default.createElement("iframe", { width: "100%", height: "100%", src: `https://www.youtube.com/embed/${id}?&mute=1&enablejsapi=1&rel=0`, allowFullScreen: true, frameBorder: "0" })))));
|
|
119
|
+
};
|
|
120
|
+
|
|
121
|
+
const SocialLinkPreview = ({ url, image, className, style, baseUrl = '', autoPlay = true, onPushStatus, }) => {
|
|
122
|
+
const { data: { locale }, } = useContext(TogetherComponentGlobalContext);
|
|
123
|
+
const [previewData, setPreviewData] = useState(null);
|
|
124
|
+
useEffect(() => {
|
|
125
|
+
(() => __awaiter(void 0, void 0, void 0, function* () {
|
|
126
|
+
if (image)
|
|
127
|
+
return;
|
|
128
|
+
if (!url)
|
|
129
|
+
return setPreviewData(null);
|
|
130
|
+
setPreviewData((_data) => (Object.assign(Object.assign({}, _data), { isFetching: true })));
|
|
131
|
+
// fetch('./api/fetch-meta?url=' + encodeURIComponent(url))
|
|
132
|
+
// .then((res) => res.json())
|
|
133
|
+
// .then((res) =>
|
|
134
|
+
// setPreviewData({
|
|
135
|
+
// url,
|
|
136
|
+
// image: res?.image || res?.logo,
|
|
137
|
+
// }),
|
|
138
|
+
// )
|
|
139
|
+
callApi(getApiPath(PATHS.FETCH_PREVIEW, {
|
|
140
|
+
_locale: locale,
|
|
141
|
+
}, undefined, baseUrl), 'POST', {
|
|
142
|
+
data: {
|
|
143
|
+
link: url,
|
|
144
|
+
},
|
|
145
|
+
headers: {
|
|
146
|
+
'Content-Type': 'application/json',
|
|
147
|
+
},
|
|
148
|
+
}, !!baseUrl)
|
|
149
|
+
.then((res) => {
|
|
150
|
+
var _a, _b;
|
|
151
|
+
setPreviewData({
|
|
152
|
+
url,
|
|
153
|
+
image: ((_a = res === null || res === void 0 ? void 0 : res.data) === null || _a === void 0 ? void 0 : _a.image) || ((_b = res === null || res === void 0 ? void 0 : res.data) === null || _b === void 0 ? void 0 : _b.logo),
|
|
154
|
+
});
|
|
155
|
+
})
|
|
156
|
+
.catch(() => {
|
|
157
|
+
setPreviewData(null);
|
|
158
|
+
});
|
|
159
|
+
}))();
|
|
160
|
+
}, [url, image]);
|
|
161
|
+
const displayImage = image || (previewData === null || previewData === void 0 ? void 0 : previewData.image);
|
|
162
|
+
const displayUrl = (previewData === null || previewData === void 0 ? void 0 : previewData.url) || url;
|
|
163
|
+
const youtubeVidId = useMemo(() => {
|
|
164
|
+
return youtubeVidIdGetter(displayUrl);
|
|
165
|
+
}, [displayUrl]);
|
|
166
|
+
const facebookVidId = useMemo(() => {
|
|
167
|
+
return (displayUrl.includes('facebook.com') || displayUrl.includes('fb.watch'));
|
|
168
|
+
}, [displayUrl]);
|
|
169
|
+
const responsiveWidth = useRef(0);
|
|
170
|
+
const responsiveHeight = useRef(0);
|
|
171
|
+
const [forceRerenderFB, setForceRerenderFB] = useState(false);
|
|
172
|
+
// FACEBOOK Video is not responsive for desktop browser
|
|
173
|
+
// => hack: set size to same as container, if size change too large, re-render facebook iframe with new config
|
|
174
|
+
useEffect(() => {
|
|
175
|
+
const handleResize = () => {
|
|
176
|
+
var _a;
|
|
177
|
+
const containerRect = (_a = containerRef.current) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect();
|
|
178
|
+
let toChangeSize = false;
|
|
179
|
+
if (containerRect &&
|
|
180
|
+
(!responsiveWidth.current ||
|
|
181
|
+
Math.abs((responsiveWidth.current - containerRect.width) /
|
|
182
|
+
(containerRect === null || containerRect === void 0 ? void 0 : containerRect.width)) > 0.2)) {
|
|
183
|
+
responsiveWidth.current = Math.floor(containerRect.width);
|
|
184
|
+
toChangeSize = true;
|
|
185
|
+
}
|
|
186
|
+
if (containerRect &&
|
|
187
|
+
(!responsiveHeight.current ||
|
|
188
|
+
Math.abs((responsiveHeight.current - containerRect.height) /
|
|
189
|
+
(containerRect === null || containerRect === void 0 ? void 0 : containerRect.height)) > 0.2)) {
|
|
190
|
+
responsiveHeight.current = Math.floor(containerRect.height);
|
|
191
|
+
toChangeSize = true;
|
|
192
|
+
}
|
|
193
|
+
if (toChangeSize) {
|
|
194
|
+
setForceRerenderFB((v) => !v);
|
|
195
|
+
}
|
|
196
|
+
};
|
|
197
|
+
handleResize();
|
|
198
|
+
window.addEventListener('resize', handleResize, {
|
|
199
|
+
passive: true,
|
|
200
|
+
});
|
|
201
|
+
return () => {
|
|
202
|
+
window.removeEventListener('resize', handleResize);
|
|
203
|
+
};
|
|
204
|
+
}, []);
|
|
205
|
+
useEffect(() => {
|
|
206
|
+
if ((previewData === null || previewData === void 0 ? void 0 : previewData.image) && (previewData === null || previewData === void 0 ? void 0 : previewData.url)) {
|
|
207
|
+
onPushStatus === null || onPushStatus === void 0 ? void 0 : onPushStatus(true);
|
|
208
|
+
}
|
|
209
|
+
}, [previewData]);
|
|
210
|
+
const containerRef = useRef(null);
|
|
211
|
+
const _theme = useMantineTheme();
|
|
212
|
+
return (React__default.createElement(StyledSocialLinkPreview, { className: `${className} no-replace-click`, style: style, ref: containerRef, color: _theme.colors[_theme.primaryColor][0] }, !image && (youtubeVidId || facebookVidId) ? (React__default.createElement("div", { className: "link-image-wrapper" }, youtubeVidId ? (React__default.createElement(YoutubePlyr, { id: youtubeVidId, autoplay: autoPlay })) : facebookVidId ? (React__default.createElement("iframe", { key: String(forceRerenderFB), src: `https://www.facebook.com/plugins/video.php?href=${encodeURIComponent(displayUrl)}&autoplay=${autoPlay ? 1 : 0}&show_text=false&t=0&width=${responsiveWidth.current}&height=${responsiveHeight.current}`, style: {
|
|
213
|
+
position: 'absolute',
|
|
214
|
+
top: '50%',
|
|
215
|
+
left: '50%',
|
|
216
|
+
border: 'none',
|
|
217
|
+
overflow: 'hidden',
|
|
218
|
+
height: responsiveHeight.current,
|
|
219
|
+
width: responsiveWidth.current,
|
|
220
|
+
transform: 'translate(-50%, -50%)',
|
|
221
|
+
}, scrolling: "no", frameBorder: "0", allowFullScreen: true, allow: "autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share", loading: "lazy" })) : null)) : (React__default.createElement("a", { href: displayUrl, target: "_blank", rel: "noreferrer" },
|
|
222
|
+
React__default.createElement("div", { className: `link-image-wrapper ${(previewData === null || previewData === void 0 ? void 0 : previewData.isFetching) ? 'fetching' : ''}` }, (previewData === null || previewData === void 0 ? void 0 : previewData.isFetching) ? (React__default.createElement(Loading, { className: "loading-spinner" })) : (React__default.createElement(ImageWrap, { className: "link-image", src: displayImage || DEFAULT_IMG, backupSrc: DEFAULT_IMG, alt: displayUrl })))))));
|
|
223
|
+
};
|
|
224
|
+
|
|
225
|
+
export { SocialLinkPreview as S };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
import { _ as __rest, a as __awaiter } from './tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __awaiter } from './tslib.es6-cfddefe9.js';
|
|
2
2
|
import React__default, { useState, useImperativeHandle, useRef, useEffect, useMemo, Fragment, useCallback, forwardRef, memo } from 'react';
|
|
3
|
-
import { R as Radio } from './index-
|
|
3
|
+
import { R as Radio } from './index-18cf18ca.js';
|
|
4
4
|
import { Stack, Group, createStyles, getStylesRef, Box } from '@mantine/core';
|
|
5
5
|
import '@mantine/dates';
|
|
6
|
-
import { L as LOCALE_SPECS, F as FAVICONS } from './index-
|
|
7
|
-
import './index-
|
|
8
|
-
import { C as CommonGAssets } from './index-
|
|
9
|
-
import './useMantineLocale-
|
|
10
|
-
import { T as Text } from './index-
|
|
11
|
-
import { B as Button$1 } from './index-
|
|
12
|
-
import './index.styles-
|
|
13
|
-
import './translationsContext-
|
|
6
|
+
import { L as LOCALE_SPECS, F as FAVICONS } from './index-93dfd4e1.js';
|
|
7
|
+
import './index-6d7f28dd.js';
|
|
8
|
+
import { C as CommonGAssets } from './index-8d0259ad.js';
|
|
9
|
+
import './useMantineLocale-2f880379.js';
|
|
10
|
+
import { T as Text } from './index-4d85e9fa.js';
|
|
11
|
+
import { B as Button$1 } from './index-4b466fad.js';
|
|
12
|
+
import './index.styles-4f9afc01.js';
|
|
13
|
+
import './translationsContext-6915a82a.js';
|
|
14
14
|
import '@mantine/hooks';
|
|
15
|
-
import { M as MediaQueries } from './utils-
|
|
16
|
-
import './other-
|
|
17
|
-
import './index-
|
|
18
|
-
import { i as isInternalLink } from './index-
|
|
15
|
+
import { M as MediaQueries } from './utils-339046f6.js';
|
|
16
|
+
import './other-9a23db32.js';
|
|
17
|
+
import './index-56a0dca0.js';
|
|
18
|
+
import { i as isInternalLink } from './index-c34b3b5c.js';
|
|
19
19
|
import styled from '@emotion/styled';
|
|
20
20
|
import { theme } from './miscTheme.js';
|
|
21
|
-
import { C as Checkbox, P as PureInput } from './index-
|
|
22
|
-
import { L as Logo } from './index-
|
|
21
|
+
import { C as Checkbox, P as PureInput } from './index-45d270af.js';
|
|
22
|
+
import { L as Logo } from './index-d6e68b7a.js';
|
|
23
23
|
import throttle from 'lodash/throttle';
|
|
24
24
|
import parse from 'html-react-parser';
|
|
25
25
|
import { domainLocales } from './constantsDomainLocales.js';
|
|
26
26
|
import { isProduction } from './constantsIsProduction.js';
|
|
27
27
|
import { isBefore, startOfMonth, addMonths, format, subMonths, getDaysInMonth, isToday, isSameDay, isWithinInterval, isAfter, isPast } from 'date-fns';
|
|
28
|
-
import { a as useOutsideClick } from './useOutsideClick-
|
|
28
|
+
import { a as useOutsideClick } from './useOutsideClick-557246e7.js';
|
|
29
29
|
import enUS from 'date-fns/locale/en-US';
|
|
30
30
|
import id from 'date-fns/locale/id';
|
|
31
31
|
import vi from 'date-fns/locale/vi';
|
|
32
32
|
import zhTW from 'date-fns/locale/zh-TW';
|
|
33
|
-
import { B as Button } from './index-
|
|
34
|
-
import { u as useScreenSize } from './useScreenSize-
|
|
35
|
-
import { u as useTranslations } from './index-
|
|
36
|
-
import { D as Dropdown } from './index-
|
|
33
|
+
import { B as Button } from './index-e4fea84c.js';
|
|
34
|
+
import { u as useScreenSize } from './useScreenSize-b689324f.js';
|
|
35
|
+
import { u as useTranslations } from './index-fd5c91de.js';
|
|
36
|
+
import { D as Dropdown } from './index-75bfe19f.js';
|
|
37
37
|
import { getSocialList } from './miscGetSocialList.js';
|
|
38
|
-
import { I as Input } from './index-
|
|
39
|
-
import { D as Drawer } from './index-
|
|
38
|
+
import { I as Input } from './index-a4a09e75.js';
|
|
39
|
+
import { D as Drawer } from './index-d433c3d7.js';
|
|
40
40
|
import { v4 } from 'uuid';
|
|
41
|
-
import { L as LOCALE } from './Locale-
|
|
41
|
+
import { L as LOCALE } from './Locale-9b494286.js';
|
|
42
42
|
import { ArrowRight } from '@hhgtech/icons/arrow';
|
|
43
43
|
import { MultiStar, Question } from '@hhgtech/icons/other';
|
|
44
44
|
import Lottie from 'lottie-light-react';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default, { useContext, useState, useRef, useEffect } from 'react';
|
|
2
|
-
import { B as Button } from './index-
|
|
3
|
-
import { T as TogetherComponentGlobalContext } from './utils-
|
|
2
|
+
import { B as Button } from './index-e4fea84c.js';
|
|
3
|
+
import { T as TogetherComponentGlobalContext } from './utils-1ef10b87.js';
|
|
4
4
|
import styled from '@emotion/styled';
|
|
5
5
|
import { theme } from './miscTheme.js';
|
|
6
6
|
|
|
@@ -1,47 +1,48 @@
|
|
|
1
|
-
import { a as __awaiter, _ as __rest } from './tslib.es6-
|
|
1
|
+
import { a as __awaiter, _ as __rest } from './tslib.es6-cfddefe9.js';
|
|
2
2
|
import React__default, { useState, useRef, useEffect, useCallback, useContext, useMemo } from 'react';
|
|
3
3
|
import { Info, Ask } from '@hhgtech/icons/other';
|
|
4
|
-
import { D as Dropdown } from './index-
|
|
5
|
-
import { u as useTranslations } from './index-
|
|
4
|
+
import { D as Dropdown } from './index-75bfe19f.js';
|
|
5
|
+
import { u as useTranslations } from './index-fd5c91de.js';
|
|
6
6
|
import innertext from 'innertext';
|
|
7
7
|
import { theme } from './miscTheme.js';
|
|
8
|
-
import { I as Input$1 } from './index-
|
|
8
|
+
import { I as Input$1 } from './index-18cf18ca.js';
|
|
9
9
|
import { useMantineTheme, Switch, Popover } from '@mantine/core';
|
|
10
10
|
import '@mantine/dates';
|
|
11
|
-
import './index-
|
|
12
|
-
import './index-
|
|
13
|
-
import './index-
|
|
14
|
-
import './useMantineLocale-
|
|
15
|
-
import { T as Text } from './index-
|
|
16
|
-
import { B as Button } from './index-
|
|
17
|
-
import './index.styles-
|
|
11
|
+
import './index-93dfd4e1.js';
|
|
12
|
+
import './index-6d7f28dd.js';
|
|
13
|
+
import './index-8d0259ad.js';
|
|
14
|
+
import './useMantineLocale-2f880379.js';
|
|
15
|
+
import { T as Text } from './index-4d85e9fa.js';
|
|
16
|
+
import { B as Button } from './index-4b466fad.js';
|
|
17
|
+
import './index.styles-4f9afc01.js';
|
|
18
18
|
import '@mantine/hooks';
|
|
19
|
-
import { M as MediaQueries } from './utils-
|
|
20
|
-
import './other-
|
|
21
|
-
import './index-
|
|
22
|
-
import { u as useImagePicker, a as PopupFrame,
|
|
23
|
-
import { T as TogetherComponentGlobalContext, c as callApi, d as getApiPath, p as getCurrentHref, b as callApiWithAuth, q as callApiWithAdminAuth, r as getChatbotAiApiPath } from './utils-
|
|
19
|
+
import { M as MediaQueries } from './utils-339046f6.js';
|
|
20
|
+
import './other-9a23db32.js';
|
|
21
|
+
import './index-56a0dca0.js';
|
|
22
|
+
import { u as useImagePicker, a as PopupFrame, c as IconCloseCircle, g as getDefaultFailNoti, d as getPostFormData, e as editPost, f as createPost } from './index-7085c360.js';
|
|
23
|
+
import { T as TogetherComponentGlobalContext, c as callApi, d as getApiPath, p as getCurrentHref, b as callApiWithAuth, q as callApiWithAdminAuth, r as getChatbotAiApiPath } from './utils-1ef10b87.js';
|
|
24
24
|
import styled from '@emotion/styled';
|
|
25
|
-
import { b as formatPost, a as formatCommunity, c as formatTopic } from './dataTransform-
|
|
26
|
-
import { M as MAX_IMAGE_UPLOADS, B as BEARER_TOKEN_COOKIE } from './constants-
|
|
27
|
-
import { h as highlightBadWords, f as fixMalformedMention, r as removeFontFormat, a as removeEdittedBannedWord, w as wrapAnchorAroundUrls, g as getUrlsFromEditorString, A as ALLOW_DOMAIN_URL, e as escapeRegExp, d as decodeMention, b as decodePostUrl, c as reformatUrl, i as getMentionIdsFromString, L as LIMIT_MENTION } from './post-
|
|
28
|
-
import { C as CardAuthor
|
|
29
|
-
import { S as StyledCreatePostDescription$1, R as RichTextEditor$1, I as IconLink } from './editor-
|
|
30
|
-
import { I as Input } from './index-
|
|
25
|
+
import { b as formatPost, a as formatCommunity, c as formatTopic } from './dataTransform-23043966.js';
|
|
26
|
+
import { M as MAX_IMAGE_UPLOADS, B as BEARER_TOKEN_COOKIE } from './constants-aeae9501.js';
|
|
27
|
+
import { h as highlightBadWords, f as fixMalformedMention, r as removeFontFormat, a as removeEdittedBannedWord, w as wrapAnchorAroundUrls, g as getUrlsFromEditorString, A as ALLOW_DOMAIN_URL, e as escapeRegExp, d as decodeMention, b as decodePostUrl, c as reformatUrl, i as getMentionIdsFromString, L as LIMIT_MENTION } from './post-86875f57.js';
|
|
28
|
+
import { C as CardAuthor } from './index-c3938494.js';
|
|
29
|
+
import { S as StyledCreatePostDescription$1, R as RichTextEditor$1, I as IconLink } from './editor-de6642e2.js';
|
|
30
|
+
import { I as Input } from './index-a4a09e75.js';
|
|
31
31
|
import debounce from 'lodash/debounce';
|
|
32
32
|
import ContentEditable from 'react-contenteditable';
|
|
33
33
|
import { PATHS, ADMIN_PATHS } from './togetherApiPaths.js';
|
|
34
|
-
import { L as Loading } from './index-
|
|
35
|
-
import { C as CardLink } from './index-
|
|
36
|
-
import { B as BtnChoice } from './index-
|
|
37
|
-
import { L as LOCALE } from './Locale-
|
|
34
|
+
import { L as Loading } from './index-d5401d04.js';
|
|
35
|
+
import { C as CardLink } from './index-0538915a.js';
|
|
36
|
+
import { B as BtnChoice } from './index-a7dcdbd0.js';
|
|
37
|
+
import { L as LOCALE } from './Locale-9b494286.js';
|
|
38
38
|
import * as ReactDOM from 'react-dom';
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
39
|
+
import { L as Loading$1 } from './index-70726722.js';
|
|
40
|
+
import { b as IconArrowLeft } from './index-57119a2f.js';
|
|
41
|
+
import { B as Button$1 } from './index-e4fea84c.js';
|
|
41
42
|
import { getCookie } from './miscCookieHelper.js';
|
|
42
|
-
import { a as useUniqueId } from './useUniqueId-
|
|
43
|
-
import { U as UserAvatar } from './index-
|
|
44
|
-
import { P as PopoverMenu } from './index-
|
|
43
|
+
import { a as useUniqueId } from './useUniqueId-edcccf6c.js';
|
|
44
|
+
import { U as UserAvatar } from './index-63abdccd.js';
|
|
45
|
+
import { P as PopoverMenu } from './index-7e9f7887.js';
|
|
45
46
|
import { Close, Check } from '@hhgtech/icons/core';
|
|
46
47
|
|
|
47
48
|
const StyledCreateNewPost$1 = styled.div `
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { _ as __rest, a as __awaiter } from './tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __awaiter } from './tslib.es6-cfddefe9.js';
|
|
2
2
|
import React__default, { createContext, useContext, useState, useMemo, useEffect } from 'react';
|
|
3
3
|
import { Controller, useForm } from 'react-hook-form';
|
|
4
|
-
import { u as useHealthToolsCache } from './useHealthToolCache-
|
|
5
|
-
import { H as HEALTH_TOOL_TYPE } from './constants-
|
|
6
|
-
import { G as GenderOptionControl } from './index-
|
|
7
|
-
import { I as Input } from './index-
|
|
4
|
+
import { u as useHealthToolsCache } from './useHealthToolCache-91bfc4c2.js';
|
|
5
|
+
import { H as HEALTH_TOOL_TYPE } from './constants-aeae9501.js';
|
|
6
|
+
import { G as GenderOptionControl } from './index-ddd68f2b.js';
|
|
7
|
+
import { I as Input } from './index-18cf18ca.js';
|
|
8
8
|
import '@mantine/core';
|
|
9
9
|
import '@mantine/dates';
|
|
10
|
-
import './index-
|
|
11
|
-
import './index-
|
|
12
|
-
import './index-
|
|
13
|
-
import './useMantineLocale-
|
|
14
|
-
import { T as Text } from './index-
|
|
15
|
-
import './index-
|
|
10
|
+
import './index-93dfd4e1.js';
|
|
11
|
+
import './index-6d7f28dd.js';
|
|
12
|
+
import './index-8d0259ad.js';
|
|
13
|
+
import './useMantineLocale-2f880379.js';
|
|
14
|
+
import { T as Text } from './index-4d85e9fa.js';
|
|
15
|
+
import './index-4b466fad.js';
|
|
16
16
|
import { theme } from './miscTheme.js';
|
|
17
|
-
import './index.styles-
|
|
18
|
-
import { u as useTranslations } from './index-
|
|
17
|
+
import './index.styles-4f9afc01.js';
|
|
18
|
+
import { u as useTranslations } from './index-fd5c91de.js';
|
|
19
19
|
import '@mantine/hooks';
|
|
20
|
-
import './utils-
|
|
21
|
-
import './other-
|
|
22
|
-
import './index-
|
|
23
|
-
import { H as HealthToolFormWrapper } from './index-
|
|
20
|
+
import './utils-339046f6.js';
|
|
21
|
+
import './other-9a23db32.js';
|
|
22
|
+
import './index-56a0dca0.js';
|
|
23
|
+
import { H as HealthToolFormWrapper } from './index-ea222e0d.js';
|
|
24
24
|
import { domainLocales } from './constantsDomainLocales.js';
|
|
25
25
|
import { getBmi } from './embeddedHeathToolCards_helpers.js';
|
|
26
26
|
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { a as __awaiter } from './tslib.es6-
|
|
1
|
+
import { a as __awaiter } from './tslib.es6-cfddefe9.js';
|
|
2
2
|
import React__default, { useRef, useState, useMemo } from 'react';
|
|
3
3
|
import { User } from '@hhgtech/icons/core';
|
|
4
|
-
import { S as Spinner } from './Spinner-
|
|
5
|
-
import { a as Avatar } from './index-
|
|
6
|
-
import { B as Button } from './index-
|
|
7
|
-
import { T as Text } from './index-
|
|
8
|
-
import { u as useTranslations } from './index-
|
|
9
|
-
import './index-
|
|
10
|
-
import { C as CommonGAssets } from './index-
|
|
4
|
+
import { S as Spinner } from './Spinner-c771ed5f.js';
|
|
5
|
+
import { a as Avatar } from './index-18cf18ca.js';
|
|
6
|
+
import { B as Button } from './index-4b466fad.js';
|
|
7
|
+
import { T as Text } from './index-4d85e9fa.js';
|
|
8
|
+
import { u as useTranslations } from './index-fd5c91de.js';
|
|
9
|
+
import './index-6d7f28dd.js';
|
|
10
|
+
import { C as CommonGAssets } from './index-8d0259ad.js';
|
|
11
11
|
import { theme } from './miscTheme.js';
|
|
12
12
|
import styled from '@emotion/styled';
|
|
13
|
-
import { M as MediaQueries } from './utils-
|
|
13
|
+
import { M as MediaQueries } from './utils-339046f6.js';
|
|
14
14
|
import { setDefaultClass } from './miscDefaultClassWrapper.js';
|
|
15
15
|
import { ProfileNavigation } from './profileNavigation.js';
|
|
16
16
|
import { NavigationLogoutPopup } from './navigationLogoutPopup.js';
|
|
17
|
-
import { L as LOCALE } from './Locale-
|
|
17
|
+
import { L as LOCALE } from './Locale-9b494286.js';
|
|
18
18
|
|
|
19
19
|
const useCSSFocusPopupHelper = (configs) => {
|
|
20
|
-
const { allowBgScroll } = configs || {};
|
|
20
|
+
const { allowBgScroll, enableNavTarotGame = false } = configs || {};
|
|
21
21
|
const ref = useRef();
|
|
22
22
|
return {
|
|
23
23
|
containerRef: ref,
|
|
@@ -31,9 +31,16 @@ const useCSSFocusPopupHelper = (configs) => {
|
|
|
31
31
|
},
|
|
32
32
|
onButtonMouseDown: (e) => {
|
|
33
33
|
// this close popup when click, run after REact init
|
|
34
|
+
const elmSiteHeader = document.querySelector('#site-header');
|
|
35
|
+
if (enableNavTarotGame && elmSiteHeader) {
|
|
36
|
+
elmSiteHeader.style.backgroundColor = '#fff';
|
|
37
|
+
}
|
|
34
38
|
if (ref.current &&
|
|
35
39
|
(document.activeElement === ref.current ||
|
|
36
40
|
ref.current.contains(document.activeElement))) {
|
|
41
|
+
if (enableNavTarotGame && elmSiteHeader) {
|
|
42
|
+
elmSiteHeader.style.backgroundColor = 'transparent';
|
|
43
|
+
}
|
|
37
44
|
ref.current.blur();
|
|
38
45
|
document.activeElement.blur();
|
|
39
46
|
e.preventDefault();
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-cfddefe9.js';
|
|
2
2
|
import React__default, { createContext, useContext } from 'react';
|
|
3
3
|
import { useMantineTheme } from '@mantine/core';
|
|
4
4
|
import { useForm, isNotEmpty } from '@mantine/form';
|
|
5
|
-
import { L as LastPeriod } from './LastPeriod-
|
|
6
|
-
import { I as Input } from './index-
|
|
7
|
-
import { D as DatePicker } from './index-
|
|
8
|
-
import { T as Text } from './index-
|
|
9
|
-
import './index-
|
|
10
|
-
import './index.styles-
|
|
11
|
-
import { u as useTranslations } from './index-
|
|
5
|
+
import { L as LastPeriod } from './LastPeriod-2875ffc2.js';
|
|
6
|
+
import { I as Input } from './index-18cf18ca.js';
|
|
7
|
+
import { D as DatePicker } from './index-d021d300.js';
|
|
8
|
+
import { T as Text } from './index-4d85e9fa.js';
|
|
9
|
+
import './index-4b466fad.js';
|
|
10
|
+
import './index.styles-4f9afc01.js';
|
|
11
|
+
import { u as useTranslations } from './index-fd5c91de.js';
|
|
12
12
|
import '@mantine/hooks';
|
|
13
|
-
import './useMantineLocale-
|
|
14
|
-
import './index-
|
|
15
|
-
import './index-
|
|
16
|
-
import './utils-
|
|
17
|
-
import './index-
|
|
18
|
-
import './other-
|
|
19
|
-
import './index-
|
|
20
|
-
import { H as HealthToolFormWrapper } from './index-
|
|
13
|
+
import './useMantineLocale-2f880379.js';
|
|
14
|
+
import './index-6d7f28dd.js';
|
|
15
|
+
import './index-8d0259ad.js';
|
|
16
|
+
import './utils-339046f6.js';
|
|
17
|
+
import './index-93dfd4e1.js';
|
|
18
|
+
import './other-9a23db32.js';
|
|
19
|
+
import './index-56a0dca0.js';
|
|
20
|
+
import { H as HealthToolFormWrapper } from './index-ea222e0d.js';
|
|
21
21
|
import { CalendarMB } from '@hhgtech/icons/other';
|
|
22
22
|
|
|
23
23
|
const AvoidPregnancy = (_a) => {
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { C as Container } from './index-
|
|
2
|
+
import { C as Container } from './index-3b2e5262.js';
|
|
3
3
|
import dayjs from 'dayjs';
|
|
4
|
-
import './index-
|
|
5
|
-
import './index-
|
|
4
|
+
import './index-93dfd4e1.js';
|
|
5
|
+
import './index-18cf18ca.js';
|
|
6
6
|
import { Flex, Stack, Box } from '@mantine/core';
|
|
7
7
|
import '@mantine/dates';
|
|
8
|
-
import './index-
|
|
9
|
-
import './index-
|
|
10
|
-
import './useMantineLocale-
|
|
11
|
-
import { T as Text } from './index-
|
|
12
|
-
import './index-
|
|
13
|
-
import './index.styles-
|
|
14
|
-
import './translationsContext-
|
|
8
|
+
import './index-6d7f28dd.js';
|
|
9
|
+
import './index-8d0259ad.js';
|
|
10
|
+
import './useMantineLocale-2f880379.js';
|
|
11
|
+
import { T as Text } from './index-4d85e9fa.js';
|
|
12
|
+
import './index-4b466fad.js';
|
|
13
|
+
import './index.styles-4f9afc01.js';
|
|
14
|
+
import './translationsContext-6915a82a.js';
|
|
15
15
|
import '@mantine/hooks';
|
|
16
|
-
import { M as MediaQueries } from './utils-
|
|
17
|
-
import './other-
|
|
18
|
-
import './index-
|
|
19
|
-
import { u as useScreenSize } from './useScreenSize-
|
|
16
|
+
import { M as MediaQueries } from './utils-339046f6.js';
|
|
17
|
+
import './other-9a23db32.js';
|
|
18
|
+
import './index-56a0dca0.js';
|
|
19
|
+
import { u as useScreenSize } from './useScreenSize-b689324f.js';
|
|
20
20
|
import styled from '@emotion/styled';
|
|
21
21
|
import { theme } from './miscTheme.js';
|
|
22
22
|
import { domainLocales } from './constantsDomainLocales.js';
|
|
23
|
-
import { L as Logo } from './index-
|
|
24
|
-
import { M as MarryBabyText } from './index-
|
|
23
|
+
import { L as Logo } from './index-d6e68b7a.js';
|
|
24
|
+
import { M as MarryBabyText } from './index-b699bc6a.js';
|
|
25
25
|
|
|
26
26
|
const StyledFooter$1 = styled.footer `
|
|
27
27
|
background-color: #1b3250;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { enUS, vi, km, hi, id, ms, th, zhTW } from 'date-fns/locale';
|
|
2
|
-
import './index-
|
|
2
|
+
import './index-6d7f28dd.js';
|
|
3
3
|
import { siteHost, siteOptions } from './constantsSite.js';
|
|
4
4
|
import { domainLocales, MAP_DOMAIN_BY_LOCALE } from './constantsDomainLocales.js';
|
|
5
5
|
import { RISK_SCREENER_NAME, RISK_SCREENER_SLUG } from './constantsRiskScreener.js';
|
|
6
6
|
import { isProduction } from './constantsIsProduction.js';
|
|
7
|
-
import { L as LOCALE } from './Locale-
|
|
7
|
+
import { L as LOCALE } from './Locale-9b494286.js';
|
|
8
8
|
|
|
9
9
|
const basePath = process.env.NEXT_PUBLIC_DEPLOY_LOCALE === 'tl-PH' ? '/fil' : '';
|
|
10
10
|
const SSO_URL = process.env.NEXT_PUBLIC_SSO;
|
|
@@ -353,6 +353,7 @@ const CARE_LOCALES = [
|
|
|
353
353
|
// 'zh-TW'
|
|
354
354
|
];
|
|
355
355
|
const CARE_BOOKING_LOCALES = ['vi-VN', 'id-ID'];
|
|
356
|
+
const VIDEO_LOCALES = ['vi-VN'];
|
|
356
357
|
const FAVICONS = {
|
|
357
358
|
'vi-VN': [
|
|
358
359
|
{
|
|
@@ -727,7 +728,8 @@ const CDN_ADDRESS = 'https://cdn.hellohealthgroup.com/countries';
|
|
|
727
728
|
const GA_TOKEN_COOKIE = '_ga';
|
|
728
729
|
const API_DATE_FORMAT = 'YYYY-MM-DD';
|
|
729
730
|
const DATE_FNS_DATE_FORMAT = 'dd-MM-yyyy';
|
|
730
|
-
const ZINDEX_SSO = 9999999;
|
|
731
|
+
const ZINDEX_SSO = 9999999;
|
|
732
|
+
const VIDEO_DETAIL_TEMP_STORAGE = 'video_item_detail';
|
|
731
733
|
|
|
732
734
|
var index = /*#__PURE__*/Object.freeze({
|
|
733
735
|
__proto__: null,
|
|
@@ -742,6 +744,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
742
744
|
DATA_PRIVACY_LOCALES: DATA_PRIVACY_LOCALES,
|
|
743
745
|
CARE_LOCALES: CARE_LOCALES,
|
|
744
746
|
CARE_BOOKING_LOCALES: CARE_BOOKING_LOCALES,
|
|
747
|
+
VIDEO_LOCALES: VIDEO_LOCALES,
|
|
745
748
|
FAVICONS: FAVICONS,
|
|
746
749
|
get QUERY_HEALTH_TOOL () { return QUERY_HEALTH_TOOL; },
|
|
747
750
|
ISO_FORMAT: ISO_FORMAT,
|
|
@@ -753,6 +756,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
753
756
|
API_DATE_FORMAT: API_DATE_FORMAT,
|
|
754
757
|
DATE_FNS_DATE_FORMAT: DATE_FNS_DATE_FORMAT,
|
|
755
758
|
ZINDEX_SSO: ZINDEX_SSO,
|
|
759
|
+
VIDEO_DETAIL_TEMP_STORAGE: VIDEO_DETAIL_TEMP_STORAGE,
|
|
756
760
|
siteHost: siteHost,
|
|
757
761
|
siteOptions: siteOptions,
|
|
758
762
|
domainLocales: domainLocales,
|
|
@@ -762,4 +766,4 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
762
766
|
isProduction: isProduction
|
|
763
767
|
});
|
|
764
768
|
|
|
765
|
-
export { API_DATE_FORMAT as A, BEARER_REFRESH_TOKEN_COOKIE as B, CDN_ADDRESS as C, DATA_PRIVACY_LOCALES as D, ECOM_LOCALES as E, FAVICONS as F, GA_TOKEN_COOKIE as G, ISO_FORMAT as I, LOCALE_SPECS as L, QUERY_HEALTH_TOOL as Q, STATIC_PAGES as S, TOGETHER_LOCALES as T, USER_GEOLOCATION_COORDINATES_COOKIE as U, ZINDEX_SSO as Z, CARE_LOCALES as a, CARE_BOOKING_LOCALES as b,
|
|
769
|
+
export { API_DATE_FORMAT as A, BEARER_REFRESH_TOKEN_COOKIE as B, CDN_ADDRESS as C, DATA_PRIVACY_LOCALES as D, ECOM_LOCALES as E, FAVICONS as F, GA_TOKEN_COOKIE as G, ISO_FORMAT as I, LOCALE_SPECS as L, QUERY_HEALTH_TOOL as Q, STATIC_PAGES as S, TOGETHER_LOCALES as T, USER_GEOLOCATION_COORDINATES_COOKIE as U, VIDEO_DETAIL_TEMP_STORAGE as V, ZINDEX_SSO as Z, CARE_LOCALES as a, CARE_BOOKING_LOCALES as b, VIDEO_LOCALES as c, DATE_FNS_LOCALE as d, BEARER_TOKEN_COOKIE as e, basePath as f, SSO_URL as g, UP_BASEPATH as h, index as i, DATE_FNS_DATE_FORMAT as j };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-cfddefe9.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import { theme } from './miscTheme.js';
|
|
4
|
-
import { W as WhatsApp, I as Instagram } from './WhatsApp-
|
|
5
|
-
import { S as Spinner } from './Spinner-
|
|
4
|
+
import { W as WhatsApp, I as Instagram } from './WhatsApp-82f6685c.js';
|
|
5
|
+
import { S as Spinner } from './Spinner-c771ed5f.js';
|
|
6
6
|
|
|
7
7
|
const App = (_a) => {
|
|
8
8
|
var { size = 24 } = _a, rest = __rest(_a, ["size"]);
|