@hhgtech/hhg-components 1.29.87 → 1.29.89
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-671d5143.js → LastPeriod-c8c46da3.js} +1 -1
- package/build/MobileBottomNavigationIcon-efacfc0c.js +193 -0
- package/build/{WhatsApp-07eb4e4a.js → WhatsApp-8a1d6d0c.js} +1 -1
- package/build/adapters.js +18 -16
- package/build/atoms.js +47 -45
- package/build/babyGrowth.js +82 -80
- package/build/cache.js +2 -2
- package/build/care.js +28 -25
- package/build/careBookingSearchBar.js +1594 -0
- package/build/careBookingSearchBarV2.js +1665 -0
- package/build/components.js +125 -115
- package/build/{constants-970e6cf6.js → constants-f5c5e2ae.js} +1 -1
- package/build/constants.js +3 -3
- package/build/constantsDomainLocales.js +1 -1
- package/build/constantsRiskScreener.js +2 -2
- package/build/constantsSite.js +2 -2
- package/build/{core-bcde5ba8.js → core-58a245c5.js} +1 -1
- package/build/{dataTransform-567bc0c2.js → dataTransform-9ec385e3.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/editor-40386fe7.js +986 -0
- package/build/embeddedHeathToolCards_babyGrowth.js +22 -20
- package/build/embeddedHeathToolCards_babyPoop.js +18 -16
- package/build/embeddedHeathToolCards_babyVaccine.js +21 -19
- package/build/embeddedHeathToolCards_bmi_bmi.js +25 -23
- package/build/embeddedHeathToolCards_bmrBmr.js +25 -23
- package/build/embeddedHeathToolCards_dueDate_dueDate.js +21 -19
- package/build/embeddedHeathToolCards_ovulation_ovulation.js +21 -19
- package/build/embeddedHeathToolCards_pwg_pwg.js +26 -24
- package/build/embeddedHeathToolCards_targetHeartRate.js +27 -25
- package/build/esm/{LastPeriod-ebfcf053.js → LastPeriod-46d6c03f.js} +1 -1
- package/build/esm/MobileBottomNavigationIcon-ae6490d7.js +185 -0
- package/build/esm/{WhatsApp-c6c8eded.js → WhatsApp-ed8ce0f2.js} +1 -1
- package/build/esm/adapters.js +18 -16
- package/build/esm/atoms.js +44 -42
- package/build/esm/babyGrowth.js +82 -80
- package/build/esm/cache.js +2 -2
- package/build/esm/care.js +26 -23
- package/build/esm/careBookingSearchBar.js +1582 -0
- package/build/esm/careBookingSearchBarV2.js +1655 -0
- package/build/esm/components.js +93 -83
- package/build/esm/{constants-bdf5e358.js → constants-e9ebe043.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-b4f1131e.js → core-6d8629c2.js} +1 -1
- package/build/esm/{dataTransform-ad9d785b.js → dataTransform-2023858d.js} +2 -2
- package/build/esm/ecom.js +4 -4
- package/build/esm/editor-82c3d476.js +959 -0
- package/build/esm/embeddedHeathToolCards_babyGrowth.js +22 -20
- package/build/esm/embeddedHeathToolCards_babyPoop.js +18 -16
- package/build/esm/embeddedHeathToolCards_babyVaccine.js +21 -19
- package/build/esm/embeddedHeathToolCards_bmi_bmi.js +25 -23
- package/build/esm/embeddedHeathToolCards_bmrBmr.js +25 -23
- package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +21 -19
- package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +21 -19
- package/build/esm/embeddedHeathToolCards_pwg_pwg.js +26 -24
- package/build/esm/embeddedHeathToolCards_targetHeartRate.js +27 -25
- package/build/esm/{fixedBottomAdBlock-e5747eb3.js → fixedBottomAdBlock-2af1606f.js} +26 -662
- package/build/esm/footer.js +20 -18
- package/build/esm/gAssets.js +2 -2
- package/build/esm/healthToolsCardWrapper.js +17 -15
- package/build/esm/healthToolsForm.js +33 -31
- package/build/esm/hooks.js +15 -15
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-9d2cc0b2.js → index-04ba5caa.js} +1 -1
- package/build/esm/{index-8f953b02.js → index-082a24ae.js} +12 -11
- package/build/esm/{index-46a2a5d7.js → index-1313a7ac.js} +12 -11
- package/build/esm/{index-1322446c.js → index-13783871.js} +2 -2
- package/build/esm/{index-3685677f.js → index-16a4f1c7.js} +16 -15
- package/build/esm/{index-cc650c45.js → index-19f27bd3.js} +2 -2
- package/build/esm/{index-7c6e33e0.js → index-1a2bc551.js} +2 -2
- package/build/esm/{index-029c478e.js → index-275c8526.js} +14 -13
- package/build/esm/{index-e7c62f10.js → index-277566f7.js} +1 -1
- package/build/esm/{index-240e2930.js → index-2ac50d8f.js} +15 -14
- package/build/esm/{index-0f6906bb.js → index-2c4a2d31.js} +1 -1
- package/build/esm/{index-69dd7596.js → index-32a968a1.js} +6 -6
- package/build/esm/{index-0025652b.js → index-346fd194.js} +21 -19
- package/build/esm/{index-d4941998.js → index-38b87b21.js} +12 -11
- package/build/esm/{index-27a9a555.js → index-46c22744.js} +6 -6
- package/build/esm/index-4cf37916.js +22 -0
- package/build/esm/{index-5407e81e.js → index-4d27d02e.js} +15 -14
- package/build/esm/{index-dbb0b265.js → index-52d04cc5.js} +7 -7
- package/build/esm/index-538ca8aa.js +860 -0
- package/build/esm/{index-691f32bb.js → index-57da0f13.js} +16 -88
- package/build/esm/{index-2449d246.js → index-5e17f985.js} +16 -15
- package/build/esm/{index-ffd3c918.js → index-605eed95.js} +35 -800
- package/build/esm/{index-b1022535.js → index-628c5e84.js} +2 -2
- package/build/esm/{index-0cc19c33.js → index-64b1cd5c.js} +1 -1
- package/build/esm/index-673fd5bd.js +1264 -0
- package/build/esm/{index-804dcc5a.js → index-70883b48.js} +17 -16
- package/build/esm/{index-32114d1a.js → index-71c8b83f.js} +3 -142
- package/build/esm/{index-1f077f71.js → index-72c269cf.js} +3 -3
- package/build/esm/index-7ad9db02.js +1030 -0
- package/build/esm/{index-394c352b.js → index-7ca4ec53.js} +15 -14
- package/build/esm/{index-f56ad865.js → index-7decdf27.js} +1 -1
- package/build/esm/index-7e95ba03.js +144 -0
- package/build/esm/{index-0dd98ba5.js → index-84b3ef3d.js} +3 -3
- package/build/esm/{index-4e0ef954.js → index-8b9c7b45.js} +3 -3
- package/build/esm/{index-b97f14ca.js → index-930b0a77.js} +16 -15
- package/build/esm/{index-79b8f3a0.js → index-93c8863d.js} +2 -2
- package/build/esm/{index-16ed17c9.js → index-949f771c.js} +6 -6
- package/build/esm/{index-22dbd9d2.js → index-99551970.js} +2 -2
- package/build/esm/{index-bf7b2785.js → index-9c268a93.js} +2 -2
- package/build/esm/{index-8801ddf9.js → index-9d7d3a53.js} +4 -4
- package/build/esm/{index-02019218.js → index-9e220aaa.js} +2 -2
- package/build/esm/{index-f4468b77.js → index-a424a33d.js} +3 -3
- package/build/esm/{index-b4866578.js → index-a54b6536.js} +14 -13
- package/build/esm/{index-53ca94ab.js → index-b09ced58.js} +1 -1
- package/build/esm/{index-b13c7add.js → index-b5ed732f.js} +5 -5
- package/build/esm/{index-68f3752c.js → index-b867d267.js} +1 -1
- package/build/esm/{index-d72f98d1.js → index-c4b04b5f.js} +1 -1
- package/build/esm/{index-7aa8728c.js → index-c5286b89.js} +12 -11
- package/build/esm/{index-151b9162.js → index-cbb45a5d.js} +2 -2
- package/build/esm/{index-2e4a2f44.js → index-d4dcfb68.js} +2 -2
- package/build/esm/{index-d7019532.js → index-dec46974.js} +20 -17
- package/build/esm/index-e19da15e.js +468 -0
- package/build/esm/{index-63825539.js → index-e1d35fec.js} +7 -6
- package/build/esm/{index-5eda6b48.js → index-e477c2a3.js} +23 -19
- package/build/esm/{index-d0d73bc9.js → index-ed292946.js} +2 -2
- package/build/esm/index-f3f06437.js +281 -0
- package/build/esm/index.js +118 -98
- package/build/esm/index.styles-25454e9c.js +62 -0
- package/build/esm/interfaces/types/Subot.d.ts +3 -3
- package/build/esm/{labelSorting-eaf1959d.js → labelSorting-27ecf45e.js} +4 -4
- package/build/esm/lead.js +22 -20
- package/build/esm/{logoIcon-cb9c1f10.js → logoIcon-ef6d9e4c.js} +2 -2
- package/build/esm/mantine.js +24 -22
- package/build/esm/misc.js +18 -18
- package/build/esm/miscGetDynamicHealthTool.js +7 -7
- package/build/esm/miscGetSocialList.js +12 -12
- package/build/esm/miscScreenSizeContext.js +1 -1
- package/build/esm/mobileBottomNavigation.js +19 -0
- package/build/esm/mobileBottomNavigationIcon.js +10 -0
- package/build/esm/molecules.js +71 -64
- package/build/esm/moleculesArticleCard.js +85 -0
- package/build/esm/moleculesArticleCardV2.js +171 -0
- package/build/esm/navigation.js +40 -35
- package/build/esm/navigationLogoutPopup.js +116 -0
- package/build/esm/navigationProfileButton.js +43 -0
- package/build/esm/{normalizeLink-c66d19ce.js → normalizeLink-d756e5e6.js} +1 -1
- package/build/esm/onboardingV2.js +27 -25
- package/build/esm/organisms.js +46 -41
- package/build/esm/post-86117110.js +267 -0
- package/build/esm/profileNavigation.js +441 -0
- package/build/esm/progressBar.js +250 -0
- package/build/esm/pwg.js +21 -19
- package/build/esm/{routing-f3629b7f.js → routing-b81b8f17.js} +1 -1
- package/build/esm/subot.js +29 -27
- package/build/esm/surveyOrPremiumBanner.js +30 -28
- package/build/esm/surveyQuestionCard.js +10 -10
- package/build/esm/{surveyThankyouCard-169d4956.js → surveyThankyouCard-1b30aa0b.js} +5 -5
- package/build/esm/together.js +53 -44
- package/build/esm/togetherApiUtils.js +4 -4
- package/build/esm/togetherAtoms.js +29 -26
- package/build/esm/togetherComponentGlobalContext.js +4 -4
- package/build/esm/togetherMolecules.js +56 -47
- package/build/esm/togetherMoleculesCardAuthor.js +41 -0
- package/build/esm/togetherMoleculesPostImagePreview.js +21 -0
- package/build/esm/togetherMoleculesProfileDetail.js +53 -0
- package/build/esm/togetherOrganisms.js +53 -44
- package/build/esm/togetherRichTextEditor.js +27 -0
- package/build/esm/togetherShareBox.js +305 -0
- package/build/esm/{treePopoverMenu-32a26245.js → treePopoverMenu-04ded0ef.js} +18 -17
- package/build/esm/types-3eb97d85.js +44 -0
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-0995f0b4.js → useCategory-391ffab0.js} +5 -5
- package/build/esm/{useHealthToolCache-7387a56d.js → useHealthToolCache-931ab3ca.js} +1 -1
- package/build/esm/{useMantineLocale-7d4ef853.js → useMantineLocale-b29ca68b.js} +5 -5
- package/build/esm/{usePlacesAutocomplete-7f23b876.js → usePlacesAutocomplete-91226a4d.js} +1 -1
- package/build/esm/useTogetherAuthRequiredAction.js +4 -4
- package/build/esm/{useTranslations-12762455.js → useTranslations-b66d9f2b.js} +1 -1
- package/build/esm/utils-92e2bc22.js +206 -0
- package/build/esm/{utils-24afe0f1.js → utils-f4b925d7.js} +2 -2
- package/build/esm/{utils-aa5734af.js → utils-f873578b.js} +4 -4
- package/build/esm/vaccination.js +20 -18
- package/build/{fixedBottomAdBlock-4db856c1.js → fixedBottomAdBlock-605a8692.js} +49 -691
- package/build/footer.js +20 -18
- package/build/gAssets.js +2 -2
- package/build/healthToolsCardWrapper.js +17 -15
- package/build/healthToolsForm.js +33 -31
- package/build/hooks.js +15 -15
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-a91bff81.js → index-0afde39e.js} +2 -2
- package/build/{index-5d3563a4.js → index-0cb2de9d.js} +3 -3
- package/build/{index-922333dc.js → index-188e2316.js} +15 -14
- package/build/index-1b06e81f.js +151 -0
- package/build/{index-46a71da2.js → index-1cdccd4e.js} +2 -2
- package/build/index-27e50de1.js +478 -0
- package/build/{index-ad9d0b0a.js → index-32abfb15.js} +12 -11
- package/build/{index-82a0b931.js → index-36723718.js} +6 -6
- package/build/{index-ce1b7f76.js → index-36ba9947.js} +2 -2
- package/build/{index-c09c64b7.js → index-3c593ede.js} +6 -6
- package/build/{index-0450bf33.js → index-4bf6b5da.js} +24 -99
- package/build/{index-281daa83.js → index-4fd69136.js} +16 -15
- package/build/{index-4c15723a.js → index-526cee72.js} +6 -6
- package/build/{index-b64c981f.js → index-549b9e8c.js} +1 -1
- package/build/{index-5e984f33.js → index-5b52b076.js} +38 -34
- package/build/{index-776f2478.js → index-5dbd317c.js} +34 -33
- package/build/index-5dcd87b7.js +289 -0
- package/build/{index-169bae02.js → index-648aac83.js} +2 -2
- package/build/{index-34ca22f2.js → index-6b7b4292.js} +3 -3
- package/build/{index-743255db.js → index-6b95442c.js} +2 -2
- package/build/{index-a5526d77.js → index-6b9e8dda.js} +3 -3
- package/build/{index-e256aef8.js → index-767f9ac6.js} +2 -2
- package/build/{index-deec7e58.js → index-7ce45455.js} +16 -15
- package/build/{index-6223ea5f.js → index-81ff6094.js} +7 -7
- package/build/{index-0236dd90.js → index-86ecfc48.js} +3 -3
- package/build/{index-ddc36398.js → index-8a19ce1b.js} +96 -864
- package/build/{index-e3bbbf6e.js → index-8d9663db.js} +9 -8
- package/build/{index-ffc38f11.js → index-9151d357.js} +2 -2
- package/build/index-922020ed.js +1045 -0
- package/build/{index-ac40492f.js → index-a76596ef.js} +1 -1
- package/build/{index-0485f54b.js → index-a839c6ca.js} +3 -3
- package/build/{index-477ad803.js → index-a8705384.js} +1 -1
- package/build/{index-418220e9.js → index-aad249ab.js} +2 -2
- package/build/{index-d4801d2c.js → index-af48fea3.js} +5 -5
- package/build/{index-41b74c44.js → index-b04c5212.js} +16 -15
- package/build/{index-7072811b.js → index-b4fd3100.js} +1 -1
- package/build/{index-d903234f.js → index-be0a9d63.js} +17 -16
- package/build/{index-b502b7a7.js → index-be262a50.js} +2 -2
- package/build/index-becfec7a.js +1307 -0
- package/build/index-bf3796aa.js +870 -0
- package/build/{index-8a509409.js → index-cc4ce0c4.js} +1 -1
- package/build/{index-e6f93e28.js → index-cd0db938.js} +34 -31
- package/build/{index-e2ca51d6.js → index-d0610b0f.js} +14 -13
- package/build/{index-28f47f15.js → index-d393d57e.js} +1 -1
- package/build/{index-538200cd.js → index-d471ff2d.js} +1 -1
- package/build/{index-4e5179a2.js → index-d5d9ceb9.js} +15 -14
- package/build/{index-cd94cd77.js → index-de26b5d1.js} +12 -11
- package/build/{index-3efdbdaf.js → index-dec3abcf.js} +15 -14
- package/build/{index-b2757afe.js → index-e018af91.js} +31 -29
- package/build/index-e8dc7fdb.js +29 -0
- package/build/{index-a0ee5e9f.js → index-f30e56f1.js} +12 -11
- package/build/{index-b7e7f5d7.js → index-f6b32484.js} +12 -11
- package/build/{index-8e183dab.js → index-f91ed3be.js} +4 -4
- package/build/{index-38d090ba.js → index-faa2908c.js} +3 -143
- package/build/{index-212720b1.js → index-fbb369ff.js} +1 -1
- package/build/{index-3c06bcfd.js → index-fde11604.js} +2 -2
- package/build/index.js +182 -162
- package/build/index.styles-9031f6d6.js +65 -0
- package/build/interfaces/types/Subot.d.ts +3 -3
- package/build/{labelSorting-8542da52.js → labelSorting-11165c8e.js} +4 -4
- package/build/lead.js +22 -20
- package/build/{logoIcon-bd143b65.js → logoIcon-f3283bfd.js} +2 -2
- package/build/mantine.js +20 -18
- package/build/misc.js +18 -18
- package/build/miscGetDynamicHealthTool.js +7 -7
- package/build/miscGetSocialList.js +12 -12
- package/build/miscScreenSizeContext.js +1 -1
- package/build/mobileBottomNavigation.js +27 -0
- package/build/mobileBottomNavigationIcon.js +18 -0
- package/build/molecules.js +76 -69
- package/build/moleculesArticleCard.js +93 -0
- package/build/moleculesArticleCardV2.js +180 -0
- package/build/navigation.js +40 -35
- package/build/navigationLogoutPopup.js +125 -0
- package/build/navigationProfileButton.js +51 -0
- package/build/onboardingV2.js +29 -27
- package/build/organisms.js +49 -44
- package/build/post-0fec66f4.js +303 -0
- package/build/profileNavigation.js +450 -0
- package/build/progressBar.js +260 -0
- package/build/pwg.js +21 -19
- package/build/{routing-90dba95d.js → routing-7a9c8608.js} +1 -1
- package/build/subot.js +28 -26
- package/build/surveyOrPremiumBanner.js +30 -28
- package/build/surveyQuestionCard.js +10 -10
- package/build/{surveyThankyouCard-9aad36f8.js → surveyThankyouCard-db73c893.js} +5 -5
- package/build/together.js +77 -68
- package/build/togetherApiUtils.js +4 -4
- package/build/togetherAtoms.js +29 -26
- package/build/togetherComponentGlobalContext.js +4 -4
- package/build/togetherMolecules.js +79 -70
- package/build/togetherMoleculesCardAuthor.js +49 -0
- package/build/togetherMoleculesPostImagePreview.js +29 -0
- package/build/togetherMoleculesProfileDetail.js +70 -0
- package/build/togetherOrganisms.js +53 -44
- package/build/togetherRichTextEditor.js +36 -0
- package/build/togetherShareBox.js +314 -0
- package/build/{treePopoverMenu-3f7e6767.js → treePopoverMenu-61ebd05c.js} +18 -17
- package/build/types-57052089.js +52 -0
- package/build/types.js +2 -2
- package/build/{useCategory-a808e6a6.js → useCategory-d9f73b82.js} +5 -5
- package/build/{useHealthToolCache-42222cc2.js → useHealthToolCache-4b5bfb11.js} +1 -1
- package/build/{useMantineLocale-8df90961.js → useMantineLocale-cc272195.js} +5 -5
- package/build/{usePlacesAutocomplete-4e21e680.js → usePlacesAutocomplete-a0156f14.js} +1 -1
- package/build/useTogetherAuthRequiredAction.js +4 -4
- package/build/{useTranslations-6363932f.js → useTranslations-8a9fa84d.js} +1 -1
- package/build/{utils-87deb74b.js → utils-251b2841.js} +3 -3
- package/build/{utils-4058dee5.js → utils-c29214c6.js} +2 -2
- package/build/utils-f47b2d2d.js +229 -0
- package/build/vaccination.js +24 -22
- package/package.json +1 -1
- package/build/esm/index-43aaedbb.js +0 -5060
- package/build/esm/types-996bf08e.js +0 -3433
- package/build/index-05199dd8.js +0 -5123
- package/build/types-89c90eb3.js +0 -3447
- /package/build/{BMI_BOYS.percentile.monthly-00dc2939.js → BMI_BOYS.percentile.monthly-5f29289b.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-eebf395b.js → BMI_BOYS.percentile.weekly-53584232.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-fa98b4c9.js → BMI_BOYS.percentile.yearly-84aaf8fb.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-cc66463f.js → BMI_BOYS.zscore.monthly-76d7fd0e.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-e1c85879.js → BMI_BOYS.zscore.weekly-ed3d66f2.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-88d58724.js → BMI_BOYS.zscore.yearly-7e74f0e8.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-82aff448.js → BMI_GIRLS.percentile.monthly-6973d8b0.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-c5767e28.js → BMI_GIRLS.percentile.weekly-a873a4e6.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-e45d9106.js → BMI_GIRLS.percentile.yearly-e86761bb.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-120aa581.js → BMI_GIRLS.zscore.monthly-9a12fa84.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-2f64347e.js → BMI_GIRLS.zscore.weekly-5936ed5b.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-ed842624.js → BMI_GIRLS.zscore.yearly-d40d8356.js} +0 -0
- /package/build/{ChevronDown-89002c32.js → ChevronDown-a6775d48.js} +0 -0
- /package/build/{Close-5e8e15ce.js → Close-9fa735bc.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-b1965149.js → HEAD CIRCUM_BOYS.percentile.monthly-873a839f.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-7c8df376.js → HEAD CIRCUM_BOYS.percentile.weekly-bbe3965d.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-ebafd6df.js → HEAD CIRCUM_BOYS.percentile.yearly-645dfc78.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-b5a0cdd1.js → HEAD CIRCUM_BOYS.zscore.monthly-9fe137bf.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-4c32261f.js → HEAD CIRCUM_BOYS.zscore.weekly-2ccb15fb.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-7642a6b6.js → HEAD CIRCUM_BOYS.zscore.yearly-48aed724.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-37a5b7b2.js → HEAD CIRCUM_GIRLS.percentile.monthly-d99d6d30.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-909278a6.js → HEAD CIRCUM_GIRLS.percentile.weekly-8a49b504.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-bd7732f5.js → HEAD CIRCUM_GIRLS.percentile.yearly-d747b0cd.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-5a1dc106.js → HEAD CIRCUM_GIRLS.zscore.monthly-8ef18721.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-19531ac2.js → HEAD CIRCUM_GIRLS.zscore.weekly-853cca20.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-3e9b57e2.js → HEAD CIRCUM_GIRLS.zscore.yearly-4d5b2175.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-75d3928f.js → HEIGHT_BOYS.percentile.monthly-070590b8.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-49d0eac1.js → HEIGHT_BOYS.percentile.weekly-56741428.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-ca043db8.js → HEIGHT_BOYS.percentile.yearly-9c81f767.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-0ef5a0b0.js → HEIGHT_BOYS.zscore.monthly-729982c3.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-897641f9.js → HEIGHT_BOYS.zscore.weekly-ddb206fb.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-2f57ee05.js → HEIGHT_BOYS.zscore.yearly-5fc7ea6a.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-35a2bd2b.js → HEIGHT_GIRLS.percentile.monthly-8cbc8d18.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-6682008a.js → HEIGHT_GIRLS.percentile.weekly-7145e94f.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-1490cd28.js → HEIGHT_GIRLS.percentile.yearly-ab0e4f4e.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-ab0ba051.js → HEIGHT_GIRLS.zscore.monthly-b851b1d7.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-8cd489df.js → HEIGHT_GIRLS.zscore.weekly-98aef3cf.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-547aa680.js → HEIGHT_GIRLS.zscore.yearly-65d990f7.js} +0 -0
- /package/build/{Locale-126bf6bd.js → Locale-07aceee9.js} +0 -0
- /package/build/{Visible-7090d851.js → Visible-ddeaf4cc.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-2c6444a6.js → WEIGHT_BOYS.percentile.monthly-0ce96694.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-d43234b7.js → WEIGHT_BOYS.percentile.weekly-b5397f20.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-361c6438.js → WEIGHT_BOYS.percentile.yearly-80cccd42.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-1a56d8b2.js → WEIGHT_BOYS.zscore.monthly-12907f1f.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-b1548cdf.js → WEIGHT_BOYS.zscore.weekly-a1af17eb.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-17b0334c.js → WEIGHT_BOYS.zscore.yearly-2649ff58.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-64e137c6.js → WEIGHT_GIRLS.percentile.monthly-222d7201.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-98c2fb5d.js → WEIGHT_GIRLS.percentile.weekly-2997b740.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-533341f7.js → WEIGHT_GIRLS.percentile.yearly-3dc5928a.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-d17a0d64.js → WEIGHT_GIRLS.zscore.monthly-742b7617.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-36a412aa.js → WEIGHT_GIRLS.zscore.weekly-5ee1ca40.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-68f9f66b.js → WEIGHT_GIRLS.zscore.yearly-d6ca7d60.js} +0 -0
- /package/build/{animation-fce92928.js → animation-a1ed71d8.js} +0 -0
- /package/build/{cart-d32faa71.js → cart-7bc1b943.js} +0 -0
- /package/build/{constants-83e17a08.js → constants-4cad9f4d.js} +0 -0
- /package/build/{constants-ef1d9e50.js → constants-81b95117.js} +0 -0
- /package/build/{constants-6b5e2780.js → constants-c3b9c9a9.js} +0 -0
- /package/build/{dataTransform-64f3ba4c.js → dataTransform-867c472c.js} +0 -0
- /package/build/{doctor-2a2b78b0.js → doctor-dca6d1b2.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-71f6615e.js → BMI_BOYS.percentile.monthly-2388d98f.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-8729108b.js → BMI_BOYS.percentile.weekly-8ebe6955.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-fe8dc27c.js → BMI_BOYS.percentile.yearly-3a97e95b.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-aa14f52a.js → BMI_BOYS.zscore.monthly-f7572dcd.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-6857bca0.js → BMI_BOYS.zscore.weekly-d6281906.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-05894e8d.js → BMI_BOYS.zscore.yearly-fbebaaca.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-99639eee.js → BMI_GIRLS.percentile.monthly-a75c8880.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-241a8c86.js → BMI_GIRLS.percentile.weekly-652bc9af.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-a7d673ad.js → BMI_GIRLS.percentile.yearly-8bcb5a6e.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-ac552c64.js → BMI_GIRLS.zscore.monthly-ecbe2982.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-d3bd5cf8.js → BMI_GIRLS.zscore.weekly-3abed735.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-68c40e02.js → BMI_GIRLS.zscore.yearly-d88a34a0.js} +0 -0
- /package/build/esm/{ChevronDown-1c6ac70a.js → ChevronDown-dfd91883.js} +0 -0
- /package/build/esm/{Close-9dbbc4f5.js → Close-b8fc27b1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-e844f279.js → HEAD CIRCUM_BOYS.percentile.monthly-ff980a90.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-c0ea6fc4.js → HEAD CIRCUM_BOYS.percentile.weekly-eb86eac9.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-58273474.js → HEAD CIRCUM_BOYS.percentile.yearly-27ed6504.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-867569e0.js → HEAD CIRCUM_BOYS.zscore.monthly-0d345597.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-1c2e6c46.js → HEAD CIRCUM_BOYS.zscore.weekly-c182ab46.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-4d2f300f.js → HEAD CIRCUM_BOYS.zscore.yearly-d45dbce1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-5d75244f.js → HEAD CIRCUM_GIRLS.percentile.monthly-61919e45.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-73bd9176.js → HEAD CIRCUM_GIRLS.percentile.weekly-51fa8f98.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-d1a55615.js → HEAD CIRCUM_GIRLS.percentile.yearly-c1fa6006.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-4d365a9f.js → HEAD CIRCUM_GIRLS.zscore.monthly-4dfc55d8.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-41370dfb.js → HEAD CIRCUM_GIRLS.zscore.weekly-b21b5bf1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-06ac6807.js → HEAD CIRCUM_GIRLS.zscore.yearly-c42836fa.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-3b18440a.js → HEIGHT_BOYS.percentile.monthly-24ff8afa.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-01a65af3.js → HEIGHT_BOYS.percentile.weekly-2be7b66e.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-c8203619.js → HEIGHT_BOYS.percentile.yearly-ac02aa2d.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-a3319613.js → HEIGHT_BOYS.zscore.monthly-b43667dc.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-981efa8b.js → HEIGHT_BOYS.zscore.weekly-abcfcf3a.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-a98e3bc6.js → HEIGHT_BOYS.zscore.yearly-71598c16.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-6959773b.js → HEIGHT_GIRLS.percentile.monthly-7f9d679c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-128bb11e.js → HEIGHT_GIRLS.percentile.weekly-6ce1d4e7.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-29a94e1c.js → HEIGHT_GIRLS.percentile.yearly-c398fd6b.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-dd466c09.js → HEIGHT_GIRLS.zscore.monthly-8d33bc28.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-b602fae7.js → HEIGHT_GIRLS.zscore.weekly-eb44c302.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-358063df.js → HEIGHT_GIRLS.zscore.yearly-10b4d1fe.js} +0 -0
- /package/build/esm/{Locale-f781df87.js → Locale-b86a7a92.js} +0 -0
- /package/build/esm/{Visible-46717d08.js → Visible-69da852f.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-00996ab0.js → WEIGHT_BOYS.percentile.monthly-fd349fe7.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-c3c6f755.js → WEIGHT_BOYS.percentile.weekly-d5e52d60.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-c4571ef6.js → WEIGHT_BOYS.percentile.yearly-929119b3.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-b5eaafd1.js → WEIGHT_BOYS.zscore.monthly-3f0f08cd.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-b058aef3.js → WEIGHT_BOYS.zscore.weekly-b9fd3298.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-4557bb07.js → WEIGHT_BOYS.zscore.yearly-9945948d.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-094c8315.js → WEIGHT_GIRLS.percentile.monthly-1e83ae51.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-59bd62f7.js → WEIGHT_GIRLS.percentile.weekly-c3531852.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-7064def2.js → WEIGHT_GIRLS.percentile.yearly-3c0040b0.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-3e264c0b.js → WEIGHT_GIRLS.zscore.monthly-3baeda15.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-8402d0e1.js → WEIGHT_GIRLS.zscore.weekly-2d8e6618.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-58908f5c.js → WEIGHT_GIRLS.zscore.yearly-826f5bdd.js} +0 -0
- /package/build/esm/{animation-12f6a99a.js → animation-7207941a.js} +0 -0
- /package/build/esm/{cart-5cbf8fde.js → cart-4f482601.js} +0 -0
- /package/build/esm/{constants-c65d5e73.js → constants-0497b893.js} +0 -0
- /package/build/esm/{constants-7447b364.js → constants-af02be2a.js} +0 -0
- /package/build/esm/{constants-28f21bf7.js → constants-f7943ab2.js} +0 -0
- /package/build/esm/{dataTransform-4564c01a.js → dataTransform-610e61bf.js} +0 -0
- /package/build/esm/{doctor-a6dcb5b0.js → doctor-63e09ada.js} +0 -0
- /package/build/esm/{index-d1c6a5eb.js → index-20192854.js} +0 -0
- /package/build/esm/{index-3dfef0e2.js → index-20199246.js} +0 -0
- /package/build/esm/{index-7149c324.js → index-5364f2db.js} +0 -0
- /package/build/esm/{index-9d1a8bc8.js → index-56d0ac47.js} +0 -0
- /package/build/esm/{index-e2a19de9.js → index-9f076f64.js} +0 -0
- /package/build/esm/{index-31ca33d1.js → index-a2506e52.js} +0 -0
- /package/build/esm/{index-b503d8ca.js → index-c130afdc.js} +0 -0
- /package/build/esm/{index-5bd25778.js → index-c9467e39.js} +0 -0
- /package/build/esm/{localizeNumberFormat-fe248dc9.js → localizeNumberFormat-3bf28240.js} +0 -0
- /package/build/esm/{number-59fe2c76.js → number-d26abebe.js} +0 -0
- /package/build/esm/{other-8082eeb8.js → other-08d0b30e.js} +0 -0
- /package/build/esm/{paths-a31c249e.js → paths-ce59b252.js} +0 -0
- /package/build/esm/{translationsContext-f05845a3.js → translationsContext-8afb0ce3.js} +0 -0
- /package/build/esm/{tslib.es6-2813a841.js → tslib.es6-e0840efa.js} +0 -0
- /package/build/esm/{types-e1b0b130.js → types-41242882.js} +0 -0
- /package/build/esm/{useIsInit-6417c32d.js → useIsInit-f59c6bd2.js} +0 -0
- /package/build/esm/{useOutsideClick-cabe5b52.js → useOutsideClick-12815e56.js} +0 -0
- /package/build/esm/{useScrollbarSize-93f9665c.js → useScrollbarSize-431cf33c.js} +0 -0
- /package/build/esm/{useUniqueId-0c237f04.js → useUniqueId-8f710187.js} +0 -0
- /package/build/esm/{utils-5ac430a2.js → utils-8a1f05c9.js} +0 -0
- /package/build/{index-9a3d05f1.js → index-017f99b2.js} +0 -0
- /package/build/{index-ddd1ae54.js → index-1a6a94cd.js} +0 -0
- /package/build/{index-126368b4.js → index-668f591b.js} +0 -0
- /package/build/{index-eae45243.js → index-70abc2ac.js} +0 -0
- /package/build/{index-1fab78b5.js → index-c6b0831a.js} +0 -0
- /package/build/{index-d0ba8956.js → index-ce2d2850.js} +0 -0
- /package/build/{index-31ba7c80.js → index-e3e72aed.js} +0 -0
- /package/build/{index-b895e598.js → index-f70c0edf.js} +0 -0
- /package/build/{localizeNumberFormat-52a8a959.js → localizeNumberFormat-30e7f015.js} +0 -0
- /package/build/{normalizeLink-8a458cb4.js → normalizeLink-c1b2b407.js} +0 -0
- /package/build/{number-8f639a87.js → number-20d56f69.js} +0 -0
- /package/build/{other-fcf0cbba.js → other-eedaf6ca.js} +0 -0
- /package/build/{paths-822d5ab1.js → paths-4c182009.js} +0 -0
- /package/build/{translationsContext-1fe0412c.js → translationsContext-cd046df4.js} +0 -0
- /package/build/{tslib.es6-d6f7eba3.js → tslib.es6-f3c387c0.js} +0 -0
- /package/build/{types-7b239cb4.js → types-2614ec58.js} +0 -0
- /package/build/{useIsInit-3c23a980.js → useIsInit-e56642e4.js} +0 -0
- /package/build/{useOutsideClick-dcf05d21.js → useOutsideClick-f18dfe3f.js} +0 -0
- /package/build/{useScrollbarSize-e144fad0.js → useScrollbarSize-4aaa4dd1.js} +0 -0
- /package/build/{useUniqueId-47d33d64.js → useUniqueId-621ec272.js} +0 -0
- /package/build/{utils-03c7b063.js → utils-ae9740c0.js} +0 -0
|
@@ -0,0 +1,281 @@
|
|
|
1
|
+
import { a as __awaiter } from './tslib.es6-e0840efa.js';
|
|
2
|
+
import React__default, { useRef, useState, useEffect } from 'react';
|
|
3
|
+
import { User } from '@hhgtech/icons/core';
|
|
4
|
+
import { a as Avatar } from './index-57da0f13.js';
|
|
5
|
+
import { B as Button } from './index-c4b04b5f.js';
|
|
6
|
+
import { T as Text } from './index-99551970.js';
|
|
7
|
+
import { u as useTranslations } from './useTranslations-b66d9f2b.js';
|
|
8
|
+
import './index-7decdf27.js';
|
|
9
|
+
import { C as CommonGAssets } from './index-9f076f64.js';
|
|
10
|
+
import { a as normalizeLinkSlash } from './normalizeLink-d756e5e6.js';
|
|
11
|
+
import { theme } from './miscTheme.js';
|
|
12
|
+
import styled from '@emotion/styled';
|
|
13
|
+
import { M as MediaQueries } from './utils-8a1f05c9.js';
|
|
14
|
+
import { setDefaultClass } from './miscDefaultClassWrapper.js';
|
|
15
|
+
import { ProfileNavigation } from './profileNavigation.js';
|
|
16
|
+
import { NavigationLogoutPopup } from './navigationLogoutPopup.js';
|
|
17
|
+
import { L as LOCALE } from './Locale-b86a7a92.js';
|
|
18
|
+
|
|
19
|
+
const useCSSFocusPopupHelper = (configs) => {
|
|
20
|
+
const { allowBgScroll } = configs || {};
|
|
21
|
+
const ref = useRef();
|
|
22
|
+
return {
|
|
23
|
+
containerRef: ref,
|
|
24
|
+
onContainerFocus: () => {
|
|
25
|
+
if (!allowBgScroll)
|
|
26
|
+
document.documentElement.style.overflow = 'hidden';
|
|
27
|
+
},
|
|
28
|
+
onContainerBlur: () => {
|
|
29
|
+
if (!allowBgScroll)
|
|
30
|
+
document.documentElement.style.overflow = '';
|
|
31
|
+
},
|
|
32
|
+
onButtonMouseDown: (e) => {
|
|
33
|
+
// this close popup when click, run after REact init
|
|
34
|
+
if (ref.current &&
|
|
35
|
+
(document.activeElement === ref.current ||
|
|
36
|
+
ref.current.contains(document.activeElement))) {
|
|
37
|
+
ref.current.blur();
|
|
38
|
+
document.activeElement.blur();
|
|
39
|
+
e.preventDefault();
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
onClose: () => {
|
|
43
|
+
if (ref.current &&
|
|
44
|
+
(document.activeElement === ref.current ||
|
|
45
|
+
ref.current.contains(document.activeElement))) {
|
|
46
|
+
ref.current.blur();
|
|
47
|
+
document.activeElement.blur();
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
const StyledPopup = setDefaultClass(styled.div `
|
|
54
|
+
position: absolute;
|
|
55
|
+
right: 0;
|
|
56
|
+
transition: all 0.5s ease-in-out;
|
|
57
|
+
overflow-y: auto;
|
|
58
|
+
|
|
59
|
+
&[data-open='true'] {
|
|
60
|
+
z-index: 200;
|
|
61
|
+
top: 120%;
|
|
62
|
+
opacity: 1;
|
|
63
|
+
visibility: visible;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&[data-open='false'] {
|
|
67
|
+
display: none;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.popup-content {
|
|
71
|
+
z-index: 111;
|
|
72
|
+
height: 100%;
|
|
73
|
+
border: 1px solid #0000001a;
|
|
74
|
+
border-radius: 16px;
|
|
75
|
+
border-top-left-radius: 0;
|
|
76
|
+
border-top-right-radius: 0;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/* min-height: 415px; */
|
|
80
|
+
${MediaQueries.mbUp} {
|
|
81
|
+
width: 320px;
|
|
82
|
+
}
|
|
83
|
+
${MediaQueries.mbDown} {
|
|
84
|
+
position: fixed;
|
|
85
|
+
left: 0;
|
|
86
|
+
width: 100%;
|
|
87
|
+
padding-bottom: 70px;
|
|
88
|
+
}
|
|
89
|
+
`, 'hhgcomp-navprofilebutton-popup');
|
|
90
|
+
const StyledPopupWrapper = setDefaultClass(styled.div `
|
|
91
|
+
position: fixed;
|
|
92
|
+
z-index: 150;
|
|
93
|
+
top: var(--header-bottom, 56px);
|
|
94
|
+
left: 0;
|
|
95
|
+
width: 100%;
|
|
96
|
+
height: 100%;
|
|
97
|
+
align-items: center;
|
|
98
|
+
|
|
99
|
+
${MediaQueries.mbUp} {
|
|
100
|
+
background-color: transparent;
|
|
101
|
+
&[data-type='welcome'] {
|
|
102
|
+
background: rgba(38, 38, 38, 0.3);
|
|
103
|
+
}
|
|
104
|
+
&[data-type='due-date'] {
|
|
105
|
+
background: rgba(38, 38, 38, 0.3);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
${MediaQueries.mbDown} {
|
|
110
|
+
background: rgba(38, 38, 38, 0.3);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
&[data-type='welcome'] {
|
|
114
|
+
top: 0;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
&[data-open='false'] {
|
|
118
|
+
display: none;
|
|
119
|
+
}
|
|
120
|
+
`, 'hhgcomp-navprofilebutton-popupwrapper');
|
|
121
|
+
const StyledAvatar = styled.div `
|
|
122
|
+
width: 36px;
|
|
123
|
+
height: 36px;
|
|
124
|
+
cursor: pointer;
|
|
125
|
+
|
|
126
|
+
img {
|
|
127
|
+
border-radius: 50%;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.avatar {
|
|
131
|
+
width: 36px;
|
|
132
|
+
height: 36px;
|
|
133
|
+
object-fit: cover;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.avatar-default {
|
|
137
|
+
display: flex;
|
|
138
|
+
align-items: center;
|
|
139
|
+
justify-content: center;
|
|
140
|
+
background-color: ${theme.colors.secondaryBase};
|
|
141
|
+
border-radius: 50%;
|
|
142
|
+
color: white;
|
|
143
|
+
font-size: 20px;
|
|
144
|
+
font-weight: bold;
|
|
145
|
+
}
|
|
146
|
+
`;
|
|
147
|
+
const StyledImageWrapper = styled.div `
|
|
148
|
+
display: inline-flex;
|
|
149
|
+
position: relative;
|
|
150
|
+
width: 36px;
|
|
151
|
+
height: 36px;
|
|
152
|
+
display: flex;
|
|
153
|
+
align-items: center;
|
|
154
|
+
justify-content: center;
|
|
155
|
+
text-decoration: none;
|
|
156
|
+
flex-shrink: 0;
|
|
157
|
+
cursor: pointer;
|
|
158
|
+
|
|
159
|
+
.user-close-icon {
|
|
160
|
+
display: none;
|
|
161
|
+
}
|
|
162
|
+
&:focus-within {
|
|
163
|
+
.user-close-icon {
|
|
164
|
+
display: block;
|
|
165
|
+
}
|
|
166
|
+
.user-avatar {
|
|
167
|
+
display: none;
|
|
168
|
+
}
|
|
169
|
+
${StyledPopup.classSelector} {
|
|
170
|
+
z-index: 200;
|
|
171
|
+
top: 120%;
|
|
172
|
+
opacity: 1;
|
|
173
|
+
visibility: visible;
|
|
174
|
+
display: initial;
|
|
175
|
+
${MediaQueries.mbDown} {
|
|
176
|
+
top: 100%;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
${StyledPopupWrapper.classSelector} {
|
|
180
|
+
display: initial;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
`;
|
|
184
|
+
const StyledLoggedOutAnchor = styled.a `
|
|
185
|
+
display: inline-flex;
|
|
186
|
+
.login-btn[data-color='tertiary'][data-size='md'] {
|
|
187
|
+
padding-left: 12px;
|
|
188
|
+
padding-right: 12px;
|
|
189
|
+
}
|
|
190
|
+
.mobile-only {
|
|
191
|
+
${MediaQueries.mbUp} {
|
|
192
|
+
display: none;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
.login-btn {
|
|
196
|
+
display: none;
|
|
197
|
+
${MediaQueries.mbUp} {
|
|
198
|
+
display: block;
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
`;
|
|
202
|
+
|
|
203
|
+
const ProfilePopup = ({ isOpen, userInfo, closePopup, siteType = 'helloSites', dispatchLogout, }) => {
|
|
204
|
+
const handleClickLogout = () => {
|
|
205
|
+
if (dispatchLogout) {
|
|
206
|
+
dispatchLogout();
|
|
207
|
+
closePopup();
|
|
208
|
+
}
|
|
209
|
+
};
|
|
210
|
+
return (React__default.createElement(StyledPopup, { "data-open": isOpen },
|
|
211
|
+
React__default.createElement("div", { className: "popup-content" },
|
|
212
|
+
React__default.createElement(ProfileNavigation, { siteType: siteType, onLogout: handleClickLogout, userInfo: userInfo }))));
|
|
213
|
+
};
|
|
214
|
+
|
|
215
|
+
const NavigationProfileButton = ({ userInfo, siteType, onLoginClick, SSO_URL, currentUrl, isMinifyLogin, onLogout, style, isLoading, locale, }) => {
|
|
216
|
+
const { t } = useTranslations();
|
|
217
|
+
const [isLogoutConfirmOpen, setIsLogoutConfirmOpen] = useState(false);
|
|
218
|
+
const name = (userInfo === null || userInfo === void 0 ? void 0 : userInfo.name) || (userInfo === null || userInfo === void 0 ? void 0 : userInfo.username);
|
|
219
|
+
const [init, setInit] = useState(false);
|
|
220
|
+
useEffect(() => {
|
|
221
|
+
setInit(true);
|
|
222
|
+
}, []);
|
|
223
|
+
const { containerRef, onContainerFocus, onContainerBlur, onButtonMouseDown, onClose, } = useCSSFocusPopupHelper();
|
|
224
|
+
if (isLoading)
|
|
225
|
+
return React__default.createElement(Button, { size: "sm", color: "transparent", loading: true });
|
|
226
|
+
return (userInfo === null || userInfo === void 0 ? void 0 : userInfo.id) ? (React__default.createElement(React__default.Fragment, null,
|
|
227
|
+
React__default.createElement(StyledImageWrapper, { ref: containerRef, style: style, tabIndex: 0, onBlur: onContainerBlur, onFocus: () => {
|
|
228
|
+
var _a;
|
|
229
|
+
onContainerFocus();
|
|
230
|
+
const popup = (_a = containerRef.current) === null || _a === void 0 ? void 0 : _a.querySelector('#desktop-sticky-header .hhgcomp-navprofilebutton-popup');
|
|
231
|
+
if (popup) {
|
|
232
|
+
const bound = popup.getBoundingClientRect();
|
|
233
|
+
const top = bound.top;
|
|
234
|
+
const maxHeight = `calc(100vh - ${top}px)`;
|
|
235
|
+
popup.setAttribute('style', `max-height: ${maxHeight};`);
|
|
236
|
+
}
|
|
237
|
+
} },
|
|
238
|
+
React__default.createElement("div", { onMouseDown: onButtonMouseDown },
|
|
239
|
+
React__default.createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", className: "user-close-icon" },
|
|
240
|
+
React__default.createElement("path", { d: "M18 6L6 18M18 18L6 6", stroke: "#3E3F58", strokeWidth: "1.3", strokeLinecap: "round" })),
|
|
241
|
+
React__default.createElement(Avatar, { size: 36, className: "user-avatar", src: userInfo === null || userInfo === void 0 ? void 0 : userInfo.avatar, color: siteType === 'marryBaby'
|
|
242
|
+
? theme.mbColors.pink
|
|
243
|
+
: theme.colors.secondaryBase, placeholderText: name && name.length ? name[0].toUpperCase() : 'A' })),
|
|
244
|
+
React__default.createElement(ProfilePopup, { dispatchLogout: () => {
|
|
245
|
+
onClose();
|
|
246
|
+
setIsLogoutConfirmOpen(true);
|
|
247
|
+
}, isOpen: false, closePopup: onClose, siteType: siteType, userInfo: userInfo })),
|
|
248
|
+
React__default.createElement(NavigationLogoutPopup, { openLogoutPopup: isLogoutConfirmOpen, onCloseHandler: () => {
|
|
249
|
+
document.body.classList.toggle('noscroll', false);
|
|
250
|
+
setIsLogoutConfirmOpen(false);
|
|
251
|
+
}, siteType: siteType, onLogoutHandler: () => __awaiter(void 0, void 0, void 0, function* () {
|
|
252
|
+
setIsLogoutConfirmOpen(false);
|
|
253
|
+
document.body.classList.toggle('noscroll', false);
|
|
254
|
+
yield onLogout();
|
|
255
|
+
}) }))) : (React__default.createElement(StyledLoggedOutAnchor, { style: Object.assign({ textDecoration: 'none' }, style), "data-event-category": "Sign Up", "data-event-action": "Button Click", "data-event-label": currentUrl, href: !init
|
|
256
|
+
? normalizeLinkSlash(`${SSO_URL}?returnUrl=${currentUrl}`)
|
|
257
|
+
: undefined, "data-site-type": siteType, onClick: onLoginClick }, isMinifyLogin ? (React__default.createElement(StyledAvatar, null,
|
|
258
|
+
React__default.createElement("img", { src: CommonGAssets.getAssetPath('lock.png'), className: "avatar", loading: "lazy", alt: "avatar" }))) : (
|
|
259
|
+
// LOGIC:
|
|
260
|
+
// - DEsktop: always show button
|
|
261
|
+
// - Mobile: show button only for helloSites, show text for MarryBaby
|
|
262
|
+
React__default.createElement(React__default.Fragment, null,
|
|
263
|
+
siteType === 'helloSites' &&
|
|
264
|
+
(locale === LOCALE.Indonesia ||
|
|
265
|
+
locale === LOCALE.PhilippinesTagalog ||
|
|
266
|
+
locale === LOCALE.PhilippinesEnglish ? (React__default.createElement("img", { className: "mobile-only", src: CommonGAssets.getAssetPath('login.svg'), style: {
|
|
267
|
+
cursor: 'pointer',
|
|
268
|
+
height: 24,
|
|
269
|
+
width: 24,
|
|
270
|
+
} })) : (React__default.createElement(Button, { className: "mobile-only", size: "sm", leftIcon: React__default.createElement(User, { color: "currentColor", isSolid: true, size: 22 }), sx: {
|
|
271
|
+
paddingLeft: '8px',
|
|
272
|
+
paddingRight: '12px',
|
|
273
|
+
} }, t('navigation.loginJoin')))),
|
|
274
|
+
siteType === 'marryBaby' && (React__default.createElement("div", { className: "mobile-only", style: {
|
|
275
|
+
paddingLeft: 16,
|
|
276
|
+
} },
|
|
277
|
+
React__default.createElement(Text, { size: "p3", color: theme.mbColors.pink }, t('navigation.loginJoin')))),
|
|
278
|
+
siteType === 'marryBaby' ? (React__default.createElement(Button, { className: "login-btn", size: "md", leftIcon: React__default.createElement(User, { color: "currentColor", isSolid: true, size: 22 }) }, t('navigation.loginJoin'))) : (React__default.createElement(Button, { className: "login-btn", size: "md", leftIcon: React__default.createElement(User, { color: "#595959", isSolid: true, size: 22 }), variant: "ghost", color: "#262626" }, t('navigation.loginJoin')))))));
|
|
279
|
+
};
|
|
280
|
+
|
|
281
|
+
export { NavigationProfileButton as N, useCSSFocusPopupHelper as u };
|
package/build/esm/index.js
CHANGED
|
@@ -1,121 +1,138 @@
|
|
|
1
|
-
export { i as Types } from './index-
|
|
2
|
-
export { i as Constants } from './index-
|
|
3
|
-
export { C as CaretDown, F as Flag
|
|
1
|
+
export { i as Types } from './index-7decdf27.js';
|
|
2
|
+
export { i as Constants } from './index-9e220aaa.js';
|
|
3
|
+
export { C as CaretDown, F as Flag } from './index-57da0f13.js';
|
|
4
4
|
import * as React from 'react';
|
|
5
|
-
export { C as ChevronDown } from './ChevronDown-
|
|
6
|
-
export { C as Close } from './Close-
|
|
7
|
-
export { V as Visible } from './Visible-
|
|
8
|
-
export { A as Alert, B as Badge, a as BorderHeading, F as FileDropdown, G as Grid, P as Pagination, R as Radio, c as RateStars, S as StepRenderer, d as StepRendererContext, T as Tag, b as Toggle } from './index-
|
|
9
|
-
export { A as Avatar } from './index-
|
|
10
|
-
export { B as Button } from './index-
|
|
11
|
-
export { D as Divider } from './index-
|
|
12
|
-
export { H as Heading } from './index-
|
|
13
|
-
export { I as Input, L as Label } from './index-
|
|
14
|
-
export { L as Logo } from './index-
|
|
15
|
-
export { C as Checkbox, P as PureInput } from './index-
|
|
16
|
-
export { T as Text } from './index-
|
|
17
|
-
export { T as TextArea } from './index-
|
|
18
|
-
export { C as Container } from './index-
|
|
19
|
-
export { I as Icon } from './index-
|
|
20
|
-
export { D as Drawer } from './index-
|
|
21
|
-
export { R as RadioImageGroup } from './index-
|
|
22
|
-
export { A as AuthorBadge, B as BookingBtn } from './index-
|
|
23
|
-
export { C as CustomReferenceDot } from './index-
|
|
24
|
-
export { B as BtnChoice } from './index-
|
|
25
|
-
export { L as LogoIcon } from './logoIcon-
|
|
26
|
-
export {
|
|
27
|
-
export {
|
|
28
|
-
export {
|
|
29
|
-
export {
|
|
30
|
-
export {
|
|
31
|
-
export {
|
|
32
|
-
export {
|
|
33
|
-
export {
|
|
34
|
-
export {
|
|
35
|
-
export {
|
|
5
|
+
export { C as ChevronDown } from './ChevronDown-dfd91883.js';
|
|
6
|
+
export { C as Close } from './Close-b8fc27b1.js';
|
|
7
|
+
export { V as Visible } from './Visible-69da852f.js';
|
|
8
|
+
export { A as Alert, B as Badge, a as BorderHeading, F as FileDropdown, G as Grid, P as Pagination, R as Radio, c as RateStars, S as StepRenderer, d as StepRendererContext, T as Tag, b as Toggle } from './index-b5ed732f.js';
|
|
9
|
+
export { A as Avatar } from './index-64b1cd5c.js';
|
|
10
|
+
export { B as Button } from './index-9c268a93.js';
|
|
11
|
+
export { D as Divider } from './index-5364f2db.js';
|
|
12
|
+
export { H as Heading } from './index-1a2bc551.js';
|
|
13
|
+
export { I as Input, L as Label } from './index-d4dcfb68.js';
|
|
14
|
+
export { L as Logo } from './index-949f771c.js';
|
|
15
|
+
export { C as Checkbox, P as PureInput } from './index-72c269cf.js';
|
|
16
|
+
export { T as Text } from './index-38b87b21.js';
|
|
17
|
+
export { T as TextArea } from './index-2c4a2d31.js';
|
|
18
|
+
export { C as Container } from './index-c9467e39.js';
|
|
19
|
+
export { I as Icon } from './index-19f27bd3.js';
|
|
20
|
+
export { D as Drawer } from './index-8b9c7b45.js';
|
|
21
|
+
export { R as RadioImageGroup } from './index-cbb45a5d.js';
|
|
22
|
+
export { A as AuthorBadge, B as BookingBtn } from './index-52d04cc5.js';
|
|
23
|
+
export { C as CustomReferenceDot } from './index-a2506e52.js';
|
|
24
|
+
export { B as BtnChoice } from './index-b867d267.js';
|
|
25
|
+
export { L as LogoIcon } from './logoIcon-ef6d9e4c.js';
|
|
26
|
+
export { I as ImageWrap } from './index-4cf37916.js';
|
|
27
|
+
export { G as GenderOptionControl } from './index-1313a7ac.js';
|
|
28
|
+
export { L as Loading } from './index-628c5e84.js';
|
|
29
|
+
export { ArticleCard } from './moleculesArticleCard.js';
|
|
30
|
+
export { ArticleCard as ArticleCardV2 } from './moleculesArticleCardV2.js';
|
|
31
|
+
export { A as AdBlock, B as Breadcrumbs, C as CategoryCard, a as CheckboxGroup, d as CookieAcceptConfirm, f as DateRangePicker, D as DoctorInfo, j as FixedBottomAdBlock, F as FloatButtonGroup, I as IconText, R as RadioGroup, S as ScrollList, e as SeoHead, g as ShareContainer, h as ShareDrawer, i as SideMenu, b as StatisticCard, c as Table, T as Tabs } from './fixedBottomAdBlock-2af1606f.js';
|
|
32
|
+
export { D as DatePicker } from './index-c130afdc.js';
|
|
33
|
+
export { D as Dropdown } from './index-20192854.js';
|
|
34
|
+
export { P as Popup } from './index-04ba5caa.js';
|
|
35
|
+
export { M as Modal } from './index-13783871.js';
|
|
36
|
+
export { ProgressBar } from './progressBar.js';
|
|
37
|
+
export { S as SurveyQuestionCard, a as SurveyThankyouCard } from './surveyThankyouCard-1b30aa0b.js';
|
|
38
|
+
export { MobileBottomNavigation } from './mobileBottomNavigation.js';
|
|
39
|
+
export { M as MobileBottomNavigationIcon } from './MobileBottomNavigationIcon-ae6490d7.js';
|
|
40
|
+
export { T as ToolsBannerCard } from './index-c5286b89.js';
|
|
41
|
+
export { D as DueDateForm } from './index-4d27d02e.js';
|
|
36
42
|
export { DueDateCardEmbed } from './embeddedHeathToolCards_dueDate_dueDate.js';
|
|
37
43
|
export { BMICardEmbed } from './embeddedHeathToolCards_bmi_bmi.js';
|
|
38
|
-
export { B as BmiForm } from './index-
|
|
44
|
+
export { B as BmiForm } from './index-5e17f985.js';
|
|
39
45
|
export { BabyGrowthCardEmbed } from './embeddedHeathToolCards_babyGrowth.js';
|
|
40
46
|
export { BabyPoopEmbed } from './embeddedHeathToolCards_babyPoop.js';
|
|
41
|
-
export { B as BabyPoopForm } from './index-
|
|
47
|
+
export { B as BabyPoopForm } from './index-082a24ae.js';
|
|
42
48
|
export { THRCardEmbed } from './embeddedHeathToolCards_targetHeartRate.js';
|
|
43
|
-
export { T as ThrForm } from './index-
|
|
49
|
+
export { T as ThrForm } from './index-70883b48.js';
|
|
44
50
|
export { BMRCardEmbed } from './embeddedHeathToolCards_bmrBmr.js';
|
|
45
51
|
export { OvulationCardEmbed } from './embeddedHeathToolCards_ovulation_ovulation.js';
|
|
46
|
-
export { O as OvulationForm } from './index-
|
|
47
|
-
export { B as BabyVaccineForm } from './index-
|
|
52
|
+
export { O as OvulationForm } from './index-7ca4ec53.js';
|
|
53
|
+
export { B as BabyVaccineForm } from './index-2ac50d8f.js';
|
|
48
54
|
export { BabyVaccineCardEmbed } from './embeddedHeathToolCards_babyVaccine.js';
|
|
49
55
|
export { PWGCardEmbed } from './embeddedHeathToolCards_pwg_pwg.js';
|
|
50
|
-
export { P as PWGForm } from './index-
|
|
51
|
-
export { L as LanguageSwitcher } from './index-
|
|
52
|
-
export { P as PillCarousel } from './index-
|
|
53
|
-
export { A as AddressInput } from './index-
|
|
54
|
-
export { a as MAPPING_CATEGORY_PREMIUM_API_TYPE, M as MAPPING_CATEGORY_PREMIUM_TYPE, b as SideBannerModal, S as SurveyOrPremiumBanner } from './index-
|
|
55
|
-
export {
|
|
56
|
-
export { U as UserProfileNavigation, N as UserProfileNavigationHeader, a as UserProfileNavigationStats } from './index-
|
|
57
|
-
export { F as Footer } from './index-
|
|
58
|
-
export {
|
|
59
|
-
export {
|
|
60
|
-
export {
|
|
61
|
-
export { u as
|
|
62
|
-
export { u as
|
|
63
|
-
export {
|
|
64
|
-
export { u as
|
|
56
|
+
export { P as PWGForm } from './index-16a4f1c7.js';
|
|
57
|
+
export { L as LanguageSwitcher } from './index-84b3ef3d.js';
|
|
58
|
+
export { P as PillCarousel } from './index-e1d35fec.js';
|
|
59
|
+
export { A as AddressInput } from './index-a54b6536.js';
|
|
60
|
+
export { a as MAPPING_CATEGORY_PREMIUM_API_TYPE, M as MAPPING_CATEGORY_PREMIUM_TYPE, b as SideBannerModal, S as SurveyOrPremiumBanner } from './index-346fd194.js';
|
|
61
|
+
export { N as NavigationV2, g as getNavMenuContent, a as getNavMenuContentWithCache } from './index-605eed95.js';
|
|
62
|
+
export { U as UserProfileNavigation, N as UserProfileNavigationHeader, a as UserProfileNavigationStats } from './index-46c22744.js';
|
|
63
|
+
export { F as Footer } from './index-275c8526.js';
|
|
64
|
+
export { NavigationLogoutPopup } from './navigationLogoutPopup.js';
|
|
65
|
+
export { N as NavigationProfileButton } from './index-f3f06437.js';
|
|
66
|
+
export { ProfileNavigation } from './profileNavigation.js';
|
|
67
|
+
export { u as useTranslations } from './useTranslations-b66d9f2b.js';
|
|
68
|
+
export { M as MEASURE_ELEMENT_CLASS, u as useScrollbarSize } from './useScrollbarSize-431cf33c.js';
|
|
69
|
+
export { M as MAPPED_CATEGORY_SLUGS, P as PREGNANCY_SLUG, c as useCategory, u as useFbDataLayer, a as usePrevious, b as useRafState } from './useCategory-391ffab0.js';
|
|
70
|
+
export { u as useHealthToolsCache } from './useHealthToolCache-931ab3ca.js';
|
|
71
|
+
export { u as useIsInit } from './useIsInit-f59c6bd2.js';
|
|
72
|
+
export { i as initSharedOutSideClickListener, a as useOutsideClick, u as useSharedOutsideClick } from './useOutsideClick-12815e56.js';
|
|
73
|
+
export { u as useInitialMount, a as useUniqueId } from './useUniqueId-8f710187.js';
|
|
65
74
|
export { TogetherAuthConfigContext, TogetherAuthConfigContextProvider, useTogetherAuthRequiredAction } from './useTogetherAuthRequiredAction.js';
|
|
66
|
-
export { d as TogetherDataTransforms } from './dataTransform-
|
|
67
|
-
export { t as TogetherTypes } from './types-
|
|
68
|
-
export { c as TogetherConstants } from './constants-
|
|
69
|
-
export { U as UserAvatar } from './index-
|
|
70
|
-
export { C as CardLink
|
|
71
|
-
export { C as CardReactions, a as LabelPin, L as LabelSortPin, T as TagTopic } from './treePopoverMenu-
|
|
72
|
-
export { L as LabelSorting } from './labelSorting-
|
|
73
|
-
export { C as CardAuthor,
|
|
74
|
-
export { C as CreateNewPostContent, a as CreatePostDescription, b as CreatePostTitle, S as SkipQuestionOfExpertBtn, T as TopicSelectList } from './index-
|
|
75
|
-
export {
|
|
76
|
-
export {
|
|
77
|
-
export {
|
|
78
|
-
export {
|
|
79
|
-
export { a as
|
|
80
|
-
export {
|
|
75
|
+
export { d as TogetherDataTransforms } from './dataTransform-2023858d.js';
|
|
76
|
+
export { t as TogetherTypes } from './types-41242882.js';
|
|
77
|
+
export { c as TogetherConstants } from './constants-0497b893.js';
|
|
78
|
+
export { U as UserAvatar } from './index-93c8863d.js';
|
|
79
|
+
export { C as CardLink } from './index-7e95ba03.js';
|
|
80
|
+
export { C as CardReactions, a as LabelPin, L as LabelSortPin, T as TagTopic } from './treePopoverMenu-04ded0ef.js';
|
|
81
|
+
export { L as LabelSorting } from './labelSorting-27ecf45e.js';
|
|
82
|
+
export { C as CardAuthor, a as PopupDoctor, P as PopupExpert, b as PopupHospital, c as ProfileDetailModal } from './index-7ad9db02.js';
|
|
83
|
+
export { C as CreateNewPostContent, a as CreatePostDescription, b as CreatePostTitle, S as SkipQuestionOfExpertBtn, T as TopicSelectList } from './index-e477c2a3.js';
|
|
84
|
+
export { I as InputCommentBar, P as PopupDanger, a as PopupFrame, S as SharePopup, c as SocialLinkPreview, b as SubmitReportForm } from './index-673fd5bd.js';
|
|
85
|
+
export { ShareBox } from './togetherShareBox.js';
|
|
86
|
+
export { P as PostContent, a as ProfileDetail, T as TabNameInProfileDetail } from './index-538ca8aa.js';
|
|
87
|
+
export { I as ImagePreviewPopup, a as PostImagePreview, P as PostSingleImageViewPopup } from './index-e19da15e.js';
|
|
88
|
+
export { C as CardPost, a as CardPostPopoverMore, b as CardReply, c as CardReplyPopover, S as SourceList, V as VerifiedTag } from './index-dec46974.js';
|
|
89
|
+
export { P as PopoverMenu } from './index-71c8b83f.js';
|
|
90
|
+
export { D as DefaultComponentGlobalContextData, G as GlobalData, T as TogetherComponentGlobalContext, a as TogetherComponentGlobalContextProvider } from './utils-f873578b.js';
|
|
91
|
+
export { BookingSearchBar } from './careBookingSearchBar.js';
|
|
92
|
+
export { BookingSearchBarV2 } from './careBookingSearchBarV2.js';
|
|
93
|
+
export { t as CareTypes, T as TextDivider } from './types-3eb97d85.js';
|
|
94
|
+
export { c as CareConstants } from './constants-f7943ab2.js';
|
|
95
|
+
export { a as ageGenerate, c as convertLocalizedStringToNumber, l as localizeNumberFormat } from './localizeNumberFormat-3bf28240.js';
|
|
96
|
+
export { h as fadeIn, a as slideInDown, b as slideInLeft, c as slideInRight, s as slideInUp, e as slideOutDown, f as slideOutLeft, g as slideOutRight, d as slideOutUp } from './animation-7207941a.js';
|
|
81
97
|
export { deleteCookie, getCookie, setCookie } from './miscCookieHelper.js';
|
|
82
|
-
export { a as abbreviateNumber } from './number-
|
|
83
|
-
export { d as getCareApiDomain, g as getCurrentBaseUrl, a as getCurrentSsoUrl, c as getDiscoverApiDomain, b as getTogetherApiDomain } from './routing-
|
|
98
|
+
export { a as abbreviateNumber } from './number-d26abebe.js';
|
|
99
|
+
export { d as getCareApiDomain, g as getCurrentBaseUrl, a as getCurrentSsoUrl, c as getDiscoverApiDomain, b as getTogetherApiDomain } from './routing-b81b8f17.js';
|
|
84
100
|
export { MBTheme, theme } from './miscTheme.js';
|
|
85
|
-
export { B as Breakpoints, M as MediaQueries, f as formatUrlWithPageParam, g as getBoundariesFromMediaQueryKey, a as getPopupWrapperDom, b as getWrapperDomWithSelector, m as makeParams, c as safeEncodeURI, s as startCase, t as toggleNoScroll } from './utils-
|
|
101
|
+
export { B as Breakpoints, M as MediaQueries, f as formatUrlWithPageParam, g as getBoundariesFromMediaQueryKey, a as getPopupWrapperDom, b as getWrapperDomWithSelector, m as makeParams, c as safeEncodeURI, s as startCase, t as toggleNoScroll } from './utils-8a1f05c9.js';
|
|
86
102
|
export { formatHealthTool, getDynamicHealthTool, getDynamicHealthToolWithCache } from './miscGetDynamicHealthTool.js';
|
|
87
103
|
export { getSocialList } from './miscGetSocialList.js';
|
|
88
104
|
export { ScreenSizeContext, ScreenSizeContextProvider, getWindowSizeGroups } from './miscScreenSizeContext.js';
|
|
89
|
-
export { f as formatPill } from './dataTransform-
|
|
90
|
-
import './Locale-
|
|
105
|
+
export { f as formatPill } from './dataTransform-610e61bf.js';
|
|
106
|
+
import './Locale-b86a7a92.js';
|
|
91
107
|
import 'date-fns/locale';
|
|
92
108
|
import './constantsIsProduction.js';
|
|
93
109
|
import './constantsSite.js';
|
|
94
110
|
import './constantsDomainLocales.js';
|
|
95
111
|
import './constantsRiskScreener.js';
|
|
96
|
-
import './tslib.es6-
|
|
112
|
+
import './tslib.es6-e0840efa.js';
|
|
97
113
|
import '@hhgtech/icons/other';
|
|
98
114
|
import '@mantine/core';
|
|
99
115
|
import '@mantine/hooks';
|
|
100
|
-
import './index-
|
|
116
|
+
import './index-9f076f64.js';
|
|
117
|
+
import './index.styles-25454e9c.js';
|
|
101
118
|
import '@emotion/styled';
|
|
102
119
|
import '@mantine/carousel';
|
|
103
|
-
import './index-
|
|
104
|
-
import './other-
|
|
105
|
-
import './useMantineLocale-
|
|
120
|
+
import './index-99551970.js';
|
|
121
|
+
import './other-08d0b30e.js';
|
|
122
|
+
import './useMantineLocale-b29ca68b.js';
|
|
106
123
|
import 'dayjs';
|
|
107
|
-
import './index-
|
|
124
|
+
import './index-c4b04b5f.js';
|
|
108
125
|
import 'classnames';
|
|
109
126
|
import '@hhgtech/icons/core';
|
|
110
127
|
import './miscDefaultClassWrapper.js';
|
|
111
128
|
import 'react-keyed-flatten-children';
|
|
112
129
|
import '@mantine/dates';
|
|
113
|
-
import './translationsContext-
|
|
130
|
+
import './translationsContext-8afb0ce3.js';
|
|
114
131
|
import 'string-format';
|
|
115
|
-
import './WhatsApp-
|
|
132
|
+
import './WhatsApp-ed8ce0f2.js';
|
|
116
133
|
import '@emotion/react';
|
|
117
|
-
import './index-
|
|
118
|
-
import './paths-
|
|
134
|
+
import './index-b09ced58.js';
|
|
135
|
+
import './paths-ce59b252.js';
|
|
119
136
|
import 'innertext';
|
|
120
137
|
import 'lodash/throttle';
|
|
121
138
|
import 'html-react-parser';
|
|
@@ -127,32 +144,35 @@ import 'date-fns/locale/zh-TW';
|
|
|
127
144
|
import 'uuid';
|
|
128
145
|
import 'react-day-picker/DayPickerInput';
|
|
129
146
|
import 'react-dom';
|
|
130
|
-
import './LastPeriod-
|
|
147
|
+
import './LastPeriod-46d6c03f.js';
|
|
131
148
|
import '@mantine/form';
|
|
132
|
-
import './index-
|
|
133
|
-
import './index-
|
|
149
|
+
import './index-32a968a1.js';
|
|
150
|
+
import './index-9d7d3a53.js';
|
|
134
151
|
import 'react-hook-form';
|
|
135
152
|
import './embeddedHeathToolCards_helpers.js';
|
|
136
|
-
import './index-
|
|
137
|
-
import './constants-
|
|
138
|
-
import './utils-
|
|
153
|
+
import './index-930b0a77.js';
|
|
154
|
+
import './constants-af02be2a.js';
|
|
155
|
+
import './utils-f4b925d7.js';
|
|
139
156
|
import './togetherApiPaths.js';
|
|
140
|
-
import './index-
|
|
157
|
+
import './index-ed292946.js';
|
|
141
158
|
import 'js-cookie';
|
|
142
159
|
import 'lodash/flatten';
|
|
143
160
|
import 'lodash/uniqBy';
|
|
144
|
-
import './normalizeLink-
|
|
145
|
-
import './constants-
|
|
146
|
-
import './index-
|
|
161
|
+
import './normalizeLink-d756e5e6.js';
|
|
162
|
+
import './constants-e9ebe043.js';
|
|
163
|
+
import './index-277566f7.js';
|
|
147
164
|
import 'dayjs/plugin/relativeTime';
|
|
148
165
|
import 'lodash/debounce';
|
|
149
|
-
import './core-
|
|
166
|
+
import './core-6d8629c2.js';
|
|
167
|
+
import './post-86117110.js';
|
|
168
|
+
import './editor-82c3d476.js';
|
|
150
169
|
import 'react-contenteditable';
|
|
151
|
-
import './index-
|
|
170
|
+
import './index-56d0ac47.js';
|
|
152
171
|
import 'slugify';
|
|
153
|
-
import '
|
|
172
|
+
import './utils-92e2bc22.js';
|
|
154
173
|
import 'react-loading-skeleton';
|
|
155
|
-
import '
|
|
174
|
+
import 'lodash/shuffle';
|
|
175
|
+
import './index-a424a33d.js';
|
|
156
176
|
|
|
157
177
|
/* eslint-disable prettier/prettier */
|
|
158
178
|
const CheckCircle = (props) => (React.createElement("svg", Object.assign({ width: "1em", height: "1em", viewBox: "0 0 20 20", fill: "currentColor" }, props),
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { useState, useEffect } from 'react';
|
|
2
|
+
import { B as Breakpoints } from './utils-8a1f05c9.js';
|
|
3
|
+
import { createStyles } from '@mantine/core';
|
|
4
|
+
|
|
5
|
+
const getIsMobile = () => {
|
|
6
|
+
return (typeof window !== 'undefined' &&
|
|
7
|
+
window.innerWidth < Breakpoints.BREAK_POINT_MOBILE);
|
|
8
|
+
};
|
|
9
|
+
const getIsLargeMobile = () => {
|
|
10
|
+
return (typeof window !== 'undefined' &&
|
|
11
|
+
window.innerWidth >= Breakpoints.BREAK_POINT_MOBILE &&
|
|
12
|
+
window.innerWidth < Breakpoints.BREAK_POINT_PC);
|
|
13
|
+
};
|
|
14
|
+
const useScreenSize = () => {
|
|
15
|
+
const [isMobile, setIsMobile] = useState(getIsMobile());
|
|
16
|
+
const [isLargeMobile, setIsLargeMobile] = useState(getIsLargeMobile());
|
|
17
|
+
useEffect(() => {
|
|
18
|
+
const handleResize = () => {
|
|
19
|
+
setIsMobile(getIsMobile());
|
|
20
|
+
setIsLargeMobile(getIsLargeMobile());
|
|
21
|
+
};
|
|
22
|
+
window.addEventListener('resize', handleResize, {
|
|
23
|
+
passive: true,
|
|
24
|
+
});
|
|
25
|
+
return () => {
|
|
26
|
+
window.removeEventListener('resize', handleResize);
|
|
27
|
+
};
|
|
28
|
+
}, []);
|
|
29
|
+
return { isMobile, isLargeMobile };
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
var useStyles = createStyles((theme) => {
|
|
33
|
+
return {
|
|
34
|
+
root: {},
|
|
35
|
+
inner: {},
|
|
36
|
+
content: {},
|
|
37
|
+
header: {
|
|
38
|
+
borderBottom: `1px solid ${theme.colors.neutral[1]}`,
|
|
39
|
+
marginRight: 0,
|
|
40
|
+
marginBottom: 0,
|
|
41
|
+
padding: '12px',
|
|
42
|
+
},
|
|
43
|
+
overlay: {},
|
|
44
|
+
title: {
|
|
45
|
+
fontSize: 16,
|
|
46
|
+
fontWeight: 700,
|
|
47
|
+
lineHeight: 1.5,
|
|
48
|
+
},
|
|
49
|
+
body: {},
|
|
50
|
+
close: {
|
|
51
|
+
cursor: 'pointer',
|
|
52
|
+
width: 'unset',
|
|
53
|
+
height: 'unset',
|
|
54
|
+
svg: {
|
|
55
|
+
width: '24px !important',
|
|
56
|
+
height: '24px !important',
|
|
57
|
+
},
|
|
58
|
+
},
|
|
59
|
+
};
|
|
60
|
+
});
|
|
61
|
+
|
|
62
|
+
export { useStyles as a, useScreenSize as u };
|
|
@@ -167,9 +167,9 @@ export type SubotNode = {
|
|
|
167
167
|
multi_select_option?: NodeMultipleOptions;
|
|
168
168
|
from?: number;
|
|
169
169
|
to?: number;
|
|
170
|
-
intents?: Array<SubotNodeIntent
|
|
171
|
-
intents_bottom?: Array<SubotNodeIntent
|
|
172
|
-
actions?: Array<SubotNodeAction
|
|
170
|
+
intents?: Array<SubotNodeIntent>;
|
|
171
|
+
intents_bottom?: Array<SubotNodeIntent>;
|
|
172
|
+
actions?: Array<SubotNodeAction>;
|
|
173
173
|
isMobile?: boolean;
|
|
174
174
|
};
|
|
175
175
|
export type SubotNodeMessage = SubotNode & {
|