@hhgtech/hhg-components 1.29.534 → 1.29.535-beta-2
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/{InputDate-afcee12c.js → InputDate-2a423c97.js} +5 -5
- package/build/{LastPeriod-d3798ce6.js → LastPeriod-94481b56.js} +1 -1
- package/build/{MobileBottomNavigationIcon-f51ce26f.js → MobileBottomNavigationIcon-e5dbcfd3.js} +3 -3
- package/build/{SiteWideBanner-85878628.js → SiteWideBanner-2bd6f48e.js} +11 -11
- package/build/{Spinner-98eea6de.js → Spinner-f2e87552.js} +1 -1
- package/build/{WhatsApp-648f616d.js → WhatsApp-4b888799.js} +1 -1
- package/build/adapters.js +20 -20
- package/build/atoms.js +54 -54
- package/build/babyGrowth.js +86 -86
- package/build/cache.js +2 -2
- package/build/care.js +22 -22
- package/build/careBookingSearchBar.js +14 -14
- package/build/careBookingSearchBarV2.js +19 -19
- package/build/components/mantine/theme/text.d.ts +15 -1
- package/build/components/molecules/index.d.ts +3 -0
- package/build/components/molecules/popupBoostArticleCard/boostCardArticleAuthorName.d.ts +10 -0
- package/build/components/molecules/popupBoostArticleCard/getAuthorForBoostCard.d.ts +19 -0
- package/build/components/molecules/popupBoostArticleCard/index.d.ts +11 -0
- package/build/components/molecules/popupBoostArticleCard/index.styled.d.ts +16 -0
- package/build/components/molecules/popupBoostArticleCard/renderBoostUploadTime.d.ts +2 -0
- package/build/components/molecules/popupBoostPageView/index.d.ts +31 -0
- package/build/components/molecules/productDetail/generalInfo/GeneralInfo.d.ts +2 -1
- package/build/components/molecules/productDetail/generalInfo/constants.d.ts +2 -0
- package/build/components/molecules/productDetail/generalInfo/index.styled.d.ts +19 -0
- package/build/components/navigationV2/constants.d.ts +2 -0
- package/build/components/navigationV2/index.d.ts +1 -0
- package/build/components.js +155 -152
- package/build/{constants-dee2d6f2.js → constants-105ba154.js} +3 -2
- package/build/constants-7360717d.js +26 -0
- package/build/{constants-60bca169.js → constants-7fd0c621.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-e2dda9ca.js → core-ac04cb20.js} +1 -1
- package/build/{dataTransform-6af4a005.js → dataTransform-b5c4110e.js} +1 -1
- package/build/ecom.js +5 -5
- package/build/{editor-36ab2eaa.js → editor-245e1055.js} +11 -11
- package/build/embeddedHeathToolCards_babyGrowth.js +25 -25
- package/build/embeddedHeathToolCards_babyPoop.js +22 -22
- package/build/embeddedHeathToolCards_babyVaccine.js +24 -24
- package/build/embeddedHeathToolCards_bmi_bmi.js +28 -28
- package/build/embeddedHeathToolCards_bmrBmr.js +28 -28
- package/build/embeddedHeathToolCards_dueDate_dueDate.js +24 -24
- package/build/embeddedHeathToolCards_ovulation_ovulation.js +24 -24
- package/build/embeddedHeathToolCards_pwg_pwg.js +28 -28
- package/build/embeddedHeathToolCards_targetHeartRate.js +29 -29
- package/build/esm/{InputDate-b564ffe2.js → InputDate-7dc81a7a.js} +5 -5
- package/build/esm/{LastPeriod-2d1a8af5.js → LastPeriod-4a48c024.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-32a5c134.js → MobileBottomNavigationIcon-b670a1f7.js} +3 -3
- package/build/esm/{SiteWideBanner-5e66305f.js → SiteWideBanner-4d8c572f.js} +11 -11
- package/build/esm/{Spinner-1944f377.js → Spinner-d467f7fd.js} +1 -1
- package/build/esm/{WhatsApp-d3a97aa7.js → WhatsApp-9064a88c.js} +1 -1
- package/build/esm/adapters.js +20 -20
- package/build/esm/atoms.js +53 -53
- package/build/esm/babyGrowth.js +86 -86
- package/build/esm/cache.js +2 -2
- package/build/esm/care.js +22 -22
- package/build/esm/careBookingSearchBar.js +14 -14
- package/build/esm/careBookingSearchBarV2.js +19 -19
- package/build/esm/components/mantine/theme/text.d.ts +15 -1
- package/build/esm/components/molecules/index.d.ts +3 -0
- package/build/esm/components/molecules/popupBoostArticleCard/boostCardArticleAuthorName.d.ts +10 -0
- package/build/esm/components/molecules/popupBoostArticleCard/getAuthorForBoostCard.d.ts +19 -0
- package/build/esm/components/molecules/popupBoostArticleCard/index.d.ts +11 -0
- package/build/esm/components/molecules/popupBoostArticleCard/index.styled.d.ts +16 -0
- package/build/esm/components/molecules/popupBoostArticleCard/renderBoostUploadTime.d.ts +2 -0
- package/build/esm/components/molecules/popupBoostPageView/index.d.ts +31 -0
- package/build/esm/components/molecules/productDetail/generalInfo/GeneralInfo.d.ts +2 -1
- package/build/esm/components/molecules/productDetail/generalInfo/constants.d.ts +2 -0
- package/build/esm/components/molecules/productDetail/generalInfo/index.styled.d.ts +19 -0
- package/build/esm/components/navigationV2/constants.d.ts +2 -0
- package/build/esm/components/navigationV2/index.d.ts +1 -0
- package/build/esm/components.js +109 -108
- package/build/esm/{constants-ee7660c1.js → constants-2b3d5ab1.js} +1 -1
- package/build/esm/constants-733a083e.js +21 -0
- package/build/esm/{constants-b9de6aa4.js → constants-d7bb1525.js} +3 -3
- 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-954f8b2e.js → core-46cae1b3.js} +1 -1
- package/build/esm/{dataTransform-13dbb556.js → dataTransform-d273a324.js} +2 -2
- package/build/esm/ecom.js +5 -5
- package/build/esm/{editor-505d6e32.js → editor-03b6041c.js} +11 -11
- package/build/esm/embeddedHeathToolCards_babyGrowth.js +25 -25
- package/build/esm/embeddedHeathToolCards_babyPoop.js +22 -22
- package/build/esm/embeddedHeathToolCards_babyVaccine.js +24 -24
- package/build/esm/embeddedHeathToolCards_bmi_bmi.js +28 -28
- package/build/esm/embeddedHeathToolCards_bmrBmr.js +28 -28
- package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +24 -24
- package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +24 -24
- package/build/esm/embeddedHeathToolCards_pwg_pwg.js +28 -28
- package/build/esm/embeddedHeathToolCards_targetHeartRate.js +29 -29
- package/build/esm/footer.js +22 -22
- package/build/esm/gAssets.js +2 -2
- package/build/esm/{healthTools-6c0ba920.js → healthTools-1e24a04c.js} +1 -1
- package/build/esm/healthToolsCardWrapper.js +20 -20
- package/build/esm/healthToolsForm.js +36 -36
- package/build/esm/hooks.js +14 -14
- package/build/esm/i18n/translationKeys.d.ts +1 -1
- package/build/esm/i18n-values/en-PH.js +11 -1
- package/build/esm/i18n-values/hi-IN.js +11 -1
- package/build/esm/i18n-values/id-ID.js +11 -1
- package/build/esm/i18n-values/km-KH.js +11 -1
- package/build/esm/i18n-values/ms-MY.js +11 -1
- package/build/esm/i18n-values/my-MM.js +11 -1
- package/build/esm/i18n-values/th-TH.js +11 -1
- package/build/esm/i18n-values/tl-PH.js +11 -1
- package/build/esm/i18n-values/vi-VN.js +11 -1
- package/build/esm/i18n-values/vi-VN_MB.js +11 -1
- package/build/esm/i18n-values/zh-SG.js +11 -1
- package/build/esm/i18n-values/zh-TW.js +11 -1
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-c43883f0.js → index-03ff60bd.js} +2 -2
- package/build/esm/{index-01466711.js → index-05dafa28.js} +2 -2
- package/build/esm/{index-a3d0645b.js → index-09837c0c.js} +3 -3
- package/build/esm/{index-546c9175.js → index-0a52d122.js} +3 -3
- package/build/esm/{index-c972f896.js → index-0d14ecef.js} +6 -6
- package/build/esm/{index-add54147.js → index-0e5d4556.js} +2 -2
- package/build/esm/{index-dee4ae40.js → index-10e8454d.js} +13 -13
- package/build/esm/index-12c69bed.js +113 -0
- package/build/esm/{index-1b8f14e2.js → index-1cb03141.js} +32 -32
- package/build/esm/{index-f8d2ecda.js → index-2158f0b7.js} +3 -3
- package/build/esm/{index-6a21cee7.js → index-224a2428.js} +2 -2
- package/build/esm/{index-5f5b7cda.js → index-24cf2e33.js} +1 -1
- package/build/esm/{index-9972f3f1.js → index-25b0f9ca.js} +16 -16
- package/build/esm/{index-c95be069.js → index-2b3bfcde.js} +49 -42
- package/build/esm/{index-8e3a4d94.js → index-30dbf87e.js} +6 -6
- package/build/esm/{index-875e7c03.js → index-375a4f26.js} +25 -25
- package/build/esm/{index-8152ea72.js → index-3b6dd77d.js} +21 -21
- package/build/esm/{index-5bbb8b7a.js → index-3cbb3735.js} +14 -0
- package/build/esm/{index-031b44e9.js → index-3fb8e21d.js} +1 -1
- package/build/esm/{index-e94c4a25.js → index-4054bdfb.js} +16 -16
- package/build/esm/{index-a3c3a3b5.js → index-43cc88d3.js} +3 -3
- package/build/esm/{index-37adc44b.js → index-471aa4a2.js} +16 -16
- package/build/esm/{index-92023d47.js → index-4e22c1e5.js} +6 -6
- package/build/esm/{index-d9bb5f97.js → index-4f58613e.js} +2 -2
- package/build/esm/{index-cebe4a5a.js → index-502160fe.js} +2 -2
- package/build/esm/{index-5e89000a.js → index-554dac0f.js} +2 -2
- package/build/esm/{index-0dd981b5.js → index-56dd7a84.js} +20 -20
- package/build/esm/{index-bfdaaaae.js → index-56e7ca3d.js} +5 -5
- package/build/esm/{index-42003c77.js → index-57d6d19e.js} +2 -2
- package/build/esm/{index-cdb4d674.js → index-592d9a3b.js} +3 -3
- package/build/esm/{index-b7cc530f.js → index-5f670ba1.js} +8 -3
- package/build/esm/{index-1e8cb961.js → index-645061cb.js} +22 -22
- package/build/esm/{index-60e408df.js → index-66f8a5de.js} +16 -16
- package/build/esm/{index-a477d182.js → index-69f5e42b.js} +4 -4
- package/build/esm/{index-52842760.js → index-6db01f6c.js} +8 -8
- package/build/esm/{index-af5a71ea.js → index-6fd3fd66.js} +3 -3
- package/build/esm/{index-6cb8cbd6.js → index-73c6d04d.js} +13 -13
- package/build/esm/{index-3354fa7c.js → index-79d77dd7.js} +14 -14
- package/build/esm/{index-d362abc0.js → index-7aace5d4.js} +2 -2
- package/build/esm/{index-170c7d68.js → index-7ae648b5.js} +1 -1
- package/build/esm/{index-c46c6359.js → index-7e79a6d3.js} +15 -15
- package/build/esm/{index-48665c24.js → index-86c0b2eb.js} +3 -3
- package/build/esm/{index-96354a8e.js → index-87f2a896.js} +2 -2
- package/build/esm/{index-518108c6.js → index-9675a87f.js} +2 -2
- package/build/esm/{index-f2b6f445.js → index-9cf210e4.js} +15 -15
- package/build/esm/{index-411b1e21.js → index-9edc75e2.js} +1 -1
- package/build/esm/{index-7695d017.js → index-a66c7fe8.js} +11 -11
- package/build/esm/{index-3cf280c9.js → index-a825fc6c.js} +17 -17
- package/build/esm/{index-40ef173b.js → index-a8b3d16f.js} +12 -12
- package/build/esm/{index-d4836ab1.js → index-a8bbd3c3.js} +1 -1
- package/build/esm/{index-984cd2a6.js → index-a8ed5512.js} +14 -14
- package/build/esm/{index-65d31c22.js → index-ae99e9e1.js} +14 -14
- package/build/esm/{index-72e6b26d.js → index-b82f1af9.js} +3 -3
- package/build/esm/{index-031e2aab.js → index-befdc230.js} +3 -111
- package/build/esm/{index-190ae112.js → index-c900d995.js} +7 -7
- package/build/esm/{index-e189aeef.js → index-cb25707b.js} +15 -15
- package/build/esm/{index-2ce0ca04.js → index-cc806b05.js} +7 -7
- package/build/esm/{index-04f30777.js → index-cd5b82fe.js} +18 -18
- package/build/esm/{index-8fb5fab3.js → index-cee58d1e.js} +6 -6
- package/build/esm/{index-dbceef8f.js → index-d16102c1.js} +2 -2
- package/build/esm/{index-5c5d93ff.js → index-d19d1e5e.js} +32 -32
- package/build/esm/{index-af4d2e05.js → index-d89e6a88.js} +9 -9
- package/build/esm/{index-0b185aa8.js → index-d95353c4.js} +2 -2
- package/build/esm/{index-6fd7580d.js → index-e14d8eaa.js} +2 -2
- package/build/esm/{index-644c2671.js → index-e44f3c30.js} +1 -1
- package/build/esm/{index-11417cfa.js → index-e69fc887.js} +3 -3
- package/build/esm/{index-a27ac794.js → index-e701ee65.js} +18 -18
- package/build/esm/{index-9957afcb.js → index-e7a72b27.js} +25 -24
- package/build/esm/{index-c6e7fc6c.js → index-ebfaea67.js} +4 -4
- package/build/esm/{index-2828b387.js → index-ec32239b.js} +2 -2
- package/build/esm/{index-f54fe69a.js → index-f0064f09.js} +3 -3
- package/build/esm/{index-e7e76147.js → index-f0597d08.js} +9 -9
- package/build/esm/{index-83a3fab1.js → index-fc4e4ecc.js} +2 -2
- package/build/esm/index.js +131 -130
- package/build/esm/{labelSorting-76a22f89.js → labelSorting-b760f314.js} +4 -4
- package/build/esm/lead.js +37 -37
- package/build/esm/{logoIcon-bf624741.js → logoIcon-b34f51ea.js} +2 -2
- package/build/esm/mantine.js +27 -27
- package/build/esm/misc.js +19 -19
- 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 +87 -84
- package/build/esm/moleculesArticleCard.js +6 -6
- package/build/esm/moleculesArticleCardV2.js +17 -17
- package/build/esm/navigation.js +50 -49
- package/build/esm/navigationLogoutPopup.js +11 -11
- package/build/esm/navigationProfileButton.js +27 -27
- package/build/esm/onboardingV2.js +30 -30
- package/build/esm/organisms.js +64 -63
- package/build/esm/{post-9993ef39.js → post-9379897d.js} +2 -2
- package/build/esm/profileNavigation.js +20 -20
- package/build/esm/progressBar.js +1 -1
- package/build/esm/pwg.js +23 -23
- package/build/esm/ssoV2.js +31 -31
- package/build/esm/{store-948fe8b9.js → store-50d6fc2d.js} +3 -3
- package/build/esm/subot.js +40 -40
- package/build/esm/surveyOrPremiumBanner.js +34 -34
- package/build/esm/surveyQuestionCard.js +11 -11
- package/build/esm/{surveyThankyouCard-06a0f0c2.js → surveyThankyouCard-06912802.js} +5 -5
- package/build/esm/together/api/paths.d.ts +1 -0
- package/build/esm/together.js +57 -57
- package/build/esm/togetherApiPaths.js +1 -0
- package/build/esm/togetherApiUtils.js +6 -6
- package/build/esm/togetherAtoms.js +31 -31
- package/build/esm/togetherComponentGlobalContext.js +6 -6
- package/build/esm/togetherMolecules.js +52 -52
- package/build/esm/togetherMoleculesCardAuthor.js +29 -29
- package/build/esm/togetherMoleculesPostImagePreview.js +13 -13
- package/build/esm/togetherMoleculesProfileDetail.js +40 -40
- package/build/esm/togetherOrganisms.js +51 -51
- package/build/esm/togetherRichTextEditor.js +20 -20
- package/build/esm/togetherShareBox.js +12 -12
- package/build/esm/{transform-15f92750.js → transform-709e2331.js} +784 -70
- package/build/esm/{translationsProvider-53a9ad8c.js → translationsProvider-4921a678.js} +1 -1
- package/build/esm/{treePopoverMenu-7cbd4446.js → treePopoverMenu-12f658c8.js} +19 -19
- package/build/esm/types.js +2 -2
- package/build/esm/{useCartCareService-7357b628.js → useCartCareService-24962d62.js} +1 -1
- package/build/esm/{useHealthToolCache-980bfe8a.js → useHealthToolCache-6b87d1a8.js} +1 -1
- package/build/esm/{usePhoneValidator-e865da22.js → usePhoneValidator-233aeab3.js} +5 -5
- package/build/esm/{usePlacesAutocomplete-58c93fd8.js → usePlacesAutocomplete-695e8975.js} +1 -1
- package/build/esm/useTogetherAuthRequiredAction.js +10 -10
- package/build/esm/{utils-b460a4e9.js → utils-3cd753e5.js} +4 -4
- package/build/esm/{utils-60b402a8.js → utils-6296feca.js} +5 -22
- package/build/esm/{utils-12fb321f.js → utils-6dde2774.js} +2 -2
- package/build/esm/{utils-5eee13ad.js → utils-90b13f46.js} +2 -2
- package/build/esm/{utils-3a042d56.js → utils-9b41a525.js} +5 -5
- package/build/esm/vaccination.js +22 -22
- package/build/footer.js +22 -22
- package/build/gAssets.js +2 -2
- package/build/{healthTools-95616f15.js → healthTools-df911697.js} +1 -1
- package/build/healthToolsCardWrapper.js +20 -20
- package/build/healthToolsForm.js +36 -36
- package/build/hooks.js +14 -14
- package/build/i18n/translationKeys.d.ts +1 -1
- package/build/i18n-values/en-PH.js +11 -1
- package/build/i18n-values/hi-IN.js +11 -1
- package/build/i18n-values/id-ID.js +11 -1
- package/build/i18n-values/km-KH.js +11 -1
- package/build/i18n-values/ms-MY.js +11 -1
- package/build/i18n-values/my-MM.js +11 -1
- package/build/i18n-values/th-TH.js +11 -1
- package/build/i18n-values/tl-PH.js +11 -1
- package/build/i18n-values/vi-VN.js +11 -1
- package/build/i18n-values/vi-VN_MB.js +11 -1
- package/build/i18n-values/zh-SG.js +11 -1
- package/build/i18n-values/zh-TW.js +11 -1
- package/build/i18n.js +2 -2
- package/build/i18nV2.js +1 -1
- package/build/{index-663a9756.js → index-03a5c7a9.js} +2 -2
- package/build/{index-ae781903.js → index-03c1a2a4.js} +6 -6
- package/build/{index-ef2beb63.js → index-04dd433f.js} +6 -6
- package/build/{index-7d6d8f5f.js → index-08380182.js} +2 -2
- package/build/{index-81d9c479.js → index-1423e3b9.js} +32 -32
- package/build/{index-b5bc66e1.js → index-16f5e74e.js} +2 -2
- package/build/{index-bedf8788.js → index-18cf280f.js} +7 -7
- package/build/{index-3030dd04.js → index-1b161029.js} +2 -2
- package/build/{index-b1295b17.js → index-1c2ac20f.js} +6 -6
- package/build/{index-edb521fe.js → index-1f2935d0.js} +16 -16
- package/build/{index-c20cc0d9.js → index-27c33fb1.js} +2 -111
- package/build/{index-2ca653a5.js → index-2bd3c771.js} +2 -2
- package/build/{index-eddecffe.js → index-2c93d942.js} +18 -18
- package/build/{index-3f6f3d8c.js → index-2f64f4a7.js} +21 -21
- package/build/{index-1c468647.js → index-33790b0a.js} +25 -25
- package/build/{index-6437a4e6.js → index-39343934.js} +32 -32
- package/build/{index-75ed3a31.js → index-3e03ea19.js} +2 -2
- package/build/{index-2b5f571f.js → index-42c5ff2d.js} +16 -16
- package/build/{index-bb8f45c4.js → index-43e5f0e2.js} +1 -1
- package/build/index-441659db.js +120 -0
- package/build/{index-169e3192.js → index-480ed7a9.js} +32 -9
- package/build/{index-9e5d3362.js → index-493a09c1.js} +3 -3
- package/build/{index-96133bac.js → index-4a34624a.js} +51 -44
- package/build/{index-2405320a.js → index-4bb4388a.js} +4 -4
- package/build/{index-ba6db1b8.js → index-4bc234b4.js} +14 -14
- package/build/{index-50886818.js → index-4c125734.js} +2 -2
- package/build/{index-0727bd8b.js → index-4c349f86.js} +2 -2
- package/build/{index-b702020a.js → index-4d30cf05.js} +11 -11
- package/build/{index-dcc52018.js → index-4fd53b21.js} +16 -16
- package/build/{index-6c3ba434.js → index-6175e81a.js} +2 -2
- package/build/{index-5eb84192.js → index-65402024.js} +2 -1
- package/build/{index-ad7592fe.js → index-666b4e07.js} +3 -3
- package/build/{index-7893d403.js → index-69d2bab0.js} +2 -2
- package/build/{index-2e84d50f.js → index-6a013447.js} +2 -2
- package/build/{index-1e3c9ac1.js → index-6ce54dba.js} +16 -16
- package/build/{index-acf54bc7.js → index-7ebbc8e8.js} +2 -2
- package/build/{index-3c8b5347.js → index-7f2dd33d.js} +3 -3
- package/build/{index-2cc43886.js → index-7f5cc389.js} +3 -3
- package/build/{index-326d9b7f.js → index-80f972d8.js} +3 -3
- package/build/{index-6724c82e.js → index-819b890e.js} +12 -12
- package/build/{index-8188b101.js → index-81d2c98a.js} +3 -3
- package/build/{index-42bd03b3.js → index-83d5f5b9.js} +22 -22
- package/build/{index-51033326.js → index-8433e8f6.js} +10 -10
- package/build/{index-39886615.js → index-9364cfda.js} +18 -18
- package/build/{index-7bc9b8e4.js → index-95492061.js} +20 -20
- package/build/{index-5a579151.js → index-9750fa8a.js} +14 -0
- package/build/{index-fe0db5b1.js → index-9cc611ec.js} +2 -2
- package/build/{index-c9a1d63d.js → index-a0dc125a.js} +4 -4
- package/build/{index-0d0c2147.js → index-a1533e93.js} +16 -16
- package/build/{index-7e886488.js → index-a9acfabd.js} +17 -17
- package/build/{index-aefd2dfc.js → index-aab7b228.js} +1 -1
- package/build/{index-2b76ae5d.js → index-ace0dcdc.js} +9 -9
- package/build/{index-83473c71.js → index-b809712f.js} +3 -3
- package/build/{index-b84f4acc.js → index-bec6346e.js} +6 -6
- package/build/{index-efcfe5a6.js → index-becbb8b3.js} +13 -13
- package/build/{index-7c6699fc.js → index-cdcb8572.js} +1 -1
- package/build/{index-0c1178d6.js → index-d55da6c6.js} +3 -3
- package/build/{index-38c39406.js → index-d6741b03.js} +3 -3
- package/build/{index-5fa329d6.js → index-d8dd6973.js} +13 -13
- package/build/{index-5d13c03b.js → index-dc39e3b4.js} +1 -1
- package/build/{index-11d1e58c.js → index-de852c53.js} +1 -1
- package/build/{index-a2d2bd91.js → index-e689aba4.js} +7 -7
- package/build/{index-4055a5a0.js → index-e89f9647.js} +14 -14
- package/build/{index-971d3d67.js → index-ea84c5fe.js} +2 -2
- package/build/{index-8bc3a01b.js → index-f00b777d.js} +1 -1
- package/build/{index-0b08a7dc.js → index-f051ef6c.js} +5 -5
- package/build/{index-411101f4.js → index-f06ea3a2.js} +15 -15
- package/build/{index-bc8cf290.js → index-f1948580.js} +3 -3
- package/build/{index-71f955a1.js → index-f41be2d2.js} +68 -67
- package/build/{index-f0be2882.js → index-f7fa1059.js} +8 -8
- package/build/{index-d1fd2870.js → index-f83e7766.js} +15 -15
- package/build/{index-1c3fc689.js → index-f86fdff9.js} +2 -2
- package/build/{index-57541b6b.js → index-fcc1ea04.js} +14 -14
- package/build/index.js +218 -215
- package/build/{labelSorting-ac8d9bb4.js → labelSorting-5f509f10.js} +4 -4
- package/build/lead.js +38 -38
- package/build/{logoIcon-6eff0a98.js → logoIcon-2db218d0.js} +2 -2
- package/build/mantine.js +25 -25
- package/build/misc.js +19 -19
- 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 +89 -84
- package/build/moleculesArticleCard.js +6 -6
- package/build/moleculesArticleCardV2.js +17 -17
- package/build/navigation.js +50 -49
- package/build/navigationLogoutPopup.js +11 -11
- package/build/navigationProfileButton.js +27 -27
- package/build/onboardingV2.js +29 -29
- package/build/organisms.js +64 -63
- package/build/{post-6f6c4bf9.js → post-aa4864a8.js} +2 -2
- package/build/profileNavigation.js +20 -20
- package/build/progressBar.js +1 -1
- package/build/pwg.js +23 -23
- package/build/ssoV2.js +29 -29
- package/build/{store-abaccb7a.js → store-5278bd26.js} +3 -3
- package/build/subot.js +39 -39
- package/build/surveyOrPremiumBanner.js +34 -34
- package/build/surveyQuestionCard.js +11 -11
- package/build/{surveyThankyouCard-d6ccd1b5.js → surveyThankyouCard-52925770.js} +5 -5
- package/build/together/api/paths.d.ts +1 -0
- package/build/together.js +57 -57
- package/build/togetherApiPaths.js +1 -0
- package/build/togetherApiUtils.js +6 -6
- package/build/togetherAtoms.js +31 -31
- package/build/togetherComponentGlobalContext.js +6 -6
- package/build/togetherMolecules.js +52 -52
- package/build/togetherMoleculesCardAuthor.js +29 -29
- package/build/togetherMoleculesPostImagePreview.js +13 -13
- package/build/togetherMoleculesProfileDetail.js +40 -40
- package/build/togetherOrganisms.js +51 -51
- package/build/togetherRichTextEditor.js +20 -20
- package/build/togetherShareBox.js +12 -12
- package/build/{transform-9c8c8e60.js → transform-b9bb2bfc.js} +789 -71
- package/build/{translationsProvider-cb71b48c.js → translationsProvider-291e9ea0.js} +1 -1
- package/build/{treePopoverMenu-65c79750.js → treePopoverMenu-efc82dd6.js} +19 -19
- package/build/types.js +2 -2
- package/build/{useCartCareService-13037283.js → useCartCareService-277ab850.js} +1 -1
- package/build/{useHealthToolCache-1fe6d03f.js → useHealthToolCache-b23aa814.js} +1 -1
- package/build/{usePhoneValidator-ad80a420.js → usePhoneValidator-6183ce12.js} +5 -5
- package/build/{usePlacesAutocomplete-c61d4f93.js → usePlacesAutocomplete-f593ba65.js} +1 -1
- package/build/useTogetherAuthRequiredAction.js +10 -10
- package/build/{utils-900fface.js → utils-159365f3.js} +6 -24
- package/build/{utils-e5a2a5a8.js → utils-62e1a392.js} +3 -3
- package/build/{utils-6cdcc2ff.js → utils-9c9b77c1.js} +2 -2
- package/build/{utils-684c23d4.js → utils-c37a6c44.js} +2 -2
- package/build/{utils-e78cf8f9.js → utils-f322ee2e.js} +5 -5
- package/build/vaccination.js +22 -22
- package/package.json +1 -1
- package/build/Close-070f618f.js +0 -29
- package/build/esm/Close-e0574388.js +0 -7
- /package/build/{BMI_BOYS.percentile.monthly-48baed1a.js → BMI_BOYS.percentile.monthly-ea095ffd.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-2ca1a1e0.js → BMI_BOYS.percentile.weekly-50944d48.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-8fc1e476.js → BMI_BOYS.percentile.yearly-4bab212b.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-6e08a880.js → BMI_BOYS.zscore.monthly-ecd868a7.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-53bcabcd.js → BMI_BOYS.zscore.weekly-29a3ad61.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-27f1510f.js → BMI_BOYS.zscore.yearly-7209646c.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-69ebcb4f.js → BMI_GIRLS.percentile.monthly-396363ee.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-cf4b8072.js → BMI_GIRLS.percentile.weekly-7522d4c4.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-38029d35.js → BMI_GIRLS.percentile.yearly-7bb71bf0.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-a675d12f.js → BMI_GIRLS.zscore.monthly-47e7c57c.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-d8bc5e09.js → BMI_GIRLS.zscore.weekly-40164ec0.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-109043e5.js → BMI_GIRLS.zscore.yearly-90103780.js} +0 -0
- /package/build/{ChevronDown-91488e3c.js → ChevronDown-6a01a2c7.js} +0 -0
- /package/build/{Google-e2ca2229.js → Google-f19b9bd2.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-d402dc53.js → HEAD CIRCUM_BOYS.percentile.monthly-b7c2b0c8.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-8e22260b.js → HEAD CIRCUM_BOYS.percentile.weekly-0ed920b8.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-0cf75833.js → HEAD CIRCUM_BOYS.percentile.yearly-0399c059.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-0a9e6771.js → HEAD CIRCUM_BOYS.zscore.monthly-83a5be15.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-48d63a80.js → HEAD CIRCUM_BOYS.zscore.weekly-57520296.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-2eda9104.js → HEAD CIRCUM_BOYS.zscore.yearly-888ba71a.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-d56d031c.js → HEAD CIRCUM_GIRLS.percentile.monthly-2a045e50.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-e5ad61a5.js → HEAD CIRCUM_GIRLS.percentile.weekly-837d1630.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-ba08ee02.js → HEAD CIRCUM_GIRLS.percentile.yearly-51b0de84.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-eead5c1d.js → HEAD CIRCUM_GIRLS.zscore.monthly-951093e3.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-cb5b8934.js → HEAD CIRCUM_GIRLS.zscore.weekly-999c2aea.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-6ea0383a.js → HEAD CIRCUM_GIRLS.zscore.yearly-05342dd5.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-5c5b8f3c.js → HEIGHT_BOYS.percentile.monthly-0a04e6f1.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-e76d5e9c.js → HEIGHT_BOYS.percentile.weekly-be0778ff.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-44d63883.js → HEIGHT_BOYS.percentile.yearly-b305bcdf.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-4917267f.js → HEIGHT_BOYS.zscore.monthly-57d72d7f.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-0b6cdec1.js → HEIGHT_BOYS.zscore.weekly-c88d80a8.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-b39896f2.js → HEIGHT_BOYS.zscore.yearly-18a1ad85.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-9d9a6feb.js → HEIGHT_GIRLS.percentile.monthly-72d45bdd.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-983d4f3c.js → HEIGHT_GIRLS.percentile.weekly-ebe3a2b0.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-68bfd9d2.js → HEIGHT_GIRLS.percentile.yearly-466a9c6a.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-be8b0520.js → HEIGHT_GIRLS.zscore.monthly-3a5e2daa.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-2b4791fc.js → HEIGHT_GIRLS.zscore.weekly-58414c61.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-cad4e4cc.js → HEIGHT_GIRLS.zscore.yearly-581cbea8.js} +0 -0
- /package/build/{Locale-4905c35b.js → Locale-0909ccf4.js} +0 -0
- /package/build/{Visible-bf6f9fbb.js → Visible-88a0bf77.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-00c2bee9.js → WEIGHT_BOYS.percentile.monthly-5d1beb8f.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-0ae6e7b8.js → WEIGHT_BOYS.percentile.weekly-4a39c2c0.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-5c475fcd.js → WEIGHT_BOYS.percentile.yearly-8a7bdadf.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-153fac92.js → WEIGHT_BOYS.zscore.monthly-bfbcb433.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-5190f169.js → WEIGHT_BOYS.zscore.weekly-6104a9d5.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-c43a8cec.js → WEIGHT_BOYS.zscore.yearly-f0062c41.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-945ca954.js → WEIGHT_GIRLS.percentile.monthly-b0ff59aa.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-caa8db1f.js → WEIGHT_GIRLS.percentile.weekly-585ae8b4.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-d62e53e4.js → WEIGHT_GIRLS.percentile.yearly-92d39e20.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-1bc5e9df.js → WEIGHT_GIRLS.zscore.monthly-4f78dc20.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-cb1b66cd.js → WEIGHT_GIRLS.zscore.weekly-3453f57f.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-9f6bc1b6.js → WEIGHT_GIRLS.zscore.yearly-ecafaf08.js} +0 -0
- /package/build/{ageGenerate-26099050.js → ageGenerate-9de3dc36.js} +0 -0
- /package/build/{animation-01750722.js → animation-e81d569a.js} +0 -0
- /package/build/{constants-57b71829.js → constants-3d9246b3.js} +0 -0
- /package/build/{constants-b6b141d3.js → constants-e235d2f9.js} +0 -0
- /package/build/{context-53cc1b1c.js → context-f7ea8fe9.js} +0 -0
- /package/build/{dataTransform-b0d2d5ed.js → dataTransform-d21586ff.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-12ec73e9.js → BMI_BOYS.percentile.monthly-c8c76a55.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-5558a423.js → BMI_BOYS.percentile.weekly-76486c06.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-87532f90.js → BMI_BOYS.percentile.yearly-552b870a.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-c5b853f2.js → BMI_BOYS.zscore.monthly-353f7c29.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-20b469d3.js → BMI_BOYS.zscore.weekly-ae245fee.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-dae526e7.js → BMI_BOYS.zscore.yearly-b6de0ac3.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-9c4ede45.js → BMI_GIRLS.percentile.monthly-5232dc3a.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-31348087.js → BMI_GIRLS.percentile.weekly-6b93ddd3.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-2c938442.js → BMI_GIRLS.percentile.yearly-f6e80477.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-a3ee0ed7.js → BMI_GIRLS.zscore.monthly-daf7397b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-0dbeee0f.js → BMI_GIRLS.zscore.weekly-449a8001.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-d4f38f0e.js → BMI_GIRLS.zscore.yearly-f45118c1.js} +0 -0
- /package/build/esm/{ChevronDown-6e192b16.js → ChevronDown-4ad55752.js} +0 -0
- /package/build/esm/{Google-aab42422.js → Google-081ef8d3.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-9a45375c.js → HEAD CIRCUM_BOYS.percentile.monthly-c9a561ec.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-4f778a1b.js → HEAD CIRCUM_BOYS.percentile.weekly-49be309f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-ab2b1a93.js → HEAD CIRCUM_BOYS.percentile.yearly-1659fb58.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-cd9068be.js → HEAD CIRCUM_BOYS.zscore.monthly-a3e7b3f1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-c42d6558.js → HEAD CIRCUM_BOYS.zscore.weekly-4091a331.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-faa29f77.js → HEAD CIRCUM_BOYS.zscore.yearly-4e1a1d3c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-abb5319e.js → HEAD CIRCUM_GIRLS.percentile.monthly-e3416db0.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-3c1bfba6.js → HEAD CIRCUM_GIRLS.percentile.weekly-dfe2935a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-5e6c9c89.js → HEAD CIRCUM_GIRLS.percentile.yearly-1b20b798.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-7d9443b4.js → HEAD CIRCUM_GIRLS.zscore.monthly-5622c484.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-b808ec42.js → HEAD CIRCUM_GIRLS.zscore.weekly-62d4c513.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-afa046d5.js → HEAD CIRCUM_GIRLS.zscore.yearly-3e4a7624.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-c98d182c.js → HEIGHT_BOYS.percentile.monthly-d83eff57.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-e0fb9e4d.js → HEIGHT_BOYS.percentile.weekly-533ac98c.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-d3c2813b.js → HEIGHT_BOYS.percentile.yearly-8035df17.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-0aae46de.js → HEIGHT_BOYS.zscore.monthly-66fe859d.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-78e47e88.js → HEIGHT_BOYS.zscore.weekly-cb774068.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-bdcc8248.js → HEIGHT_BOYS.zscore.yearly-4d0efa48.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-983e88c2.js → HEIGHT_GIRLS.percentile.monthly-741ad237.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-e5996a35.js → HEIGHT_GIRLS.percentile.weekly-d73d6dcb.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-1a28767b.js → HEIGHT_GIRLS.percentile.yearly-f727ae1f.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-5af591d9.js → HEIGHT_GIRLS.zscore.monthly-acb5d38f.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-d4e3e6db.js → HEIGHT_GIRLS.zscore.weekly-1a371de1.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-cb5f4e54.js → HEIGHT_GIRLS.zscore.yearly-723c5bfa.js} +0 -0
- /package/build/esm/{Locale-41d09e42.js → Locale-27f35798.js} +0 -0
- /package/build/esm/{Visible-dfef3786.js → Visible-5b571040.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-4dc89c40.js → WEIGHT_BOYS.percentile.monthly-6697b2ca.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-34b4fa21.js → WEIGHT_BOYS.percentile.weekly-755eef43.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-5111b096.js → WEIGHT_BOYS.percentile.yearly-cf746f74.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-d9ced258.js → WEIGHT_BOYS.zscore.monthly-17548713.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-d0fe4104.js → WEIGHT_BOYS.zscore.weekly-5c3c35d6.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-54b66d08.js → WEIGHT_BOYS.zscore.yearly-615c7841.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-bdf696bc.js → WEIGHT_GIRLS.percentile.monthly-33a35ca0.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-aad39ae3.js → WEIGHT_GIRLS.percentile.weekly-cbbd2a3d.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-1f27c299.js → WEIGHT_GIRLS.percentile.yearly-bf6d1153.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-ea6ec8d3.js → WEIGHT_GIRLS.zscore.monthly-168dbdd5.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-ee1f6632.js → WEIGHT_GIRLS.zscore.weekly-4262c848.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-44b8c95e.js → WEIGHT_GIRLS.zscore.yearly-a93fdf6a.js} +0 -0
- /package/build/esm/{ageGenerate-f8441365.js → ageGenerate-0294401c.js} +0 -0
- /package/build/esm/{animation-aed03bf3.js → animation-806fb6e8.js} +0 -0
- /package/build/esm/{constants-12be65ba.js → constants-01b95c1b.js} +0 -0
- /package/build/esm/{constants-a159433c.js → constants-e3b3ac47.js} +0 -0
- /package/build/esm/{context-e7e3451c.js → context-887ff972.js} +0 -0
- /package/build/esm/{dataTransform-e7e3d0e2.js → dataTransform-64bf286e.js} +0 -0
- /package/build/esm/{index-a198ca8e.js → index-42dc479f.js} +0 -0
- /package/build/esm/{index-df8ae5b0.js → index-526bca6e.js} +0 -0
- /package/build/esm/{index-c5fc02fd.js → index-6419519d.js} +0 -0
- /package/build/esm/{index-7cb406e9.js → index-6a32addb.js} +0 -0
- /package/build/esm/{index-febe78cf.js → index-8a21c4ad.js} +0 -0
- /package/build/esm/{index-93a1e9f7.js → index-94b0f440.js} +0 -0
- /package/build/esm/{index-1838c494.js → index-d23d7582.js} +0 -0
- /package/build/esm/{index-d0525a50.js → index-ea790043.js} +0 -0
- /package/build/esm/{index.styles-235de34d.js → index.styles-f323630e.js} +0 -0
- /package/build/esm/{localizeNumberFormat-ca6ae426.js → localizeNumberFormat-5b040877.js} +0 -0
- /package/build/esm/{normalizeLink-23209e13.js → normalizeLink-2d965a42.js} +0 -0
- /package/build/esm/{number-37c11a5f.js → number-1c474454.js} +0 -0
- /package/build/esm/{paths-470b2657.js → paths-6818d658.js} +0 -0
- /package/build/esm/{shared-a90a1b12.js → shared-a4e49deb.js} +0 -0
- /package/build/esm/{translationsContext-cd8871cf.js → translationsContext-d55d981f.js} +0 -0
- /package/build/esm/{tslib.es6-d9a784b4.js → tslib.es6-bbd9b109.js} +0 -0
- /package/build/esm/{types-37879d8a.js → types-cd20e1cc.js} +0 -0
- /package/build/esm/{types-c1c2792f.js → types-d3d68d8a.js} +0 -0
- /package/build/esm/{useOutsideClick-77fe7218.js → useOutsideClick-93b53566.js} +0 -0
- /package/build/esm/{useScrollbarSize-6862ffc3.js → useScrollbarSize-88d38e7f.js} +0 -0
- /package/build/esm/{useUniqueId-faea4d8a.js → useUniqueId-4786adfd.js} +0 -0
- /package/build/esm/{utils-6772076f.js → utils-63affba3.js} +0 -0
- /package/build/esm/{utils-aa9ab729.js → utils-e1060fbf.js} +0 -0
- /package/build/{index-32fb4a93.js → index-277181cf.js} +0 -0
- /package/build/{index-67b4a9ba.js → index-714081ea.js} +0 -0
- /package/build/{index-18106e28.js → index-79073424.js} +0 -0
- /package/build/{index-06a2a79f.js → index-8d7a9d4a.js} +0 -0
- /package/build/{index-515496af.js → index-8dc724b2.js} +0 -0
- /package/build/{index-cb026ebc.js → index-98dfd515.js} +0 -0
- /package/build/{index-c8f1d21f.js → index-e5160f48.js} +0 -0
- /package/build/{index-1148ec27.js → index-f1d77f82.js} +0 -0
- /package/build/{index.styles-ce6433a2.js → index.styles-81edc09a.js} +0 -0
- /package/build/{localizeNumberFormat-a32cf82b.js → localizeNumberFormat-768fdcdb.js} +0 -0
- /package/build/{normalizeLink-7b8802a3.js → normalizeLink-0fedc39f.js} +0 -0
- /package/build/{number-2c5609f4.js → number-0a5e0c40.js} +0 -0
- /package/build/{paths-bfb51e53.js → paths-c2dd1859.js} +0 -0
- /package/build/{shared-20d0534b.js → shared-3d2b433a.js} +0 -0
- /package/build/{translationsContext-890a8c7e.js → translationsContext-458ee96f.js} +0 -0
- /package/build/{tslib.es6-6e32661f.js → tslib.es6-a2f835ba.js} +0 -0
- /package/build/{types-d604ee26.js → types-3f11c860.js} +0 -0
- /package/build/{types-387d2e71.js → types-40c63f06.js} +0 -0
- /package/build/{useOutsideClick-5e64f3f7.js → useOutsideClick-ac28b690.js} +0 -0
- /package/build/{useScrollbarSize-175c7e30.js → useScrollbarSize-528d6b64.js} +0 -0
- /package/build/{useUniqueId-ebba63aa.js → useUniqueId-5bb29394.js} +0 -0
- /package/build/{utils-3ca5fccf.js → utils-229f4252.js} +0 -0
- /package/build/{utils-5b201f29.js → utils-24c55aa0.js} +0 -0
|
@@ -1,57 +1,68 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require('./tslib.es6-
|
|
3
|
+
var tslib_es6 = require('./tslib.es6-a2f835ba.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var index$4 = require('./index-
|
|
5
|
+
var index$4 = require('./index-ace0dcdc.js');
|
|
6
6
|
var core = require('@mantine/core');
|
|
7
7
|
require('@mantine/dates');
|
|
8
|
-
var index$6 = require('./index-
|
|
9
|
-
require('./index-
|
|
10
|
-
var index$a = require('./index-
|
|
11
|
-
require('./index-
|
|
12
|
-
var index$2 = require('./index-
|
|
13
|
-
var index$
|
|
14
|
-
require('./index-
|
|
15
|
-
require('./index.styles-
|
|
16
|
-
require('./translationsContext-
|
|
17
|
-
require('@mantine/hooks');
|
|
18
|
-
var utils = require('./utils-
|
|
19
|
-
require('./index-
|
|
20
|
-
var SiteWideBanner = require('./SiteWideBanner-
|
|
8
|
+
var index$6 = require('./index-4c125734.js');
|
|
9
|
+
require('./index-dc39e3b4.js');
|
|
10
|
+
var index$a = require('./index-e5160f48.js');
|
|
11
|
+
require('./index-f7fa1059.js');
|
|
12
|
+
var index$2 = require('./index-6175e81a.js');
|
|
13
|
+
var index$g = require('./index-d6741b03.js');
|
|
14
|
+
var index$e = require('./index-9750fa8a.js');
|
|
15
|
+
require('./index.styles-81edc09a.js');
|
|
16
|
+
require('./translationsContext-458ee96f.js');
|
|
17
|
+
var hooks = require('@mantine/hooks');
|
|
18
|
+
var utils = require('./utils-24c55aa0.js');
|
|
19
|
+
require('./index-d55da6c6.js');
|
|
20
|
+
var SiteWideBanner = require('./SiteWideBanner-2bd6f48e.js');
|
|
21
21
|
var styled = require('@emotion/styled');
|
|
22
22
|
var miscTheme = require('./miscTheme.js');
|
|
23
|
-
var index$3 = require('./index-
|
|
23
|
+
var index$3 = require('./index-1f2935d0.js');
|
|
24
24
|
var dateFns = require('date-fns');
|
|
25
25
|
var DayPickerInput = require('react-day-picker/DayPickerInput');
|
|
26
|
-
var index$5 = require('./index-
|
|
26
|
+
var index$5 = require('./index-04dd433f.js');
|
|
27
27
|
var throttle = require('lodash/throttle');
|
|
28
28
|
var parse = require('html-react-parser');
|
|
29
29
|
var constantsDomainLocales = require('./constantsDomainLocales.js');
|
|
30
30
|
var constantsIsProduction = require('./constantsIsProduction.js');
|
|
31
|
-
var useOutsideClick = require('./useOutsideClick-
|
|
31
|
+
var useOutsideClick = require('./useOutsideClick-ac28b690.js');
|
|
32
32
|
var enUS = require('date-fns/locale/en-US');
|
|
33
33
|
var id = require('date-fns/locale/id');
|
|
34
34
|
var vi = require('date-fns/locale/vi');
|
|
35
35
|
var zhTW = require('date-fns/locale/zh-TW');
|
|
36
|
-
var index$9 = require('./index-
|
|
37
|
-
var index$7 = require('./index-
|
|
38
|
-
var index$8 = require('./index-
|
|
36
|
+
var index$9 = require('./index-1b161029.js');
|
|
37
|
+
var index$7 = require('./index-69d2bab0.js');
|
|
38
|
+
var index$8 = require('./index-65402024.js');
|
|
39
39
|
var classNames = require('classnames');
|
|
40
|
-
var index$b = require('./index-
|
|
40
|
+
var index$b = require('./index-8dc724b2.js');
|
|
41
41
|
var miscGetSocialList = require('./miscGetSocialList.js');
|
|
42
|
-
var index$d = require('./index-
|
|
43
|
-
var index$c = require('./index-
|
|
42
|
+
var index$d = require('./index-9cc611ec.js');
|
|
43
|
+
var index$c = require('./index-81d2c98a.js');
|
|
44
|
+
var index$h = require('./index-441659db.js');
|
|
45
|
+
var index$i = require('./index-16f5e74e.js');
|
|
46
|
+
var dataTransform = require('./dataTransform-b5c4110e.js');
|
|
47
|
+
var togetherApiPaths = require('./togetherApiPaths.js');
|
|
48
|
+
var togetherComponentGlobalContext = require('./utils-62e1a392.js');
|
|
49
|
+
var innertext = require('innertext');
|
|
50
|
+
var Locale = require('./Locale-0909ccf4.js');
|
|
51
|
+
var index$f = require('./index-b809712f.js');
|
|
52
|
+
var constants = require('./constants-105ba154.js');
|
|
53
|
+
var dayjs = require('dayjs');
|
|
54
|
+
var moleculesArticleCard = require('./moleculesArticleCard.js');
|
|
44
55
|
var uuid = require('uuid');
|
|
45
|
-
var Locale = require('./Locale-4905c35b.js');
|
|
46
56
|
var arrow = require('@hhgtech/icons/arrow');
|
|
47
57
|
var other = require('@hhgtech/icons/other');
|
|
48
58
|
var Lottie = require('lottie-light-react');
|
|
49
|
-
var index$
|
|
50
|
-
var index$
|
|
59
|
+
var index$j = require('./index-666b4e07.js');
|
|
60
|
+
var index$k = require('./index-ea84c5fe.js');
|
|
51
61
|
var get = require('lodash/get');
|
|
52
62
|
var debounce = require('lodash/debounce');
|
|
53
|
-
var
|
|
63
|
+
var index$l = require('./index-480ed7a9.js');
|
|
54
64
|
var carousel = require('@mantine/carousel');
|
|
65
|
+
var constants$1 = require('./constants-7360717d.js');
|
|
55
66
|
|
|
56
67
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
57
68
|
|
|
@@ -83,6 +94,8 @@ var id__default = /*#__PURE__*/_interopDefault(id);
|
|
|
83
94
|
var vi__default = /*#__PURE__*/_interopDefault(vi);
|
|
84
95
|
var zhTW__default = /*#__PURE__*/_interopDefault(zhTW);
|
|
85
96
|
var classNames__default = /*#__PURE__*/_interopDefault(classNames);
|
|
97
|
+
var innertext__default = /*#__PURE__*/_interopDefault(innertext);
|
|
98
|
+
var dayjs__default = /*#__PURE__*/_interopDefault(dayjs);
|
|
86
99
|
var Lottie__default = /*#__PURE__*/_interopDefault(Lottie);
|
|
87
100
|
var get__default = /*#__PURE__*/_interopDefault(get);
|
|
88
101
|
var debounce__default = /*#__PURE__*/_interopDefault(debounce);
|
|
@@ -2824,6 +2837,582 @@ const ShareDrawer = (_a) => {
|
|
|
2824
2837
|
}
|
|
2825
2838
|
};
|
|
2826
2839
|
|
|
2840
|
+
const BoostCardArticleAuthorName = (props) => {
|
|
2841
|
+
const { intlKey, formatOptions, formatOptionsProps } = props;
|
|
2842
|
+
const { author_name, expert_display_name, fact_check_display_name, specialty, organisation, post_modified, } = formatOptions || {};
|
|
2843
|
+
const { author_name: formatOptionsPropsAuthorName, expert_display_name: formatOptionsPropsExpertDisplayName, fact_check_display_name: formatOptionsPropsFactCheckDisplayName, specialty: formatOptionsPropsSpecialty, organisation: formatOptionsPropsOrganisation, post_modified: formatOptionsPropsPostModified, } = formatOptionsProps || {};
|
|
2844
|
+
const { t } = index$8.useTranslations();
|
|
2845
|
+
const theme = core.useMantineTheme();
|
|
2846
|
+
const formatOptionsComp = React.useCallback((p = {}) => {
|
|
2847
|
+
const href = p.href;
|
|
2848
|
+
const Comp = href ? 'a' : 'span';
|
|
2849
|
+
const propsComp = Object.assign({}, p);
|
|
2850
|
+
if (!href) {
|
|
2851
|
+
delete propsComp.href;
|
|
2852
|
+
delete propsComp['data-event-category'];
|
|
2853
|
+
delete propsComp['data-event-action'];
|
|
2854
|
+
delete propsComp['data-event-label'];
|
|
2855
|
+
}
|
|
2856
|
+
return React__namespace["default"].createElement(Comp, Object.assign({}, propsComp));
|
|
2857
|
+
}, []);
|
|
2858
|
+
return (React__namespace["default"].createElement(React__namespace["default"].Fragment, null, index$8.format(t(intlKey), {
|
|
2859
|
+
author_name: (React__namespace["default"].createElement("span", { style: {
|
|
2860
|
+
fontWeight: index$e.FontWeight.halfBold,
|
|
2861
|
+
color: theme.colors.gray[8],
|
|
2862
|
+
} }, formatOptionsComp(Object.assign(Object.assign({}, author_name), formatOptionsPropsAuthorName)))),
|
|
2863
|
+
expert_display_name: (React__namespace["default"].createElement("span", { style: {
|
|
2864
|
+
fontWeight: index$e.FontWeight.halfBold,
|
|
2865
|
+
color: theme.colors.gray[8],
|
|
2866
|
+
} }, formatOptionsComp(Object.assign(Object.assign({}, expert_display_name), formatOptionsPropsExpertDisplayName)))),
|
|
2867
|
+
fact_check_display_name: (React__namespace["default"].createElement("span", { style: {
|
|
2868
|
+
fontWeight: index$e.FontWeight.halfBold,
|
|
2869
|
+
color: theme.colors.gray[8],
|
|
2870
|
+
} }, formatOptionsComp(Object.assign(Object.assign({}, fact_check_display_name), formatOptionsPropsFactCheckDisplayName)))),
|
|
2871
|
+
specialty: formatOptionsComp(Object.assign(Object.assign({}, specialty), formatOptionsPropsSpecialty)),
|
|
2872
|
+
organisation: formatOptionsComp(Object.assign(Object.assign({}, organisation), formatOptionsPropsOrganisation)),
|
|
2873
|
+
post_modified: formatOptionsComp(Object.assign(Object.assign({}, post_modified), formatOptionsPropsPostModified)),
|
|
2874
|
+
})));
|
|
2875
|
+
};
|
|
2876
|
+
|
|
2877
|
+
const getAuthorFormatOptionsProps = (reviewedUser) => {
|
|
2878
|
+
if (!reviewedUser) {
|
|
2879
|
+
return { children: '' };
|
|
2880
|
+
}
|
|
2881
|
+
if ((reviewedUser === null || reviewedUser === void 0 ? void 0 : reviewedUser.profile_url) && (reviewedUser === null || reviewedUser === void 0 ? void 0 : reviewedUser.turn_off_profile)) {
|
|
2882
|
+
return { children: (reviewedUser === null || reviewedUser === void 0 ? void 0 : reviewedUser.display_name) || (reviewedUser === null || reviewedUser === void 0 ? void 0 : reviewedUser.name) || '' };
|
|
2883
|
+
}
|
|
2884
|
+
return {
|
|
2885
|
+
href: reviewedUser.profile_url || '',
|
|
2886
|
+
children: reviewedUser.display_name || reviewedUser.name || '',
|
|
2887
|
+
};
|
|
2888
|
+
};
|
|
2889
|
+
const authorConfigForAssetBase = (assetImageBase) => {
|
|
2890
|
+
const base = assetImageBase.replace(/\/$/, '');
|
|
2891
|
+
return {
|
|
2892
|
+
medical: {
|
|
2893
|
+
intlKey: {
|
|
2894
|
+
long: 'articlePage.reviewed_by.expert.medical',
|
|
2895
|
+
short: 'articlePage.reviewed_by.expert.medical.short',
|
|
2896
|
+
},
|
|
2897
|
+
indicator: `${base}/reviewer-medical.svg`,
|
|
2898
|
+
},
|
|
2899
|
+
expert: {
|
|
2900
|
+
intlKey: {
|
|
2901
|
+
long: 'articlePage.reviewed_by.expert',
|
|
2902
|
+
short: 'articlePage.reviewed_by.expert.short',
|
|
2903
|
+
},
|
|
2904
|
+
indicator: `${base}/reviewer-expert.svg`,
|
|
2905
|
+
},
|
|
2906
|
+
written_by: {
|
|
2907
|
+
intlKey: {
|
|
2908
|
+
long: 'articlePage.written_by.author',
|
|
2909
|
+
short: 'articlePage.written_by.author.short',
|
|
2910
|
+
},
|
|
2911
|
+
indicator: `${base}/reviewer-editor.svg`,
|
|
2912
|
+
},
|
|
2913
|
+
fact_checked_by: {
|
|
2914
|
+
intlKey: {
|
|
2915
|
+
long: 'articlePage.fact_checked_by.author',
|
|
2916
|
+
short: 'articlePage.fact_checked_by.author.short',
|
|
2917
|
+
},
|
|
2918
|
+
indicator: `${base}/reviewer-fact-check.svg`,
|
|
2919
|
+
},
|
|
2920
|
+
};
|
|
2921
|
+
};
|
|
2922
|
+
function getAuthorForBoostCard({ article, locale, assetImageBase, version = 'short', }) {
|
|
2923
|
+
const AUTHOR_CONFIG = authorConfigForAssetBase(assetImageBase);
|
|
2924
|
+
const { expert, author, fact_check, is_author } = article.articleReviewed || {};
|
|
2925
|
+
const articlePostModified = article.postModified || article.modifiedTime;
|
|
2926
|
+
const { avatar: fcAvatar = '', avatar_thumbnail: fcAvatarThumb = '', display_name: fcDisplayName = '', name: fcName = '', profile_url: fcProfileUrl = '', turn_off_profile: fcTurnOffProfile, } = fact_check || {};
|
|
2927
|
+
const modifiedDate = dayjs__default["default"](articlePostModified);
|
|
2928
|
+
let authorConfig = AUTHOR_CONFIG.fact_checked_by;
|
|
2929
|
+
let avatar = fcAvatarThumb || fcAvatar;
|
|
2930
|
+
let avatar_alt = fcDisplayName || fcName;
|
|
2931
|
+
let avatar_permalink = !fcTurnOffProfile ? fcProfileUrl : '';
|
|
2932
|
+
const post_modified = modifiedDate.isValid()
|
|
2933
|
+
? modifiedDate.format(index$6.ISO_FORMAT[locale].dateFormat)
|
|
2934
|
+
: '';
|
|
2935
|
+
const formatOptions = {
|
|
2936
|
+
expert_display_name: getAuthorFormatOptionsProps(expert),
|
|
2937
|
+
author_name: getAuthorFormatOptionsProps(author),
|
|
2938
|
+
fact_check_display_name: getAuthorFormatOptionsProps(fact_check),
|
|
2939
|
+
post_modified: { children: post_modified },
|
|
2940
|
+
};
|
|
2941
|
+
if (expert) {
|
|
2942
|
+
const ex = expert;
|
|
2943
|
+
const { avatar: exAvatar = '', avatar_thumbnail: exAvatarThumb = '', display_name: exDisplayName = '', name: exName = '', profile_url: exProfileUrl = '', specialty = '', organisation = '', turn_off_profile: exTurnOffProfile, } = ex;
|
|
2944
|
+
formatOptions.specialty = { children: specialty };
|
|
2945
|
+
formatOptions.organisation = { children: organisation };
|
|
2946
|
+
avatar = exAvatarThumb || exAvatar || avatar;
|
|
2947
|
+
avatar_alt = exDisplayName || exName || avatar_alt;
|
|
2948
|
+
avatar_permalink = !exTurnOffProfile ? exProfileUrl || avatar_permalink : '';
|
|
2949
|
+
if (is_author) {
|
|
2950
|
+
authorConfig = AUTHOR_CONFIG.written_by;
|
|
2951
|
+
}
|
|
2952
|
+
else {
|
|
2953
|
+
authorConfig = AUTHOR_CONFIG.expert;
|
|
2954
|
+
}
|
|
2955
|
+
}
|
|
2956
|
+
return {
|
|
2957
|
+
intlKey: authorConfig.intlKey[version],
|
|
2958
|
+
indicator: authorConfig.indicator,
|
|
2959
|
+
avatar,
|
|
2960
|
+
avatar_alt,
|
|
2961
|
+
avatar_permalink,
|
|
2962
|
+
formatOptions,
|
|
2963
|
+
};
|
|
2964
|
+
}
|
|
2965
|
+
|
|
2966
|
+
const StyledAvatarReviewer = styled__default["default"].div `
|
|
2967
|
+
position: relative;
|
|
2968
|
+
width: 100%;
|
|
2969
|
+
height: 100%;
|
|
2970
|
+
img {
|
|
2971
|
+
border-radius: 50%;
|
|
2972
|
+
object-fit: cover;
|
|
2973
|
+
}
|
|
2974
|
+
.badge {
|
|
2975
|
+
position: absolute;
|
|
2976
|
+
right: 0;
|
|
2977
|
+
bottom: 0;
|
|
2978
|
+
display: flex;
|
|
2979
|
+
}
|
|
2980
|
+
`;
|
|
2981
|
+
styled__default["default"].div `
|
|
2982
|
+
width: 12px;
|
|
2983
|
+
height: 12px;
|
|
2984
|
+
`;
|
|
2985
|
+
const StyledArticleCard = styled__default["default"](moleculesArticleCard.ArticleCard) `
|
|
2986
|
+
.author .poster p span:not(.author-name) {
|
|
2987
|
+
font-weight: 400;
|
|
2988
|
+
}
|
|
2989
|
+
|
|
2990
|
+
.author .poster p span:not(.name) {
|
|
2991
|
+
color: ${miscTheme.theme.colors.gray800};
|
|
2992
|
+
}
|
|
2993
|
+
|
|
2994
|
+
.author-name {
|
|
2995
|
+
font-weight: 600;
|
|
2996
|
+
}
|
|
2997
|
+
`;
|
|
2998
|
+
const StyledItemImageContain = styled__default["default"].div `
|
|
2999
|
+
width: 100%;
|
|
3000
|
+
height: 100%;
|
|
3001
|
+
position: relative;
|
|
3002
|
+
`;
|
|
3003
|
+
|
|
3004
|
+
function renderBoostUploadTime(locale, date) {
|
|
3005
|
+
if (!date)
|
|
3006
|
+
return '';
|
|
3007
|
+
if (dayjs__default["default"](date, constants.POST_DATE_FORMAT).isValid()) {
|
|
3008
|
+
return dayjs__default["default"](date, constants.POST_DATE_FORMAT).format(index$6.ISO_FORMAT[locale].dateFormat);
|
|
3009
|
+
}
|
|
3010
|
+
return date;
|
|
3011
|
+
}
|
|
3012
|
+
|
|
3013
|
+
function PopupBoostArticleCard({ article, isMobile, className = 'article-card', hideBookmark = true, assetImageBase = '/images', }) {
|
|
3014
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
3015
|
+
const { locale: translationsLocale } = index$8.useTranslations();
|
|
3016
|
+
const locale = translationsLocale === 'vi-VN_MB'
|
|
3017
|
+
? Locale.LOCALE.Vietnam
|
|
3018
|
+
: translationsLocale;
|
|
3019
|
+
const authorV2 = getAuthorForBoostCard({
|
|
3020
|
+
article,
|
|
3021
|
+
locale,
|
|
3022
|
+
assetImageBase,
|
|
3023
|
+
version: 'short',
|
|
3024
|
+
});
|
|
3025
|
+
const authorUrlDomain = authorV2.avatar_permalink
|
|
3026
|
+
? `${index$f.getHelloSitesUrl(translationsLocale, true)}${authorV2.avatar_permalink}`
|
|
3027
|
+
: '';
|
|
3028
|
+
const domain = constantsDomainLocales.domainLocales[translationsLocale];
|
|
3029
|
+
const articleUrlLabel = domain && article.permalink
|
|
3030
|
+
? `https://${domain}${article.permalink}`
|
|
3031
|
+
: article.permalink || '';
|
|
3032
|
+
const uploadRendered = renderBoostUploadTime(locale, article.modifiedTime);
|
|
3033
|
+
const loc = translationsLocale;
|
|
3034
|
+
const isPremiumUi = loc !== 'vi-VN' && loc !== 'vi-VN_MB' && article.isPremium;
|
|
3035
|
+
const avatarInner = (React__namespace["default"].createElement(StyledAvatarReviewer, null,
|
|
3036
|
+
React__namespace["default"].createElement(StyledItemImageContain, null,
|
|
3037
|
+
React__namespace["default"].createElement("img", { className: "avatar", src: authorV2.avatar || constants.DEFAULT_AVATAR_IMG, alt: authorV2.avatar_alt, width: 24, height: 24, style: {
|
|
3038
|
+
borderRadius: '50%',
|
|
3039
|
+
objectFit: 'cover',
|
|
3040
|
+
display: 'block',
|
|
3041
|
+
} }))));
|
|
3042
|
+
return (React__namespace["default"].createElement(StyledArticleCard, { isPremium: isPremiumUi, isMobile: isMobile, className: className, dataEventCategoryForBookmark: "Bookmark", dataEventActionForBookmark: "Click", dataEventLabelForBookmark: articleUrlLabel, dataEventLabelForTitle: articleUrlLabel, dataEventLabelForCategory: ((_a = article.category) === null || _a === void 0 ? void 0 : _a.permalink) && domain
|
|
3043
|
+
? `https://${domain}${article.category.permalink}`
|
|
3044
|
+
: ((_b = article.category) === null || _b === void 0 ? void 0 : _b.permalink) || '', dataEventLabelForBanner: articleUrlLabel, hasAffiliate: article.hasAffiliate, articleLink: article.permalink, categoryLink: ((_c = article.category) === null || _c === void 0 ? void 0 : _c.permalink) || '#', categoryName: ((_d = article.category) === null || _d === void 0 ? void 0 : _d.displayName) ||
|
|
3045
|
+
((_e = article.category) === null || _e === void 0 ? void 0 : _e.name) ||
|
|
3046
|
+
((_g = (_f = article.categories) === null || _f === void 0 ? void 0 : _f[0]) === null || _g === void 0 ? void 0 : _g.displayName) ||
|
|
3047
|
+
((_j = (_h = article.categories) === null || _h === void 0 ? void 0 : _h[0]) === null || _j === void 0 ? void 0 : _j.name) ||
|
|
3048
|
+
'', banner: React__namespace["default"].createElement("img", { src: (isMobile ? article.featureImageMobile : article.featureImage) ||
|
|
3049
|
+
article.featureImage ||
|
|
3050
|
+
constants.DEFAULT_IMG, alt: article.postName, loading: "lazy", style: {
|
|
3051
|
+
width: '100%',
|
|
3052
|
+
height: '100%',
|
|
3053
|
+
objectFit: 'cover',
|
|
3054
|
+
display: 'block',
|
|
3055
|
+
} }), specialty: ((_k = article.expert) === null || _k === void 0 ? void 0 : _k.specialty) || ((_l = article.author) === null || _l === void 0 ? void 0 : _l.specialty) || '', type: "author", size: "md", direction: isMobile ? 'vertical' : 'horizontal', uploadTime: uploadRendered || article.modifiedTime || article.postModified || '', title: innertext__default["default"](article.postTitle || article.postName || '') || '', text: article.excerpt || article.description || article.postContent
|
|
3056
|
+
? innertext__default["default"](article.excerpt ||
|
|
3057
|
+
article.description ||
|
|
3058
|
+
((_m = article.postContent) === null || _m === void 0 ? void 0 : _m.split('\r\n')[0]) ||
|
|
3059
|
+
'')
|
|
3060
|
+
: '', avatarImg: authorV2.avatar_permalink ? (React__namespace["default"].createElement("a", { href: authorV2.avatar_permalink, className: "pointer-event-child-none", "data-event-label": authorUrlDomain }, avatarInner)) : (React__namespace["default"].createElement("span", { className: "pointer-event-child-none" }, avatarInner)), authorName: React__namespace["default"].createElement("span", { "data-event-label": authorUrlDomain, className: "pointer-event-child-none" },
|
|
3061
|
+
React__namespace["default"].createElement(BoostCardArticleAuthorName, Object.assign({}, authorV2, { formatOptionsProps: {
|
|
3062
|
+
expert_display_name: {
|
|
3063
|
+
href: '',
|
|
3064
|
+
},
|
|
3065
|
+
} })),
|
|
3066
|
+
"\u00A0"), authorLink: authorV2.avatar_permalink, isBookmarkDisplayed: !hideBookmark, isBookmark: false, onBookmark: hideBookmark ? undefined : () => undefined, styleLabel: {
|
|
3067
|
+
color: ((_o = article.category) === null || _o === void 0 ? void 0 : _o.textColor) || '#008C50',
|
|
3068
|
+
} }));
|
|
3069
|
+
}
|
|
3070
|
+
|
|
3071
|
+
function PopupBoostPageView({ source, articleId, primaryCategoryId, postId, community, isMobile, basePath, getSpotlightTitle, getSpotlightImage, getSpotlightPermalink, getSpotlightContent, }) {
|
|
3072
|
+
const { t, locale } = index$8.useTranslations();
|
|
3073
|
+
const modalHeading = t('popupBoostPageView.modalHeading');
|
|
3074
|
+
const viewDetailText = t('popupBoostPageView.viewDetail');
|
|
3075
|
+
const [requestState, setRequestState] = React.useState('idle');
|
|
3076
|
+
const [boostType, setBoostType] = React.useState(null);
|
|
3077
|
+
const [boostArticle, setBoostArticle] = React.useState(null);
|
|
3078
|
+
const [boostCarePath, setBoostCarePath] = React.useState(null);
|
|
3079
|
+
const [boostCustom, setBoostCustom] = React.useState(null);
|
|
3080
|
+
const [delaySeconds, setDelaySeconds] = React.useState(0);
|
|
3081
|
+
const [sessionPopupShown, setSessionPopupShown] = React.useState(false);
|
|
3082
|
+
const [opened, { open, close }] = hooks.useDisclosure(false);
|
|
3083
|
+
const pendingOpenDeadlineRef = React.useRef(null);
|
|
3084
|
+
const suppressNextOpenRef = React.useRef(false);
|
|
3085
|
+
const getSpotlightTitleRef = React.useRef(getSpotlightTitle);
|
|
3086
|
+
const getSpotlightImageRef = React.useRef(getSpotlightImage);
|
|
3087
|
+
const getSpotlightPermalinkRef = React.useRef(getSpotlightPermalink);
|
|
3088
|
+
const getSpotlightContentRef = React.useRef(getSpotlightContent);
|
|
3089
|
+
getSpotlightTitleRef.current = getSpotlightTitle;
|
|
3090
|
+
getSpotlightImageRef.current = getSpotlightImage;
|
|
3091
|
+
getSpotlightPermalinkRef.current = getSpotlightPermalink;
|
|
3092
|
+
getSpotlightContentRef.current = getSpotlightContent;
|
|
3093
|
+
const hasSourceId = source === 'article' ? !!articleId : !!postId;
|
|
3094
|
+
React.useEffect(() => {
|
|
3095
|
+
if (!hasSourceId) {
|
|
3096
|
+
close();
|
|
3097
|
+
pendingOpenDeadlineRef.current = null;
|
|
3098
|
+
setSessionPopupShown(false);
|
|
3099
|
+
setRequestState('idle');
|
|
3100
|
+
setBoostType(null);
|
|
3101
|
+
setBoostArticle(null);
|
|
3102
|
+
setBoostCarePath(null);
|
|
3103
|
+
setBoostCustom(null);
|
|
3104
|
+
setDelaySeconds(0);
|
|
3105
|
+
return;
|
|
3106
|
+
}
|
|
3107
|
+
if (sessionPopupShown) {
|
|
3108
|
+
return;
|
|
3109
|
+
}
|
|
3110
|
+
close();
|
|
3111
|
+
setBoostType(null);
|
|
3112
|
+
setBoostArticle(null);
|
|
3113
|
+
setBoostCarePath(null);
|
|
3114
|
+
setBoostCustom(null);
|
|
3115
|
+
setDelaySeconds(0);
|
|
3116
|
+
const requestedSourceId = source === 'article' ? articleId : postId;
|
|
3117
|
+
let isActive = true;
|
|
3118
|
+
setRequestState('loading');
|
|
3119
|
+
(() => tslib_es6.__awaiter(this, void 0, void 0, function* () {
|
|
3120
|
+
var _a, _b, _c;
|
|
3121
|
+
const res = yield togetherComponentGlobalContext.callApi(togetherComponentGlobalContext.getDiscoverApiPath(togetherApiPaths.DISCOVER_PATHS.GET_BOOST_POPUP_CARD, {
|
|
3122
|
+
type: source,
|
|
3123
|
+
articleId: source === 'article' ? requestedSourceId !== null && requestedSourceId !== void 0 ? requestedSourceId : '' : '',
|
|
3124
|
+
primaryCategoryId: source === 'article' ? primaryCategoryId !== null && primaryCategoryId !== void 0 ? primaryCategoryId : '' : '',
|
|
3125
|
+
community: source === 'community' ? community !== null && community !== void 0 ? community : '' : '',
|
|
3126
|
+
postId: source === 'community' ? requestedSourceId !== null && requestedSourceId !== void 0 ? requestedSourceId : '' : '',
|
|
3127
|
+
}), 'get');
|
|
3128
|
+
if (!isActive)
|
|
3129
|
+
return;
|
|
3130
|
+
const boostPayload = res === null || res === void 0 ? void 0 : res.data;
|
|
3131
|
+
const nextType = (boostPayload === null || boostPayload === void 0 ? void 0 : boostPayload.type) === 'article' ||
|
|
3132
|
+
(boostPayload === null || boostPayload === void 0 ? void 0 : boostPayload.type) === 'carepath' ||
|
|
3133
|
+
(boostPayload === null || boostPayload === void 0 ? void 0 : boostPayload.type) === 'custom'
|
|
3134
|
+
? boostPayload.type
|
|
3135
|
+
: null;
|
|
3136
|
+
const nextDelaySeconds = typeof (boostPayload === null || boostPayload === void 0 ? void 0 : boostPayload.delay_time) === 'number' &&
|
|
3137
|
+
boostPayload.delay_time > 0
|
|
3138
|
+
? boostPayload.delay_time
|
|
3139
|
+
: 0;
|
|
3140
|
+
setBoostType(nextType);
|
|
3141
|
+
setDelaySeconds(nextDelaySeconds);
|
|
3142
|
+
if (nextType === 'article' && (boostPayload === null || boostPayload === void 0 ? void 0 : boostPayload.boost_data)) {
|
|
3143
|
+
setBoostArticle(dataTransform.formatArticle(boostPayload.boost_data));
|
|
3144
|
+
setBoostCarePath(null);
|
|
3145
|
+
setBoostCustom(null);
|
|
3146
|
+
}
|
|
3147
|
+
else if (nextType === 'carepath' && (boostPayload === null || boostPayload === void 0 ? void 0 : boostPayload.boost_data)) {
|
|
3148
|
+
const raw = boostPayload.boost_data;
|
|
3149
|
+
const title = getSpotlightTitleRef.current(raw) || '';
|
|
3150
|
+
const image = getSpotlightImageRef.current(raw) || '';
|
|
3151
|
+
const permalink = ((_a = getSpotlightPermalinkRef.current) === null || _a === void 0 ? void 0 : _a.call(getSpotlightPermalinkRef, raw)) ||
|
|
3152
|
+
String((raw === null || raw === void 0 ? void 0 : raw.permalink) || '');
|
|
3153
|
+
const content = ((_b = getSpotlightContentRef.current) === null || _b === void 0 ? void 0 : _b.call(getSpotlightContentRef, raw)) || String((raw === null || raw === void 0 ? void 0 : raw.content) || '');
|
|
3154
|
+
setBoostCarePath({ permalink, title, image, content });
|
|
3155
|
+
setBoostArticle(null);
|
|
3156
|
+
setBoostCustom(null);
|
|
3157
|
+
}
|
|
3158
|
+
else if (nextType === 'custom' && (boostPayload === null || boostPayload === void 0 ? void 0 : boostPayload.boost_data)) {
|
|
3159
|
+
const raw = boostPayload.boost_data;
|
|
3160
|
+
setBoostCustom({
|
|
3161
|
+
link: raw.link || '',
|
|
3162
|
+
title: raw.title || '',
|
|
3163
|
+
description: raw.description || '',
|
|
3164
|
+
image: typeof raw.image === 'string' && raw.image ? raw.image : null,
|
|
3165
|
+
});
|
|
3166
|
+
setBoostArticle(null);
|
|
3167
|
+
setBoostCarePath(null);
|
|
3168
|
+
}
|
|
3169
|
+
else {
|
|
3170
|
+
setBoostArticle(null);
|
|
3171
|
+
setBoostCarePath(null);
|
|
3172
|
+
setBoostCustom(null);
|
|
3173
|
+
}
|
|
3174
|
+
const hasPayloadBoost = (nextType === 'article' && !!(boostPayload === null || boostPayload === void 0 ? void 0 : boostPayload.boost_data)) ||
|
|
3175
|
+
(nextType === 'carepath' && !!(boostPayload === null || boostPayload === void 0 ? void 0 : boostPayload.boost_data)) ||
|
|
3176
|
+
(nextType === 'custom' &&
|
|
3177
|
+
!!((_c = boostPayload === null || boostPayload === void 0 ? void 0 : boostPayload.boost_data) === null || _c === void 0 ? void 0 : _c.link));
|
|
3178
|
+
if (!hasPayloadBoost) {
|
|
3179
|
+
pendingOpenDeadlineRef.current = null;
|
|
3180
|
+
}
|
|
3181
|
+
setRequestState('ready');
|
|
3182
|
+
}))();
|
|
3183
|
+
return () => {
|
|
3184
|
+
isActive = false;
|
|
3185
|
+
};
|
|
3186
|
+
}, [
|
|
3187
|
+
source,
|
|
3188
|
+
articleId,
|
|
3189
|
+
primaryCategoryId,
|
|
3190
|
+
postId,
|
|
3191
|
+
community,
|
|
3192
|
+
close,
|
|
3193
|
+
sessionPopupShown,
|
|
3194
|
+
]);
|
|
3195
|
+
React.useEffect(() => {
|
|
3196
|
+
const hasBoostData = (boostType === 'article' && !!boostArticle) ||
|
|
3197
|
+
(boostType === 'carepath' && !!boostCarePath) ||
|
|
3198
|
+
(boostType === 'custom' && !!(boostCustom === null || boostCustom === void 0 ? void 0 : boostCustom.link));
|
|
3199
|
+
if (!hasSourceId ||
|
|
3200
|
+
sessionPopupShown ||
|
|
3201
|
+
requestState !== 'ready' ||
|
|
3202
|
+
!hasBoostData) {
|
|
3203
|
+
return;
|
|
3204
|
+
}
|
|
3205
|
+
if (pendingOpenDeadlineRef.current === null) {
|
|
3206
|
+
pendingOpenDeadlineRef.current = Date.now() + delaySeconds * 1000;
|
|
3207
|
+
}
|
|
3208
|
+
const remainingMs = Math.max(0, pendingOpenDeadlineRef.current - Date.now());
|
|
3209
|
+
const timer = window.setTimeout(() => {
|
|
3210
|
+
pendingOpenDeadlineRef.current = null;
|
|
3211
|
+
setSessionPopupShown(true);
|
|
3212
|
+
open();
|
|
3213
|
+
}, remainingMs);
|
|
3214
|
+
return () => {
|
|
3215
|
+
window.clearTimeout(timer);
|
|
3216
|
+
};
|
|
3217
|
+
}, [
|
|
3218
|
+
articleId,
|
|
3219
|
+
sessionPopupShown,
|
|
3220
|
+
requestState,
|
|
3221
|
+
boostType,
|
|
3222
|
+
boostArticle,
|
|
3223
|
+
boostCarePath,
|
|
3224
|
+
boostCustom,
|
|
3225
|
+
delaySeconds,
|
|
3226
|
+
open,
|
|
3227
|
+
]);
|
|
3228
|
+
const targetUrl = boostType === 'article'
|
|
3229
|
+
? boostArticle === null || boostArticle === void 0 ? void 0 : boostArticle.permalink
|
|
3230
|
+
: boostType === 'carepath'
|
|
3231
|
+
? boostCarePath === null || boostCarePath === void 0 ? void 0 : boostCarePath.permalink
|
|
3232
|
+
: boostType === 'custom'
|
|
3233
|
+
? boostCustom === null || boostCustom === void 0 ? void 0 : boostCustom.link
|
|
3234
|
+
: null;
|
|
3235
|
+
const boostingUrl = targetUrl
|
|
3236
|
+
? targetUrl.startsWith('http')
|
|
3237
|
+
? targetUrl
|
|
3238
|
+
: `${window.location.origin}${basePath}${targetUrl.startsWith('/') ? targetUrl : `/${targetUrl}`}`
|
|
3239
|
+
: null;
|
|
3240
|
+
const hasBoostData = (boostType === 'article' && !!boostArticle) ||
|
|
3241
|
+
(boostType === 'carepath' && !!boostCarePath) ||
|
|
3242
|
+
(boostType === 'custom' && !!(boostCustom === null || boostCustom === void 0 ? void 0 : boostCustom.link));
|
|
3243
|
+
if (!hasSourceId ||
|
|
3244
|
+
requestState !== 'ready' ||
|
|
3245
|
+
!hasBoostData ||
|
|
3246
|
+
!boostingUrl) {
|
|
3247
|
+
return null;
|
|
3248
|
+
}
|
|
3249
|
+
const trimmedBase = basePath.replace(/\/$/, '');
|
|
3250
|
+
const assetImageBasePath = trimmedBase ? `${trimmedBase}/images` : '/images';
|
|
3251
|
+
const handleDismiss = () => {
|
|
3252
|
+
// Drag-close/overlay-close can emit a trailing click; ignore it once.
|
|
3253
|
+
suppressNextOpenRef.current = true;
|
|
3254
|
+
pendingOpenDeadlineRef.current = null;
|
|
3255
|
+
setSessionPopupShown(true);
|
|
3256
|
+
if (!isMobile) {
|
|
3257
|
+
window.open(boostingUrl, '_blank', 'noopener,noreferrer');
|
|
3258
|
+
close();
|
|
3259
|
+
return;
|
|
3260
|
+
}
|
|
3261
|
+
close();
|
|
3262
|
+
};
|
|
3263
|
+
const handleOpenBoostLink = () => {
|
|
3264
|
+
if (suppressNextOpenRef.current) {
|
|
3265
|
+
suppressNextOpenRef.current = false;
|
|
3266
|
+
return;
|
|
3267
|
+
}
|
|
3268
|
+
pendingOpenDeadlineRef.current = null;
|
|
3269
|
+
setSessionPopupShown(true);
|
|
3270
|
+
window.open(boostingUrl, '_blank', 'noopener,noreferrer');
|
|
3271
|
+
close();
|
|
3272
|
+
};
|
|
3273
|
+
const contentEle = (React__namespace["default"].createElement(core.Box, { sx: { position: 'relative' } },
|
|
3274
|
+
React__namespace["default"].createElement(core.Stack, { "data-boost-type": boostType, sx: (theme) => ({
|
|
3275
|
+
gap: 12,
|
|
3276
|
+
[theme.fn.largerThan('sm')]: { gap: 16 },
|
|
3277
|
+
'.article-card': {
|
|
3278
|
+
'&[data-size=md][data-direction=horizontal]': {
|
|
3279
|
+
padding: 0,
|
|
3280
|
+
'.footer': {
|
|
3281
|
+
marginTop: 0,
|
|
3282
|
+
'& > div': {
|
|
3283
|
+
marginTop: 16,
|
|
3284
|
+
},
|
|
3285
|
+
},
|
|
3286
|
+
},
|
|
3287
|
+
'&[data-direction=vertical] .banner': {
|
|
3288
|
+
height: 192,
|
|
3289
|
+
},
|
|
3290
|
+
'.author .poster': {
|
|
3291
|
+
p: {
|
|
3292
|
+
fontSize: '12px',
|
|
3293
|
+
lineHeight: '16px',
|
|
3294
|
+
'span:not(.name)': {
|
|
3295
|
+
color: '#8c8c8c',
|
|
3296
|
+
},
|
|
3297
|
+
},
|
|
3298
|
+
a: {
|
|
3299
|
+
color: '#8c8c8c',
|
|
3300
|
+
'span:not(:has(span))': {
|
|
3301
|
+
color: '#000 !important',
|
|
3302
|
+
},
|
|
3303
|
+
},
|
|
3304
|
+
},
|
|
3305
|
+
'h3 + a': {
|
|
3306
|
+
display: 'none',
|
|
3307
|
+
},
|
|
3308
|
+
},
|
|
3309
|
+
}) },
|
|
3310
|
+
boostType === 'article' && boostArticle ? (React__namespace["default"].createElement(React__namespace["default"].Fragment, null,
|
|
3311
|
+
React__namespace["default"].createElement(PopupBoostArticleCard, { article: boostArticle, isMobile: isMobile, assetImageBase: assetImageBasePath }),
|
|
3312
|
+
React__namespace["default"].createElement(index$2.Text, { size: "p3", as: "div", dangerouslySetInnerHTML: {
|
|
3313
|
+
__html: boostArticle.excerpt || boostArticle.postContent || '',
|
|
3314
|
+
}, lineClamp: 8 }))) : null,
|
|
3315
|
+
boostType === 'carepath' && boostCarePath ? (React__namespace["default"].createElement(core.Box, { sx: {
|
|
3316
|
+
display: 'grid',
|
|
3317
|
+
gap: 12,
|
|
3318
|
+
} },
|
|
3319
|
+
React__namespace["default"].createElement(core.Box, { sx: (theme) => ({
|
|
3320
|
+
marginLeft: -16,
|
|
3321
|
+
marginRight: -16,
|
|
3322
|
+
[theme.fn.largerThan('sm')]: { marginTop: -16 },
|
|
3323
|
+
width: 'calc(100% + 32px)',
|
|
3324
|
+
aspectRatio: '16 / 8',
|
|
3325
|
+
overflow: 'hidden',
|
|
3326
|
+
}) },
|
|
3327
|
+
React__namespace["default"].createElement("img", { src: boostCarePath.image || '', alt: boostCarePath.title, loading: "lazy", style: {
|
|
3328
|
+
width: '100%',
|
|
3329
|
+
height: '100%',
|
|
3330
|
+
objectFit: 'cover',
|
|
3331
|
+
display: 'block',
|
|
3332
|
+
} })),
|
|
3333
|
+
React__namespace["default"].createElement(core.Stack, { spacing: 3 },
|
|
3334
|
+
React__namespace["default"].createElement(core.Box, { sx: {
|
|
3335
|
+
textTransform: 'uppercase',
|
|
3336
|
+
fontWeight: 'normal',
|
|
3337
|
+
fontSize: '12px',
|
|
3338
|
+
lineHeight: '15px',
|
|
3339
|
+
} }, constantsDomainLocales.domainLocales[locale]),
|
|
3340
|
+
React__namespace["default"].createElement(core.Box, { sx: {
|
|
3341
|
+
fontSize: '16px',
|
|
3342
|
+
lineHeight: '19px',
|
|
3343
|
+
fontWeight: 500,
|
|
3344
|
+
} }, boostCarePath.title)),
|
|
3345
|
+
!!boostCarePath.content && (React__namespace["default"].createElement(index$2.Text, { size: "p3", lineClamp: 2, sx: {
|
|
3346
|
+
fontSize: '14px',
|
|
3347
|
+
lineHeight: '19px',
|
|
3348
|
+
color: '#65676B',
|
|
3349
|
+
}, dangerouslySetInnerHTML: {
|
|
3350
|
+
__html: boostCarePath.content,
|
|
3351
|
+
} })))) : null,
|
|
3352
|
+
boostType === 'custom' && boostCustom ? (React__namespace["default"].createElement(core.Box, { sx: {
|
|
3353
|
+
display: 'grid',
|
|
3354
|
+
gap: 12,
|
|
3355
|
+
} },
|
|
3356
|
+
boostCustom.image ? (React__namespace["default"].createElement(core.Box, { sx: (theme) => ({
|
|
3357
|
+
marginLeft: -16,
|
|
3358
|
+
marginRight: -16,
|
|
3359
|
+
[theme.fn.largerThan('sm')]: { marginTop: -16 },
|
|
3360
|
+
width: 'calc(100% + 32px)',
|
|
3361
|
+
aspectRatio: '16 / 8',
|
|
3362
|
+
overflow: 'hidden',
|
|
3363
|
+
}) },
|
|
3364
|
+
React__namespace["default"].createElement("img", { src: boostCustom.image, alt: boostCustom.title, loading: "lazy", style: {
|
|
3365
|
+
width: '100%',
|
|
3366
|
+
height: '100%',
|
|
3367
|
+
objectFit: 'cover',
|
|
3368
|
+
display: 'block',
|
|
3369
|
+
} }))) : null,
|
|
3370
|
+
React__namespace["default"].createElement(core.Stack, { spacing: 5 },
|
|
3371
|
+
React__namespace["default"].createElement(core.Stack, { spacing: 3 },
|
|
3372
|
+
React__namespace["default"].createElement(core.Box, { sx: {
|
|
3373
|
+
textTransform: 'uppercase',
|
|
3374
|
+
fontWeight: 'normal',
|
|
3375
|
+
fontSize: '12px',
|
|
3376
|
+
lineHeight: '15px',
|
|
3377
|
+
color: '#65676B',
|
|
3378
|
+
} }, constantsDomainLocales.domainLocales[locale]),
|
|
3379
|
+
React__namespace["default"].createElement(core.Box, { sx: {
|
|
3380
|
+
fontSize: '16px',
|
|
3381
|
+
lineHeight: '19px',
|
|
3382
|
+
fontWeight: 500,
|
|
3383
|
+
} }, boostCustom.title)),
|
|
3384
|
+
!!boostCustom.description && (React__namespace["default"].createElement(index$2.Text, { size: "p3", lineClamp: 2, sx: {
|
|
3385
|
+
fontSize: '14px',
|
|
3386
|
+
lineHeight: '19px',
|
|
3387
|
+
color: '#65676B',
|
|
3388
|
+
}, dangerouslySetInnerHTML: {
|
|
3389
|
+
__html: boostCustom.description,
|
|
3390
|
+
} }))))) : null,
|
|
3391
|
+
React__namespace["default"].createElement(index$g.Button, { variant: "primary", fullWidth: true }, viewDetailText)),
|
|
3392
|
+
React__namespace["default"].createElement(core.Box, { role: "button", tabIndex: 0, "aria-label": viewDetailText, onClick: handleOpenBoostLink, onKeyDown: (event) => {
|
|
3393
|
+
if (event.key === 'Enter' || event.key === ' ') {
|
|
3394
|
+
event.preventDefault();
|
|
3395
|
+
handleOpenBoostLink();
|
|
3396
|
+
}
|
|
3397
|
+
}, sx: {
|
|
3398
|
+
position: 'absolute',
|
|
3399
|
+
inset: 0,
|
|
3400
|
+
zIndex: 2,
|
|
3401
|
+
cursor: 'pointer',
|
|
3402
|
+
backgroundColor: 'transparent',
|
|
3403
|
+
} })));
|
|
3404
|
+
return isMobile ? (React__namespace["default"].createElement(index$h.DrawerBottom, { isMobile: true, isOpen: opened, onClose: handleDismiss },
|
|
3405
|
+
React__namespace["default"].createElement(core.Stack, { spacing: 16, sx: { padding: 16, paddingTop: 0 } },
|
|
3406
|
+
React__namespace["default"].createElement(index$2.Text, { size: "s2" }, modalHeading),
|
|
3407
|
+
contentEle))) : (React__namespace["default"].createElement(index$i.Modal, { title: React__namespace["default"].createElement(index$2.Text, { size: "s2" }, modalHeading), size: 568, opened: opened, onClose: handleDismiss, zIndex: 500, styles: {
|
|
3408
|
+
body: {
|
|
3409
|
+
'&:not(:only-child)': {
|
|
3410
|
+
paddingTop: 16,
|
|
3411
|
+
},
|
|
3412
|
+
},
|
|
3413
|
+
} }, contentEle));
|
|
3414
|
+
}
|
|
3415
|
+
|
|
2827
3416
|
const StyledFixedAdBlock = styled__default["default"].div `
|
|
2828
3417
|
position: fixed;
|
|
2829
3418
|
z-index: 48;
|
|
@@ -4700,7 +5289,7 @@ const WidgetChatbotAi = ({}) => {
|
|
|
4700
5289
|
React__namespace["default"].createElement("form", { onSubmit: handleSubmit },
|
|
4701
5290
|
React__namespace["default"].createElement(StyleInput, { type: "text", value: value, onChange: (e) => setValue(e.target.value), name: "input-message", placeholder: "Ask anything..." }),
|
|
4702
5291
|
React__namespace["default"].createElement(core.Box, { className: "rightSection" },
|
|
4703
|
-
React__namespace["default"].createElement(index$
|
|
5292
|
+
React__namespace["default"].createElement(index$g.Button, { className: "submitBtn", type: "submit", variant: value ? 'primary' : 'ghost', leftIcon: React__namespace["default"].createElement(arrow.ArrowRight, { size: 16, color: value ? '#fff' : '#595959' }) }))))));
|
|
4704
5293
|
};
|
|
4705
5294
|
|
|
4706
5295
|
const StyledBox = styled__default["default"].div `
|
|
@@ -4813,39 +5402,66 @@ const HPVScreener = ({ onClick, className, style, image, as = 'span', }) => {
|
|
|
4813
5402
|
React__namespace["default"].createElement(index$9.Button, { className: "hpv-screener-button", onClick: onClick, size: "lg", color: "secondary" },
|
|
4814
5403
|
React__namespace["default"].createElement(StyledTextButtonBox, null,
|
|
4815
5404
|
React__namespace["default"].createElement(index$2.Text, { size: "title2", color: "primaryBase", weight: "semiBold" }, t('detail.hpvScreenerButton')),
|
|
4816
|
-
React__namespace["default"].createElement(index$
|
|
5405
|
+
React__namespace["default"].createElement(index$j.ArrowRightBlue, { style: { width: '0.5rem', height: '0.5rem' } }))))));
|
|
4817
5406
|
};
|
|
4818
5407
|
|
|
4819
5408
|
const StyledTwoItemHorizontalContainer = styled__default["default"].div `
|
|
4820
5409
|
display: grid;
|
|
4821
5410
|
grid-template-columns: 1fr 2px 1fr;
|
|
4822
|
-
column-gap: ${core.rem(
|
|
5411
|
+
column-gap: ${core.rem(10)};
|
|
5412
|
+
|
|
5413
|
+
${utils.MediaQueries.mbUp} {
|
|
5414
|
+
column-gap: ${core.rem(16)};
|
|
5415
|
+
}
|
|
4823
5416
|
`;
|
|
4824
5417
|
const StyledVerticalContainer = styled__default["default"].div `
|
|
4825
5418
|
display: grid;
|
|
4826
5419
|
grid-template-columns: repeat(2, 1fr);
|
|
4827
|
-
|
|
5420
|
+
column-gap: ${core.rem(10)};
|
|
5421
|
+
row-gap: ${core.rem(12)};
|
|
4828
5422
|
|
|
4829
5423
|
.span-2 {
|
|
4830
5424
|
grid-column: 1 / span 2;
|
|
4831
5425
|
}
|
|
5426
|
+
|
|
5427
|
+
${utils.MediaQueries.mbUp} {
|
|
5428
|
+
column-gap: ${core.rem(16)};
|
|
5429
|
+
row-gap: ${core.rem(18)};
|
|
5430
|
+
}
|
|
4832
5431
|
`;
|
|
4833
5432
|
const StyledHorizontalContainer = styled__default["default"].div `
|
|
4834
5433
|
display: flex;
|
|
4835
5434
|
align-items: center;
|
|
4836
|
-
gap:
|
|
5435
|
+
gap: ${core.rem(10)};
|
|
5436
|
+
|
|
5437
|
+
${utils.MediaQueries.mbUp} {
|
|
5438
|
+
gap: ${core.rem(16)};
|
|
5439
|
+
}
|
|
4837
5440
|
`;
|
|
4838
5441
|
const StyledVerticalContent = styled__default["default"].div `
|
|
4839
5442
|
display: flex;
|
|
4840
5443
|
flex-direction: column;
|
|
4841
|
-
gap: ${core.rem(2)};
|
|
4842
5444
|
align-items: ${({ align }) => align};
|
|
5445
|
+
max-height: ${core.rem(40)};
|
|
5446
|
+
|
|
5447
|
+
${utils.MediaQueries.mbUp} {
|
|
5448
|
+
gap: ${core.rem(2)};
|
|
5449
|
+
max-height: ${core.rem(46)};
|
|
5450
|
+
}
|
|
4843
5451
|
`;
|
|
4844
5452
|
const StyledTitle$1 = styled__default["default"].div `
|
|
4845
|
-
font-size: ${core.rem(15)};
|
|
4846
|
-
font-weight: 600;
|
|
4847
5453
|
color: #111111;
|
|
5454
|
+
font-weight: 600;
|
|
5455
|
+
|
|
5456
|
+
font-size: ${core.rem(15)};
|
|
4848
5457
|
line-height: ${core.rem(24)};
|
|
5458
|
+
letter-spacing: -0.3px;
|
|
5459
|
+
|
|
5460
|
+
${utils.MediaQueries.mbUp} {
|
|
5461
|
+
font-size: ${core.rem(17)};
|
|
5462
|
+
line-height: ${core.rem(24)};
|
|
5463
|
+
letter-spacing: -0.4px;
|
|
5464
|
+
}
|
|
4849
5465
|
`;
|
|
4850
5466
|
const StyledDescription$1 = styled__default["default"].div `
|
|
4851
5467
|
color: ${miscTheme.theme.colors.gray700};
|
|
@@ -4889,7 +5505,7 @@ function Content({ className, children, customLoading, customEmpty, }) {
|
|
|
4889
5505
|
const { loading, items } = useListContext();
|
|
4890
5506
|
const { t } = index$8.useTranslations();
|
|
4891
5507
|
if (loading) {
|
|
4892
|
-
return customLoading ? React__namespace["default"].createElement(React__namespace["default"].Fragment, null, customLoading) : React__namespace["default"].createElement(index$
|
|
5508
|
+
return customLoading ? React__namespace["default"].createElement(React__namespace["default"].Fragment, null, customLoading) : React__namespace["default"].createElement(index$k.Loading, null);
|
|
4893
5509
|
}
|
|
4894
5510
|
if (!items.length) {
|
|
4895
5511
|
return customEmpty ? React__namespace["default"].createElement(React__namespace["default"].Fragment, null, customEmpty) : React__namespace["default"].createElement("div", null, t('common.noResult'));
|
|
@@ -5353,6 +5969,10 @@ function CardListItem({ title, href, description, logo, defaultImage, LinkCompon
|
|
|
5353
5969
|
children));
|
|
5354
5970
|
}
|
|
5355
5971
|
|
|
5972
|
+
const HERO_IMAGE_TO_TOP_CONTENT = 251;
|
|
5973
|
+
const OVERLAP_CONTENT_RADIUS = 22;
|
|
5974
|
+
const HERO_IMAGE_HEIGHT = OVERLAP_CONTENT_RADIUS + HERO_IMAGE_TO_TOP_CONTENT;
|
|
5975
|
+
|
|
5356
5976
|
// import CalendarDayIcon from '@/public/svg/calendar-days.svg'
|
|
5357
5977
|
// import UsersIcon from '@/public/svg/users.svg'
|
|
5358
5978
|
styled__default["default"](index$7.ImageWrap) `
|
|
@@ -5401,12 +6021,25 @@ styled__default["default"].div `
|
|
|
5401
6021
|
}
|
|
5402
6022
|
`;
|
|
5403
6023
|
const GeneralInfoContainer = styled__default["default"].div `
|
|
6024
|
+
background-color: #fff;
|
|
6025
|
+
|
|
5404
6026
|
${utils.MediaQueries.mbUp} {
|
|
5405
6027
|
display: flex;
|
|
5406
|
-
gap:
|
|
6028
|
+
gap: 0;
|
|
6029
|
+
justify-content: space-between;
|
|
5407
6030
|
border-radius: 0.75rem;
|
|
5408
|
-
padding:
|
|
6031
|
+
padding: ${core.rem(24)};
|
|
5409
6032
|
overflow: hidden;
|
|
6033
|
+
|
|
6034
|
+
& > div:first-child {
|
|
6035
|
+
width: 40%;
|
|
6036
|
+
max-width: 432px;
|
|
6037
|
+
}
|
|
6038
|
+
|
|
6039
|
+
& > div:last-child {
|
|
6040
|
+
width: 51%;
|
|
6041
|
+
max-width: 550px;
|
|
6042
|
+
}
|
|
5410
6043
|
}
|
|
5411
6044
|
|
|
5412
6045
|
#product-image-section {
|
|
@@ -5414,11 +6047,10 @@ const GeneralInfoContainer = styled__default["default"].div `
|
|
|
5414
6047
|
width: 336px;
|
|
5415
6048
|
}
|
|
5416
6049
|
}
|
|
5417
|
-
background-color: #fff;
|
|
5418
6050
|
`;
|
|
5419
6051
|
const ProductImage = styled__default["default"](index$3.ImageWrapV2) `
|
|
5420
6052
|
${utils.MediaQueries.mbUp} {
|
|
5421
|
-
width:
|
|
6053
|
+
width: 432px;
|
|
5422
6054
|
aspect-ratio: 1/1;
|
|
5423
6055
|
object-fit: cover;
|
|
5424
6056
|
border-radius: 0.5rem;
|
|
@@ -5430,7 +6062,8 @@ const ProductImage = styled__default["default"](index$3.ImageWrapV2) `
|
|
|
5430
6062
|
aspect-ratio: 375/190;
|
|
5431
6063
|
`;
|
|
5432
6064
|
const ProductContent = styled__default["default"].div `
|
|
5433
|
-
padding: 1.5rem
|
|
6065
|
+
padding: 1rem 1rem 1.5rem;
|
|
6066
|
+
|
|
5434
6067
|
${utils.MediaQueries.mbUp} {
|
|
5435
6068
|
padding: 0;
|
|
5436
6069
|
flex: 1;
|
|
@@ -5444,7 +6077,13 @@ const ProductContent = styled__default["default"].div `
|
|
|
5444
6077
|
.product-info {
|
|
5445
6078
|
display: flex;
|
|
5446
6079
|
flex-direction: column;
|
|
5447
|
-
gap:
|
|
6080
|
+
gap: 9px;
|
|
6081
|
+
}
|
|
6082
|
+
|
|
6083
|
+
${utils.MediaQueries.mbUp} {
|
|
6084
|
+
.product-info {
|
|
6085
|
+
gap: 8px;
|
|
6086
|
+
}
|
|
5448
6087
|
}
|
|
5449
6088
|
`;
|
|
5450
6089
|
const ImageCarouselContainer = styled__default["default"].div `
|
|
@@ -5483,14 +6122,14 @@ const StyledImageCarousel = styled__default["default"](index$4.Carousel) `
|
|
|
5483
6122
|
}
|
|
5484
6123
|
|
|
5485
6124
|
&[data-inactive] {
|
|
5486
|
-
opacity: 0
|
|
6125
|
+
opacity: 0;
|
|
5487
6126
|
cursor: default;
|
|
5488
6127
|
}
|
|
5489
6128
|
}
|
|
5490
6129
|
|
|
5491
6130
|
.mantine-Carousel-indicators {
|
|
5492
6131
|
gap: 0.375rem;
|
|
5493
|
-
bottom: 0.5rem;
|
|
6132
|
+
bottom: ${({ isCarouselParallax }) => isCarouselParallax ? '38%' : '0.5rem'};
|
|
5494
6133
|
}
|
|
5495
6134
|
|
|
5496
6135
|
.mantine-Carousel-indicator {
|
|
@@ -5533,38 +6172,113 @@ const CarouselImageItem = styled__default["default"](index$3.ImageWrapV2) `
|
|
|
5533
6172
|
height: 100%;
|
|
5534
6173
|
object-fit: cover;
|
|
5535
6174
|
object-position: center;
|
|
6175
|
+
`;
|
|
6176
|
+
const FixedHeroSection = styled__default["default"].div `
|
|
6177
|
+
--scrollIndex: ${({ scrollIndex }) => `${scrollIndex}px`};
|
|
6178
|
+
--heroImageHeight: ${HERO_IMAGE_HEIGHT}px;
|
|
6179
|
+
--heroImageRatio: calc(375px / var(--heroImageHeight));
|
|
6180
|
+
|
|
6181
|
+
${utils.MediaQueries.mbDown} {
|
|
6182
|
+
position: fixed;
|
|
6183
|
+
top: var(--header-height, ${constants$1.DEFAULT_HEADER_HEIGHT_MOBILE}px);
|
|
6184
|
+
left: 0;
|
|
6185
|
+
right: 0;
|
|
6186
|
+
z-index: 0;
|
|
6187
|
+
overflow: hidden;
|
|
6188
|
+
display: flex;
|
|
6189
|
+
flex-direction: column;
|
|
6190
|
+
|
|
6191
|
+
width: 100vw;
|
|
6192
|
+
height: calc(100vw / var(--heroImageRatio) - var(--scrollIndex, 0px));
|
|
6193
|
+
|
|
6194
|
+
& > div {
|
|
6195
|
+
width: 100vw;
|
|
6196
|
+
height: var(--heroImageHeight);
|
|
6197
|
+
}
|
|
6198
|
+
}
|
|
6199
|
+
`;
|
|
6200
|
+
const FixedHeroSpacer = styled__default["default"].div `
|
|
6201
|
+
${utils.MediaQueries.mbDown} {
|
|
6202
|
+
width: 100%;
|
|
6203
|
+
aspect-ratio: 375 / ${HERO_IMAGE_HEIGHT};
|
|
6204
|
+
}
|
|
6205
|
+
`;
|
|
6206
|
+
const ContentOverlayWrapper = styled__default["default"].div `
|
|
6207
|
+
position: relative;
|
|
6208
|
+
z-index: 2;
|
|
6209
|
+
background-color: #fff;
|
|
6210
|
+
`;
|
|
6211
|
+
const ContentOverlayWrapperParallax = styled__default["default"].div `
|
|
6212
|
+
position: relative;
|
|
6213
|
+
z-index: 2;
|
|
6214
|
+
background-color: #fff;
|
|
6215
|
+
border-radius: 1.375rem 1.375rem 0 0;
|
|
6216
|
+
margin-top: calc(-1 * ${OVERLAP_CONTENT_RADIUS}px);
|
|
6217
|
+
box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06);
|
|
5536
6218
|
`;
|
|
5537
6219
|
|
|
5538
|
-
function
|
|
6220
|
+
function FixedParallaxHeroSection({ children }) {
|
|
6221
|
+
const heroSectionRef = React.useRef(null);
|
|
6222
|
+
const [scrollIndex, setScrollIndex] = React.useState(0);
|
|
6223
|
+
React.useEffect(() => {
|
|
6224
|
+
const el = heroSectionRef.current;
|
|
6225
|
+
if (!el)
|
|
6226
|
+
return;
|
|
6227
|
+
const checkHasReachedTop = () => {
|
|
6228
|
+
setScrollIndex(window.scrollY);
|
|
6229
|
+
};
|
|
6230
|
+
checkHasReachedTop();
|
|
6231
|
+
window.addEventListener('scroll', checkHasReachedTop, { passive: true });
|
|
6232
|
+
return () => window.removeEventListener('scroll', checkHasReachedTop);
|
|
6233
|
+
}, []);
|
|
6234
|
+
return (React__namespace["default"].createElement(FixedHeroSection, { ref: heroSectionRef, "data-section": "FixedParallaxHeroSection_FixedHeroSection", scrollIndex: scrollIndex },
|
|
6235
|
+
React__namespace["default"].createElement("div", { "data-section": "FixedHeroSection_Content" }, children)));
|
|
6236
|
+
}
|
|
6237
|
+
function GeneralInfo({ generalInfo, backupSrc, className, contentClassName, bannerProps = {}, imagesSelect, children, isMobile: isMobileProp = false, imageCarousel = [], carouselSlotProps, isCarouselParallax = false, onCarouselImageClick, }) {
|
|
5539
6238
|
const { isMobile: isMobileFromHook } = index$7.useScreenSize();
|
|
6239
|
+
const contentRef = React.useRef(null);
|
|
5540
6240
|
// Use isMobile prop first, fallback to breakpoint detection (secondary priority)
|
|
5541
6241
|
const isMobile = isMobileProp !== null && isMobileProp !== void 0 ? isMobileProp : isMobileFromHook;
|
|
5542
6242
|
const showCarousel = imageCarousel.length > 1;
|
|
5543
6243
|
const showCarouselControls = imageCarousel.length > 4 && !isMobile;
|
|
5544
6244
|
const showCarouselIndicators = imageCarousel.length > 1 && isMobile;
|
|
5545
6245
|
const { imageCarousel: imageCarouselSlotProps, slide: carouselSlideSlotProps, imageItemWrapper: carouselImageItemWrapperSlotProps, imageItem: carouselImageItemSlotProps, } = carouselSlotProps !== null && carouselSlotProps !== void 0 ? carouselSlotProps : {};
|
|
6246
|
+
const ContentWrapper = isMobile
|
|
6247
|
+
? isCarouselParallax
|
|
6248
|
+
? ContentOverlayWrapperParallax
|
|
6249
|
+
: ContentOverlayWrapper
|
|
6250
|
+
: 'div';
|
|
6251
|
+
const carouselItemWrapperStyle = isCarouselParallax
|
|
6252
|
+
? {
|
|
6253
|
+
aspectRatio: `375 / ${HERO_IMAGE_HEIGHT}`,
|
|
6254
|
+
}
|
|
6255
|
+
: {};
|
|
6256
|
+
const heroContent = imagesSelect ? (imagesSelect) : isMobile ? (React__namespace["default"].createElement(StyledImageCarousel, Object.assign({ slidesToShow: 1, align: "start", withControls: false, withIndicators: showCarouselIndicators, dragFree: false, slideSize: "100%", slideGap: 0, draggable: showCarouselIndicators, isCarouselParallax: isCarouselParallax }, imageCarouselSlotProps), imageCarousel.map((imageUrl, index) => (React__namespace["default"].createElement(index$4.Carousel.Slide, Object.assign({ key: index }, carouselSlideSlotProps),
|
|
6257
|
+
React__namespace["default"].createElement(CarouselImageItemWrapperMobile, { style: carouselItemWrapperStyle, onClick: () => onCarouselImageClick === null || onCarouselImageClick === void 0 ? void 0 : onCarouselImageClick(index) },
|
|
6258
|
+
React__namespace["default"].createElement(CarouselImageItem, Object.assign({}, carouselImageItemSlotProps, { src: imageUrl, alt: `${generalInfo.altText || 'product'} - ${index + 1}`, backupSrc: backupSrc, isMobile: isMobile })))))))) : (React__namespace["default"].createElement(React__namespace["default"].Fragment, null,
|
|
6259
|
+
React__namespace["default"].createElement(ProductImage, Object.assign({ backupSrc: backupSrc, src: generalInfo.banner || generalInfo.logo, alt: generalInfo.altText ||
|
|
6260
|
+
(typeof generalInfo.name === 'string'
|
|
6261
|
+
? generalInfo.name
|
|
6262
|
+
: 'product') }, bannerProps)),
|
|
6263
|
+
showCarousel && (React__namespace["default"].createElement(ImageCarouselContainer, null,
|
|
6264
|
+
React__namespace["default"].createElement(StyledImageCarousel, Object.assign({ slidesToShow: 4, align: "start", withControls: showCarouselControls, withIndicators: false, dragFree: true, controlSize: 24, slideSize: 76, slideGap: 10 }, imageCarouselSlotProps), imageCarousel.map((imageUrl, index) => (React__namespace["default"].createElement(index$4.Carousel.Slide, Object.assign({ key: index }, carouselSlideSlotProps),
|
|
6265
|
+
React__namespace["default"].createElement(CarouselImageItemWrapper, Object.assign({}, carouselImageItemWrapperSlotProps, { onClick: (event) => {
|
|
6266
|
+
var _a;
|
|
6267
|
+
(_a = carouselImageItemWrapperSlotProps === null || carouselImageItemWrapperSlotProps === void 0 ? void 0 : carouselImageItemWrapperSlotProps.onClick) === null || _a === void 0 ? void 0 : _a.call(carouselImageItemWrapperSlotProps, event);
|
|
6268
|
+
onCarouselImageClick === null || onCarouselImageClick === void 0 ? void 0 : onCarouselImageClick(index);
|
|
6269
|
+
} }),
|
|
6270
|
+
React__namespace["default"].createElement(CarouselImageItem, Object.assign({}, carouselImageItemSlotProps, { src: imageUrl, alt: `${generalInfo.altText || 'product'} - ${index + 1}`, backupSrc: backupSrc, isMobile: isMobile })))))))))));
|
|
5546
6271
|
return (React__namespace["default"].createElement(GeneralInfoContainer, { className: className },
|
|
5547
|
-
|
|
5548
|
-
React__namespace["default"].createElement(
|
|
5549
|
-
|
|
5550
|
-
|
|
5551
|
-
|
|
5552
|
-
|
|
5553
|
-
|
|
5554
|
-
|
|
5555
|
-
|
|
5556
|
-
|
|
5557
|
-
var _a;
|
|
5558
|
-
(_a = carouselImageItemWrapperSlotProps === null || carouselImageItemWrapperSlotProps === void 0 ? void 0 : carouselImageItemWrapperSlotProps.onClick) === null || _a === void 0 ? void 0 : _a.call(carouselImageItemWrapperSlotProps, event);
|
|
5559
|
-
onCarouselImageClick === null || onCarouselImageClick === void 0 ? void 0 : onCarouselImageClick(index);
|
|
5560
|
-
} }),
|
|
5561
|
-
React__namespace["default"].createElement(CarouselImageItem, Object.assign({}, carouselImageItemSlotProps, { src: imageUrl, alt: `${generalInfo.altText || 'product'} - ${index + 1}`, backupSrc: backupSrc, isMobile: isMobile })))))))))))))),
|
|
5562
|
-
React__namespace["default"].createElement(ProductContent, { className: contentClassName },
|
|
5563
|
-
React__namespace["default"].createElement("div", { className: "product-info" },
|
|
5564
|
-
typeof generalInfo.name === 'string' ? (React__namespace["default"].createElement(index$2.Text, { size: "h3", fw: 600, color: "gray1000", as: "h1" }, generalInfo.name)) : (generalInfo.name), generalInfo === null || generalInfo === void 0 ? void 0 :
|
|
5565
|
-
generalInfo.middleContent,
|
|
5566
|
-
generalInfo.description && (React__namespace["default"].createElement(index$2.Text, { size: isMobile ? 'p3' : 'p1', color: "gray700" }, generalInfo.description))),
|
|
5567
|
-
children)));
|
|
6272
|
+
isCarouselParallax ? (React__namespace["default"].createElement(React__namespace["default"].Fragment, null,
|
|
6273
|
+
React__namespace["default"].createElement(FixedParallaxHeroSection, null, heroContent),
|
|
6274
|
+
React__namespace["default"].createElement(FixedHeroSpacer, { "data-section": "PseudoEl_FixedHeroSpacer" }))) : (React__namespace["default"].createElement("div", { "data-section": "HeroContent" }, heroContent)),
|
|
6275
|
+
React__namespace["default"].createElement(ContentWrapper, { "data-section": "ProductDetail_ContentWrapper", ref: contentRef },
|
|
6276
|
+
React__namespace["default"].createElement(ProductContent, { className: contentClassName },
|
|
6277
|
+
React__namespace["default"].createElement("div", { className: "product-info" },
|
|
6278
|
+
typeof generalInfo.name === 'string' ? (React__namespace["default"].createElement(index$2.Text, { size: "h3", fw: 600, color: "gray1000", as: "h1" }, generalInfo.name)) : (generalInfo.name), generalInfo === null || generalInfo === void 0 ? void 0 :
|
|
6279
|
+
generalInfo.middleContent,
|
|
6280
|
+
generalInfo.description && (React__namespace["default"].createElement(index$2.Text, { size: "body2", color: "gray700", "data-section": "ProductContent_Description" }, generalInfo.description))),
|
|
6281
|
+
children))));
|
|
5568
6282
|
}
|
|
5569
6283
|
GeneralInfo.Container = GeneralInfoContainer;
|
|
5570
6284
|
GeneralInfo.Image = ProductImage;
|
|
@@ -5587,9 +6301,11 @@ const GalleryMain = styled__default["default"].div `
|
|
|
5587
6301
|
min-width: 0;
|
|
5588
6302
|
height: calc(100% - 108px);
|
|
5589
6303
|
width: 100%;
|
|
6304
|
+
|
|
5590
6305
|
${utils.MediaQueries.mbUp} {
|
|
5591
6306
|
height: auto;
|
|
5592
6307
|
max-height: calc(100dvh - 10dvh);
|
|
6308
|
+
aspect-ratio: 716 / 720;
|
|
5593
6309
|
}
|
|
5594
6310
|
`;
|
|
5595
6311
|
const GallerySidebar = styled__default["default"].div `
|
|
@@ -5762,7 +6478,7 @@ const StyledCarousel = styled__default["default"](index$4.Carousel) `
|
|
|
5762
6478
|
}
|
|
5763
6479
|
|
|
5764
6480
|
&[data-inactive] {
|
|
5765
|
-
opacity: 0
|
|
6481
|
+
opacity: 0;
|
|
5766
6482
|
cursor: default;
|
|
5767
6483
|
}
|
|
5768
6484
|
}
|
|
@@ -5805,7 +6521,7 @@ function GalleryCarousel() {
|
|
|
5805
6521
|
};
|
|
5806
6522
|
return (React__namespace["default"].createElement(StyledCarousel, { align: "center", slideSize: "100%", withControls: galleryImages.length > 1 && !isMobile, withIndicators: false, dragFree: false, slideGap: 0, draggable: galleryImages.length > 1 && isMobile, getEmblaApi: handleEmblaReady, onSlideChange: handleSlideChange, loop: false, height: "100%", controlSize: 32, initialSlide: initialSlide }, galleryImages.map((imageUrl, index) => (React__namespace["default"].createElement(index$4.Carousel.Slide, { key: `${imageUrl}-${index}` },
|
|
5807
6523
|
React__namespace["default"].createElement(LargeImageWrapper, null,
|
|
5808
|
-
React__namespace["default"].createElement(MainGalleryImage, { src: imageUrl, alt: `${altPrefix} - ${index + 1}`, backupSrc: backupSrc })))))));
|
|
6524
|
+
React__namespace["default"].createElement(MainGalleryImage, { "data-section": "MainGalleryImage_section", src: imageUrl, alt: `${altPrefix} - ${index + 1}`, backupSrc: backupSrc })))))));
|
|
5809
6525
|
}
|
|
5810
6526
|
|
|
5811
6527
|
function GalleryThumbnails({ isMobile }) {
|
|
@@ -5832,7 +6548,7 @@ function GalleryTitle({ isMobile }) {
|
|
|
5832
6548
|
return null;
|
|
5833
6549
|
}
|
|
5834
6550
|
if (typeof generalInfo.name === 'string') {
|
|
5835
|
-
return (React__namespace["default"].createElement(index$2.Text, {
|
|
6551
|
+
return (React__namespace["default"].createElement(index$2.Text, { fw: 600, size: "h5New", color: "gray1000", as: "h2" }, generalInfo.name));
|
|
5836
6552
|
}
|
|
5837
6553
|
return React__namespace["default"].createElement(React__namespace["default"].Fragment, null, generalInfo.name);
|
|
5838
6554
|
}
|
|
@@ -5933,7 +6649,7 @@ function ModalGallery({ generalInfo, imageCarousel = [], backupSrc, isMobile = f
|
|
|
5933
6649
|
};
|
|
5934
6650
|
const modalTitle = isMobile ? title : undefined;
|
|
5935
6651
|
return (React__namespace["default"].createElement(StyledModal, Object.assign({ opened: isOpen, onClose: handleClose, zIndex: index$6.ZINDEX_SSO, withCloseButton: isMobile, centered: true, size: "auto", fullScreen: isMobile, title: modalTitle, autoFocus: false }, modalProps, { transitionProps: Object.assign({ duration: TRANSITION_DURATION }, modalProps.transitionProps) }),
|
|
5936
|
-
!isMobile && (React__namespace["default"].createElement(
|
|
6652
|
+
!isMobile && (React__namespace["default"].createElement(index$l.Close, { onClick: handleClose, className: "closeModal", width: 24, height: 24, fill: "#212121" })),
|
|
5937
6653
|
React__namespace["default"].createElement(ModalGalleryProvider, { generalInfo: generalInfo, imageCarousel: imageCarousel, backupSrc: backupSrc, initialSlide: initialSlide, isMobile: isMobile },
|
|
5938
6654
|
React__namespace["default"].createElement(ModalGalleryContent, null))));
|
|
5939
6655
|
}
|
|
@@ -6183,6 +6899,8 @@ exports.ListContext = ListContext;
|
|
|
6183
6899
|
exports.MAX_RATING = MAX_RATING;
|
|
6184
6900
|
exports.ModalGallery = ModalGallery;
|
|
6185
6901
|
exports.ModalGalleryProvider = ModalGalleryProvider;
|
|
6902
|
+
exports.PopupBoostArticleCard = PopupBoostArticleCard;
|
|
6903
|
+
exports.PopupBoostPageView = PopupBoostPageView;
|
|
6186
6904
|
exports.QuickFilter = QuickFilter;
|
|
6187
6905
|
exports.QuickFilterWrapLine = QuickFilterWrapLine;
|
|
6188
6906
|
exports.RadioGroup = RadioGroup;
|